Ask Your Question

Revision history [back]

Can't read header

I am new to OpenCV and not sure what this error means or where I should start debugging it.

imdecode_('/tmp/__opencv_temp.OurYMr'): can't read header: OpenCV(4.1.2) /io/opencv/modules/imgcodecs/src/grfmt_jpeg2000.cpp:196: error: (-215:Assertion failed) depth == 8 || depth == 16 in function 'readHeader'

Any help would be appreciated.