An open API service indexing awesome lists of open source software.

https://github.com/fooock/face-detector

Script to detect human faces in images using OpenCV
https://github.com/fooock/face-detector

face face-detection face-detection-application face-detector faces faces-recongnition opencv opencv-python opencv3 python python3 recognition

Last synced: 9 months ago
JSON representation

Script to detect human faces in images using OpenCV

Awesome Lists containing this project

README

          

# Detect faces
This python script detect faces in images using [OpenCV](https://opencv.org/). To execute simply pass the path that contains the images to analyze.

![](media/demo.gif)

## Requirements
You need OpenCV and Python3 to execute this script

## How to execute?
Open your terminal and type:

```sh
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.