When I'm trying to start simple code, the frame opens and don't respond.

import numpy as np
import cv2
cap = cv2.VideoCapture(0)
    ret, frame = cap.read()  

Camera's index is 0. Who can suggest anything?

  • Can you get output using a video capture application? Cheese for instance – Jervelund Oct 12 '14 at 23:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.