https://github.com/workofaditya/face-recognition-system
This is a face recognition program that uses a webcam feed to detect and recognize faces. It allows the user to register new faces by associating them with names and stores this information for future recognition
https://github.com/workofaditya/face-recognition-system
dlib dlib-face-detection dlib-face-recognition face face-detection face-recognition face-recognition-system facerecognition open-source opencv python
Last synced: 11 months ago
JSON representation
This is a face recognition program that uses a webcam feed to detect and recognize faces. It allows the user to register new faces by associating them with names and stores this information for future recognition
- Host: GitHub
- URL: https://github.com/workofaditya/face-recognition-system
- Owner: WorkofAditya
- License: mit
- Created: 2024-09-05T17:30:45.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-21T11:50:35.000Z (12 months ago)
- Last Synced: 2025-06-21T12:31:42.193Z (12 months ago)
- Topics: dlib, dlib-face-detection, dlib-face-recognition, face, face-detection, face-recognition, face-recognition-system, facerecognition, open-source, opencv, python
- Language: Python
- Homepage:
- Size: 67.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Face-Recognition-System
This is a advance Face recognition system by Adityasinh Sodha
## Overview
This project implements a face recognition system using a webcam. It can recognize registered faces and display their details, while prompting for input when a new face is detected.
## Features
- **Face Recognition**: Detects and identifies faces using webcam.
- **Real-time Updates**: Displays recognized faces and their details in real-time.
- **New Face Detection**: Automatically prompts for input when a new face is detected.
## Technologies Used
- Python
- OpenCV (for face detection)
- face_recognition (for face recognition)
- SQLite (for face data storage)
## Requirements
- Use requirements.txt to download all library
- Windows 10/11 64bit or Linux amd64
- Python 3.11
- [Visual Studio Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/) (FOR WINDOWS ONLY)
## Installation
### Linux
1. Clone the repository:
```bash
git clone https://github.com/Adityasinh-Sodha/Face-Recognition-System
cd Face-Recognition-System
```
2. Install required dependencies:
```bash
pip install opencv-python flask
pip install opencv-python-headless
sudo apt install libgl1-mesa-glx
pip install cmake
pip install face_recognition
pip install pillow
```
3. Run the face recognition script:
```bash
python3 main.py
```
### Windows
1. Install [Visual Studio Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/)
and download **Desktop development with C++** (ONLY FOR WINDOWS 10/11)
2. Install [python](https://www.python.org/downloads/windows/)
and confiure pip
3. Open cmd and install required dependencies:
```bash
pip install opencv-python flask
pip install opencv-python-headless
pip install cmake
pip install face_recognition
pip install pillow
```
4. Run the command ```
python main.py```
6. Ragister your face and enjoy.
### How It Works
- The script starts webcam-based face recognition using OpenCV.
- When a face is detected, it checks the database to see if it's registered.
- If the face is registered, it displays the details.
- If the face is new, it prompts for input to store the details.
## Contribution
Feel free to fork the repository and make improvements. Contributions are welcome!
## License
This project is licensed under the MIT License.
## Author
Developed by **Adityasinh**.