Skip to main content

<KeyPoint>

Category: Control tag

The KeyPoint tag is used to add a key point to an image without selecting a label. This can be useful when you have only one label to assign to the key point.

Use with the following data types: image.

Attributes​

AttributeTypeRequiredDefaultDescription
namestringyes—Name of the element
toNamestringyes—Name of the image to label
opacityfloatno0.9Opacity of keypoint
fillColorstringno#8bad00Keypoint fill color in hexadecimal
strokeWidthnumberno1Width of the stroke
strokeColorstringno#8bad00Keypoint stroke color in hexadecimal
smarttrue,falseno—Show smart tool for interactive pre-annotations
smartOnlytrue,falseno—Only show smart tool for interactive pre-annotations
snappixel,nonenononeSnap keypoint to image pixels

Examples​

Basic keypoint image labeling configuration​

<View>
<KeyPoint name="kp-1" toName="img-1" />
<Image name="img-1" value="$img" />
</View>