Skip to content

Face detection with ML and Open CV (uses pre trained Haar face classifier)

Notifications You must be signed in to change notification settings

vishnu1710/face_detection_openCV

Repository files navigation

Face detection with ML and Open CV

In order to build face recognition software, we have to use the built-in Haar cascade classifiers in OpenCV. Luckily these classifiers have already been pre-trained to recognize faces!

images/ folder has several images for face detection.

One can modify scaleFactor and minNeighbors parameters to fine tune the face detection technique.

run the command to test it

python detect_faces.py --face cascades/haarcascade_frontalface_default.xml --image images/obama.png

About

Face detection with ML and Open CV (uses pre trained Haar face classifier)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages