Appearance
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:
- Select a drawing tool (see Drawing tools)
- Label the object by drawing on the image
- Press
Spaceto confirm the object once you finished labeling
Select an object
- Press
SpaceorEscapeor click thebutton in the left toolbar to enter view-and-select mode
- Click on a labeled object to select it. You can also select an object by selecting it in the right sidebar
Remove an object
Select an object and press Backspace to remove it. You can also click the icon in the sidebar to 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
- Click the
button in the left toolbar or press
bto select the brush tool - 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
Polygon
- Click the
button in the left toolbar or press
gto select the polygon tool - 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
Superpixels
- Click the
button in the left toolbar or press
sto select the superpixel tool - 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.
Autosegment
- Click the
button in the left toolbar or press
ato select the autosegment tool - 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-and-click
- Click the
button in the left toolbar or press
dto select the hover-and-click tool - 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 protect mode
- The object within the box will be automatically segmented
Erase mode
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.
Protect mode
Click the button in the left toolbar or press hotkey
r to toggle the protect mode. When protect mode is enabled, existing objects will not be affected when drawing over them.
Ruler mode
- Click the
button in the right toolbar or press hotkey
zto toggle the ruler mode - 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
Lock a track
See Object locking