摘要:
from PIL import Imagedef makeSketch(img, threshold): w,h = img.size#图像转换为灰度模式 img = img.convert('L')#获取灰度矩阵 pix = img.load() for x in range(w-1): for 阅读全文
摘要:
enum VideoCaptureProperties { CAP_PROP_POS_MSEC =0, //!< Current position of the video file in milliseconds. CAP_PROP_POS_FRAMES =1, //!< 0-based inde 阅读全文