This library gives access to the webcam, and allows one to capture the video stream. An example of how to use this library can be found in the examples directory.
An error such as Access
might be due to the program not having read/write access to the usb device. This can be fixed up with chmod on the dev device.
chmod 0666 /dev/bus/usb/{BUS}/{DEVICE}
where BUS and DEVICE can be found with lsusb
or by running the mirror
example.
Documentation can be created with cargo doc
To use this crate, the libuvc
native dependency must be installed.