sabihabegumj / FaceRecognition-Python

A Human Face Recognition System to track attendance and provide authentication for a course exam, built using Python, OpenCV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FACE RECOGNITION

A Human Face Recognition System to track attendance and provide authentication for a course exam, built using following a tutorial on Python, OpenCV

Table of contents

Technologies

  • Technologies - Python, OpenCV

Running the Application

  • Step 1: Create an Isolated Python environment and install dependencies such as numpy and OpenCV.
  • Step 2: Run tester.py script on terminal to train model and to detect faces

Training Classifier and Face Recognition

  • Place Images for training the classifier in trainingImages folder.In case to train classifier to recognize multiple people then add each persons folder labeled as 0,1,2,etc and then add their names along with labels as key value pair in tester.py/videoTester.py
  • To generate test images for training classifier use videoimg.py
  • Place test images in TestImages folder that you want to test and add its path in tester.py and run tester.py script
  • Run tester.py first since it generates training.yml file as it is used in videoTester.py
  • Use "videoTester.py" script to recognize faces real-time via web cam.

Screenshot

Example screenshot

Acknowledgments

Contact

Sabiha Begum Jaggir Hussain - feel free to contact me!

About

A Human Face Recognition System to track attendance and provide authentication for a course exam, built using Python, OpenCV


Languages

Language:Python 95.9%Language:C 2.6%Language:C++ 1.4%Language:Fortran 0.1%Language:PowerShell 0.0%Language:Batchfile 0.0%