Crates.io | uvc |
lib.rs | uvc |
version | 0.2.0 |
source | src |
created_at | 2018-08-12 12:54:13.465541 |
updated_at | 2021-01-06 20:45:03.916772 |
description | Safe and ergonomic wrapper around libuvc, allowing capture of webcam streams |
homepage | |
repository | https://github.com/mulimoen/libuvc-rs.git |
max_upload_size | |
id | 79108 |
size | 89,398 |
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. You can grant access to all users by changing the device permissions, for example with
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, or vendored using the vendor
feature. Disable the default-features and choose the feature vendor
or system
to select supplier.