ai-cfia / nachet-frontend

Frontend application for seed classification of images acquired from digital microscopes
MIT License
2 stars 2 forks source link

Front End Display glitch(?) TIF doesn't display #109

Closed TaranMeyer closed 1 month ago

TaranMeyer commented 1 month ago

I know you guys are working on stuff on the back end so probably I shouldn't be messing around up front. But anyway... I took some pictures to test out and saved them to my computer. When I went to load the picture to see if the classification would work, the picture did not display. It showed that another capture was added, and I was able to select a model and classify, and the IDs for all ten seeds are 100% correct (so yay!), but nothing is actually displaying. It appears that the issue is the image format, since it displays ok if I make a .jpg version but the original .tif didn't work. However, I'm SURE I've loaded .tifs before and had them display properly---we usually have the default setting for all our image-taking be .tif as it's not lossy. Anyway, maybe I'm losing my grip on reality.

Screenshot: Image

Original image: (tried to add but it's a .tif format and github does not support it? I will add a jpg version of it, but this also displays fine on the front end)

Image

TaranMeyer commented 1 month ago

Screenshot of the results when I use the jpg version of the picture:

Image

Everything is perfect! 💃

MaxenceGui commented 1 month ago

Hi @TaranMeyer thank you for reporting this issue. It have been report before here:

I will ask @CFIALeronB if he can add this issue to his task for the upcoming iteration.

rngadam commented 1 month ago

@MaxenceGui since the issue has already been reported, we can update the older issue and close this one as duplicate.

MaxenceGui commented 1 month ago

Duplicated issue. Original: