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.
- Host: GitHub
- URL: https://github.com/basemax/facedetectionpyopencv
- Owner: BaseMax
- Created: 2022-01-14T14:06:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-14T14:28:18.000Z (over 4 years ago)
- Last Synced: 2025-10-25T11:57:26.788Z (6 months ago)
- Topics: 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
- Language: Python
- Homepage:
- Size: 882 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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

## 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.