指南 3个标注团队操作手册:提升标注速度与质量

矩形

Rectangle标签用于在不选择标签的情况下向图像添加矩形(边界框)。当您只需要为矩形分配一个标签时,这会很有用。

适用于以下数据类型:图像。标注结果存储边界框的左上角坐标,更多关于边界框和旋转的信息请参阅Object Detection Template

参数

参数 类型 默认值 描述
name string Name of the element
toName string Name of the image to label
[opacity] float 0.6 Opacity of rectangle
[fillColor] string Rectangle fill color in hexadecimal
[strokeColor] string "#f48a42" Stroke color in hexadecimal
[strokeWidth] number 1 Width of the stroke
[canRotate] boolean true Whether to show or hide rotation control. Note that the anchor point in the results is different than the anchor point used when rotating with the rotation tool. For more information, see Rotation.
[smart] boolean Show smart tool for interactive pre-annotations
[smartOnly] boolean Only show smart tool for interactive pre-annotations

示例

为图像添加矩形边界框区域的基础标注配置

<View>
  <Rectangle name="rect-1" toName="img-1" />
  <Image name="img-1" value="$img" />
</View>

本文内容

  1. Parameters
  2. 示例
专为各种规模的团队设计 版本比较