#capture #camera #webcam

uvc

Safe and ergonomic wrapper around libuvc, allowing capture of webcam streams

10 releases

0.2.0 Jan 6, 2021
0.1.9 Sep 29, 2020
0.1.8 Jun 19, 2020
0.1.5 Jan 11, 2020
0.1.1 Sep 11, 2018

#10 in Video

Download history 15/week @ 2020-11-07 6/week @ 2020-11-14 14/week @ 2020-11-21 10/week @ 2020-11-28 20/week @ 2020-12-05 6/week @ 2020-12-12 9/week @ 2020-12-19 4/week @ 2020-12-26 33/week @ 2021-01-02 16/week @ 2021-01-09 8/week @ 2021-01-16 13/week @ 2021-01-23 5/week @ 2021-01-30 45/week @ 2021-02-06 59/week @ 2021-02-13 10/week @ 2021-02-20

53 downloads per month

MIT license

42KB
1K SLoC

Safe rust wrapper around libuvc

crates.io license

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

Documentation can be created with cargo doc

Dependencies

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.

Dependencies

~0–2.2MB
~46K SLoC