Make computer vision in Rust simpler!
simplecv
, as its name said, is a simple computer vision crate implemented in Rust. It is still in active development.
simplecv
are easy to use for developers who are familar with MATLAB or numpy + OpenCV.f64
type. Users does not need to care the problem lead by performing operations on u8 data.Simply four lines code to obtain the cover image (edge detection result) with Canny's edge detector!
Rust
let lenna = imread("lenna.png"); // read file
let lenna = rgb2gray(&lenna); // to gray
let edge = canny_edge(&lenna,
0.5, 0.05, BorderType:: Reflect); // REAL WORK!
imsave_gray(&edge, "canny.png"); // save image
This project is licensed by a BSD 3-caluse. See LICENSE for details.