A high-performance, real-time facial recognition solution built using Deep Learning and Computer Vision. This system processes live video streams to identify individuals by comparing real-time biometric signatures against a pre-encoded database.
- Real-time Recognition: Sub-second identification of individuals via webcam.
- Deep Learning Core: Powered by dlib's state-of-the-art face recognition model (99.38% accuracy).
- Optimized Pipeline: Uses 0.25x frame scaling to maintain high FPS during live processing.
- Multi-Face Support: Capable of detecting and labeling multiple identities simultaneously in a single frame.
- Language: Python
- UI Framework: Streamlit
- Streaming: Streamlit-WebRTC (for local browser-based camera access)
- Computer Vision: OpenCV
- Deep Learning Library: Face-Recognition (dlib)
- Data Handling: NumPy & Pickle
- Preprocessing: Frames are captured in BGR format, downscaled for speed, and converted to RGB.
- Feature Extraction: The system detects face locations and generates 128-dimensional encodings.
- Distance Matching: Live encodings are compared against the
encodings.pkldatabase using a tolerance-based matching algorithm to ensure precise identification.
- Clone the repository:
git clone [https://github.com/mansiggit/Smart-Face-Recognition-System](https://github.com/mansiggit/Smart-Face-Recognition-System) cd smart-face-recognition - Install system dependencies (Linux/Ubuntu):
sudo apt-get update && sudo apt-get install cmake build-essential libgl1-mesa-glx - Install Python packages:
pip install -r requirements.txt
- Run the App:
streamlit run app.py
- Latency: <500ms for identification.
- Storage: Minimal footprint using 128-dimensional vector representations.