Image segmentation interface

When creating a dataset through the Python SDK, choose segmentation-bitmap as the task_type to use this labeling interface.

The image segmentation interface is a bitmap interface: the resulting label is an image containing object segmentation masks. If you need vector labels containing polygon, polyline, bounding box or keypoint coordinates, use the image vector interface instead.

Add a new object

To add a new object:

  1. Select a drawing tool (see Drawing tools)

  2. Label the object by drawing on the image

  3. Press Space to confirm the object once you finished labeling

Select an object

  1. Click on a labeled object to select it. You can also select an object by selecting it in the right sidebar

Remove an object

Change the category of an object

Select an object and click on its name in the sidebar to select a different category. You can also use hotkey c to change the category of the active object.

Drawing tools

You can switch seamlessly between drawing tools while labeling

Brush

  1. Change the brush size by adjusting the slider in the top left of the screen, or by scrolling your mouse wheel

  2. Click and drag on the image to draw

Polygon

  1. Click on the image to draw polygon points. You can also click and drag to draw free-form lines

  2. Double click or click the first point of the polygon to finish it. The region within the polygon will now be annotated

Superpixels

  1. Change the superpixel granularity by adjusting the slider in the top left of the screen, or by scrolling your mouse wheel

  2. Click on a superpixel to select the corresponding region, or drag across multiple superpixels to select more than one at a time

  3. Click a superpixel again to unselect the region

More info in this blog post.

Autosegment

  1. Draw a box around an object in the image through click and drag

  2. The object within the box will be automatically segmented

More info in this blog post.

Hover-and-click

  • Hover with your mouse over the image to see mask suggestions appear

  • Click to select a suggested mask

More info in this blog post.

Erase and lock mode

  • The object within the box will be automatically segmented

Erase mode

Lock mode

Ruler mode

  1. Click in the interface to set the first point

  2. Move your cursor to another point and it will display the measurement in pixels

  3. Click again to go back to select-and-view mode or press esc

Last updated