This project implements a simple face and eye detection system using OpenCV in Python. It uses Haar Cascades to detect faces and eyes in real-time through a webcam feed.
Install the required Python packages:
pip install opencv-python numpy
To run the face detection system, execute the following command in the root directory of the project:
python detection.py
Ensure your webcam is enabled and properly configured as the application uses the default camera device.
The project has successfully passed phase 1, including the detection of objects in one camera device.
Second phase completed, we plan to enhance the system to support simultaneous detection using three diffrent camera devices (integrated,external,network). This will allow for more robust face detection in diverse scenarios.
In this phase,each machine should run a script to stream its camera feed using a simple HTTP flask server .Finally ,The central machine will run a script to collect these streams and display them in a single window
Camera server machines
pip install opencv-python flask
Central Machine
pip install opencv-python numpy
Streaming Script(camera_server.py)
python camera_server.py
On the central machine (client.py)
python client.py