关键点
KeyPoint标签用于在不选择标签的情况下向图像添加关键点。当您只需要为关键点分配一个标签时,这非常有用。
适用于以下数据类型:图像。
参数
| 参数 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| 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 |
示例
基础关键点图像标注配置
<View>
<KeyPoint name="kp-1" toName="img-1" />
<Image name="img-1" value="$img" />
</View>