- An c++ implement of face detect, recognition and retrieve based on mtcnn, facenet and hnswlib.
- Another web server implement based on Caffe and Flask can be found in Facenet-Caffe
- OpenCV3.4.0
- NCNN framework, use to detect face.
- pretraned facenet model, can be downloaded in InceptionResnet.mlmodel
App builds and running on iPhone SE successfully, arm64 architecture
.
- Enroll and store features in local sandbox.
- Retrieve by hnswlib.
- All the name you enrolled can be duplicated, the retrieve algorithm identify the face when the Euclidean Distance is smaller than 0.5, since all the face embedding vector is under L2 norm and confined in a high dimensional sphere whose radius is euqal to 1. The largest distance is 2.0.