Skip to content

Face detection system powered by a train model by openCv

Notifications You must be signed in to change notification settings

Nizarassad/Face-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Face Detection System using OpenCV

This repository contains a simple face detection system implemented using the OpenCV library. The system is able to detect faces in an image or video stream and draw a bounding box around the detected face.

Requirements:

Python 3.x
OpenCV (version 4.x or higher)
Numpy
Usage

The system can be used in two ways:

Detect faces in an image

Copy code:
> python detect_faces.py --image path/to/image

Detect faces in a video stream:

Copy code:
> python detect_faces.py --video

The system uses a Haar cascade classifier for face detection, which is a machine learning based approach. The classifier is trained on a dataset of positive and negative images, and is able to detect faces with high accuracy. However, it may not work well for all types of faces or in all lighting conditions.

Author

Nizar Assad

About

Face detection system powered by a train model by openCv

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages