Skip to content

Script to detect human faces in images using OpenCV

Notifications You must be signed in to change notification settings

fooock/face-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Detect faces

This python script detect faces in images using OpenCV. To execute simply pass the path that contains the images to analyze.

Requirements

You need OpenCV and Python3 to execute this script

How to execute?

Open your terminal and type:

python detect-faces.py ~/images/cars/

If any image contains a face, a file called detected-images.txt is created with the absolute route of the image.