Table of Contents

Polyline

Alex Cota Updated by Alex Cota

You can use the Polyline tool to create continuous line annotation made of one or more line segments. Polylines are typically used to label open shapes as they do not have to be closed like Polygons do.

Import image data

To learn how to import your images directly, see Direct upload. To learn how to import your images URLs via JSON, see Import via JSON. To learn how to attach metadata to your imported images, see Asset metadata via JSON.

To learn how to import programmatically, see Bulk add data rows.

Set up Polyline

  1. Create a project.
  2. Select "Editor" as the label editor.
  3. Click "Add Object".
  4. Select "Polyline" as your labeling tool.
  5. [OPTIONAL] Configure nested classifications.
  6. Click "Confirm".
  7. Click "Complete setup".

To see a sample script for setting up your project’s ontology programmatically, see Project setup script.

You also have the option to reuse ontologies from other projects. To learn more, see Ontology overview.

Create instances

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:

  1. Select a class and draw the object.
  2. Select the same class again.
  3. Draw the next instance of the object.

Label format

To learn how to export your annotations, see How to export labels. To see a sample export for Polylines see Label export formats.

Was this page helpful?

Polygon

Point

Contact