This project contains Face detection and Face recognition using the famous Open Source Libraries OpenCV and face_recognition.
Note: It is not feasable to build customized CNN model and train it using thousands of Images as it'll take a lot of time depending on your hardware. Always prefer Transfer Learning over doing everything from scratch.
For Face Detection you need to download OpenCV. The one used in the project is OpenCV v2.
Ubuntu:18.04 / Env - Python3
For Face Recognition you need to download both OpenCV and face_recognition libraries.
Ubuntu:18.04 / Env - Python3
-
Install the requirements.txt file in each of the Face Detection and Face Recognition directories.
- $ pip3 install -r requirements.txt
-
Do not forget to provide the arguments while running the detection and recognition scripts. Details of the arguments are given in respective README's.
-
Run the python code according to the application.
- $ python3 <file_name>