Skip to content

notecola/facenet-light

Repository files navigation

Faster, lighter Facenet for face recognition using PyTorch

The goal is to create a small, fast and highly compatible face recognition model for wide range of devices. Based on original paper "FaceNet: A Unified Embedding for Face Recognition and Clustering", this is a heavily modified model with triplet loss training and reduced number of levels. The final recognition rates are comparable to the original numbers (+- 2%) but the resulting model is faster and smaller.

Made for deployment

As of 2019.05 the OpenCV can load Pytorch models but the support for certain layers is limited. Therefore this model is using only layers which are supported by ONNX and OpenCV DNN.

Conversion

The export.py script is there to convert the trained model into the opencv-compatible onnx format.

References

About

Lighter version of FaceNet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published