rust-simplecv
Make computer vision in Rust simpler!
Introduction
simplecv
, as its name said, is a simple computer vision crate implemented in Rust. It is still in active development.
Highlights
- Simple interface: based on ndarray, all functions in
simplecv
are easy to use for developers who are familar with MATLAB or numpy + OpenCV. - Simple values: all data are in
f64
type. Users does not need to care the problem lead by performing operations on u8 data. - Simple dependency: use as few extern crates as possible so that it is simple to install and intergrate.
Example: Edge Detection
Simply four lines code to obtain the cover image (edge detection result) with Canny's edge detector!
let lenna = imread; // read file
let lenna = rgb2gray; // to gray
let edge = canny_edge; // REAL WORK!
imsave_gray; // save image
License
This project is licensed by a BSD 3-caluse. See LICENSE for details.