This is a advance Face recognition system by Adityasinh Sodha
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.
- 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.
- Python
- OpenCV (for face detection)
- face_recognition (for face recognition)
- SQLite (for face data storage)
- Windows 10/11 64bit or Linux amd64
- Python 3.11
- Visual Studio Build Tools (FOR WINDOWS ONLY)
- Clone the repository:
git clone https://github.com/Adityasinh-Sodha/Face-Recognition-System cd Face-Recognition-System
- Install required dependencies:
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
- Run the face recognition script:
python3 main.py
-
Install Visual Studio Build Tools and download Desktop development with C++ (ONLY FOR WINDOWS 10/11)
-
Install python and confiure pip
-
Open cmd and install required dependencies:
pip install opencv-python flask pip install opencv-python-headless pip install cmake pip install face_recognition pip install pillow
-
Run the command
python main.py
-
Ragister your face and enjoy.
- 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.
Feel free to fork the repository and make improvements. Contributions are welcome!
This project is licensed under the MIT License.
Developed by Adityasinh.