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

https://github.com/basemax/facedetectionpyopencv

Tiny Python program to capture the image and video, and detect faces (in real time) powered by OpenCV.
https://github.com/basemax/facedetectionpyopencv

face-detection face-detection-application face-detection-using-opencv face-detector face-detector-from-image opencv opencv-python3 opencv3-python py python python-opencv python3

Last synced: 5 days ago
JSON representation

Tiny Python program to capture the image and video, and detect faces (in real time) powered by OpenCV.

Awesome Lists containing this project

README

          

# Face Detection Python OpenCV (py cv2)

**Tiny Python program to capture the image and video, and detect faces (in real time) powered by OpenCV.**

## Steps

- `image.py`: Detect faces inside a image (one frame)
- `video.py`: Detect faces inside a video file
- `webcam.py`: Detect faces from webcam real time

### Demo

![Face Detection OpenCV python](demo.png)

## Using

```bash
$ python image.py
$ python video.py
$ python webcam.py
```

The `haarcascade_frontalface_default.xml` originally available on https://github.com/opencv/opencv/blob/master/data/haarcascades/haarcascade_frontalface_default.xml.