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

https://github.com/federicovilla55/opencv-python

Python program for Face Recognition and Identification using the Open Source Computer Vision Library
https://github.com/federicovilla55/opencv-python

computer-vision face-detection face-recognition face-recognition-python image-processing image-processing-python opencv opencv-python python

Last synced: 3 months ago
JSON representation

Python program for Face Recognition and Identification using the Open Source Computer Vision Library

Awesome Lists containing this project

README

        

# OpenCV-Python
Python program for Face Recognition and Identification using the Open Source Computer Vision Library
-[OpenCV-Training.py](https://github.com/federicovilla55/OpenCV-Python/blob/main/OpenCV-Training.py) for the initial setup and to update files with recognition data;
-[Face-Recognition (Demo).py](https://github.com/federicovilla55/OpenCV-Python/blob/main/Face-Recognition%20(Demo).py) after doing the initial setup to recognize faces (lighter and less precise version);
-[Face-Recognition.py](https://github.com/federicovilla55/OpenCV-Python/blob/main/Face-Recognition.py) more complete version of the face recognition with the automatic data update feature.

## Requirements

In order to run the .py file you must have Python 3 installed.
Python libraries needed: [OpenCV](https://pypi.org/project/opencv-python/), [NumPy](https://numpy.org/install/), [Pillow](https://pypi.org/project/Pillow/)...

## Implementation

Insert in the [images](https://github.com/federicovilla55/OpenCV-Python/tree/master/images) directory some subfolders containing the photos for recognition.
Then run [OpenCV-Training.py](https://github.com/federicovilla55/OpenCV-Python/blob/main/OpenCV-Training.py) for configuration (creating trainer.yml and \pickles\face-labels).