You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While reading the images using the scikit-image skimage.io module i.e img = io.imread(img_file) in imgproc.py python file it throws an error : OSError: image file is truncated (0 bytes not processed) error. How to fix it?
The text was updated successfully, but these errors were encountered:
I fixed this issue by using the OpenCV library to read the image instead of the scikit-image. Replace img = io.imread(img_file) in imgproc.py by following lines.
While reading the images using the scikit-image
skimage.io
module i.eimg = io.imread(img_file)
inimgproc.py
python file it throws an error :OSError: image file is truncated (0 bytes not processed)
error. How to fix it?The text was updated successfully, but these errors were encountered: