Skip to content

expenses/face_recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’€ UNMAINTAINED πŸ’€

Face Recognition

Inspired by a similar python library, face_recognition is a Rust library that binds to certain specific features of the dlib C++ library.

These include:

  • An FHOG-based face detector.
  • A CNN-based face detector (slower, but more powerful).
  • A face landmark predictor for identifying specific landmarks (eyes, nose, etc) from face rectangles.
  • A face encoding neural network for generating 128 dimensional face encodings that can be compared via their euclidean distances.

Building

face_recognition requires dlib to be installed.

on (atleast) OSX, I believe lapack and openblas also need to be installed.

face_recognition includes a download-models feature flag that can be used with cargo build --features download-models.

This will automatically download the face predictor, cnn face detector and face encoding neural network models (the fhog face detector is included in dlib and does not need to be downloaded). Alternatively, these models can be downloaded manually:

if this feature flag is enabled, the matching structs will have Default::default implementations provided that allows you to load them without having to worry about file locations.

About

πŸ’€ UNMAINTAINED πŸ’€ Rust bindings to dlibs face recognition tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages