Duplicated from gradio/image_segmentation
Simple image segmentation using gradio's AnnotatedImage component.