计算机视觉标注工具(CVAT)是基于 Web 为计算机视觉算法标注视频和图像的在线工具。
它的灵感来自Vatic免费的、在线的、交互式的视频注释工具。
CVAT有许多强大的功能:
它是为一个专业的数据注释团队创建和使用的。
特别针对我们团队开发的计算机视觉任务进行了用户体验和用户界面优化。
您可以注册用户,但在默认情况下,新用户无权查看任务列表。因此,您应该创建一个超级用户。超级用户可以使用Django管理面板为用户分配正确的组。请使用以下命令创建管理员帐户:
docker exec -it cvat bash -ic '/usr/bin/python3 ~/manage.py createsuperuser'
如果您想创建一个非管理员帐户,您可以使用下面登录页面上的链接来创建。别忘了在“管理”面板中修改新用户的权限。有几个组(又称角色):管理员、用户、标注员、质检员。
转到Django管理面板。在这里您可以:
点击主页面上的 Create new task
按钮创建标注任务。
指定任务的参数:
Name 要创建的任务的名称。
Labels. 使用标签有两种方法:
Constructor
是添加和调整标签的简单方法。要添加新标签,请单击Add label
按钮。
可以在Label name
字段中设置标签的名称。
如有必要,您可以通过单击Add an attribute
来添加属性并设置其属性:
此处提供以下操作:
Raw
是高级用户使用标签的一种方式。
Raw
以 json 格式显示标签数据,并提供了编辑和复制标签作为文本的选项。
Done
按钮应用更改,Reset
按钮取消更改。
在Raw
和Constructor
模式下,可以按“Copy”按钮复制标签列表。
Select files. 点击My computer
从您的电脑中选择一些要添加批注的文件。
如果点击Connected file share
,则可以从网络中选择要标注的文件。
如果选择Remote source
,您将看到一个字段,您可以在其中输入URL列表(每行一个URL)。
Z-Order. 定义绘制多边形的顺序。选中启用分层显示复选框。
Use zip chunks. 强制使用压缩块作为压缩数据。实际只用于视频。
Image Quality. 使用此选项可指定上载图像的质量。
该选项有助于更快地加载高分辨率数据集。
使用从1
(完全压缩的图像)到95
(几乎不是压缩图像)的值。
Overlap Size. 使用此选项可生成重叠段。
该选项使轨迹从一个线段连续到另一个线段。
将其用于插值模式。使用该参数有几个选项:
Segment size. 使用此选项可以将一个巨大的数据集分成几个较小的段。
例如,一个作业不能由多个贴标器标注(不支持)。
因此,使用"segment size"可以为同一注释任务创建多个作业。
它将有助于您并行数据标注过程。
Start frame. 任务中的视频开始的帧。
Stop frame. 任务中的视频结束的帧。
Frame Step. 使用此选项可过滤视频帧。
例如,输入“25”可在视频中每隔二十五帧或每二十五幅图像保留一次。
Chunk size. 定义从客户端发送到服务器时要打包在块中的帧数。
如果为空,服务器将自动定义。
推荐值:
Dataset Repository. 存储库的URL链接可选地指定存储库的路径 (default: annotation / <dump_file_name> .zip
).
支持注解的.zip和.xml文件扩展名。
Field format: URL [PATH]
example: https://github.com/project/repos.git [1/2/3/4/annotation.xml]
支持的URL格式:
https://github.com/project/repos[.git]
github.com/project/repos[.git]
git@github.com:project/repos[.git]
如果标注与存储库不同步,则创建后任务将以红色突出显示。
Use LFS. 如果标注文件很大,可以使用LFS创建一个存储库支持。
Issue tracker. 如果需要,请指定问题跟踪程序的完整URL。
按Submit
按钮,它将被添加到注释任务列表中。
然后,创建的任务将显示在仪表板上:
仪表板包含元素,每个元素都与单独的任务相关。它们按创建顺序排序。
每个元素包含:任务名称、预览、进度条、按钮“打开”和菜单“操作”。
每个按钮负责菜单内“操作”特定功能:
Dump Annotation
和Export as a dataset
—下载特定格式的批注或批注和图像。以下格式可用:
Upload annotation
的格式与Dump annotation
中的格式相同。
Automatic Annotation
—使用OpenVINO toolkit进行自动注释。
存在性取决于如何构建CVAT实例。
Open bug tracker
— 打开指向问题跟踪程序的链接。
Delete
— 删除任务。
按Open
按钮转到任务详细信息。
任务详细信息是一个任务页面,其中包含预览、进度条、任务的详细信息(在创建任务时指定)和“作业”部分。
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-t0hODpHu-1596171611932)(static/documentation/images/image131_detrac.jpg)]
此页上提供了以下操作:
Jobs
— 是特定任务的所有作业的列表。在这里您可以找到下一个数据:
Copy
. 单击“复制”可将作业列表复制到剪贴板。 按照“作业”部分中的链接开始标注过程。
在某些情况下,可以有多个链接。它取决于任务的大小以及“重叠大小”和“段大小”参数。为了提高用户体验,只会加载几个帧的第一个块,并且您可以对第一个图像进行注释。其他帧将在后台加载。
在“模型”页面上,您可以管理为自动标注而上载的深度学习(DL)模型。
使用该功能,您可以上载、更新或删除特定的DL模型。
要打开模型管理器,请单击导航栏上的“模型”按钮。
“模型”页面包含有关所有现有模型的信息。
模型列表分为两部分:
要添加模型,请单击“创建新模型”。
输入模型名称,然后使用“选择文件”按钮选择模型文件。
要使用自定义模型标注任务,您需要准备4个文件:
Model config
(*.xml) - 具有网络配置的文本文件。Model weights
(*.bin) - 经过训练的权重的二进制文件。Label map
(*.json) - 一个简单的json文件,带有label_map的字典,类似于一个带有标签号字符串值的对象。Interpretation script
(*.py) - 用于将网络输出层转换为可由CVAT处理的预定义结构的文件。了解有关创建模型文件的详细信息可以阅读:自动标注
如果希望每个人都能使用模型,请选中“全局加载”。
单击“提交”按钮提交模型。
上传完成后,您的模型可以在“由用户上载”部分找到。
使用“Auto annotation”按钮使用您的一个DL模型对任务进行预注释。
对于搜索有几个选项。
owner: admin
- 由名称中有子字符串“admin”的用户创建的所有任务assignee: employee
- 分配给名称中有子字符串“employee”的用户的所有任务name: mighty
- 所有名称中带有子字符串“mighty”的任务mode: annotation
or mode: interpolation
- 所有带有图像或视频的任务。status: annotation
or status: validation
or status: completed
- 按状态搜索id: 5
- id=5的任务。AND
组合筛选器(标识符除外):mode: interpolation AND owner: admin
mode: annotation and status: annotation
搜索不区分大小写。
该工具包括:
Header
- 用于导航CVAT部分和帐户设置的固定标题;Top panel
— 包含导航按钮、主要功能和菜单访问;Workspace
— 显示图像的空间;Controls sidebar
— 包含用于导航图像、缩放、创建形状和编辑轨迹的工具(合并、拆分、分组)Objects sidebar
— 包含标签过滤器,两个列表: 使用下面的箭头移动到下一帧/上一帧。
使用滚动条滑块在帧之间滚动。
几乎每个按钮都有一个快捷方式。
To get a hint about a shortcut, just move your mouse pointer over an UI element.
要导航图像,请使用控件侧栏上的按钮。
另一种可以移动/移动图像的方法是在没有注释对象的区域内按住鼠标左键。
如果按下“鼠标滚轮”,则忽略所有带注释的对象。否则,将移动高亮显示的边界框而不是图像本身。
您可以使用边栏控件上的按钮缩放感兴趣的区域。
使用“调整图像大小”按钮在工作区中调整图像大小。
您也可以使用鼠标滚轮缩放图像(图像将相对于当前光标位置进行缩放)。
有五种形状可以为图像添加标注:
Rectangle
or Bounding box
Polygon
Polyline
Points
Cuboid
Tag
它们看起来都是这样的:
Tag
- 工作区中没有形状,但显示在对象侧栏中。
使用示例:
您需要在控件侧栏上选择“矩形”:
开始之前,请选择正确的“标签”(创建任务时应指定)和“绘图方法”(两点或四点):
在“形状模式”中创建新标注:
单击“形状”创建一个单独的“矩形”。
选择相反的点。你的第一个矩形准备好了!
了解如何使用“按4点”绘制方法创建矩形的步骤, (read here).
使用鼠标可以调整矩形的边界和位置。
Rectangle’s size is shown in the top right corner , you can check it by clicking on any point of the shape.
You can also undo your actions using Ctrl+Z
and redo them with Shift+Ctrl+Z
or Ctrl+Y
.
You can see the Object card
in the objects sidebar or open it by right-clicking on the object.
You can change the attributes in the details section.
You can perform basic operations or delete an object by clicking on the action menu button.
The following figure is an example of a fully annotated frame with separate shapes.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-oRxUV641-1596171611968)(static/documentation/images/image013_detrac.jpg)]
Read more in the section shape mode (advanced).
使用示例:
与“形状模式”一样,您需要在侧栏上选择一个“矩形”,在出现的表单中,选择所需的“标签”和“绘图方法”。
为对象创建轨迹(以选定的汽车为例):
通过单击“Track”在“Track mode”下创建一个“Rectangle”。
In Track mode
the rectangle will be automatically interpolated on the next frames.
The cyclist starts moving on frame #2270. Let’s mark the frame as a key frame.
You can press K
for that or click the star
button (see the screenshot below).
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-8XFejoDU-1596171611971)(static/documentation/images/image016.jpg)]
If the object starts to change its position, you need to modify the rectangle where it happens.
It isn’t necessary to change the rectangle on each frame, simply update several keyframes
and the frames between them will be interpolated automatically.
Let’s jump 30 frames forward and adjust the boundaries of the object. See an example below:
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-xiedw6RV-1596171611972)(static/documentation/images/image017_detrac.jpg)]
After that the rectangle of the object will be changed automatically on frames 2270 to 2300:
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-bwvIrfna-1596171611973)(static/documentation/images/gif019_detrac.gif)]
When the annotated object disappears or becomes too small, you need to
finish the track. You have to choose Outside Property
, shortcut O
.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-9FX70dWo-1596171611975)(static/documentation/images/image019.jpg)]
If the object isn’t visible on a couple of frames and then appears again,
you can use the Merge
feature to merge several individual tracks
into one.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-nxg8MdWG-1596171611977)(static/documentation/images/image020.jpg)]
Create tracks for moments when the cyclist is visible:
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-a9DNXklL-1596171611979)(static/documentation/images/gif001_detrac.gif)]
Click Merge
button or press key M
and click on any rectangle of the first track
and on any rectangle of the second track and so on:
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-ISGPgo4d-1596171611980)(static/documentation/images/image162_detrac.jpg)]
Click Merge
button or press M
to apply changes.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-wqXg6XXv-1596171611982)(static/documentation/images/image020.jpg)]
The final annotated sequence of frames in Interpolation
mode can
look like the clip below:
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-lJEPfF0l-1596171611983)(static/documentation/images/gif003_detrac.gif)]
Read more in the section track mode (advanced).
在此模式下,可以使用键盘在对象和帧之间快速导航来编辑属性。
打开顶部面板中的下拉列表,然后选择“属性标注模式”。
在此模式下,对象面板更改为特殊面板:
The active attribute will be red. In this case it is gender
. Look at the bottom side panel to see all possible shortcuts for changing the attribute. Press key 2
on your keyboard to assign a value (female) for the attribute or select from the drop-down list.
Press Up Arrow
/Down Arrow
on your keyboard or click the buttons in the UI to go to the next/previous
attribute. In this case, after pressing Down Arrow
you will be able to edit the Age
attribute.
Use Right Arrow
/Left Arrow
keys to move to the previous/next image with annotation.
To see all the hot keys available in the attribute annotation mode, press F2
.
Read more in the section attribute annotation mode (advanced).
选择转储标注文件的格式.:
CVAT for video
如果任务具有插值模式,则突出显示。
CVAT for images
如果任务具有标注模式,则突出显示。
(VOC) Segmentation mask — archive包含png格式的每个帧的类和实例掩码,以及一个文本文件,其中包含每个颜色的值。
在注释过程结束时,通过单击任务页上的“同步”来同步任务。注意:只有在创建任务时指定了git存储库时,此功能才有效。
同步后,按钮“Sync”以绿色突出显示。注释现在位于存储库中的临时分支中。
下一步是转到存储库并手动创建对主分支的请求。
确认PR后,当注释保存在主分支中时,任务的颜色变为蓝色。
Label 是带标注对象的一种类型(例如人、车等)
Attribute 是标注对象的属性(例如颜色、模型、质量等),有两种类型的属性:
Unique: 不可变,不能在帧之间更改(例如年龄、性别、颜色等)
Temporary: 可变,可在任何帧上更改(例如质量、姿势、截断等)
Track 是不同框架上对应于一个对象的一组形状。Track是在轨迹模式
下创建的
Annotation 是一组形状和轨迹。有几种类型的标注:
这是用于绘制和编辑对象的主字段。
此外,工作区还具有以下功能:
右键单击一个对象会调用“对象卡”—这是一个包含更改对象标签和属性以及操作菜单所需控件的元素。
右键单击一个点将删除该点。
Z-axis slider
- 允许您切换隐藏上层的批注层(如果帧上有多个z层,则启用滑块)。
此元素有一个用于添加新层的按钮。按下时,会添加一个新层并切换到该层。
可以使用+``和
-``键在层中移动对象。
要打开“设置”,请打开标题中的“用户”菜单,然后选择“设置”项。
Settings
有两个选项卡:
在Player
选项卡中,您可以:
C
and V
shortcuts.Space
/Play
按钮的速度。Rotate all images
checkbox — 切换所有帧或单个帧的旋转。Brightness
/Contrast
/Saturation
太暴露或太暗的图像使用 F3
— 颜色设置(更改显示设置而不是图像本身)。Shortcuts:
Shift+B+=
/Shift+B+-
for brightness.
Shift+C+=
/Shift+C+-
for contrast.
Shift+S+=
/Shift+S+-
for saturation.
Reset color settings
to 默认值。
在“工作区”选项卡中,您可以:
Enable auto save
复选框-默认情况下处于禁用状态。
Auto save interval (min)
输入框-默认为15分钟。
Show all interpolation tracks
复选框-在侧面板上为每个插值对象显示隐藏对象(默认情况下禁用)。
Always show object details
- 不仅在激活对象时在画布上显示对象的文本:
Automatic bordering
- 在绘图/编辑期间启用多边形和多段线的自动边界。
For more information To find out more, go to the section annotation with polygons.
Attribute annotation mode (AAM) zoom margin
输入框-定义属性标注模式下形状的边距(以px为单位)。
Press Go back
or F3
to return to the annotation.
它是标注工具的主菜单。它可以用来下载,上传和删除标注。
按钮分配:
Dump Annotations
— 从任务下载标注。Upload Annotations
— 将批注上载到任务中。Remove Annotations
— 从当前作业中删除标注。Export as a dataset
— 从任务下载数据集。有几种格式可用:Open the task
— 打开包含任务详细信息的页面。Run ReID merge
— 形状或轨迹的自动合并。 保存当前作业的批注。该按钮指示保存过程。
使用按钮撤消或重做操作。
转到第一帧/最后一帧。
Go to the next/previous frame with a predefined step. Shortcuts:
V
— step backward, C
— step forward. By default the step is 10
frames
(change at Account Menu
—> Settings
—> Player Step
).
Go to the next/previous frame (the step is 1 frame). Shortcuts: D
— previous, F
— next.
Play the sequence of frames or the set of images.
Shortcut: Space
(change at Account Menu
—> Settings
—> Player Speed
).
Go to a specific frame. Press ~
to focus on the element.
全屏播放模式。键盘快捷键是“F11”。
Open the job info.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-Cw3RtBeZ-1596171612020)(static/documentation/images/image144_detrac.jpg)]
annotation
, validation
or completed
taskOverview:
Assinger
- the one to whom the job is assigned.Start Frame
- the number of the first frame in this job.End Frame
- the number of the last frame in this job.Frames
- the total number of all frames in the job.Z-Order
- z-order enable indicator.Annotations statistics:
This is a table number of created shapes, sorted by labels (e.g. vehicle, person)
and type of annotation (shape, track). As well as the number of manual and interpolated frames.
Switching between user interface modes.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-yklCr3i6-1596171612022)(static/documentation/images/image145.jpg)]
Navigation block - 包含用于移动和旋转图像的工具。
Icon
Description
Cursor
(Esc
)- a basic annotation pedacting tool.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-tU6iHk4u-1596171612023)(static/documentation/images/image149.jpg)]
Move the image
- a tool for moving around the image without
the possibility of editing.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-Bw0lVxrL-1596171612024)(static/documentation/images/image102.jpg)]
Rotate
- two buttons to rotate the current frame
a clockwise (Ctrl+R
) and anticlockwise (Ctrl+Shift+R
).
You can enable Rotate all images
in the settings to rotate all the images in the job
Zoom block - contains tools for image zoom.
Icon
Description
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-DDYuWn0b-1596171612025)(static/documentation/images/image151.jpg)]
Fit image
- fits image into the workspace size.
Shortcut - double click on an image
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-cvEN197d-1596171612027)(static/documentation/images/image166.jpg)]
Select a region of interest
- zooms in on a selected region.
You can use this tool to quickly zoom in on a specific part of the frame.
Shapes block - contains all the tools for creating shapes.
Icon
Description
Links to section
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-lxhHLtW9-1596171612028)(static/documentation/images/image167.jpg)]
Rectangle
Shape mode; Track mode;
Drawing by 4 points
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-HJ3fmllq-1596171612029)(static/documentation/images/image168.jpg)]
Polygon
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-I4Lb4jxW-1596171612030)(static/documentation/images/image169.jpg)]
Polyline
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-elI2Xwb5-1596171612030)(static/documentation/images/image170.jpg)]
Points
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-CHTtzaws-1596171612031)(static/documentation/images/image176.jpg)]
Cuboid
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-2r1dheNM-1596171612032)(static/documentation/images/image171.jpg)]
Tag
Edit block - contains tools for editing tracks and shapes.
Icon
Description
Links to section
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-BECK3ozg-1596171612033)(static/documentation/images/image172.jpg)]
Merge Shapes
(M
) — starts/stops the merging shapes mode.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-Kceg3Cro-1596171612034)(static/documentation/images/image173.jpg)]
Group Shapes
(G
) — starts/stops the grouping shapes mode.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-GZPRgbEJ-1596171612035)(static/documentation/images/image174.jpg)]
Split
— splits a track.
Hide
- 该按钮隐藏对象的侧栏。
Filter input box
The way how to use filters is described in the advanced guide here.
List of objects
In the objects sidebar you can see the list of available objects on the current
frame. The following figure is an example of how the list might look like:
Shape mode
Track mode
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-Qod8ZqOE-1596171612040)(static/documentation/images/image044.jpg)]
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-4vcy4vWx-1596171612041)(static/documentation/images/image045.jpg)]
Objects on the side bar
The type of a shape can be changed by selecting Label property. For instance, it can look like shown on the figure below:
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-wb0mblHM-1596171612043)(static/documentation/images/image050.jpg)]
Object action menu
The action menu calls up the button:
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-DQfRhG12-1596171612044)(static/documentation/images/image047.jpg)]
The action menu contains:
Create object URL
- puts a link to an object on the clipboard. After you open the link, this object will be filtered.
Make a copy
- copies an object. The keyboard shortcut is Ctrl + C
Ctrl + V
.
Propagate
- Сopies the form to several frames,
invokes a dialog box in which you can specify the number of copies
or the frame onto which you want to copy the object. The keyboard shortcut Ctrl + B
.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-6Kodjp9M-1596171612045)(static/documentation/images/image053.jpg)]
To background
- moves the object to the background. The keyboard shortcut -
,_
.
To foreground
- moves the object to the foreground. The keyboard shortcut +
,=
.
Remove
- removes the object. The keyboard shortcut Del
,Shift+Del
.
A shape can be locked to prevent its modification or moving by an accident. Shortcut to lock an object: L
.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-MvfGUOW4-1596171612046)(static/documentation/images/image046.jpg)]
A shape can be Occluded. Shortcut: Q
. Such shapes have dashed boundaries.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-4rGP0SaB-1596171612047)(static/documentation/images/image048.jpg)]
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-9NajWWCM-1596171612048)(static/documentation/images/image049_detrac.jpg)]
You can change the way an object is displayed on a frame (show or hide).
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-R7xQHxdn-1596171612048)(static/documentation/images/image055.jpg)]
Switch pinned property
- when enabled, a shape cannot be moved by dragging or dropping.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-rNnliAlA-1596171612049)(static/documentation/images/image052.jpg)]
You can change an object’s color.
To do so, click on the color bar of the object and select a color from the palette that appears.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-etCLn1m8-1596171612050)(static/documentation/images/image153.jpg)]
By clicking on the Details
button you can collapse or expand the field with all the attributes of the object.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-DEPNyTd2-1596171612051)(static/documentation/images/image154.jpg)]
You can also change the color of any object to random, to do so just hover
the mouse over the object on the frame and highlight them by clicking on a label you need.
In this tab, you can lock or hide objects of a certain label.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-49LY3VIq-1596171612051)(static/documentation/images/image062.jpg)]
Color By options
Change the color scheme of annotation:
Instance
— every shape has random color
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-mHqmzAQt-1596171612052)(static/documentation/images/image095_detrac.jpg)]
Group
— every group of shape has its own random color, ungrouped shapes are white
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-6SvfwThS-1596171612053)(static/documentation/images/image094_detrac.jpg)]
Label
— every label (e.g. car, person) has its own random color
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-GbkZocQQ-1596171612054)(static/documentation/images/image093_detrac.jpg)]
You can change any random color pointing to a needed box on a frame or on an
object sidebar.
Fill Opacity slider
Change the opacity of every shape in the annotation.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-UeteOcRo-1596171612055)(static/documentation/images/image086_detrac.jpg)]
Selected Fill Opacity slider
Change the opacity of the selected object’s fill.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-zghcnStt-1596171612055)(static/documentation/images/image089_detrac.jpg)]
Black Stroke checkbox
Changes the shape border from colored to black.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-CIXr81rO-1596171612056)(static/documentation/images/image088_detrac.jpg)]
Show bitmap checkbox
If enabled all shapes are displayed in white and the background is black.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-WntHqkZe-1596171612057)(static/documentation/images/image087_detrac.jpg)]
Show projections checkbox
Enables / disables the display of auxiliary perspective lines. Only relevant for cuboids
Basic operations in the mode were described in section shape mode (basics).
Occluded
Occluded是当一个对象被另一个对象遮挡或在帧上不完全可见时使用的属性。使用Q
快捷方式可以快速设置该属性。
例子: 下图中的三辆车应标记为occluded。
如果一个框架包含太多的对象,并且由于许多形状大多放置在同一个位置而很难对它们进行标注,那么可以锁定它们。锁定对象的形状是透明的,很容易为新对象添加标注,并且可以避免意外修改以前标注的对象,快捷键:L
。
Basic operations in the mode were described in section track mode (basics).
Shapes that were created in the track mode, have extra navigation buttons.
These buttons help to jump to the previous/next keyframe.
The button helps to jump to the initial frame and to the last keyframe.
You can use the `` Split ‘’ function to split one track into two tracks:
Basic operations in the mode were described in section attribute annotation mode (basics).
It is possible to handle lots of objects on the same frame in the mode.
It is more convenient to annotate objects of the same type. In this case you can apply the appropriate filter. For example, the following filter will hide all objects except person: label=="Person"
.
To navigate between objects (person in this case),
use the following buttons switch between objects in the frame
on the special panel:
or shortcuts:
Tab
— go to the next objectShift+Tab
— go to the previous object.In order to change the zoom level, go to settings (press F3
)
in the workspace tab and set the value Attribute annotation mode (AAM) zoom margin in px.
It is an efficient method of bounding box annotation, proposed
here.
Before starting, you need to make sure that the drawing method by 4 points is selected.
Press Shape
or Track
for entering drawing mode. Click on four extreme points:
the top, bottom, left- and right-most physical points on the object.
Drawing will be automatically completed right after clicking the fourth point.
Press Esc
to cancel editing.
一般被被用于语义分割。
如果要标注多边形,请确保启用了“创建新任务”对话框中的“Z-Order”标志。
Z-Order标志定义绘图顺序。有必要获得正确的注释蒙版而不需要额外的工作(额外的边界绘制)。
按+
/-
可改变Z-Order,相应地设置最大/最小Z-Order。
开始之前,您需要选择控件侧栏上的Polygon
并选择正确的标签。
Shape
进入绘图模式。 点击点
按住Shift+拖动
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-xVPM86Mr-1596171612075)(static/documentation/images/gif025_mapillary_vistas.gif)]
You can use auto borders when drawing a polygon. Using automatic borders allows you to automatically trace
the outline of polygons existing in the annotation.
To do this, go to settings -> workspace tab and enable Automatic Bordering
or press Ctrl
while drawing a polygon.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-ONmw5PTS-1596171612076)(static/documentation/images/image161.jpg)]
Start drawing / editing a polygon.
Points of other shapes will be highlighted, which means that the polygon can be attached to them.
Define the part of the polygon path that you want to repeat.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-7qbhZXyO-1596171612079)(static/documentation/images/image157_mapillary_vistas.jpg)]
Click on the first point of the contour part.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-rRyviGx0-1596171612080)(static/documentation/images/image158_mapillary_vistas.jpg)]
Then click on any point located on part of the path. The selected point will be highlighted in purple.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-wcB3owkv-1596171612081)(static/documentation/images/image159_mapillary_vistas.jpg)]
Сlick on the last point and the outline to this point will be built automatically.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-KUffn1b2-1596171612082)(static/documentation/images/image160_mapillary_vistas.jpg)]
Besides, you can set a fixed number of points in the Number of points
field, then
drawing will be stopped automatically. To enable dragging you should right-click
inside the polygon and choose Switch pinned property
.
Below you can see results with opacity and black stroke:
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-GpBr65qx-1596171612083)(static/documentation/images/image064_mapillary_vistas.jpg)]
If you need to annotate small objects, increase Image Quality
to
95
in Create task
dialog for your convenience.
Used to create a polygon semi-automatically.
Before starting, you have to make sure that the Make AI polygon
is selected.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-7C4hoVbm-1596171612084)(static/documentation/images/image114.jpg)]
Click Shape
to enter drawing mode. Now you can start annotating the necessary area.
A shape must consist of 4 points minimum. You can set a fixed number of points in the Number of points
field,
then drawing will be stopped automatically. You can zoom in/out and move while drawing.
Press N
again to finish marking the area. At the end of Auto Segmentation,
a shape is created and you can work with it as a polygon.
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-71Ym3qTH-1596171612085)(static/documentation/images/gif009_detrac.gif)]
要编辑多边形,您必须双击按“Shift”键,它将打开多边形编辑器。
用于道路标记标注等。
在开始之前,您需要选择“折线”。您可以在“点数”字段中设置固定点数,绘图将自动停止。
单击“形状”进入绘图模式。绘制折线有两种方法-您可以通过单击创建点,也可以在按住“Shift”的同时在屏幕上拖动鼠标来创建点。
When Shift
isn’t pressed, you can zoom in/out (when scrolling the mouse wheel)
and move (when clicking the mouse wheel and moving the mouse), you can delete
previous points by right-clicking on it. Press N
again to complete the shape.
You can delete a point by double-clicking on it with pressed Ctrl
or right-clicking on a point
and selecting Delete point
. Double-click with pressed Shift
will open a polyline editor.
There you can create new points(by clicking or dragging) or delete part of a polygon closing
the red line on another point. Press Esc
to cancel editing.
用于人脸、地标标注等。
开始之前,您需要选择 Points
. 如果需要,可以在 Number of points
字段, 然后绘图将自动停止。
点击Shape
进入绘图模式。现在您可以开始标注所需的区域。点自动分组-所有点将被视为在每个起点和终点之间链接。
按N
再次完成标记区域。可以通过双击并按下来Ctrl
删除点或者右键单击一个点并选择 Delete point
. 按Shift
键双击将打开点形状编辑器。在那里,可以将新点添加到现有形状中。可以在绘图时放大/缩小(滚动鼠标滚轮时)和移动(单击鼠标滚轮并移动鼠标时)。可以在绘制对象后拖动该对象,并在完成对象后更改各个点的位置。
可以对点使用线性插值来标注移动对象:
开始之前,请选择 Points
.
线性插值仅适用于一个点,因此需要设置Number of points
为1.
之后,选择 Track
.
点击Track
完成图形后,单击该模式将自动创建一个点。
向前移动几帧并将点移动到所需位置,这样您将创建一个关键帧,中间帧将自动绘制。可以像处理插值轨迹一样处理该对象:可以使用“Outside”隐藏它,在关键帧周围移动等。
这样你就可以用“点”得到线性插值。
它被用来标注三维物体,如汽车、盒子等……
目前,该特征支持单点透视,并具有垂直边与边完全平行的约束。
在开始之前,你必须确保长方体被选中,并选择一种绘图方法 ”from rectangle” 或者 “by 4 points”.
选择“按4点”绘制方法,然后单击“形状”进入绘图模式。画长方体的方法有很多种。
您可以通过放置4个点来绘制长方体,然后绘图将自动完成。前3个点确定长方体的平面,而最后一个点确定该平面的深度。对于前3个点,建议只绘制两个最近的侧面以及顶面和底面。
几个例子:
选择绘图方法“from rectangle” 然后单击“形状”进入绘图模式。使用矩形方法绘制时,必须使用边界选择对象的前平面盒子。那个生成的长方体的深度和透视图可以编辑。
例子:
可以通过多种方式编辑长方体:拖动点、拖动某些面或拖动平面。首先请注意,有一张脸只画了灰色的线条,让我们称之为前脸。
只需在前脸后面拖动形状,就可以移动长方体。
长方体可以通过拖动边中间的点来扩展。
也可以通过拖动顶点处的点来上下扩展长方体。
要使用透视效果进行绘制,应假定正面离摄影机最近。若要开始,只需在按住Shift
时拖动不在灰色/正面上的顶点上的点。然后可以像往常一样编辑长方体。
如果要重置透视效果,可以右键单击长方体,然后选择 Reset perspective
回到正长方体。
灰色面的位置可以与相邻的可见侧面交换。你可以通过右击长方体并选择 Switch perspective orientation
。请注意,这也将重置透视效果。
长方体的某些面也可以编辑,这些面是:左、右、背面,相对于灰色面。只需拖动面,就可以独立于长方体的其他部分移动面。
也可以在“轨迹”模式下使用长方体,类似于“轨迹模式”中的矩形 (basics and advanced)
用于标注框架,工作区中没有形状。在开始标记之前,请确保已选择。
单击标记以创建。您只能在侧栏上使用Tag。可以使用lock函数更改标签和属性。“操作”菜单中提供了其他功能,如传播、复制和删除。
自动标注用于创建初步标注。要使用自动标注,您需要一个DL模型。您可以使用主模型或用户上载的模型。
您可以在“models”部分找到可用模型的列表。
要启动自动标注,应打开仪表板并查找要标注的任务。
然后单击“操作”按钮,从下拉菜单中选择“自动批注”选项。
在对话框窗口中,选择所需的模型。DL模型是为特定的标签创建的,例如,十字路口模型是使用位于高速公路上方的摄像机的镜头进行教学的,对于具有类似摄像机角度的任务,最好使用此模型。
如果需要,请选中“清除旧注释”复选框。
调整标签,使任务标签与DL模型的标签相对应。
例如,让我们考虑一个任务,其中您必须标注标签“car”和“person”。
您应该将模型中的“person”标签连接到任务中的“person”标签。
至于“汽车”标签,你应该选择模型中最合适的标签——“车辆”标签。
此任务只需要对汽车进行注释,选择“车辆”标签意味着对所有车辆进行注释,在这种情况下,使用自动注释将帮助您更快地完成任务。
单击“提交”开始自动标注过程。
在运行时-您可以看到完成的百分比,您可以单击“取消”按钮取消自动批注。
自动批注的最终结果是带有单独矩形(或其他形状)的批注
可以通过删除误报、添加未标记的对象以及使用“ReID merge”函数合并到轨迹来编辑分离的边界框。单击菜单中的“ReID merge”按钮。
您可以使用默认设置 (有关详细信息,请单击 here).
要启动合并过程,请单击 Merge
。轨道的每一帧都是一个关键帧。
您可以使用“Split”和“Merge”函数删除误报和编辑跟踪。
此功能允许我们对多个形状进行分组。
您可以使用“分组形状”按钮或快捷方式:
G
— 在组模式下开始选择/结束选择Esc
— 关闭组模式Shift+G
— 重置选定形状的组您可以通过单击形状或选择区域来选择形状。
分组形状将在转储批注中包含“group”id“字段。
也可以将颜色分布从实例(默认)切换到组。
您必须切换“按组颜色”复选框。
Shapes that don’t have group_id
, will be highlighted in white.
使用此功能的原因如下:
Left Arrow
/ Right Arrow
keys for this purpose. If there are no objects matching the filter, 要使用该函数,只需在“Filter”文本中指定一个值就足够了字段并按“回车”键。之后,将应用过滤器。
Supported properties:
属性
支持的值
说明
width
number of px or height
形状宽度
height
number of px or width
形状高度
label
"text"
or ["text"]
标签名称
serverID
number
服务器上对象的ID
(你可以通过动作菜单建立一个指向对象的链接来找到答案)
clientID
number
客户端中对象的ID(在对象侧栏上显示)
type
"shape"
, "track"
, "tag"
对象类型
shape
"rectangle"
,"polygon"
,
"polyline"
,"points"
type of shape
occluded
true
or false
闭塞特性
attr
"text"
属性名称
Supported operators:
==
- Equally; !=
- Not equal; >
- More; >=
- More or equal; <
- Less; <=
- Less or equal;
()
- Brackets; &
- And; |
- Or.
If you have double quotes in your query string, please escape them using backslash: \"
(see the latest example)
All properties and values are case-sensitive. CVAT uses json queries to perform search.
Examples filters
label=="car" | label==["road sign"]
- this filter will show only objects with the car or road sign label.shape == "polygon"
- this filter will show only polygons.width >= height
- this filter will show only those objects whose width will be greater than attr["color"] == "black"
- this filter will show objects whose color attribute is black.clientID == 50
- this filter will show the object with id equal to 50 (e.g. rectangle 50).(label=="car" & attr["parked"]==true) | (label=="pedestrian" & width > 150)
- this filter will display objects (( label==["car \"mazda\""]) | (attr["parked"]==true & width > 150)) & (height > 150 & (clientID == serverID)))
- 筛选器历史记录
您可以添加以前输入的过滤器并将它们组合起来。为此,单击输入字段,将打开以前输入的过滤器列表。单击过滤器以将其添加到输入字段中。组合过滤器与“或”运算符一起出现。
如果您的CVAT实例是使用analytics支持创建的,则可以在仪表板中按“analytics”按钮,分析和日志将在新选项卡中打开。
分析可以让你看到每个用户在每个任务上花费了多少时间,以及他们在任何时间范围内做了多少工作。
它还有一个活动图,可以根据显示的用户数和时间范围进行修改。
许多UI元素都有快捷方式提示。将指针指向必需的元素以查看它。
快捷键
功能
主要功能
F2
打开/隐藏可用快捷键列表
F3
转到“设置”页或返回
Ctrl+S
转到“设置”页或返回
Ctrl+Z
取消与对象相关的最新操作
Ctrl+Shift+Z
or Ctrl+Y
取消撤消操作
Hold Mouse Wheel
移动图像框(例如,在绘图时)
Player
F
Go to the next frame
D
Go to the previous frame
V
Go forward with a step
C
Go backward with a step
Right
Search the next frame that satisfies to the filters
or next frame which contain any objects
Left
Search the previous frame that satisfies to the filters
or previous frame which contain any objects
Space
Start/stop automatic changing frames
`
or ~
Focus on the element to change the current frame
Modes
N
Repeat the latest procedure of drawing with the same parameters
M
Activate or deactivate mode to merging shapes
G
Activate or deactivate mode to grouping shapes
Shift+G
Reset group for selected shapes (in group mode)
Esc
Cancel any active canvas mode
Image operations
Ctrl+R
Change image angle (add 90 degrees)
Ctrl+Shift+R
Change image angle (substract 90 degrees)
Shift+B+=
Increase brightness level for the image
Shift+B+-
Decrease brightness level for the image
Shift+C+=
Increase contrast level for the image
Shift+C+-
Decrease contrast level for the image
Shift+S+=
Increase saturation level for the image
Shift+S+-
Increase contrast level for the image
Shift+G+=
Make the grid more visible
Shift+G+-
Make the grid less visible
Shift+G+Enter
Set another color for the image grid
Operations with objects
Ctrl
Switch automatic bordering for polygons and polylines during drawing/editing
Hold Ctrl
When the shape is active and fix it
Ctrl+Double-Click
on point
Deleting a point (used when hovering over a point of polygon, polyline, points)
Shift+Double-Click
on point
Editing a shape (used when hovering over a point of polygon, polyline or points)
Right-Click
on shape
Display of an object element from objects sidebar
T+L
Change locked state for all objects in the sidebar
L
Change locked state for an active object
T+H
Change hidden state for objects in the sidebar
H
Change hidden state for an active object
Q
or /
Change occluded property for an active object
Del
or Shift+Del
Delete an active object. Use shift to force delete of locked objects
-
or _
Put an active object “farther” from the user (decrease z axis value)
+
or =
Put an active object “closer” to the user (increase z axis value)
Ctrl+C
Copy shape to CVAT internal clipboard
Ctrl+V
Paste a shape from internal CVAT clipboard
Hold Ctrl
while pasting
When pasting shape from the buffer for multiple pasting.
Crtl+B
Make a copy of the object on the following frames
Operations are available only for track
K
Change keyframe property for an active track
O
Change outside property for an active track
R
Go to the next keyframe of an active track
E
Go to the previous keyframe of an active track
Attribute annotation mode
Up Arrow
Go to the next attribute (up)
Down Arrow
Go to the next attribute (down)
Tab
Go to the next annotated object in current frame
Shift+Tab
Go to the previous annotated object in current frame
<number>
Assign a corresponding value to the current attribute
参考:https://blog.csdn.net/weixin_43336281/article/details/107711076
手机扫一扫
移动阅读更方便
你可能感兴趣的文章