Skip to content

Detect faces and features like nose and eyes using the Opencv library.

Notifications You must be signed in to change notification settings

Alpha-github/face_detection

Repository files navigation

#Project 2: Espy

 

OpencvPython

Numpy

Description

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

Technology

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.

Setup

This was build on Windows 8.1.

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

Click to go to Python Download Page

Download

$ git clone https://github.com/Alpha-github/face_detection.git

Important:

The detection of images may take some time and are also not very accurate.The detection of, especially the eyes and nose, gets better with adequate lighting and when the object being recorded is still.

License

Public

About

Detect faces and features like nose and eyes using the Opencv library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages