jresch

Results 8 comments of jresch

I'm having the same problem

Using Raspberry Pi 4 with Raspberry Pi OS (32 bit) https://www.raspberrypi.com/software/

Well thank you so much for answering while you are on vacation! I will give it a try it with Raspbian Buster.

Have you come across this warning before (this is using Raspbian Buster) `[ WARN:[email protected]] global /tmp/pip-wheel-8c7uejek/opencv-python_88dbbad412c5416b992ae69de26299d6/opencv/modules/videoio/src/cap_v4l.cpp (902) open VIDEOIO(V4L2:/dev/video0): can't open camera by index Traceback (most recent call last): File...

As suggested online, I tried doing the cv2.VideoCapture(1) and cv2.VideoCapture(-1) and the cv2.VideoCapture(cv2.CAP_V4L2). Didn't work

So....I switched out the camera and it worked with Raspbian Buster.

For me at least, not on the newest OS.