logofirst
logofirst

Image Polygons

Image polygons labeling

Run

label-studio init --template=image_polygons image_polygons_project
label-studio start image_polygons_project

Config

<View style="display: flex">
  <View style="width: 100px">
    <Header value="Pick label" />
    <PolygonLabels name="tag" toName="img" strokewidth="2" pointstyle="circle" pointsize="small" showInline="false">
      <Label value="Car" background="blue" />
      <Label value="Sign" background="blue" />
      <Label value="Person" background="blue" />
      <Label value="Tree" background="green" />
    </PolygonLabels>
    </View>
  <View>
    <Image name="img" value="$image" showMousePos="true" zoom="true" />
  </View>
</View>