This is a demo project built on top of DeepFace.
To use this project, you need to install the following dependencies:
pip install tensorflow pip install deepface
This project contains two modules:
face_detection.py
: This module is responsible for detecting faces in images.face_recognition.py
: This module is responsible for recognizing faces in images.
The images used for face recognition are stored in the database
directory. The directory structure is as follows:
database ├── person1 │ ├── person1_1.jpg │ └── person1_2.jpg └── person2 └── person2_1.jpg
To use your own images, simply add them to the corresponding person
subdirectory.
To use this project, place your images in the database/person
directory and run the corresponding Python script.