Edge impulse linux unable to detect OV5647

I’m actually new to raspberry pi, and my camera is not being detected by edge impulse specifically, I’ve looked at the blog posts and made necessary changes some of which I will list down below. At the same time all the libcamera functions run perfectly fine!

Exact Error
edge-impulse-linux --disable-microphone
Edge Impulse Linux client v1.8.7

[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)

Sys Info : Rpi 4 Running latest installation of bookworm

Camera :-
0 : ov5647 [2592x1944 10-bit GBRG] (/base/soc/i2c0mux/i2c@1/ov5647@36)
Modes: ‘SGBRG10_CSI2P’ : 640x480 [58.92 fps - (16, 0)/2560x1920 crop]
1296x972 [43.25 fps - (0, 0)/2592x1944 crop]
1920x1080 [30.62 fps - (348, 434)/1928x1080 crop]
2592x1944 [15.63 fps - (0, 0)/2592x1944 crop]

Changes in config.txt


Let me know if anymore details are needed

Context/Use case:
Object detection project

1 Like

Turns out, I just needed to fallback to bullseye and make sure legacy camera stack is not in use!

Thanks for sharing your solution,