Hacker News new | ask | show | jobs
by bko 2021 days ago
Not relating to this project, but there's no reason you can't do offline facial recognition. I've blogged about doing offline object detection on raspberry pi and facial recognition is much simpler [0]. I've done it using the face_recognition [1] python package although I never released anything and it works fine. Only catch is you can only process a few frames a second, but unless you're trying to capture faces in fast moving environment, this should be fine.

I will note that aws facial recognition is far superior to the python package. If you need accuracy I would suggest an ensemble method where you use an inferior model (python package) to some level of confidence then offload it to the superior model that's off device for the final call and saving down the vectors.

[0] https://medium.com/ml-everything/offline-object-detection-an...

[1] https://github.com/ageitgey/face_recognition

1 comments

Offline facial recognition is the way Apple does their face ID unlock mechanism. If it required an always on network connection and cloud inference the system would fail miserably.