Back to Label Studio

Object Detection with Ellipses

docs/source/templates/image_ellipse.md

2.2.10-11.1 KB
Original Source

If you want to perform object detection or semantic segmentation using ellipses, use this template.

Interactive Template Preview

<div id="main-preview"></div>

Labeling Configuration

html
<View>
  <EllipseLabels name="tag" toName="img">
    <Label value="Blood Cell" />
    <Label value="Stem Cell" />
  </EllipseLabels>
  <Image name="img" value="$image" />
</View>

About the labeling configuration

All labeling configurations must be wrapped in View tags.

Use the EllipseLabels control tag to add ellipses with specific labels to your image.

xml
<EllipseLabels name="tag" toName="img">
    <Label value="Blood Cell" />
    <Label value="Stem Cell" />
</EllipseLabels>

Use the Image object tag to specify the image data:

xml
  <Image name="img" value="$image" />