the code is throwing error
https://drive.google.com/file/d/1i73z6upeL5fmhbC-iDIEKlPS9961ctqT/view?usp=sharing
OpenCV face detection using HaarCascades
sir see this error pls…
hey @abhi_fame ,
The error states that the gray_frame that you are passing to detect something on , is actually empty and hence the function can’t process it.
Try printing that variable before , the output will let you know whether it contains something or not.
dont use the reference link direclty to load haarcascade
dowload it and pass its path
how to download sir
pls.tell
got to the github link of it ,
do Alt + click on it , it will open a window and dowload it.
hey @abhi_fame ,
actually your path contains spaces in it and hence you are getting that error.
Just pass the haarcascade filename , as it is in the same directory , and it will work.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.