2017-05-20 13:01:40 -0600 | asked a question | cv2 looks like it is reading but always returns black screen, have confirmed the webcam is working, with other software. import cv2 import numpy as np cap = cv2.VideoCapture(0) ret, frame = cap.read() print ('isOpened(),',cap.isOpened()) """ prints as True """ cv2.imshow('frame',frame) cv2.waitKey(0) cap.release() cv2.destroyAllWindows() |