椭圆
Ellipse标签用于在图像上添加椭圆形边界框。适用于需要椭圆边界框的图像分割任务。
适用于以下数据类型:图像。
参数
| 参数 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| name | string |
Name of the element | |
| toName | string |
Name of the image to label | |
| [opacity] | float |
0.6 |
Opacity of ellipse |
| [fillColor] | string |
Ellipse fill color in hexadecimal | |
| [strokeColor] | string |
"#f48a42" |
Stroke color in hexadecimal |
| [strokeWidth] | number |
1 |
Width of the stroke |
| [canRotate] | boolean |
true |
Show or hide rotation control |
| [smart] | boolean |
Show smart tool for interactive pre-annotations | |
| [smartOnly] | boolean |
Only show smart tool for interactive pre-annotations |
示例
使用椭圆标注配置进行基础图像分割
<View>
<Ellipse name="ellipse1-1" toName="img-1" />
<Image name="img-1" value="$img" />
</View>