4 releases
0.1.3 | Aug 14, 2024 |
---|---|
0.1.2 | Aug 9, 2024 |
0.1.1 | Aug 9, 2024 |
0.1.0 | Aug 9, 2024 |
#1136 in Hardware support
14KB
91 lines
Capture images with your webcam in the easiest way:
-
Simplicity:
This crate builds upon simplicity therefor is very easy to use. The difficulties one might have to encounter while trying to achieve a similar result is nonexistent. -
Performance:
The crate uses opencv's binding therefor providing a fast and efficient way of communicating with the underlying apis. -
Support:
Despite the name this crate can be used on all platforms supported by OpenCV. -
Example:
Create a new Webcam instance, and retrive an image in the form of raw bytes://Crate webcam handle let mut webcam = Webcam::new_def_auto_detect().unwrap(); //Get raw image bytes let raw_image_bytes = webcam.get_frame().unwrap(); //Handle bytes . . .
Dependencies
~6–30MB
~438K SLoC