Face recognition using Tensorflow
ML training is practically impossible on micro-controllers. Inferencing on the other hand is quite doable, especially if aided by a [TPU coprocessor](https://coral.ai/products/accelerator/). Supposedly with the TPU you can do some quantization-aware training, but I haven't tried this. I am working on a security system that does facial recognition to recognize me and some friends and considers anyone else as an intruder. How I am doing this is by retraining [Facenet](https://github.com/davidsandberg/facenet) with my facial embeddings. Use something like Haar Cascade in OpenCV to get the bounding box for a face and put it through the model to extract face embeddings. You can then save these embeddings as a sort of databases for the faces you want it to recognize during the inferencing phase. After that you can impose something like a SVM classifier to say who in your face database it is. One thing I will note is that the problem is even easier if you are only concerned with one face - in which case it is technically face identification - not recognition. If that is the case, you only need to do a difference calculation between the embeddings you saved during training and the result output from inferencing. If you do end up using the TPU, you can connect to it over USB from inside a container (I only know how to do this in Docker though) too. Hope this was helpful. I am actually looking to use a k8s cluster eventually too as a sort of smart hub for my security system and other devices so I can handle much more traffic (not sure if this is overkill or not on the pi 4s).
Man with foot up on desk in Pelosi's office at Capitol arrested
3 projects | reddit.com/r/politics | 8 Jan 2021
I hate that this is so true, I really like python.
2 projects | reddit.com/r/ProgrammerHumor | 10 Oct 2021
Want to use synthetic data, but don't want to deal with domain gap?
5 projects | news.ycombinator.com | 24 Sep 2021
[N][R] Want to leverage synthetic data for 3d reconstruction, but don't want to deal with the photometric domain gap? (ICRA 2021 talk)
2 projects | reddit.com/r/MachineLearning | 22 Sep 2021
Load Faster R-CNN Object Detection net with Tensorflow 2.5.0 and OpenCV 4.3 DNN package
3 projects | reddit.com/r/tensorflow | 8 Sep 2021