OpenCV-Tutorials icon indicating copy to clipboard operation
OpenCV-Tutorials copied to clipboard

AttributeError: module 'cv2.data' has no attribute 'haarcascade'

Open AkbayBaran opened this issue 3 years ago • 1 comments

i have an error: AttributeError: module 'cv2.data' has no attribute 'haarcascade' how can i solve that?

AkbayBaran avatar Feb 03 '22 21:02 AkbayBaran

Did you try cv2.data.haarcascades (plural s)?

apfeljulian avatar Jul 23 '22 21:07 apfeljulian