Skip to main content

<KeyPointLabels>

Category: Control tag

The KeyPointLabels tag creates labeled keypoints. Use to apply labels to identified key points, such as identifying facial features for a facial recognition labeling project.

Use with the following data types: image.

Attributes​

AttributeTypeRequiredDefaultDescription
namestringyes—Name of the element
toNamestringyes—Name of the image to label
choicesingle,multiplenosingleConfigure whether you can select one or multiple labels
maxUsagesnumberno—Maximum number of times a label can be used per task
showInlinetrue,falsenotrueShow labels in the same visual line
opacityfloatno0.9Opacity of the keypoint
strokeWidthnumberno1Width of the stroke
snappixel,nonenononeSnap keypoint to image pixels

Examples​

Basic keypoint image labeling configuration for multiple regions​

<View>
<KeyPointLabels name="kp-1" toName="img-1">
<Label value="Face" />
<Label value="Nose" />
</KeyPointLabels>
<Image name="img-1" value="$img" />
</View>