Ask Your Question

Revision history [back]

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

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)