Although I uploaded this in 2025, this simple project was first created in October 2023 to perform live face detection using OpenCV while I was learning how to code.
The main goal of this project is to detect faces in real-time using a webcam or images, leveraging the OpenCV library and pre-trained Haar Cascade classifiers. The project includes a Python script and the necessary dependencies for face detection.
- Live face detection using your webcam
- Face detection on static images
- Utilizes OpenCV and Haar Cascade classifier
- Install the required dependencies:
pip install opencv-python
- Run the face detection script:
python face_detection.py
haarcascade_frontalface_default.xml(Haar Cascade classifier)- OpenCV (Python package)
Created by Caleb in October 2023.