This project is a simple real-time face detection system using Python and OpenCV.
It captures video from your webcam, detects faces using Haar Cascade classifiers, draws bounding boxes around them, and saves each detected face only once to a folder.
- Real-time face detection from webcam
- Face detection using Haar Cascades
- Green rectangle drawn around each face
- Each detected face is saved only once
- Saved images are stored in a folder called
saved_faces
git clone https://github.com/Utkuersy/Python_Face_Detection_Project.git
cd Python_Face_Detection_Projectpip install opencv-pythonpython face_detection.pyβ Press
qto quit the webcam window.
Python_Face_Detection_Project/
β
βββ face_detection.py # Main script for face detection
βββ saved_faces/ # Folder to store detected face images
βββ README.md # This documentation
- Python 3.7 or higher
- OpenCV (
opencv-python)
- Add face recognition support (DeepFace or InsightFace)
- Add logging with timestamps
- Optimize duplicate face detection
- Build a web or mobile interface
Utku Δ°lker ERSOY
LinkedIn
GitHub