A simple computer vision project built with Python and OpenCV that detects human faces in real time using a laptop webcam.
- Real-time webcam capture
- Human face detection
- Bounding box around detected faces
- Fast processing with OpenCV
- Python 3.14
- OpenCV 4.11
pip install opencv-python
python main.py.
├── images/
│ └── example.png
├── human_face.xml
├── main.py
└── README.md
The application captures frames from the webcam, converts each frame to grayscale, detects faces using an OpenCV cascade classifier, and draws a green rectangle around every detected face in real time.
