This project is a simple and effective Face Detection system built using OpenCV and Python.
It uses a Haar Cascade Classifier to detect faces from a live webcam feed in real-time.
A great starting point for beginners learning about Computer Vision!
- Real-time face detection using webcam
- Detects multiple faces in a single frame
- Draws bounding boxes around detected faces
- Lightweight and easy to set up
- Python
- OpenCV
- Haar Cascade Classifier (Pre-trained XML model)
-
Clone the repository.
-
Make sure the following file is available:
Resources/haarcascade_frontalface_default.xml
-
Install OpenCV:
pip install opencv-python
-
Run the script:
python face_detection.py
The webcam will open and start detecting faces. Detected faces will be highlighted with a bounding box in real-time.