opencv 0.99.0

Rust bindings for OpenCV
Documentation
1
2
3
4
5
6
7
8
9
use opencv::{Result, highgui, imgcodecs};

fn main() -> Result<()> {
	let image = imgcodecs::imread("lena.jpg", 0)?;
	highgui::named_window("hello opencv!", 0)?;
	highgui::imshow("hello opencv!", &image)?;
	highgui::wait_key(10000)?;
	Ok(())
}