a cross-platform library for USB video devices
Перейти к файлу
microsoft-github-policy-service[bot] 876ffabc9b
Auto merge mandatory file pr
This pr is auto merged as it contains a mandatory file and is opened for more than 10 days.
2023-06-12 18:56:03 +00:00
cameras Added lsusb output for a Logitech HD Pro Webcam C920 2014-07-05 19:07:11 -04:00
include expand iff 2017-10-01 16:25:09 -04:00
src Merge pull request #76 from lobsteroh/master 2017-07-30 10:41:02 -10:00
.gitattributes Remove repository-configuration from source package 2017-09-29 21:41:29 +02:00
.gitignore .gitignore the build/ directory 2014-01-30 19:45:50 -05:00
.travis.yml New Travis configuration 2016-02-10 20:25:40 -05:00
CMakeLists.txt add missing pthread link lib for example 2017-10-01 16:31:36 -04:00
LICENSE.txt Add LICENSE.txt. 2015-07-09 20:40:57 -04:00
README.md add 2 CMake option to easily build example and test program 2017-10-01 16:31:36 -04:00
SECURITY.md Microsoft mandatory file 2023-06-02 17:45:40 +00:00
changelog.txt update changelog.txt 2017-10-01 16:30:25 -04:00
doxygen.conf Documentation update 2013-11-28 13:00:32 -05:00
libuvc.pc.in Resolve pkg-config conflict, update CONF_LIBRARY 2017-07-30 10:16:13 -10:00
libuvcConfig.cmake.in create a proper libuvcConfig.cmake file 2013-10-04 21:15:49 +02:00
libuvcConfigVersion.cmake.in 0.0.2. Added version record and libuvcTarget*.cmake 2013-10-04 16:17:30 -04:00
standard-units.yaml Added docs for some more controls and switched to yaml doc file 2014-08-10 15:57:50 -04:00

README.md

libuvc is a cross-platform library for USB video devices, built atop libusb. It enables fine-grained control over USB video devices exporting the standard USB Video Class (UVC) interface, enabling developers to write drivers for previously unsupported devices, or just access UVC devices in a generic fashion.

Getting and Building libuvc

Prerequisites: You will need libusb and CMake installed.

To build, you can just run these shell commands:

git clone https://github.com/ktossell/libuvc
cd libuvc
mkdir build
cd build
cmake ..
make && sudo make install

and you're set! If you want to change the build configuration, you can edit CMakeCache.txt in the build directory, or use a CMake GUI to make the desired changes.

There is also BUILD_EXAMPLE and BUILD_TEST options to enable the compilation of example and uvc_test programs. To use them, replace the cmake .. command above with cmake .. -DBUILD_TEST=ON -DBUILD_EXAMPLE=ON. Then you can start them with ./example and ./uvc_test respectively. Note that you need OpenCV to build the later (for displaying image).

Developing with libuvc

The documentation for libuvc can currently be found at https://int80k.com/libuvc/doc/.

Happy hacking!