camera_capture 0.3.0

capture webcam images on linux and windows
docs.rs failed to build camera_capture-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

Webcam capturing in Rust

Description

Captures webcam images and offers access to them through an iterator. Works with v4l2 on linux.

TODO

  • threaded access through channel Receiver
  • automatic webcam detection and selection

Example

extern crate camera_capture;

fn main() {
    let cam = camera_capture::create(0).unwrap();
    let cam = cam.fps(5.0).unwrap().start().unwrap();
    for _image in cam {
        println!("frame");
    }
    println!("done");
}

Piston Example

In the examples directory