I am getting this error please help and I have all the ways to resolve it

asked 2018-08-10 12:50:31 -0500

image description

OpenCV(3.4.1) Error: Unknown error code -49 (Input file is empty) in cvOpenFileStorage, file /Users/travis/build/skvark/opencv-python/opencv/modules/core/src/persistence_c.cpp, line 384 OpenCV(3.4.1) Error: Unknown error code -49 (Input file is empty) in cvOpenFileStorage, file /Users/travis/build/skvark/opencv-python/opencv/modules/core/src/persistence_c.cpp, line 384 Traceback (most recent call last): File "OpenCV10.py", line 30, in <module> faces = face_cascade.detectMultiScale(gray, 1.3, 5) TypeError: Incorrect type of self (must be 'CascadeClassifier' or its derivative)

edit retag flag offensive close merge delete

Comments

Please post your code in text and check cascade classifier after reading with https://docs.opencv.org/trunk/d1/de5/...

LBerger gravatar imageLBerger ( 2018-08-10 15:19:26 -0500 )edit