You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use a PS Eye with a Raspberry pi, and when I try to run the example script in the docs, the mmap returns an OS Error (EINVAL). The exact code adapted for acceptable framerates, resolutions, etc. is:
externcrate rscam;use rscam::{Camera,Config};fnmain(){letmut camera = Camera::new("/dev/video0").unwrap();
camera.start(&Config{interval:(1,30),resolution:(320,240),format:b"RGB3",
..Default::default()}).unwrap();for i in0..10{let frame = camera.capture().unwrap();}}
The text was updated successfully, but these errors were encountered:
I'm trying to use a PS Eye with a Raspberry pi, and when I try to run the example script in the docs, the mmap returns an OS Error (
EINVAL
). The exact code adapted for acceptable framerates, resolutions, etc. is:The text was updated successfully, but these errors were encountered: