Skip to content

Surya-Prakash-Reddy/OpenCV-Face-and-Eye-Detection

Repository files navigation

Detecting Faces and Eyes

About Project:

The goal of this project is to detect Faces and eyes in the images and from webcam. I have used Haar feature-based cascade classifiers which is one of the effective methods of object detection as proposed by Paul Viola and Michael Jones. Checkout their paper here.
I have used the face haarcascade and eye haarcascade which are downloaded from this repo. The color images are first converted to grayscale images because these cascades work on grayscale images. The grayscale images are passed to the methods of cascade classifier and it returns the position where face starts, width and height of face. Then using these, we draw the rectangles around the faces.

Languages or frameworks used

  • Python: language
  • OpenCV: open source computer vision library

About

Detects face and eyes of a person from image or webcam

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages