Failed to initialize linux tool Error: Cannot find any webcams

Question/Issue:
Im trying to connect my raspberry pi 4b with camera module v2 but its not detectedwhen i try to connect it with edge-impulse-linux command. I even tried it with camera module v1 and its also said its not detected.

Project ID:
400965

Context/Use case:
[GST] checking for /etc/os-release
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:447:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Steps Taken:

  1. Tried change the configuration in sudo nano /boot/firmware/config.txt with inserting dtxoverlay=imx219 and gpu_mem=128

Expected Outcome:
Just expecting it to be working.

Actual Outcome:
when i run edge-impulse-linux , the problem is still there.

Reproducibility:

  • [/] Always

Environment:

  • Platform: Raspberry Pi 4 Model B
  • OS Version:
    PRETTY_NAME=“Debian GNU/Linux 12 (bookworm)”
    NAME=“Debian GNU/Linux”
    VERSION_ID=“12”
    VERSION=“12 (bookworm)”
    VERSION_CODENAME=bookworm
  • Edge Impulse Version (Firmware): v1.8.10

Hi @Mehaw,

Can you try our latest Edge Impulse Linux CLI Tool and ensure you have gstreamer1.0-libcamera package installed.

For more information see Cannot find any webcams - #6 by rayenibex