Viewers icon indicating copy to clipboard operation
Viewers copied to clipboard

[Feature Request] UI Indicator for SAM2 models Download Status (Cached State)

Open vishnusureshperumbavoor opened this issue 5 months ago • 6 comments

What feature or change would you like to see made?

Currently, when users select the Marker Guided Labelmap for AI segmentation, the required ONNX models are downloaded and cached. However, there is no visual feedback in the UI indicating that the model has been cached. This lack of feedback can cause confusion, as users may not know if the tool is ready or still preparing in the background.

Why should we prioritize this feature?

It improves user experience by providing clear feedback about the model's caching status

vishnusureshperumbavoor avatar Jun 13 '25 11:06 vishnusureshperumbavoor

Yeah, maybe you can help us with that

sedghi avatar Jun 18 '25 03:06 sedghi

I'm planning to implement it like this

  • Show a download started notification, if the model is not in the cache.
  • Show a download completed notification, after the download finishes.
  • Do not show any notifications if the model is already in the cache

Let me know if this approach looks good or if you have any suggestions!?

vishnusureshperumbavoor avatar Jun 18 '25 05:06 vishnusureshperumbavoor

@dan-rukas

sedghi avatar Jun 18 '25 13:06 sedghi

To implement this, we need to export ONNX_EVENTS from cornerstone3d. If the above approach looks good, I will create a PR on cornerstone to add the necessary export. @sedghi

vishnusureshperumbavoor avatar Jun 18 '25 14:06 vishnusureshperumbavoor

Let's do that first, before we get a design from Dan

sedghi avatar Jun 18 '25 14:06 sedghi

I have created the PR. Please check it out @sedghi

vishnusureshperumbavoor avatar Jun 18 '25 15:06 vishnusureshperumbavoor

@sedghi @dan-rukas Any update on the design part?

vishnusureshperumbavoor avatar Jul 17 '25 05:07 vishnusureshperumbavoor

It is not a priority for us at the moment

sedghi avatar Jul 17 '25 11:07 sedghi