Skip to content
/ mtcnn-rs Public

Rust implementation of the MTCNN face detector.

License

Notifications You must be signed in to change notification settings

Ax9D/mtcnn-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mtcnn-rs

Rust implementation of the MTCNN face detector.

Usage

    let mtcnn = MTCNN::new("mtcnn.pb").unwrap();//Load the model
    let image = imread("faces.jpg", IMREAD_COLOR).unwrap();
    let faces_roi=mtcnn.detect_faces_aligned(&image).unwrap(); //Returns a vec of cropped faces 

    imshow("Detected Face", &faces_roi[0]).unwrap();

    wait_key(0).unwrap();

References

Original python implementation: https://github.com/ipazc/mtcnn

About

Rust implementation of the MTCNN face detector.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages