I used face_recognition.py to write a program that could search for a face in a folder of images.
- You must have Python 3.X
- You must install the face_recognition api
For installation guidelines you can visit this link
For windows users, the installation of the API is a bit tricky. I'll share what worked for me with you! Install the following in order for this to work:
- Visual Studio 2017/2015
- Cmake
- dlib (pip install dlib==19.4)
- face_recognition API (pip install face_recognition)
You can also try the method suggested in this link.
-
You can download this folder on your device. Then use your terminal or command Prompt to navigate to this directory.
-
Add a clear image of your face to ./known
-
Add all the other images to ./unkown
-
Then run python find_my face.py.
Note: Make sure you read the README.txt files in all the folders!
HaVe FUn!!
Feel free to give me some feedback and love!!