While executing the program i am getting following error:
OpenCV(3.4.1) Error: Assertion failed (!empty()) in cv::CascadeClassifier::detectMultiScale, file C:\build\master_winpack-bindings-win32-vc14-static\opencv\modules\objdetect\src\cascadedetect.cpp, line 1698 Traceback (most recent call last): File "new24.py", line 20, in <module> flags=cv2.CASCADE_SCALE_IMAGE cv2.error: OpenCV(3.4.1) C:\build\master_winpack-bindings-win32-vc14-static\open cv\modules\objdetect\src\cascadedetect.cpp:1698: error: (-215) !empty() in function cv::CascadeClassifier::detectMultiScale
What could be the reason for the error,how should i react to fix it? Thank you for your time and advise,
regards
pooja