SamuelBFavarin / faceDetect

This is a simple project to work with opencv and deep learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Real-Time Face and Eyes Detector 🙋!

This project uses OpenCV to detect faces and eyes in real time. When detected, we can make changes, replacing the detected objects for other images.

How Run?

Install all libraries in requirements.txt

In a terminal, run this code:

python3 run.py

Use these flags to modify the execution:

--object_type='FACE' #use values like 'EYE' or 'FACE'
--show_border=True  #use values like True or False
--show_image=True #use values like True or False

To stop, press the Q key

Examples

Detecting one face:

enter image description here

Detecting two faces, and replace with dog emoji 🐶:

enter image description here

Detecting eyes:

enter image description here

Detecting eyes and replace with eyes emoji 👀:

enter image description here

About

This is a simple project to work with opencv and deep learning


Languages

Language:Python 100.0%