Skip to content

ectormgl/face_detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


OpenCV logo

Welcome to this repository! 👋

This is a very simplistic application that detects your face using the Haarcascade Frontal face from OpenCV library

What is Haarcascade?

We can follow the definition at this article from Girija Shankar:

"... It is an Object Detection Algorithm used to identify faces in an image or a real time video. The algorithm uses edge or line detection features proposed by Viola and Jones in their research paper “Rapid Object Detection using a Boosted Cascade of Simple Features” published in 2001. The algorithm is given a lot of positive images consisting of faces, and a lot of negative images not consisting of any face to train on them. "

How do I run it?

  • Firtly: clone this repository at your command prompt using this command:
git clone https://github.com/ectormgl/face_detection
  • Second step: Again at your command prompt, run this command to download the dependencies (you must have python installed, if not, click here!):
pip install -r requirements.txt
  • Third Step: Run the "main.py" file via any code app (like VS code) or you can run at command prompt again (This command is adapted to Windows, please use the equivalent in your Linux, MAC ...):
python ./main.py
  • Expected Result: This what the expected result look like:

example running

This is my first project using Computer Vision and I working so hard to keep my profile update with new projects!

Thanks for being here!

Connect with me:

linkedin

[email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages