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

https://github.com/anoop-singh-dev/facedetection-and-recognition-using-bpn

Face Detection and Recognition
https://github.com/anoop-singh-dev/facedetection-and-recognition-using-bpn

opencv python

Last synced: 2 months ago
JSON representation

Face Detection and Recognition

Awesome Lists containing this project

README

          

# FaceDetection-and-Recognition-using-BPN

## Prerequisites
* Python 2.x
* OpenCV 3.x
* Pillow Python Library

## Running the tests

### For Face Detection in image
* Go folder face_detection:- and run
* $ python face_detect.py a1.jpg haarcascade_frontalface_default.xml

![abc](https://user-images.githubusercontent.com/9657488/35817254-e79b3612-0ac2-11e8-9144-54cfbabedb03.png)

### For Face Detection through webcam
* $ python live.py haarcascade_frontalface_default.xml
### For face recognition

* run the dataSetGenerator.py and enter a unique id to create face samples with your face
* run trainer.py for trained dataset
* run detector.py for recognition of face

![bbf](https://user-images.githubusercontent.com/9657488/35817774-5284ddb0-0ac4-11e8-98a0-249db21a92c0.png)

### For running a simple back propagation neural network
* Go folder back_propagation_neural_network
* $ python nu1.py

![bpnn](https://user-images.githubusercontent.com/9657488/36050444-91f3fd78-0e0c-11e8-8a9d-b2512ed9687d.png)

#### --> We not use back propagation neural network for face recognition,we only cerate a simple BPNN and trained it.