Polyline annotations are continuous lines made of one or more line segments. The entire line is treated as one object. Polylines are typically used to annotate open shapes, since they don’t have to be closed like polygons do. This tool is often used to label shapes like road lane marks or other similar shapes.
Configuring the Polyline tool
- Create a project.
- Select "Image editor" as your label editor.
- Click "Add Object" and name your object.
- Select "Polyline" as your labeling tool.
- [OPTIONAL] Configure nested classifications.
- Click "Confirm".
- Click "Complete setup".
Any existing classification tools can be nested within the tool to capture metadata about the label. The example below demonstrates how to nest a single-choice radio question within a polyline object.
From the labeling interface, you can use the same class for more than one annotation. For example, if there are three tree branches in an image and you would like to assign the "tree branch" class to all three, you can create multiple instances of the "tree branch" class.
Follow these steps to create multiple instances of the same object:
- Select a class and draw the object.
- Select the same class again.
- Draw the next instance of the object.
Polyline labels can be imported as an existing label or a model prediction. They can also be exported in JSON format. The coordinates in the geometric key are in the clockwise direction.