EdjeElectronics / TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi

A tutorial showing how to train, convert, and run TensorFlow Lite object detection models on Android devices, the Raspberry Pi, and more!
Apache License 2.0
1.52k stars 686 forks source link

[ WARN:0] VIDEOIO(V4L2:/dev/video0): can't open camera by index #127

Open NourNafea opened 2 years ago

NourNafea commented 2 years ago

I’m using Pi camera, I don’t khnow what’s wrong to get this error but I think it’s because RaspberryPi is no longer use raspistill or raspivid. They recently replaced them by a new library coming with the latest version of their own OS. now they are using libcamera. Example to test your pi camera just run libcamera-hello. I’m working on that issue and trying to figure it out.

christianbaun commented 2 years ago

This is a duplicate with my issue report.