Skip to content

SRINI-J/Face_Recognition-

Repository files navigation

Face Recognition using Haar-Cascade Classifier, OpenCV, and Python

Simple Face Recognition algorithm using Python and OpenCV

Requirement

  • Python 3.7.3
  • OpenCV 4.1.0
  • Numpy

Outline

This project consist of 3 parts, which are:

  1. Creating datasets (face_datasets.py)
  2. Train the model (training.py)
  3. Face Recognition (face_recognition.py)

How to run

  1. Please make sure that you have folders called 'datasets' and 'trainer' in the same directory
  2. Run in the command line the face_datasets.py for taking your face image as datasets. Don't forget to set each person's face to unique ID (You need to edit the code everytime, or maybe just change the id variable to raw_input[OPTIONAL])
  3. If you have more face to be include, change the ID and run the program again
  4. Train your datasets by running training.py
  5. Lastly, run face_recognition.py

About

Face recognition using Open CV

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages