KeyPoint

KeyPoint is used to add a keypoint to an image without label selection. It’s useful when you have only one label.

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
[fillColor] string "#8bad00" keypoint color
[strokeWidth] number 1 size of keypoint

Example

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