Using raspberry pi camera

Hey there !!
I am working on an object classification project but I am having trouble with the camera I get the following error: Failed to initialize linux tool Error: Cannot find any webcams
I am using the a raspberry pi camera Rev 1.3
I tried testing the camera by taking a photo and it worked normally
Could you help me please

Hello @PFE_TinyML,

Which Raspberry Pi OS are using?
I had the same issue last week with the latest RPI OS version and I noticed that I had the legacy camera enabled in the raspi-config. I solved it by turning off the legacy camera.

Let me know if that works

Regards,

Louis

1 Like

I also encounter issue with the camera. It is likely I am just doing something wrong but I can’t find any documentation to fix it.

Here’s the details:

  1. I run edge-impulse-linux-runner and everything works great!
  2. To terminte the execution, I hit ctrl+x in the keyboard.
  3. If I try to run edge-impulse-linux-runner again, it can’t find the camera anymore. I have to restart my Rpi. This both happen in RPi Camera and WebCam. I am thinking my step #2 is wrong.
1 Like

Hey @louis
THANK YOU SO MUCH ! It worked !! I’ve been stuck with this problem for 2 days
thank you again.

2 Likes