tags
- Introduction
Object Tags
- Audio
- AudioPlus
- HyperText
- Image
- Paragraphs
- Text
- TimeSeries
- Video
Control Tags
- BrushLabels
- Choice
- Choices
- Ellipse
- EllipseLabels
- HyperTextLabels
- KeyPoint
- KeyPointLabels
- Label
- Labels
- List
- Number
- Pairwise
- ParagraphLabels
- Polygon
- PolygonLabels
- Ranker
- Rating
- Rectangle
- RectangleLabels
- Relation
- Relations
- Shortcut
- Taxonomy
- TextArea
- TimeSeriesLabels
Visual & Experience Tags
- Filter
- Header
- Style
- Table
- View
Polygon
Use the Polygon tag to add polygons to an image without selecting a label. This can be useful when you have only one label to assign to the polygon. Use for image segmentation tasks.
Use with the following data types: image
Parameters
Param | Type | Default | Description |
---|---|---|---|
name | string |
Name of tag | |
toname | string |
Name of image to label | |
[opacity] | number |
0.6 |
Opacity of polygon |
[fillColor] | string |
"transparent" |
Polygon fill color in hexadecimal or HTML color name |
[strokeColor] | string |
"#f48a42" |
Stroke color in hexadecimal |
[strokeWidth] | number |
3 |
Width of stroke |
[pointSize] | small | medium | large |
small |
Size of polygon handle points |
[pointStyle] | rectangle | circle |
circle |
Style of points |
[smart] | boolean |
Show smart tool for interactive pre-annotations | |
[smartOnly] | boolean |
Only show smart tool for interactive pre-annotations |
Example
<!--Basic labeling configuration for polygonal image segmentation -->
<View>
<Polygon name="rect-1" toName="img-1" />
<Image name="img-1" value="$img" />
</View>
Couldn't find what you were looking for? Please let us know on
Slack
If you found an error, you can file an issue on GitHub!

If you found an error, you can file an issue on GitHub!