An open API service indexing awesome lists of open source software.

https://github.com/vinitshahdeo/facerecognition

:camera: Face Recognition using Haar-Cascade Classifier, OpenCV and Python
https://github.com/vinitshahdeo/facerecognition

face-detection face-recognition opencv python

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

          

# Face Recognition
[![GitHub license](https://img.shields.io/github/license/vinitshahdeo/FaceRecognition.svg?style=social)](https://github.com/vinitshahdeo/FaceRecognition/blob/master/LICENSE) [![GitHub followers](https://img.shields.io/github/followers/vinitshahdeo.svg?label=Follow&style=social)](https://github.com/vinitshahdeo/)
[![Twitter](https://img.shields.io/twitter/url/https/github.com/vinitshahdeo/FaceRecognition.svg?style=social)](https://twitter.com/intent/tweet?text=Face%20Recognition%20Project%20by%20@Vinit_Shahdeo:&url=https%3A%2F%2Fgithub.com%2Fvinitshahdeo%2FFaceRecognition) [![Python 3.5](https://img.shields.io/badge/python-3.5-blue.svg?style=social)](https://www.python.org/downloads/release/python-350/) [![GitHub repo size](https://img.shields.io/github/repo-size/vinitshahdeo/FaceRecognition.svg?logo=git&style=social)](https://github.com/vinitshahdeo/)

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

[![Generic badge](https://img.shields.io/badge/Face-Recognition-blue.svg?style=for-the-badge)](https://github.com/vinitshahdeo/FaceRecognition)
[![Generic badge](https://img.shields.io/badge/Open-CV-orange.svg?style=for-the-badge)](https://github.com/vinitshahdeo/) [![Generic badge](https://img.shields.io/badge/HaarCascade-Classifier-teal.svg?style=for-the-badge)](https://github.com/vinitshahdeo/)

This project is based on face detection and face recognition processes. It is a real time web cam face detection and recognition project which will be used to generate training face images and then detect the known faces. It classifies between known and unknown faces.

[![GitHub last commit](https://img.shields.io/github/last-commit/vinitshahdeo/FaceRecognition.svg?color=critical&logo=github&style=social)](https://github.com/vinitshahdeo/) [![GitHub top language](https://img.shields.io/github/languages/top/vinitshahdeo/FaceRecognition.svg?logo=jupyter&style=social)](https://github.com/vinitshahdeo/) [![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/vinitshahdeo/FaceRecognition.svg?logo=python&style=social)](https://github.com/vinitshahdeo/)

> Click [here](https://github.com/vinitshahdeo/FaceRecognition/raw/master/docs/Face_Recog_Report%20.pdf) to download the project report. You can also find the project report inside `docs` folder.

## Requirements
- Python 3.5
- OpenCV 3.1.0
- Numpy

## Outline

[![Made with Python](https://forthebadge.com/images/badges/made-with-python.svg)](https://github.com/vinitshahdeo/FaceRecognition/) [![Built with love](https://forthebadge.com/images/badges/built-with-love.svg)](https://github.com/vinitshahdeo) [![4U](https://forthebadge.com/images/badges/for-you.svg)](https://github.com/vinitshahdeo/FaceRecognition/)

This project consist of 3 parts, which are:

1. Creating datasets (**datasets.py**)
2. Train the model (**training.py**)
3. Recognize faces (**recog.py**)

## Instructions - How to Run ?

- First run *`datasets.py`* to generate datasets. Make sure that it creates two folders(**datasets** and **trainer**). The 'datasets' folder contains the grayscale images.

- Supply proper **ID** for the face before running *`training.py`*.

- Run *`recog.py`* and don't forget to set each person's face to **unique** ID.

- If you have more face to be include, change the ID and run the code again.

## Need help?

[![Twitter Follow](https://img.shields.io/twitter/follow/Vinit_Shahdeo.svg?style=social)](https://twitter.com/Vinit_Shahdeo) [![LinkedIn](https://img.shields.io/static/v1.svg?label=Connect&message=@vinitshahdeo&color=grey&logo=linkedin&labelColor=blue&style=social)](https://www.linkedin.com/in/vinitshahdeo/)

Feel free to contact me via [Facebook](https://www.facebook.com/vinit.shahdeo).

Invite me to connect on [LinkedIn](https://www.linkedin.com/in/vinitshahdeo/).

[![Facebook](https://img.shields.io/badge/Facebook-add-blue.svg?logo=facebook)](https://www.facebook.com/vinit.shahdeo) [![Quora](https://img.shields.io/badge/Quora-ask-red.svg?logo=quora)](https://www.quora.com/profile/Vinit-Shahdeo-1) [![Instagram](https://img.shields.io/badge/Instagram-follow-yellow.svg?logo=instagram&logoColor=white)](https://www.instagram.com/vinitshahdeo/)