Displaying masks as plotly objects to visualize image segmentation results?

Hello,

I like the interactivity inherent to plotly plots and would like to use it to visualize the result of some image segmentation techniques, something like:

image

Is there any way to display masks on top of an image such that the masks can be selected and display hover information like other plotly objects? Haven’t been able to find a way to do so.

1 Like