0

I am trying to get a simple opencv-python video capture to work which shows the live stream of the camera however when i run the code the camera window frame opens up and then immediately shrinks into a tiny line. here is a picture to show:

The White line in the top right hand corner is meant to be the camera window

The white line in the top right hand corner is meant to be the frame window.

I have tried installing the V4L2 driver and the red light comes on on the pi cam but I am not able to view through the window.

any help would be greatly appreciate

1 Answer 1

1

I have found out that I should of done:

cv2.imshow('frame', frame)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.