This repository contains a Python application that utilizes computer vision and deep learning to detect faces in real-time video streams and highlight the forehead area. It is built using OpenCV and Tkinter for GUI interactions.
- Real-time face detection using a deep learning model.
- Forehead detection for each recognized face.
- Simple and interactive GUI.
- Python 3.6 or later
- OpenCV
- NumPy
- Tkinter
- PIL
To get started, clone this repository using:
git clone <repository-url>
Install the required dependencies:
pip install opencv-python numpy pillow
Run the application with the following command:
python face_detection.py
Ensure your webcam is enabled and functioning, as the application captures video feed from the default video source (typically the first webcam device).