Report Final
Report Final
Research Centre
Session: 2024–25
Introduction & Objectives
1. Introduction
This project aims to design and develop a face recognition-based system that can
identify individuals using their facial features with high accuracy. In the age of AI
and machine learning, face recognition systems are playing a significant role in
access control, surveillance, and identity verification.
Existing solutions like FaceID (Apple), and facial surveillance in public areas have
demonstrated the feasibility, but many remain costly or lack adaptability in varying
conditions.
Scope:
- Included: Face detection, data preprocessing, model training, real-time prediction.
- Not Included: Emotion detection, 3D face recognition, multiple face detection in a
single frame (for now).
3. Expected Outcome
- A functioning face recognition model with high accuracy on known datasets.
- Real-time face detection and recognition through webcam input.
- Enhanced understanding of computer vision and neural network-based systems.
Methodology & Implementation
1. Technologies Used
- Programming Language: Python
- Libraries & Frameworks: OpenCV, TensorFlow/Keras, NumPy, Matplotlib
- Tools: Jupyter Notebook, Anaconda, Git
- Hardware: Laptop with integrated camera
- Reason: Python offers strong ML libraries, OpenCV is ideal for computer vision,
and TensorFlow is effective for deep learning implementation.
2. Implementation Details
Approach:
Used Haar Cascades for face detection and a Convolutional Neural Network (CNN)
model trained on a dataset of facial images.
Steps:
1. Data Collection and Preprocessing
2. Face Detection using OpenCV
3. CNN Training on labeled images
4. Real-time Recognition with webcam input
Architecture Diagram:
(Input → Face Detection → Feature Extraction (CNN) → Classi ication → Output)
3. Challenges Faced
- Lighting variations: Solved using histogram equalization.
- Limited training data: Augmented using transformations.
- False positives in detection: Tuned Haar cascade parameters and added confidence
thresholding.
Results & Findings
1. Demonstration Summary
System successfully detects and identifies faces in real-time.
Recognition is effective within milliseconds under normal lighting.
2. Performance Evaluation
- Accuracy: ~95% on test dataset
- Recognition Time: ~0.2 seconds per frame
- False Acceptance Rate (FAR): <5%
- False Rejection Rate (FRR): <3%
2. Future Enhancements
- Multi-face recognition in a frame.
- Adding face tracking and voice alert.
- Integration with cloud databases.
- Building a mobile application version.
3. Lessons Learned
- Hands-on experience with ML pipelines.
- Importance of clean and diverse datasets.
- Model optimization and hyperparameter tuning.
This project also taught us to deal with real-time processing constraints and
optimize computational workloads effectively. We also learned the importance of
modular code structure, collaborative version control using Git, and maintaining
user data security and privacy throughout the development process.