Polyline
  • 03 Jun 2024
  • Dark
    Light
  • PDF

Polyline

  • Dark
    Light
  • PDF

Article summary

Overview

This type of annotation is created by using lines. For example, it can be used in autonomous vehicles to detect and recognize lanes.
The Polyline is available on image and video items.


2D Polyline

The polyline annotation tool is a software feature or application designed for the manual creation and editing of polylines on digital data, typically in the context of image or spatial data annotation. A polyline is a sequence of connected line segments defined by a series of vertices, and it's commonly used to outline or mark features in an image or a spatial dataset. For example, outlining the contours of cars, pedestrians, trains, or other objects.

Create 2D Polyline Annotations

  1. Go to the Annotation Studio.
  2. Select the Polyline tool.
  3. Draw the Polyline on the canvas.
    1. Straight lines: Click multiple points on the canvas to create a Polyline around your target object/item.
    2. Free-hand: Click and hold the mouse button. A Polyline will be drawn as you move your mouse. Delete free-hand dots by holding shift and dragging the mouse cursor.
  4. Close the Polyline to finish its creation phase:
    1. Right-click anywhere to finish creating your polyline.
    2. Press Enter to close the Polyline.
    3. Press Esc to cancel Polyline creation.

Free-hand sections are created as bulk operation; therefore, undo/redo operations will affect an entire series of points and not just the recently created ones.

Polyline Editing

  1. The Polyline tool must be selected in order to edit polyline annotations.
  2. Click on a Polyline to have it selected.
  3. Drag & drop a Polyline to move it In the canvas.
  4. Hold Shift+Arrow key to make fine position adjustments to the Polyline position.
  5. Double-click a Polyline to put it into editing mode.
  6. Hold any of its points to drag & drop and change the Polyline shape.
  7. Right-click on any dot to delete it.
  8. Double-click anywhere on the canvas or press Esc, or Enter to exit edit mode.

Arrowhead on Polyline

Enable this feature in the recipe to use an arrowhead drawn on the polyline, serving as an indication of direction when annotating in tasks requiring this feature.



What's Next