Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ktossell/libuvc
a cross-platform library for USB video devices
https://github.com/ktossell/libuvc
Last synced: 3 days ago
JSON representation
a cross-platform library for USB video devices
- Host: GitHub
- URL: https://github.com/ktossell/libuvc
- Owner: libuvc
- License: other
- Created: 2011-02-09T09:40:53.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2024-04-30T04:11:15.000Z (7 months ago)
- Last Synced: 2024-05-19T03:43:32.527Z (6 months ago)
- Language: C
- Homepage: https://libuvc.github.io/
- Size: 505 KB
- Stars: 940
- Watchers: 69
- Forks: 492
- Open Issues: 141
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.txt
- License: LICENSE.txt
Awesome Lists containing this project
README
`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](http://www.cmake.org/) installed.
To build, you can just run these shell commands:
git clone https://github.com/libuvc/libuvc
cd libuvc
mkdir build
cd build
cmake ..
make && sudo make installand 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://libuvc.github.io/.
Happy hacking!