Cannot detect camera

So I ran into a problem when I try to deploy my AI model onto a Raspberry Pi. I tried to use the CLI commands to deploy and when I enter edge-impulse-linux in the Raspberry Pi terminal, it just says cannot find any camera. When I do lsusb the camera I connected to shows up, and when I use the edge impulse browser and launch the model on the browser, it uses the connected camera and does live classification. So I do not really know whether it is the connection, or the software issue or my camera model is just not compatible

P.S. The camera I am using is the RealSense2 L515 LiDAR Camera from Intel

Hi @JordanJong

Can you paste the output of how the camera is listed here please? It may not be presenting as expected, and you may need to modify our code to detect it.

Best

Eoin

@Eoin
Sorry for the late reply, I was away from office for a few days.

Failed to initialize linux tool Error: Cannot find any webcams, run this command with --disable-camera to skip selection
    at /usr/lib/node_modules/edge-impulse-linux/build/cli/linux/linux.js:437:23

But this is what the output shows when I enter edge-impulse-linux on the terminal of the Raspberry Pi. Could it also be that I did not install the Real Sense Library? Thanks for your reply!

That could be the problem:

Try installing their libs and see, I dont know their kit at all, try installing with apt or from their repo:https://github.com/IntelRealSense/librealsense:

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install librealsense2-dkms
sudo apt-get install librealsense2-utils

Best

Eoin

my usb webcam is working fine, but still edge impulse couldnt able to connect to it
whenever i run "edge-impulse-linux, it shows me following error
Edge Impulse Linux client v1.9.6

[GST] checking for /etc/os-release
[SER] Using microphone hw:2,0
[SER] Using camera HD camera starting…
Failed to initialize linux tool Capture process failed with code 255

also, while checking with “libcamera-hello”
following error is shown
[0:17:00.989547428] [2603] INFO Camera camera_manager.cpp:325 libcamera v0.3.2+27-7330f29b
Preview window unavailable
ERROR: *** no cameras available ***

i checked my camera with " v4l2-ctl --list-devices" , it show me list where my camera is present
HD camera : HD camera (usb-xhci-hcd.1-1):
/dev/video0
/dev/video1
/dev/media3

kindly help. looking forward for your solution

Hi @Naman_Rockstar,

Can you update your edge impulse linux tool to the latest and try again.
If it fails can you try adding the --verbose argument to edge-impulse-linux and paste the results here.

Also while you’re usb camera is plugged in can you run the following command and share the following results.

$ gst-device-monitor-1.0

Other: Also regarding libcamera on RPi and our Linux CLI tools take a look at: Cannot find any webcams - #6 by rayenibex

// Raul