SFace
SFace: Sigmoid-Constrained Hypersphere Loss for Robust Face Recognition
SFace is contributed by Yaoyao Zhong. face_recognition_sface.onnx is converted from the model from https://github.com/zhongyy/SFace thanks to Chengrui Wang.
Note:
- There is a PR for OpenCV adding this model to work with OpenCV DNN in C++ implementation.
- Support 5-landmark warp for now.
demo.pyrequires ../face_detection_yunet to run.
Demo
Run the following command to try the demo:
# recognize on images
python demo.py --input1 /path/to/image1 --input2 /path/to/image2
License
All files in this directory are licensed under Apache 2.0 License.