Thameur Portfolio
Face Recognition System using MTCNN and Facenet π€
June 15, 2022 (2y ago)
π A face recognition system powered by MTCNN for face detection and Facenet for encoding faces into unique vectors to perform accurate recognition.
π Abstract
This Face Recognition System uses MTCNN for detecting faces in images and Facenet for encoding the detected faces into unique vectors that can be compared to others for identification and verification. The system can be extended for more complex applications, including security systems and personalized experiences.
π Features
- Face Detection: MTCNN is used for detecting faces in images.
- Face Encoding: Facenet encodes faces into unique vectors for recognition.
- Face Comparison: The system compares the encoded vectors to identify the closest match.
- Real-time Recognition: The system can process images in real-time for face identification.
- Database Integration: Add images of people to the face recognition database for comparison.
π Getting Started
Prerequisites
Before you can run this project, ensure the following packages are installed:
- TensorFlow
- MTCNN
- Keras
- OpenCV
- scikit-learn
Installation
- Clone the repository:
git clone https://github.com/verus56/face-recognition-based-sur-mtcnn-facenet.git cd face-recognition-based-sur-mtcnn-facenet
- Install the required dependencies:
pip install tensorflow mtcnn keras opencv-python scikit-learn
Running the App
Run the main file to start the face recognition application:
python main.py
The application will start, and you can begin adding images to the face recognition database and use them for recognition.
π€ How It Works
- Face Detection: MTCNN detects faces in images added to the database.
- Face Encoding: Facenet encodes the detected faces into unique vectors.
- Recognition: When a new image is submitted, it is processed in the same way, and the resulting vector is compared with stored vectors in the database.
- Match Identification: The system identifies the closest match based on vector comparison.
π Technical Stack
- AI Engine: MTCNN (for face detection), Facenet (for face encoding)
- Image Processing: OpenCV
- Data Processing: scikit-learn
- Deep Learning: TensorFlow, Keras
π οΈ Deployment
This system can be run locally for individual face recognition or extended for integration into larger security systems.
π License
Released under the MIT License.
π² Contact
Made with β€οΈ by Hamzaoui Thameur
- GitHub: Hamzaoui Thameur
- Email: thameurhameaoui9@gmail.com
π Resources
- Report: Read Report
- Presentation: View Presentation
Contributors:
- Hamzaoui Thameur
- Omari Hamza
- Hadad Sarah
- Elfecih Sarah