Skip to content

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

License

Notifications You must be signed in to change notification settings

Adityasinh-Sodha/Face-Recognition-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Installation

Linux

  1. Clone the repository:
    git clone https://github.com/Adityasinh-Sodha/Face-Recognition-System
    cd Face-Recognition-System
  2. 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
    
  3. Run the face recognition script:
    python3 main.py

Windows

  1. Install Visual Studio Build Tools and download Desktop development with C++ (ONLY FOR WINDOWS 10/11)

  2. Install python and confiure pip

  3. 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
    
  4. Run the command python main.py

  5. 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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages