This project uses OpenCV and Haar Cascade Classifier to detect eyes in real-time from a webcam feed.
- Detects eyes in real-time video stream
- Draws rectangles around detected eyes
- Supports detection even with glasses
- Python 3.x
- OpenCV (
cv2)
- Clone the repo or download the ZIP.
- Install dependencies:
pip install -r requirements.txt- Run the script:
python eye_detection.py- Press ESC to exit the application.