Skip to content

Face detection on images, videos and webcam using OpenCV python.

License

Notifications You must be signed in to change notification settings

CSjianbel/OpenCV-Face-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OpenCV-Face-Detection

Face Detection on images, videos and webcam using OpenCV and Python.
The program by default is in webcam mode.

Clone

git clone https://github.com/CSjianbel/OpenCV-Face-Detection.git""

Install Dependencies

cd OpenCV-Face-Detection

pip install -r requirements.txt

Usage

python face-detect.py [-h] [-m MODE] [-p PATH]

python face-detect.py -m video ./video/test.mp4

optional arguments:
  -h, --help            show this help message and exit
  -m MODE, --mode MODE  Set mode to Detect face in [image, video, webcam] :
                        DEFAULT: webcam
  -p PATH, --path PATH  Path to image or video file requires --mode to be set
                        to image or video

Image Credits

Images used for testing were taken from unsplash.com

Photo by Andrey Zvyagintsev on Unsplash

Photo by Valentin Lacoste on Unsplash

Photo by Joel Mott on Unsplash

Video Credits

Videos used for testing were takend from pexels.com

Video by cottonbro from Pexels

Video by Yaroslav Shuraev from Pexels

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

A Project by Jiankarlo A. Belarmino

About

Face detection on images, videos and webcam using OpenCV python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages