Duplicated from gradio/image_segmentation
Image segmentation using DETR. Takes in both an inputu image and the desired confidence, and returns a segmented image.