developer0hye / Yolo_Label

GUI for marking bounded boxes of objects in images for training neural network YOLO
MIT License
490 stars 114 forks source link

some (jpg)images are not displayed #35

Closed fm64hylian closed 4 years ago

fm64hylian commented 4 years ago

sometimes .jpg (not .png or .jpeg) images are not displayed on the UI, if there are a lot of images, neither using the slider or the prev next buttons will display the image, the path will be updated tho.

I tried isolating the image what was not being shown, but it doesn't work either: yoloissue

I am working with relatively small sets (less than 100 images per labeling session) so I don't know if this becomes more often with larger amounts.

although it's kind of random, is there a way to fix this?

thank you.

developer0hye commented 4 years ago

Can you share the image files that have problems?

fm64hylian commented 4 years ago

Thank you for your reply, these are the ones not being displayed (all .jpg): asparagus_0076 asparagus_0103 asparagus_0163

developer0hye commented 4 years ago

It seems that the image decoder in QT can not decode some jpg files, you should convert jpg format to png format. When I change the image format, it is displayed.

fm64hylian commented 4 years ago

I see, ok I tried something weird, but I converted to png and then converted back to jpg, and now they are displayed. So I guess it is a good solution for now, Thank you!