项目作者: debajyotiguha11

项目描述 :
Simple OpenCV Face Recognition using Haar-Cascade Classifier, Python2 (OR) Python3
高级语言: Python
项目地址: git://github.com/debajyotiguha11/FaceRecognition.git
创建时间: 2017-06-30T06:56:15Z
项目社区:https://github.com/debajyotiguha11/FaceRecognition

开源协议:MIT License

下载


FaceRecognition

Simple OpenCV Face Recognition using Haar-Cascade Classifier, Python2 (OR) Python3

Face Recognition tutorial refference CommingSoon http://coders.uphero.com/

Requarements:

  • Python 2.x
  • OpenCV 2.x
    (OR)
  • Python 3.x
  • OpenCV 3.x

Python Library:

  • cv2
  • os
  • Numpy
  • Pillow/PIL

Detais

This project consist of 3 parts, which are:

  1. Creating datasets (face_datasets_creator.py)
  2. Train the model (image_trainner.py)
  3. Face Recognition (face_recognition.py)

Installing

  • Create an empty Folder named “dataSet” in the same directory where the python scripts are.
  • Create an empty folder called “trainner” in the same directory.

Running the tests

    1. Run in the command line the “face_datasets_creator.py” and enter a unique id to create face samples with your face. 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])
    1. If you have more face to be include, change the ID and run the program again.
    1. Loade your datasets by running “image_trainner.py”
    1. Lastly, run “face_recognition.py”

Contribute

Want to work on the project? Any kind of contribution is welcome!

Follow these steps:

  • Fork the project.
  • Create a new branch.
  • Make your changes and write tests when practical.
  • Commit your changes to the new branch.
  • Send a pull request.

Authors

Debjyoti Guha