This is a very simplistic application that detects your face using the Haarcascade Frontal face from OpenCV library
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. "
- 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:
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!