Haarcascade Classifier

When I load the given files ‘frontalEyes35x16.xml’ and ‘Nose18x15.xml’ the following error occurs–

I saw one solution previously given was to add cv2.data.haarcascades + ‘file_name.xml’ in cv2.CascadeClassifier()

And then this error occured -

Please tell what to do

Hello @Naman-Taneja-2420178691408660, can you pls share your code file what are you doing, maybe there is some error in that only.

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.