OpenCV resize fails on large image with “error: (-215) ssize.area() > 0 in function cv::resize”

后端 未结 13 2177
醉酒成梦
醉酒成梦 2021-01-01 10:08

I\'m using OpenCV 3.0.0 and Python 3.4.3 to process a very large RGB image (107162,79553,3). While I\'m trying to resize it using the following code:

import         


        
13条回答
  •  轮回少年
    2021-01-01 10:22

    Turns out I had a .csv file at the end of the folder from which I was reading all the images. Once I deleted that it worked alright

    Make sure that it's all images and that you don't have any other type of file

提交回复
热议问题