Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacob-pitsenberger/face-detection-over-webcam-or-tello-drone-video-stream-python-opencv
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jacob-pitsenberger/face-detection-over-webcam-or-tello-drone-video-stream-python-opencv
- Owner: Jacob-Pitsenberger
- License: ncsa
- Created: 2023-10-16T20:43:32.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-02T17:44:12.000Z (about 1 year ago)
- Last Synced: 2023-11-02T18:38:20.521Z (about 1 year ago)
- Language: Python
- Size: 134 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Face Detection and Count
This repository demonstrates using OpenCV with the TelloEDU mini drone or a computer's web camera to perform facial detection and keep track of the number of faces detected at a given time.
**Author:** Jacob Pitsenberger
**Date:** 10/16/23### Purpose
This repository showcases how to utilize OpenCV for real-time facial detection using the TelloEDU mini drone's camera or a computer's webcam. It detects faces in the camera stream and draws rectangles around them, along with counting the number of faces detected.
### Instructions
To run the module, ensure you have the required dependencies installed:
```bash
pip install opencv-python
```
Run the script `detect_faces_webcam.py` and observe the facial detection over your computers internal webcam stream.Run the script `detect_faces_tello.py` and observe the facial detection over your Tello drones video stream.
Both scripts utilize the FrontalFaceDetector class from the `frontal_face_detector.py` which utilizes the `haarcascade_frontalface_default.xml` from the `data-files` folder of the `FaceDetection` package to perform facial detections and draw them over our video stream frames.