murtazahassan / Learn-OpenCV-in-3-hours

Repository from Github https://github.commurtazahassan/Learn-OpenCV-in-3-hoursRepository from Github https://github.commurtazahassan/Learn-OpenCV-in-3-hours

Error about VideoCapture in Virtual Pen

nhamthanh opened this issue · comments

When I set cv2.VideoCapture(1)
img alway get none when cap.read() return.

Use cv2.VideoCapture(0) if you're using your webcam.