Can't get Windows opencv Python 2.7 to do video capture

asked 2014-02-23 23:21:10 -0500

I have boiled my problem down to this simple program:

import cv2


When I run it from the command line (several ways), or if I import this code, it prints 'False'. But when I run python and manually type the lines in, it prints 'True' -WTF? (BTW, cut&paste is oddly disabled in the window.)

edit retag flag offensive close merge delete


i tried same but it is printing 'True' as output weather i run it from command line or import the code.

yogiVision gravatar imageyogiVision ( 2019-05-05 05:15:58 -0500 )edit