https://github.com/jalen0907/simple-face-detection
This project is a real-time face detection system using OpenCV. It utilizes Haar cascade classifiers to identify faces in a live webcam feed, drawing bounding boxes around detected faces. The system efficiently processes video frames and provides a simple yet effective demonstration of computer vision techniques. This project is ideal for beginners
https://github.com/jalen0907/simple-face-detection
ai computer-vision machine-learning opencv python
Last synced: about 1 year ago
JSON representation
This project is a real-time face detection system using OpenCV. It utilizes Haar cascade classifiers to identify faces in a live webcam feed, drawing bounding boxes around detected faces. The system efficiently processes video frames and provides a simple yet effective demonstration of computer vision techniques. This project is ideal for beginners
- Host: GitHub
- URL: https://github.com/jalen0907/simple-face-detection
- Owner: Jalen0907
- Created: 2025-03-06T14:56:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-06T14:59:05.000Z (over 1 year ago)
- Last Synced: 2025-03-14T23:48:26.403Z (over 1 year ago)
- Topics: ai, computer-vision, machine-learning, opencv, python
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
📷 Real-Time Face Detection using OpenCV
A simple real-time face detection project using OpenCV and Haar cascade classifiers. The script captures video from the webcam and detects faces using pre-trained models.
🚀 Features
✅ Uses Haar cascades for efficient face detection
✅ Captures real-time video using OpenCV
✅ Draws bounding boxes around detected faces
✅ Press 'q' to exit
📌 Installation
1️⃣ Install dependencies:
pip install opencv-python numpy
2️⃣ Download the Haar cascade classifier for face detection:
get https://github.com/opencv/opencv/raw/master/data/haarcascades/haarcascade_frontalface_default.xml
🛠️ Usage
Run the script:
python face_detection.py
⚠️ Disclaimer
This is a basic example for educational purposes. It may not work well in all lighting conditions or with different face angles.