编辑 | blame | 历史 | 原始文档

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 fill color in hexadecimal
[strokeWidth] number 1 Width of the stroke
[strokeColor] string "#8bad00" Keypoint stroke color in hexadecimal
[smart] boolean Show smart tool for interactive pre-annotations
[smartOnly] boolean Only show smart tool for interactive pre-annotations
[snap] pixel | none none Snap keypoint to image pixels