Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

aw man, try this instead:

cv2.namedWindow("lll")
cap = cv2.VideoCapture(0)
while( cap.isOpened() ) :
    ret,img = cap.read()
    cv2.imshow("lll",img)
    k = cv2.waitKey(10)
    if k == 27:
        break