Ask Your Question

stupidpieceofshit's profile - activity

2014-02-23 23:21:10 -0600 asked a question Can't get Windows opencv Python 2.7 to do video capture

I have boiled my problem down to this simple program:

import cv2

cap=cv2.VideoCapture(0)
print cap.read()[0]

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.)