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

https://github.com/angrybayblade/py-opencv-facedetection

👱🏽‍♂️ A naive face detection and classification script using opencv. 📸
https://github.com/angrybayblade/py-opencv-facedetection

face-recognition opencv python

Last synced: about 2 months ago
JSON representation

👱🏽‍♂️ A naive face detection and classification script using opencv. 📸

Awesome Lists containing this project

README

          

## Generalized Face Training Algorithms

|_ faces
|__ save your faces here
|_ templates
|__ extracted templates
|_ extract_faces.py
|_ face_det_svm.py
|_ face_detect.py
|_ face_train.py
|_ haarcascade_frontalface_default.xml
|_ Models.ipynb
|_ .gitignore
|_ README.md
|_ update.sh

## Extracting Faces From Saved Images.

Use extract_faces.py to convert your images into face templates.
To do so , save your image into faces folder and save it by the name of the person, suppose you're saving face tom cruise save it like tom cruise.jpg/png/jpeg whatever the format is.
Then execute extract_faces.py to extract and save face templates.

![angelina joile](source/faces/anjelina jolie.jpg)

![angelina joile](source/templates/anjelina jolie.png)