Facial Recognition with cpp using state of the art insightface model.
functionallity to compare two images using cosine distance.
fast face cropping model face alignment saveable embeddings to collect a database of faces and do 1 to N comparisons.
Download the model .pb file from URL
The Main Python Project is located at URL
# install opencv.
cd thirdparty
wget https://github.com/opencv/opencv/archive/2.4.13.5.zip
bash opencv.sh
cd ..
# build the project.
buildproj.sh
cp PATH_TO_MODEL/insightface.cpp PATH_TO_REPO/models
cd PATH_TO_REPO
./bin/match IMAGE1_PATH IMAGE2_PATH
# ex ./bin/match images/test.jpg images/test.jpg