Espy is a python program which uses an open source computer vision and machine learning library, Opencv. The library has more than 2500 optimized algorithms,to detect and recognize faces, identify objects, extract 3D models of objects, produce 3D point clouds from stereo cameras,etc.
This project includes the principle of object detection using Haar Cascade Classifier. It is a machine learning based approach where a cascade function is trained from a lot of positive and negative images. These cascade function are stored in xml files. Each Cascade Classifier is used to detect specific features. But for the purpose of face detection, Cascades such as face, eye and nose were used in this project. The cascades process real time video recording and create boxes around the faces to differentiate the faces, noses and eyes.
For more information on how Face Haar Cascades work - Face Detection Using Haar Cascades
These are the following libraries which was made use of in this project:
-
Numpy - NumPy is a library for the Python programming language which provides additional support for processing large, multi-dimensional arrays and matrices.
-
Python - An easy to pick up programming language and fun to play with.
-
Opencv - OpenCV (Open Source Computer Vision Library) is an open source computer vision and machine learning software library.
These were the pre-requisities :
Install Numpy using pip
$ pip install Numpy
Install Opencv using pip
$ pip install opencv-python
$ pip install opencv-contrib-python
Stratify requires Python 3.6+ to run.
Click the python thumbnail to go to Python Download Page
$ git clone https://github.com/Alpha-github/face_detection.git