Supervisely
AboutAPI ReferenceSDK Reference
  • 🤖What's Supervisely
  • 🚀Ecosystem of Supervisely Apps
  • 💡FAQ
  • 📌Getting started
    • How to import
    • How to annotate
    • How to invite team members
    • How to connect agents
    • How to train models
  • 🔁Import and Export
    • Import
      • Overview
      • Import using Web UI
      • Supported annotation formats
        • Images
          • 🤖Supervisely JSON
          • 🤖Supervisely Blob
          • COCO
          • Yolo
          • Pascal VOC
          • Cityscapes
          • Images with PNG masks
          • Links from CSV, TXT and TSV
          • PDF files to images
          • Multiview images
          • Multispectral images
          • Medical 2D images
          • LabelMe
          • LabelStudio
          • Fisheye
          • High Color Depth
        • Videos
          • Supervisely
        • Pointclouds
          • Supervisely
          • .PCD, .PLY, .LAS, .LAZ pointclouds
          • Lyft
          • nuScenes
          • KITTI 3D
        • Pointcloud Episodes
          • Supervisely
          • .PCD, .PLY, .LAS, .LAZ pointclouds
          • Lyft
          • nuScenes
          • KITTI 360
        • Volumes
          • Supervisely
          • .NRRD, .DCM volumes
          • NIfTI
      • Import sample dataset
      • Import into an existing dataset
      • Import using Team Files
      • Import from Cloud
      • Import using API & SDK
      • Import using agent
    • Migrations
      • Roboflow to Supervisely
      • Labelbox to Supervisely
      • V7 to Supervisely
      • CVAT to Supervisely
    • Export
  • 📂Data Organization
    • Core concepts
    • MLOps Workflow
    • Projects
      • Datasets
      • Definitions
      • Collections
    • Team Files
    • Disk usage & Cleanup
    • Quality Assurance & Statistics
      • Practical applications of statistics
    • Operations with Data
      • Data Filtration
        • How to use advanced filters
      • Pipelines
      • Augmentations
      • Splitting data
      • Converting data
        • Convert to COCO
        • Convert to YOLO
        • Convert to Pascal VOC
    • Data Commander
      • Clone Project Meta
  • 📝Labeling
    • Labeling Toolboxes
      • Images
      • Videos 2.0
      • Videos 3.0
      • 3D Point Clouds
      • DICOM
      • Multiview images
      • Fisheye
    • Labeling Tools
      • Navigation & Selection Tools
      • Point Tool
      • Bounding Box (Rectangle) Tool
      • Polyline Tool
      • Polygon Tool
      • Brush Tool
      • Mask Pen Tool
      • Smart Tool
      • Graph (Keypoints) Tool
      • Frame-based tagging
    • Labeling Jobs
      • Labeling Queues
      • Labeling Consensus
      • Labeling Statistics
    • Labeling Performance
    • Labeling with AI-Assistance
  • 🤝Collaboration
    • Admin panel
      • Users management
      • Teams management
      • Server disk usage
      • Server trash bin
      • Server cleanup
      • Server stats and errors
    • Teams & workspaces
    • Members
    • Issues
    • Guides & exams
    • Activity log
    • Sharing
  • 🖥️Agents
    • Installation
      • Linux
      • Windows
      • AMI AWS
      • Kubernetes
    • How agents work
    • Restart and delete agents
    • Status and monitoring
    • Storage and cleanup
    • Integration with Docker
  • 🔮Neural Networks
    • Overview
    • Inference & Deployment
      • Overview
      • Supervisely Serving Apps
      • Deploy & Predict with Supervisely SDK
      • Using trained models outside of Supervisely
    • Model Evaluation Benchmark
      • Object Detection
      • Instance Segmentation
      • Semantic Segmentation
      • Custom Benchmark Integration
    • Custom Model Integration
      • Overview
      • Custom Inference
      • Custom Training
    • Legacy
      • Starting with Neural Networks
      • Train custom Neural Networks
      • Run pre-trained models
  • 👔Enterprise Edition
    • Get Supervisely
      • Installation
      • Post-installation
      • Upgrade
      • License Update
    • Kubernetes
      • Overview
      • Installation
      • Connect cluster
    • Advanced Tuning
      • HTTPS
      • Remote Storage
      • Single Sign-On (SSO)
      • CDN
      • Notifications
      • Moving Instance
      • Generating Troubleshoot Archive
      • Storage Cleanup
      • Private Apps
      • Data Folder
      • Firewall
      • HTTP Proxy
      • Offline usage
      • Multi-disk usage
      • Managed Postgres
      • Scalability Tuning
  • 🔧Customization and Integration
    • Supervisely .JSON Format
      • Project Structure
      • Project Meta: Classes, Tags, Settings
      • Tags
      • Objects
      • Single-Image Annotation
      • Single-Video Annotation
      • Point Cloud Episodes
      • Volumes Annotation
    • Developer Portal
    • SDK
    • API
  • 💡Resources
    • Changelog
    • GitHub
    • Blog
    • Ecosystem
Powered by GitBook
On this page
  • How to Use the Polyline Tool
  • Create a Class with Polyline Shape
  • Manual Annotation Guide
  • Pro Tips
  • Hotkeys

Was this helpful?

  1. Labeling
  2. Labeling Tools

Polyline Tool

The Polyline Tool is designed for annotating objects with connected lines, allowing users to draw complex, linear shapes by connecting multiple points. This tool is particularly useful for tasks that involve outlining elongated or irregularly shaped objects, such as roads, rivers or contours in an image. It provides a high degree of precision for tasks that require more accuracy than simple bounding boxes.

How to Use the Polyline Tool

Follow these step-by-step instructions to use the Polyline Tool effectively for image annotation:

Create a Class with Polyline Shape

You can create a new class directly from the Annotation Toolbox. To do this:

  1. Click on the Polyline Tool icon in the toolbar of the labeling interface.

  2. Alternatively, select an existing object class or add a new class by clicking Add new class definition.

  3. In the modal window, enter the class name, choose Polyline or Any shape, and configure additional settings (e.g., color, hotkeys).

  4. Click the Create button to add the new class to the definitions list.

  5. Select the newly created class and start drawing the polyline around the object in the image or video.


Manual Annotation Guide

  1. Select the Polyline Tool and click on the image to create the first point.

  2. Continue clicking to add additional points, which will be connected by straight lines, forming the polyline.

  3. To finish drawing the polyline, press the SPACE key.

  4. After creating the polyline, you can adjust its shape by dragging any of the points to a new location.

    • Add new points by clicking on the line segment where you want to insert a new point.

    • To remove a point, hold Shift and click on the point you wish to delete.

  5. Select the polyline you wish to remove and press the Delete key on your keyboard.


Pro Tips

  • Use the Auto-Select feature to quickly switch between classes and edit existing polylines.

  • Utilize the Object Color Randomizer to instantly change the color of polylines, which is especially helpful when multiple objects overlap or when you want to distinguish between different annotations.

  • Take advantage of zoom and pan functions to ensure precise placement of points, especially for intricate or detailed areas of the image.

Hotkeys

Start & add point

Left mouse click

Add point on the edge

Left mouse click

Move point

Drag

Remove point

Shift + Click

Finish and start new polyline

Shift + Click

Scene Navigation

PreviousBounding Box (Rectangle) ToolNextPolygon Tool

Last updated 8 months ago

Was this helpful?

Zoom with Mouse wheel. Hold to move scene.

📝