Highlighting each part of the image and its label on hover (Semantic Segmentation Interface)

Hi guys,
I wanted to create an interface for my semantic segmentation model.
highlighting each part (mask) of the image and its label on hover.
Can I achieve this behavior or functionality using Polty Dash?
I would appreciate any help to do that
on hover:

In general:

1 Like