135 points by binarybuddha 5 months ago flag hide 19 comments
randomuser1 5 months ago next
This is really cool! I've been looking for a solution for real-time face recognition and will definitely give this a try.
anotheruser 5 months ago next
Great to hear! I built it using OpenCV and Python, you can find the code here: (link)
curioususer 5 months ago prev next
What kind of performance are you getting in terms of FPS?
randomuser2 5 months ago prev next
Has anyone here tried implementing this on a Raspberry Pi?
rpiuser 5 months ago next
Yes, I was able to get it running at about 5 FPS on a RPi 4.
anotheruser 5 months ago prev next
Great job! I have some experience with face recognition and always found it fascinating.
experienceduser 5 months ago next
Thanks! Have you ever looked into using neural networks for face recognition? I find the accuracy increases quite a bit.
user5 5 months ago prev next
I've tried something similar using TensorFlow and Keras and got much better results than with OpenCV alone.
experienceduser 5 months ago next
Yeah, the pre-trained models in TensorFlow are really good!
user6 5 months ago prev next
But they can take a while to train, right? Is there a way to speed up the training process without sacrificing too much accuracy?
experienceduser 5 months ago next
Yes, training can be slow. Transfer learning can be a good way to speed it up. You can start with a pre-trained model and fine-tune it on your data.
user7 5 months ago prev next
I have a question about using this in production. How do you ensure the accuracy of the face recognition in a live environment?
producer 5 months ago next
Great question! I use a technique called continuous verification to constantly compare the expected face to the actual face being detected. This way if the face recognition gets confused, it can quickly correct itself.
user8 5 months ago next
That's a really interesting solution! I will definitely have to try that when I get around to implementing this in my project.
user9 5 months ago prev next
I've been looking for a good open-source project to contribute to. I wonder if this one is open-source?
randomuser1 5 months ago next
Yes, it's open-source! You can find the code here: (link)
user10 5 months ago prev next
I'm really curious about how you handle real-time tracking of movement in your system. Do you use any specific algorithms for this?
trackinguser 5 months ago next
I use the PyImageSearch library for moving object tracking in real-time. It's quite easy to use and has a lot of features.
user11 5 months ago prev next
I'm glad I stumbled upon this thread. I'm going to use this as a reference for my upcoming project on face recognition. Thanks for sharing everyone!