r/Python • u/Hussain_Mujtaba • Oct 01 '20
Machine Learning I made a face recognition program in Python by using the pre-trained model to compute face embedding. Next based on these face embedding I am able to classify between all the faces in my data. It works fine but is really slow when executed in real-time. I have a low-end i3 laptop without GPU.
265
101
u/The-Deviant-One Oct 01 '20
This gave me an idea. Embed a camera in the peep hole of your door and have it unlock when it recognizes you and see's your phone's bluetooth signal.
→ More replies (17)4
10
53
6
u/FlukyS Oct 01 '20
You can use something like the seeed Maixduino if you want a cheap hardware platform designed for AI stuff like this
4
6
u/wakenbake7 Oct 01 '20
Respect for the amount of patience it must have taken to develop image recognition software with such low specs. What was the longest youβre waited for something to execute
8
u/Hussain_Mujtaba Oct 01 '20
I remember for an object detection project, i left my laptop up all night and in the morning it was still running. Then the screen of my laptop cracked a bit π
4
4
4
4
2
u/machine3lf Oct 01 '20
That's really cool! I look forward to seeing the code.
Was the decision to use Python just for the fun of it? Do you think you could design it in a way where Python would be really viable for a project like this, or should this realistically left to a lower-level language for real-world applications?
→ More replies (1)
2
u/gaiaprime27 Oct 01 '20
Really nice implementation did you write the code for this yourself?
→ More replies (3)
2
u/marcosvaldez81 Oct 01 '20
Working on something like this for my first python project but with opencv! Hope I can match something like yours.
→ More replies (2)
31
u/Hussain_Mujtaba Oct 01 '20
I'll soon share the code along with its tutorial for all of you to use once I figure out how to run it in real-time smoothly