Skip to content

mndar/facenet_classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Note

This works very well. I've not been not maintaining it for a while. I'll give you gals and guys some pointers.

  • OpenCV Version
  • Tensorflow Version (This is a major problem. This code was written for a really really old version. I don't even remeber it. I did it in a trance!)

Facenet C++ Classifier

Build

cd src && mkdir build && cd build
cmake ..
make

Usage

  • ./run <TRAIN|CLASSIFY> <Path/To/TensorFlowModel> <Path/To/Image/Directory/Structure> <Path/To/Classifier/Model>
  • Directory structure should be <class_id>/<image_files>
  • Face images should be 160x160, otherwise they will be resized

Issues

  • More Testing Needed
  • Results are good with more than one input image given to the pre-trained model.

Instructions to compile Tensor Flow C++ shared library

About

Facenet C++ Classifier

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published