Image segmentation interface
Last updated
Last updated
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.
To add a new object:
Select a drawing tool (see Drawing tools)
Label the object by drawing on the image
Press Space
to confirm the object once you finished labeling
Click on a labeled object to select it. You can also select an object by selecting it in the right sidebar
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.
You can switch seamlessly between drawing tools while labeling
Change the brush size by adjusting the slider in the top left of the screen, or by scrolling your mouse wheel
Click and drag on the image to draw
Click on the image to draw polygon points. You can also click and drag to draw free-form lines
Double click or click the first point of the polygon to finish it. The region within the polygon will now be annotated
Change the superpixel granularity by adjusting the slider in the top left of the screen, or by scrolling your mouse wheel
Click on a superpixel to select the corresponding region, or drag across multiple superpixels to select more than one at a time
Click a superpixel again to unselect the region
More info in this blog post.
Draw a box around an object in the image through click and drag
The object within the box will be automatically segmented
More info in this blog post.
Hover with your mouse over the image to see mask suggestions appear
Click to select a suggested mask
More info in this blog post.
The object within the box will be automatically segmented
Click in the interface to set the first point
Move your cursor to another point and it will display the measurement in pixels
Click again to go back to select-and-view mode or press esc
Press Space
or Escape
or click the button in the left toolbar to enter view-and-select mode
Select an object and press Backspace
to remove it. You can also click the icon in the sidebar to remove an object.
Click the button in the left toolbar or press b
to select the brush tool
Click the button in the left toolbar or press p
to select the polygon tool
Click thebutton in the left toolbar or press s to select the superpixel tool
Click thebutton in the left toolbar or press a
to select the autosegment tool
Click thebutton in the left toolbar or press d
to select the hover-and-click tool
When labeling in brush, polygon or autosegment mode, an eraser button will appear in the left toolbar. Click it or hold hotkey e
to enable the erase mode.
Click thebutton in the left toolbar or press hotkey r
to toggle the lock mode. When lock mode is enabled, existing objects will not be affected when drawing over them.
Click the button in the right toolbar or press hotkey z
to toggle the ruler mode