I am getting a error in my code

AttributeError: module ‘cv2.cv2’ has no attribute ‘CascsdeClassifier’

It’s a typo. You have tried to import ‘CascsdeClassifier’. The correct spelling is ‘CascadeClassifier’.

If this resolved your issue, please mark it as resolved in the ‘My Doubts’ section.
Happy Learning!