Hello everyone,
I’m an ML engineer and a co-author of Ultralytics YOLOv8 python package. I’m currently working on building a dataset exploration API and I’m exploring solutions for building the complimentary dashboards for it.
The requirement:
I want to be able to display N number of images in a grid that allows scrolling, unlike matplotlib that has a fixed size.
The problem statement:
I’ve searched across a few stackoverflow answers and it seems like this isn’t a common use case. I didn’t find any examples or confirmations that dash would be a good candidate for this.
If anyone from the community can confirm that this is possible (and also point to an example if it exists), it’d be great!
It’s perfectly possible to create a grid of images. Currently I’m doing the same, showing results of a Image Segmentation. The predictions are shown on top of the original image.
What I will say tough, the loading time of your page increases with the number of images on the page. Specially if you are working with high resolution images this could get an issue.
I’m working with 3 grayscale images with dimensions of 1024x3250 and it’s still OK.
Thanks for your reply. My use case will probably have smaller imgs(640x640 or so) and they’ll all represented as simple numpy arrays to start with. Could you share your example when you’re done? Thanks
Well yeah but I wanna see how the scroll screen would look like. In matplotlib the area is fixed and img get smaller. I want something where the size of imgs is fixed but the window allows scrolling