Skip to content

sb-robo/Open-CV-Face-Recognition

Repository files navigation

Open-CV-Face-Recognition

Real-time face recognition project with Open-CV and Python

Hi there!

  • This is a real-time face recognition system which can detect Face and also it can recognise Face. (Recognise only when the sample data of that face has already in Data folder)
  • There are two Python file.

1. facedata_collect.py

This python file collects data and stores it in data folder. Capture atleast 20 sample data for better performance.

  • haarcascade_frontalface_alt.xml used for face detection.

2. face_detect.py

This pyhton file detect and recognise face.

  • I have used KNN(K-Nearest Neighbors) Algorithm as Recognizer.
    • I have used Euclidean Distance for distance metric of continuous variables.
  • haarcascade_frontalface_alt.xml used for face detection.

Process of Face_Recognition System:

  • Phase 1: Data gathering
    • Gather face data(images) of the person to be identified.
    • Stores the data into dataset(data folder).
  • Phase 2: Train the recognizer
    • Feed the data and id of each face to the recognizer so it can learn.
  • Phase 3: Recognition
    • Recognize faces.

Prerequisites

  • Python 3.6 or higher version must be installed in the System where you are running.
  • OpenCV need to installed.
  • Need atleast one configured camera.

Useful Links:

About

Real-time face recognition project with Open-CV and Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages