Hi there, I'm trying to use the Haarclassifier of Open CV to detect and then classify the face using one of the routine algorithms. I'm already doing some experiments and tests, as I was testing the code from Open CV tutorials from this address:
Face Recognition in Videos with OpenCV
I was wondering how I can change the input source of detection and classification from webcam device, to an already captured image, in another word I want to give the application path of the image and then have an output with a rectangle around the face and predicted label above it, How can I change the input source in the code?