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
- Host: GitHub
- URL: https://github.com/vinitshahdeo/facerecognition
- Owner: vinitshahdeo
- License: mit
- Created: 2018-11-20T07:59:55.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-10-27T15:20:05.000Z (almost 4 years ago)
- Last Synced: 2025-04-10T04:40:32.070Z (6 months ago)
- Topics: face-detection, face-recognition, opencv, python
- Language: Jupyter Notebook
- Homepage: https://vinitshahdeo.github.io/FaceRecognition/
- Size: 1.17 MB
- Stars: 20
- Watchers: 2
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Face Recognition
[](https://github.com/vinitshahdeo/FaceRecognition/blob/master/LICENSE) [](https://github.com/vinitshahdeo/)
[](https://twitter.com/intent/tweet?text=Face%20Recognition%20Project%20by%20@Vinit_Shahdeo:&url=https%3A%2F%2Fgithub.com%2Fvinitshahdeo%2FFaceRecognition) [](https://www.python.org/downloads/release/python-350/) [](https://github.com/vinitshahdeo/)### Face Recognition using Haar-Cascade Classifier, OpenCV and Python.
[](https://github.com/vinitshahdeo/FaceRecognition)
[](https://github.com/vinitshahdeo/) [](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.
[](https://github.com/vinitshahdeo/) [](https://github.com/vinitshahdeo/) [](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
[](https://github.com/vinitshahdeo/FaceRecognition/) [](https://github.com/vinitshahdeo) [](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?[](https://twitter.com/Vinit_Shahdeo) [](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/).
[](https://www.facebook.com/vinit.shahdeo) [](https://www.quora.com/profile/Vinit-Shahdeo-1) [](https://www.instagram.com/vinitshahdeo/)