eye-rs
eye-rs copied to clipboard
Trouble acquiring stream on Raspberry Pi (Raspbian)
Hi, thanks so much for this crate! I managed to get it running without issues on MacOS, and I can compile on a raspberry Pi.
When I run the program on a raspberry Pi "device.streams()" returns an empty vector, even though I get these devices listed when I print out "ctx.devices()":
Available devices:
Description { uri: "v4l:///dev/video0", product: "mmal service 16.1" }
Description { uri: "v4l:///dev/video22", product: "bcm2835-isp" }
Description { uri: "v4l:///dev/video21", product: "bcm2835-isp" }
Description { uri: "v4l:///dev/video15", product: "bcm2835-isp" }
Description { uri: "v4l:///dev/video14", product: "bcm2835-isp" }
There's a camera connected and it is functional, I believe it's the "/dev/video0", listed above. Is there anything I'm missing? The repo with the program, a single main.rs file, is here:
https://github.com/DoctorWhoof/motion-detect
Any help would be appreciated, thanks!