To run the face detection model, follow these steps:
- Open the
Real_time_detection.ipynb
file. - Run the provided code within the notebook.
- This code accesses your webcam and detects whether your face is captured by the camera.
If the webcam code isn't working, you can make the following adjustment:
- Change
VideoCapture(0)
toVideoCapture(1)
within the notebook. - This modification allows you to access your webcam. It might be necessary if you have multiple cameras connected to your system.
The output photos captured by the face detection model are stored in the Output
folder. You can find the detected face images there.