Question/Issue:
Connected a Global shutter camera to a RPi 4 via the flat ribbon cable. It is not detected.
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 processTicksAndRejections (node:internal/process/task_queues:96:5)
Taking pictures with libcamera-still -o image.jpg works.
Project ID:
[Provide the project ID]
Context/Use case:
[Provide context or use case where the issue is encountered]
Not sure about the Global shutter camera, if its different to the standard but can you try some of the following hardware and software troubleshooting and share the output from the Raspberry Pi 4? Please follow these steps in order, including sharing any relevant debug output.
Hardware and Software Steps:
Check Camera Interface Enablement: Ensure the camera interface is enabled in the Raspberry Pi configuration:
sudo raspi-config
Navigate to Interface Options > Camera and enable it.
Reboot the Raspberry Pi:
sudo reboot
Check Permissions: Ensure your user has the necessary permissions to access the camera:
sudo usermod -aG video $USER
sudo reboot
Update Raspberry Pi and Firmware: Make sure your Raspberry Pi OS and firmware are up to date:
Install libcamera and Related Packages: Ensure libcamera and related packages are installed and configured:
sudo apt-get install libcamera-apps
Install and Configure Edge Impulse Linux Client: Ensure the Edge Impulse Linux client is correctly installed:
npm install -g edge-impulse-linux
Share the Output from the Edge Impulse Daemon with Debugging: Run the Edge Impulse daemon with debugging to get more detailed error messages. Please share the output:
edge-impulse-linux --disable-camera --verbose
Override Default Camera Detection: Sometimes, specifying the camera manually can help. You might need to modify the Edge Impulse client configuration to explicitly use libcamera. Edit the Edge Impulse configuration file or run with specific flags: