Must read Security.MD and LICENSE
This Repository contains program which detects faces from its database and keeps record in "output_data" folder.
Moudules reuired:
-opencv-contrib-python
-pillow
Just download the Downloads.zip
file or (https://github.com/InvisiblePro/AI_Face_Recognition.git)
and install all requirements from startup.bat
file and get your model ready!..
-
First install all pre-requirements using these command--
pip install -r requirements.txt
. -
After installing all modules, first run
data_collector.py
which askFace ID:
you can set it as 0,1,2,3.... then a pop-up window opens and starts capturing your face pictures. -
Now run
modelTrainer.py
file to train your model. -
Now get into the code of
face_recognition.py
, search for
names=['person1','person2'] # give these names as same array index as of Face ID:
-
Now, just run this file, you will see your face getting detected on screen.
-
After closing window by pressing
escape
key, you will getoutput_data
folder in which you will find a recording of camera and 2 log files. -
Great! If you haven't get any errors..... You are done 👍🏻👍🏻