【发布时间】:2017-03-30 23:15:50
【问题描述】:
我能够使用openCV 捕获图像。
我想不通的是如何在没有LED 小灯亮的情况下拍摄照片。有谁知道怎么做?
这是我的功能:
def cheese():
vc = cv2.VideoCapture(0)
if vc.isOpened(): # try to get the first frame
rval, frame = vc.read()
frame = cv2.cvtColor(frame, cv2.COLOR_RGB2BGR)
img = Image.fromarray(frame)
return img
else:
rval = False
【问题讨论】:
标签: python windows opencv camera