Skip to main content

<Vector>

Category: Control tag

The Vector tag is used to add vectors to an image without selecting a label. This can be useful when you have only one label to assign to the vector. Use for image segmentation tasks.

Use with the following data types: image.

Attributes​

AttributeTypeRequiredDefaultDescription
namestringyes—Name of tag
tonamestringyes—Name of image to label
opacitynumberno0.6Opacity of vector
fillColorstringnotransparentVector fill color in hexadecimal or HTML color name
strokeColorstringno#f48a42Stroke color in hexadecimal
strokeWidthnumberno3Width of stroke
pointSizesmall,medium,largenosmallSize of vector handle points
pointStylerectangle,circlenocircleStyle of points
smarttrue,falseno—Show smart tool for interactive pre-annotations
smartOnlytrue,falseno—Only show smart tool for interactive pre-annotations
snappixel,nonenononeSnap vector to image pixels
closabletrue,falsenofalseAllow closed shapes
skeletontrue,falsenofalseEnables skeleton mode to allow branch paths
minPointsnumber,nonenononeMinimum allowed number of points
maxPointsnumber,nonenononeMaximum allowed number of points
pointSizeEnablednumberno5Size of a point in pixels when shape is selected
pointSizeDisablednumberno3Size of a point in pixels when shape is not selected