Error in module 4
tavisc opened this issue · comments
tavisc commented
I'm trying to upscale a single image before I run a batch, but I'm getting the following error in module 4:
error: OpenCV(4.1.2) /io/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
I have no idea what this means or how to fix it.
Haris Ali commented
Check your path if you are reading image. This usually occurs, when image you are trying to pass is empty.
Jingyun Liang commented
@Haris-Ali007 Thank you for your answer.