KeyPointLabels

KeyPointLabels tag
KeyPointLabels tag creates labeled keypoints

Parameters

Param Type Default Description
name string name of the element
toName string name of the image to label
[opacity] float 0.9 opacity of keypoint
[strokeWidth] number 1 size of keypoint

Example

<View>
  <KeyPointLabels name="kp-1" toName="img-1" strokeWidth="4">
    <Label value="Face" background="red" />
    <Label value="Nose" background="blue" />
  </KeyPointLabels>
  <Image name="img-1" value="$img" />
</View>