Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cv2.VideoCapture(0).isOpened() returns False all the time

Hi all,

I am new to opencv, and having some problems setting up opencv on my computer. I am using Anaconda 2.7 and PsychoPy for my experiments on a Windows 10 platform. After I put cv2.pyd into both anaconda/lib/site-packages and psychopy/lib/site-packages, when I run cv2.VideoCapture(0), I could get a number indicating a camera connected (I guess), but cv2.VideoCapture(0).isOpened() returns me False all the time. I tried other software to check the camera, and the camera seemed fine.

Anyone could help with this problem? I would appreciate it!

Yu