This is basically the first part of the entire face detection model Here we simply take in our input image - detect faces - extract them - show bounding box around them
Steps:-
- Load in haarcascade face/eye classifier (our detection algorithm)
- define a function that will - convert the image to grayscale, detect the faces(by applying our classifier) and draw bounding box
- we start our webcam for input
- run the function over the input
- show the results on screen