CVAT 用户指南
CVAT 用戶指南
- 用戶指南
- 入門
- 授權(quán)
- 管理面板
- 創(chuàng)建標(biāo)注任務(wù)
- 基本配置
- 高級配置
- 模型
- 搜索
- 標(biāo)注工具的界面
- 基本導(dǎo)航
- 形狀類型(基礎(chǔ))
- 形狀模式(基礎(chǔ))
- 軌跡模式(基礎(chǔ))
- 屬性標(biāo)注模式(基礎(chǔ))
- 下載標(biāo)注
- 同步存儲庫任務(wù)
- 詞匯
- 工作區(qū)
- 設(shè)置
- 頂部面板
- 菜單按鈕
- 保存工作
- 撤消重做按鈕
- Player
- 全屏播放器
- Info
- UI switcher
- 控件邊欄
- 對象提要欄
- Objects
- Labels
- Appearance
- Shape mode (advanced)
- Track mode (advanced)
- Attribute annotation mode (advanced)
- Annotation with rectangle by 4 points
- 帶多邊形的標(biāo)注
- 手工繪圖
- Drawing using automatic borders
- Make AI polygon
- 編輯多邊形
- 帶多段線的標(biāo)注
- 點(diǎn)標(biāo)注
- 形狀模式中的點(diǎn)
- 單點(diǎn)線性插值
- 長方體標(biāo)注
- 創(chuàng)建長方體
- 四點(diǎn)畫法
- 從矩形畫長方體
- 編輯長方體
- 帶標(biāo)記的標(biāo)注
- 自動標(biāo)注
- 形狀分組
- 過濾器
- 分析
- 快捷鍵
用戶指南
計算機(jī)視覺標(biāo)注工具(CVAT)是基于 Web 為計算機(jī)視覺算法標(biāo)注視頻和圖像的在線工具。
它的靈感來自Vatic免費(fèi)的、在線的、交互式的視頻注釋工具。
CVAT有許多強(qiáng)大的功能:
- 在關(guān)鍵幀之間插入邊界框
- 使用深度學(xué)習(xí)模型自動標(biāo)注
- 大多數(shù)關(guān)鍵行動的捷徑
- 帶有注釋任務(wù)列表的儀表板
- LDAP和基本授權(quán)
- 等……
它是為一個專業(yè)的數(shù)據(jù)注釋團(tuán)隊(duì)創(chuàng)建和使用的。
特別針對我們團(tuán)隊(duì)開發(fā)的計算機(jī)視覺任務(wù)進(jìn)行了用戶體驗(yàn)和用戶界面優(yōu)化。
入門
授權(quán)
- 首先,您必須登錄到CVAT工具。
- 要注冊新用戶,請按“創(chuàng)建帳戶”
-
您可以注冊用戶,但在默認(rèn)情況下,新用戶無權(quán)查看任務(wù)列表。因此,您應(yīng)該創(chuàng)建一個超級用戶。超級用戶可以使用Django管理面板為用戶分配正確的組。請使用以下命令創(chuàng)建管理員帳戶:
docker exec -it cvat bash -ic '/usr/bin/python3 ~/manage.py createsuperuser'
-
如果您想創(chuàng)建一個非管理員帳戶,您可以使用下面登錄頁面上的鏈接來創(chuàng)建。別忘了在“管理”面板中修改新用戶的權(quán)限。有幾個組(又稱角色):管理員、用戶、標(biāo)注員、質(zhì)檢員。
管理面板
轉(zhuǎn)到Django管理面板。在這里您可以:
- 創(chuàng)建/編輯/刪除用戶
- 控制用戶的權(quán)限和對工具的訪問。
創(chuàng)建標(biāo)注任務(wù)
點(diǎn)擊主頁面上的 Create new task 按鈕創(chuàng)建標(biāo)注任務(wù)。
指定任務(wù)的參數(shù):
基本配置
Name 要創(chuàng)建的任務(wù)的名稱。
Labels. 使用標(biāo)簽有兩種方法:
-
Constructor是添加和調(diào)整標(biāo)簽的簡單方法。要添加新標(biāo)簽,請單擊Add label按鈕。
可以在Label name字段中設(shè)置標(biāo)簽的名稱。
如有必要,您可以通過單擊Add an attribute來添加屬性并設(shè)置其屬性:
此處提供以下操作: - 設(shè)置屬性的名稱。
- 選擇顯示屬性的方式:
- Select — 下拉列表選值
- Radio — 從建議的幾個選項(xiàng)中只選擇一個時使用
- Checkbox — 從建議的選項(xiàng)中選擇任意數(shù)量的選項(xiàng)時使用
- Text — 屬性作為文本輸入,默認(rèn)屬性
- Number — 屬性作為數(shù)字輸入
- 為屬性設(shè)置值。按Enter鍵可以分隔這些值。輸入的值顯示為一個單獨(dú)的元素,可以通過按Backspace或單擊“關(guān)閉”按鈕(x)來刪除該元素。
如果指定的屬性顯示方式是文本或數(shù)字,則默認(rèn)情況下輸入的值將顯示為文本。 - 復(fù)選框Mutable確定屬性是否將被逐幀更改。
- 可以通過單擊關(guān)閉按鈕(x)刪除該屬性。
單擊Continue按鈕添加更多標(biāo)簽。
如果需要取消添加標(biāo)簽-請按Cancel按鈕。
添加完所有必要的標(biāo)簽后,單擊Done按鈕。
單擊Done后,添加的標(biāo)簽將顯示為不同顏色的單獨(dú)元素。
您可以通過單擊Update attributes或Delete label來編輯或刪除標(biāo)簽。
Raw 是高級用戶使用標(biāo)簽的一種方式。
Raw 以 json 格式顯示標(biāo)簽數(shù)據(jù),并提供了編輯和復(fù)制標(biāo)簽作為文本的選項(xiàng)。
Done 按鈕應(yīng)用更改,Reset 按鈕取消更改。
在Raw和Constructor模式下,可以按“Copy”按鈕復(fù)制標(biāo)簽列表。
Select files. 點(diǎn)擊My computer從您的電腦中選擇一些要添加批注的文件。
如果點(diǎn)擊Connected file share,則可以從網(wǎng)絡(luò)中選擇要標(biāo)注的文件。
如果選擇Remote source,您將看到一個字段,您可以在其中輸入URL列表(每行一個URL)。
高級配置
Z-Order. 定義繪制多邊形的順序。選中啟用分層顯示復(fù)選框。
Use zip chunks. 強(qiáng)制使用壓縮塊作為壓縮數(shù)據(jù)。實(shí)際只用于視頻。
Image Quality. 使用此選項(xiàng)可指定上載圖像的質(zhì)量。
該選項(xiàng)有助于更快地加載高分辨率數(shù)據(jù)集。
使用從1(完全壓縮的圖像)到95(幾乎不是壓縮圖像)的值。
Overlap Size. 使用此選項(xiàng)可生成重疊段。
該選項(xiàng)使軌跡從一個線段連續(xù)到另一個線段。
將其用于插值模式。使用該參數(shù)有幾個選項(xiàng):
- 用于插值任務(wù)(視頻序列)。
如果在兩個相鄰的線段上標(biāo)注邊界框,它們將合并為一個邊界框。
如果重疊等于零或標(biāo)注在轉(zhuǎn)儲的標(biāo)注文件中的相鄰段上較差,則將有多個軌跡,每個段對應(yīng)一個對象。 - 標(biāo)注(獨(dú)立圖像)。
如果一個對象存在于重疊的線段上,重疊大于零,并且相鄰線段上的標(biāo)注足夠好,則該對象將自動合并為一個對象。
如果重疊等于零或標(biāo)注在轉(zhuǎn)儲標(biāo)注文件內(nèi)的相鄰段上較差,則同一對象將有多個邊界框。
因此,可以在第一個線段上注釋對象。
在第二個線段上標(biāo)注同一個對象,如果您做得對,標(biāo)注中就有一個軌跡。
如果不同段(重疊框架上)上的標(biāo)注非常不同,則同一對象將有兩個形狀。
此功能僅適用于邊界框。
多邊形、多段線、點(diǎn)不支持重疊段上的自動合并,即使重疊參數(shù)不為零,相鄰線段上相應(yīng)形狀之間的匹配也非常完美。
Segment size. 使用此選項(xiàng)可以將一個巨大的數(shù)據(jù)集分成幾個較小的段。
例如,一個作業(yè)不能由多個貼標(biāo)器標(biāo)注(不支持)。
因此,使用"segment size"可以為同一注釋任務(wù)創(chuàng)建多個作業(yè)。
它將有助于您并行數(shù)據(jù)標(biāo)注過程。
Start frame. 任務(wù)中的視頻開始的幀。
Stop frame. 任務(wù)中的視頻結(jié)束的幀。
Frame Step. 使用此選項(xiàng)可過濾視頻幀。
例如,輸入“25”可在視頻中每隔二十五幀或每二十五幅圖像保留一次。
Chunk size. 定義從客戶端發(fā)送到服務(wù)器時要打包在塊中的幀數(shù)。
如果為空,服務(wù)器將自動定義。
推薦值:
- 1080p or less: 36
- 2k or less: 8 - 16
- 4k or less: 4 - 8
- More: 1 - 4
Dataset Repository. 存儲庫的URL鏈接可選地指定存儲庫的路徑 (default: annotation / <dump_file_name> .zip).
支持注解的.zip和.xml文件擴(kuò)展名。
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]
如果標(biāo)注與存儲庫不同步,則創(chuàng)建后任務(wù)將以紅色突出顯示。
Use LFS. 如果標(biāo)注文件很大,可以使用LFS創(chuàng)建一個存儲庫支持。
Issue tracker. 如果需要,請指定問題跟蹤程序的完整URL。
按Submit按鈕,它將被添加到注釋任務(wù)列表中。
然后,創(chuàng)建的任務(wù)將顯示在儀表板上:
儀表板包含元素,每個元素都與單獨(dú)的任務(wù)相關(guān)。它們按創(chuàng)建順序排序。
每個元素包含:任務(wù)名稱、預(yù)覽、進(jìn)度條、按鈕“打開”和菜單“操作”。
每個按鈕負(fù)責(zé)菜單內(nèi)“操作”特定功能:
- Dump Annotation和Export as a dataset—下載特定格式的批注或批注和圖像。以下格式可用:
- CVAT for video
如果任務(wù)具有插值模式,則突出顯示。 - CVAT for images
如果任務(wù)具有批注模式,則突出顯示。 - PASCAL VOC
- (VOC) Segmentation mask —
archive包含png格式的每個幀的類和實(shí)例掩碼,以及一個文本文件,其中包含每個顏色的值。 - YOLO
- COCO
- TFRecord
- MOT
- LabelMe 3.0
- Datumaro
- CVAT for video
- Upload annotation的格式與Dump annotation中的格式相同。
- CVAT 同時接受視頻和圖像子格式。
- Automatic Annotation—使用OpenVINO toolkit進(jìn)行自動注釋。
存在性取決于如何構(gòu)建CVAT實(shí)例。 - Open bug tracker — 打開指向問題跟蹤程序的鏈接。
- Delete — 刪除任務(wù)。
按Open 按鈕轉(zhuǎn)到任務(wù)詳細(xì)信息。
任務(wù)詳細(xì)信息是一個任務(wù)頁面,其中包含預(yù)覽、進(jìn)度條、任務(wù)的詳細(xì)信息(在創(chuàng)建任務(wù)時指定)和“作業(yè)”部分。
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-t0hODpHu-1596171611932)(static/documentation/images/image131_detrac.jpg)]
- 此頁上提供了以下操作:
- 更改任務(wù)的標(biāo)題
- 打開“Actions”菜單
- 更改問題跟蹤程序或打開問題跟蹤程序(如果已指定)
- 更換標(biāo)簽。
可以在原始模式或構(gòu)造函數(shù)模式下為現(xiàn)有標(biāo)簽添加新標(biāo)簽或添加屬性。
單擊Copy可將標(biāo)簽復(fù)制到剪貼板。 - Assigned to — 用于將任務(wù)分配給某人。開始輸入被派遣人的姓名和/或從下拉列表中選擇合適的人。
- 帶有超鏈接的作業(yè)名稱。
- Frames — 幀間隔。
- 任務(wù)的狀態(tài)。 狀態(tài)由用戶在任務(wù)內(nèi)的菜單中指定。
有三種類型的狀態(tài):標(biāo)注、質(zhì)檢或已完成。
作業(yè)的狀態(tài)是根據(jù)任務(wù)的進(jìn)度條變化的。 - Started on — 此任務(wù)的開始日期。
- Duration — 是任務(wù)的時間量。
- Assignee是正在處理任務(wù)的用戶。
你可以開始輸入被派遣人的姓名和/或從下拉列表中選擇合適的人。 - Copy. 單擊“復(fù)制”可將作業(yè)列表復(fù)制到剪貼板。
任務(wù)列表包含指向任務(wù)的直接鏈接。
按照“作業(yè)”部分中的鏈接開始標(biāo)注過程。
在某些情況下,可以有多個鏈接。它取決于任務(wù)的大小以及“重疊大小”和“段大小”參數(shù)。為了提高用戶體驗(yàn),只會加載幾個幀的第一個塊,并且您可以對第一個圖像進(jìn)行注釋。其他幀將在后臺加載。
模型
在“模型”頁面上,您可以管理為自動標(biāo)注而上載的深度學(xué)習(xí)(DL)模型。
使用該功能,您可以上載、更新或刪除特定的DL模型。
要打開模型管理器,請單擊導(dǎo)航欄上的“模型”按鈕。
“模型”頁面包含有關(guān)所有現(xiàn)有模型的信息。
模型列表分為兩部分:
- Primary — 包含默認(rèn)的CVAT模型。每個模型都是一個單獨(dú)的元素。
它包含模型的名稱、模型所基于的框架和“支持的標(biāo)簽”(所有支持標(biāo)簽的下拉列表)。 - Uploaded by a user — 包含用戶上載的模型。
用戶模型列表中有其他列,其中包含以下信息:
上傳模型的用戶名以及上傳日期。
在這里,您可以在“操作”菜單中刪除模型。
要添加模型,請單擊“創(chuàng)建新模型”。
輸入模型名稱,然后使用“選擇文件”按鈕選擇模型文件。
要使用自定義模型標(biāo)注任務(wù),您需要準(zhǔn)備4個文件:
- Model config (*.xml) - 具有網(wǎng)絡(luò)配置的文本文件。
- Model weights (*.bin) - 經(jīng)過訓(xùn)練的權(quán)重的二進(jìn)制文件。
- Label map (*.json) - 一個簡單的json文件,帶有l(wèi)abel_map的字典,類似于一個帶有標(biāo)簽號字符串值的對象。
- Interpretation script (*.py) - 用于將網(wǎng)絡(luò)輸出層轉(zhuǎn)換為可由CVAT處理的預(yù)定義結(jié)構(gòu)的文件。
了解有關(guān)創(chuàng)建模型文件的詳細(xì)信息可以閱讀:自動標(biāo)注
如果希望每個人都能使用模型,請選中“全局加載”。
單擊“提交”按鈕提交模型。
上傳完成后,您的模型可以在“由用戶上載”部分找到。
使用“Auto annotation”按鈕使用您的一個DL模型對任務(wù)進(jìn)行預(yù)注釋。
搜索
對于搜索有幾個選項(xiàng)。
- 在所有字段中搜索(所有者、代理人、任務(wù)名稱、任務(wù)狀態(tài)、任務(wù)模式)。
在搜索字段中輸入搜索字符串執(zhí)行。 - 如何執(zhí)行搜索特定字段:
- owner: admin - 由名稱中有子字符串“admin”的用戶創(chuàng)建的所有任務(wù)
- assignee: employee - 分配給名稱中有子字符串“employee”的用戶的所有任務(wù)
- name: mighty - 所有名稱中帶有子字符串“mighty”的任務(wù)
- mode: annotation or mode: interpolation - 所有帶有圖像或視頻的任務(wù)。
- status: annotation or status: validation or status: completed - 按狀態(tài)搜索
- id: 5 - id=5的任務(wù)。
- Multiple filters. 可以使用關(guān)鍵字AND組合篩選器(標(biāo)識符除外):
- mode: interpolation AND owner: admin
- mode: annotation and status: annotation
搜索不區(qū)分大小寫。
標(biāo)注工具的界面
該工具包括:
- Header - 用于導(dǎo)航CVAT部分和帳戶設(shè)置的固定標(biāo)題;
- Top panel — 包含導(dǎo)航按鈕、主要功能和菜單訪問;
- Workspace — 顯示圖像的空間;
- Controls sidebar — 包含用于導(dǎo)航圖像、縮放、創(chuàng)建形狀和編輯軌跡的工具(合并、拆分、分組)
- Objects sidebar — 包含標(biāo)簽過濾器,兩個列表:
對象(幀上的)和標(biāo)簽(幀上對象的)和外觀設(shè)置。
基本導(dǎo)航
使用下面的箭頭移動到下一幀/上一幀。
使用滾動條滑塊在幀之間滾動。
幾乎每個按鈕都有一個快捷方式。
To get a hint about a shortcut, just move your mouse pointer over an UI element.
要導(dǎo)航圖像,請使用控件側(cè)欄上的按鈕。
另一種可以移動/移動圖像的方法是在沒有注釋對象的區(qū)域內(nèi)按住鼠標(biāo)左鍵。
如果按下“鼠標(biāo)滾輪”,則忽略所有帶注釋的對象。否則,將移動高亮顯示的邊界框而不是圖像本身。
您可以使用邊欄控件上的按鈕縮放感興趣的區(qū)域。
使用“調(diào)整圖像大小”按鈕在工作區(qū)中調(diào)整圖像大小。
您也可以使用鼠標(biāo)滾輪縮放圖像(圖像將相對于當(dāng)前光標(biāo)位置進(jìn)行縮放)。
形狀類型(基礎(chǔ))
有五種形狀可以為圖像添加標(biāo)注:
- Rectangle or Bounding box
- Polygon
- Polyline
- Points
- Cuboid
- Tag
它們看起來都是這樣的:
Tag - 工作區(qū)中沒有形狀,但顯示在對象側(cè)欄中。
形狀模式(基礎(chǔ))
使用示例:
- 為一組圖像創(chuàng)建新標(biāo)注。
- 為現(xiàn)有標(biāo)注添加/修改/刪除對象。
您需要在控件側(cè)欄上選擇“矩形”:
開始之前,請選擇正確的“標(biāo)簽”(創(chuàng)建任務(wù)時應(yīng)指定)和“繪圖方法”(兩點(diǎn)或四點(diǎn)):
在“形狀模式”中創(chuàng)建新標(biāo)注:
-
單擊“形狀”創(chuàng)建一個單獨(dú)的“矩形”。
-
選擇相反的點(diǎn)。你的第一個矩形準(zhǔn)備好了!
-
了解如何使用“按4點(diǎn)”繪制方法創(chuàng)建矩形的步驟, (read here).
-
使用鼠標(biāo)可以調(diào)整矩形的邊界和位置。
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.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-oRxUV641-1596171611968)(static/documentation/images/image013_detrac.jpg)]
Read more in the section shape mode (advanced).
軌跡模式(基礎(chǔ))
使用示例:
- 為幀序列創(chuàng)建新標(biāo)注。
- 為現(xiàn)有標(biāo)注添加/修改/刪除對象。
- 編輯軌跡,將幾個矩形合并為一個軌跡。
與“形狀模式”一樣,您需要在側(cè)欄上選擇一個“矩形”,在出現(xiàn)的表單中,選擇所需的“標(biāo)簽”和“繪圖方法”。
為對象創(chuàng)建軌跡(以選定的汽車為例):
-
通過單擊“Track”在“Track mode”下創(chuàng)建一個“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).[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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:
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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:
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-nxg8MdWG-1596171611977)(static/documentation/images/image020.jpg)]
-
Create tracks for moments when the cyclist is visible:
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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:[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-ISGPgo4d-1596171611980)(static/documentation/images/image162_detrac.jpg)]
-
Click Merge button or press M to apply changes.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-wqXg6XXv-1596171611982)(static/documentation/images/image020.jpg)]
-
The final annotated sequence of frames in Interpolation mode can
look like the clip below:[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-lJEPfF0l-1596171611983)(static/documentation/images/gif003_detrac.gif)]
Read more in the section track mode (advanced).
屬性標(biāo)注模式(基礎(chǔ))
-
在此模式下,可以使用鍵盤在對象和幀之間快速導(dǎo)航來編輯屬性。
打開頂部面板中的下拉列表,然后選擇“屬性標(biāo)注模式”。
-
在此模式下,對象面板更改為特殊面板:
-
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).
下載標(biāo)注
-
CVAT for video
如果任務(wù)具有插值模式,則突出顯示。 -
CVAT for images
如果任務(wù)具有標(biāo)注模式,則突出顯示。
-
PASCAL VOC
-
(VOC) Segmentation mask — archive包含png格式的每個幀的類和實(shí)例掩碼,以及一個文本文件,其中包含每個顏色的值。
-
YOLO
-
COCO
-
TFRecord
-
MOT
-
LabelMe 3.0
-
Datumaro
同步存儲庫任務(wù)
在注釋過程結(jié)束時,通過單擊任務(wù)頁上的“同步”來同步任務(wù)。注意:只有在創(chuàng)建任務(wù)時指定了git存儲庫時,此功能才有效。
同步后,按鈕“Sync”以綠色突出顯示。注釋現(xiàn)在位于存儲庫中的臨時分支中。
下一步是轉(zhuǎn)到存儲庫并手動創(chuàng)建對主分支的請求。
確認(rèn)PR后,當(dāng)注釋保存在主分支中時,任務(wù)的顏色變?yōu)樗{(lán)色。
詞匯
Label 是帶標(biāo)注對象的一種類型(例如人、車等)
Attribute 是標(biāo)注對象的屬性(例如顏色、模型、質(zhì)量等),有兩種類型的屬性:
-
Unique: 不可變,不能在幀之間更改(例如年齡、性別、顏色等)
-
Temporary: 可變,可在任何幀上更改(例如質(zhì)量、姿勢、截斷等)
Track 是不同框架上對應(yīng)于一個對象的一組形狀。Track是在軌跡模式下創(chuàng)建的
Annotation 是一組形狀和軌跡。有幾種類型的標(biāo)注:
- Manual 是個人創(chuàng)造的
- Semi-automatic 主要是自動創(chuàng)建,但用戶提供一些數(shù)據(jù)(例如插值)
- Automatic 它是在沒有人參與的情況下自動創(chuàng)建的
工作區(qū)
這是用于繪制和編輯對象的主字段。
此外,工作區(qū)還具有以下功能:
-
右鍵單擊一個對象會調(diào)用“對象卡”—這是一個包含更改對象標(biāo)簽和屬性以及操作菜單所需控件的元素。
-
右鍵單擊一個點(diǎn)將刪除該點(diǎn)。
-
Z-axis slider - 允許您切換隱藏上層的批注層(如果幀上有多個z層,則啟用滑塊)。
此元素有一個用于添加新層的按鈕。按下時,會添加一個新層并切換到該層。
可以使用+``和-``鍵在層中移動對象。
設(shè)置
要打開“設(shè)置”,請打開標(biāo)題中的“用戶”菜單,然后選擇“設(shè)置”項(xiàng)。
Settings 有兩個選項(xiàng)卡:
在Player選項(xiàng)卡中,您可以:
- Control step of C and V shortcuts.
- 控制Space/Play按鈕的速度。
- 顯示“網(wǎng)格”,更改網(wǎng)格大小,選擇顏色和透明度:
- 以全尺寸顯示每個圖像或像以前一樣縮小(默認(rèn)情況下,插值模式啟用,注釋模式禁用)。
- Rotate all images checkbox — 切換所有幀或單個幀的旋轉(zhuǎn)。
- 調(diào)整Brightness/Contrast/Saturation 太暴露或太暗的圖像使用 F3 — 顏色設(shè)置(更改顯示設(shè)置而不是圖像本身)。
Shortcuts:
-
Shift+B+=/Shift+B+- for brightness.
-
Shift+C+=/Shift+C+- for contrast.
-
Shift+S+=/Shift+S+- for saturation.
-
Reset color settings to 默認(rèn)值。
在“工作區(qū)”選項(xiàng)卡中,您可以:
-
Enable auto save 復(fù)選框-默認(rèn)情況下處于禁用狀態(tài)。
-
Auto save interval (min) 輸入框-默認(rèn)為15分鐘。
-
Show all interpolation tracks 復(fù)選框-在側(cè)面板上為每個插值對象顯示隱藏對象(默認(rèn)情況下禁用)。
-
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 輸入框-定義屬性標(biāo)注模式下形狀的邊距(以px為單位)。
-
Press Go back or F3 to return to the annotation.
頂部面板
菜單按鈕
它是標(biāo)注工具的主菜單。它可以用來下載,上傳和刪除標(biāo)注。
按鈕分配:
- Dump Annotations — 從任務(wù)下載標(biāo)注。
- Upload Annotations — 將批注上載到任務(wù)中。
- Remove Annotations — 從當(dāng)前作業(yè)中刪除標(biāo)注。
- Export as a dataset — 從任務(wù)下載數(shù)據(jù)集。有幾種格式可用:
- Datumaro
- Pascal VOC 2012
- MS COCO
- YOLO
- Open the task — 打開包含任務(wù)詳細(xì)信息的頁面。
- Run ReID merge — 形狀或軌跡的自動合并。
它用于在單個軌跡中組合由自動標(biāo)注創(chuàng)建的單個對象。
更多信息請點(diǎn)擊這里。
保存工作
保存當(dāng)前作業(yè)的批注。該按鈕指示保存過程。
撤消重做按鈕
使用按鈕撤消或重做操作。
Player
轉(zhuǎn)到第一幀/最后一幀。
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”。
Info
Open the job info.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-Cw3RtBeZ-1596171612020)(static/documentation/images/image144_detrac.jpg)]
- Job status: annotation, validation or completed task
Overview:
- 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.
UI switcher
Switching between user interface modes.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-yklCr3i6-1596171612022)(static/documentation/images/image145.jpg)]
控件邊欄
Navigation block - 包含用于移動和旋轉(zhuǎn)圖像的工具。
| Cursor (Esc)- a basic annotation pedacting tool. | |
| [外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-tU6iHk4u-1596171612023)(static/documentation/images/image149.jpg)] | Move the image- a tool for moving around the image without the possibility of editing. |
| [外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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.
| [外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-DDYuWn0b-1596171612025)(static/documentation/images/image151.jpg)] | Fit image- fits image into the workspace size. Shortcut - double click on an image |
| [外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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.
| [外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-lxhHLtW9-1596171612028)(static/documentation/images/image167.jpg)] | Rectangle | Shape mode; Track mode; Drawing by 4 points |
| [外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-HJ3fmllq-1596171612029)(static/documentation/images/image168.jpg)] | Polygon | Annotation with polygons |
| [外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-I4Lb4jxW-1596171612030)(static/documentation/images/image169.jpg)] | Polyline | Annotation with polylines |
| [外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-elI2Xwb5-1596171612030)(static/documentation/images/image170.jpg)] | Points | Annotation with points |
| [外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-CHTtzaws-1596171612031)(static/documentation/images/image176.jpg)] | Cuboid | Annotation with cuboids |
| [外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-2r1dheNM-1596171612032)(static/documentation/images/image171.jpg)] | Tag | Annotation with tagss |
Edit block - contains tools for editing tracks and shapes.
| [外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-BECK3ozg-1596171612033)(static/documentation/images/image172.jpg)] | Merge Shapes(M) — starts/stops the merging shapes mode. | Track mode (basics) |
| [外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-Kceg3Cro-1596171612034)(static/documentation/images/image173.jpg)] | Group Shapes (G) — starts/stops the grouping shapes mode. | Shape grouping |
| [外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-GZPRgbEJ-1596171612035)(static/documentation/images/image174.jpg)] | Split — splits a track. | Track mode (advanced) |
對象提要欄
Hide - 該按鈕隱藏對象的側(cè)欄。
Objects
Filter input box
The way how to use filters is described in the advanced guide here.
List of objects
- Switch lock property for all - switches lock property of all objects in the frame.
- Switch hidden property for all - switches hide property of all objects in the frame.
- Expand/collapse all - collapses/expands the details field of all objects in the frame.
- Sorting - sort the list of objects: updated time, ID - accent, ID - descent
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:
| [外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-Qod8ZqOE-1596171612040)(static/documentation/images/image044.jpg)] | [外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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:
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-wb0mblHM-1596171612043)(static/documentation/images/image050.jpg)]
Object action menu
The action menu calls up the button:
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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.[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-MvfGUOW4-1596171612046)(static/documentation/images/image046.jpg)]
A shape can be Occluded. Shortcut: Q. Such shapes have dashed boundaries.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-4rGP0SaB-1596171612047)(static/documentation/images/image048.jpg)]
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-9NajWWCM-1596171612048)(static/documentation/images/image049_detrac.jpg)]
You can change the way an object is displayed on a frame (show or hide).
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-R7xQHxdn-1596171612048)(static/documentation/images/image055.jpg)]
Switch pinned property - when enabled, a shape cannot be moved by dragging or dropping.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-DEPNyTd2-1596171612051)(static/documentation/images/image154.jpg)]
Labels
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.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-49LY3VIq-1596171612051)(static/documentation/images/image062.jpg)]
Appearance
Color By options
Change the color scheme of annotation:
-
Instance — every shape has random color
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-mHqmzAQt-1596171612052)(static/documentation/images/image095_detrac.jpg)]
-
Group — every group of shape has its own random color, ungrouped shapes are white
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-6SvfwThS-1596171612053)(static/documentation/images/image094_detrac.jpg)]
-
Label — every label (e.g. car, person) has its own random color
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-UeteOcRo-1596171612055)(static/documentation/images/image086_detrac.jpg)]
Selected Fill Opacity slider
Change the opacity of the selected object’s fill.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-zghcnStt-1596171612055)(static/documentation/images/image089_detrac.jpg)]
Black Stroke checkbox
Changes the shape border from colored to black.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-WntHqkZe-1596171612057)(static/documentation/images/image087_detrac.jpg)]
Show projections checkbox
Enables / disables the display of auxiliary perspective lines. Only relevant for cuboids
Shape mode (advanced)
Basic operations in the mode were described in section shape mode (basics).
Occluded
Occluded是當(dāng)一個對象被另一個對象遮擋或在幀上不完全可見時使用的屬性。使用Q快捷方式可以快速設(shè)置該屬性。
例子: 下圖中的三輛車應(yīng)標(biāo)記為occluded。
如果一個框架包含太多的對象,并且由于許多形狀大多放置在同一個位置而很難對它們進(jìn)行標(biāo)注,那么可以鎖定它們。鎖定對象的形狀是透明的,很容易為新對象添加標(biāo)注,并且可以避免意外修改以前標(biāo)注的對象,快捷鍵:L。
Track mode (advanced)
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:
Attribute annotation mode (advanced)
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 object
- Shift+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.
Annotation with rectangle by 4 points
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.
帶多邊形的標(biāo)注
手工繪圖
一般被被用于語義分割。
如果要標(biāo)注多邊形,請確保啟用了“創(chuàng)建新任務(wù)”對話框中的“Z-Order”標(biāo)志。
Z-Order標(biāo)志定義繪圖順序。有必要獲得正確的注釋蒙版而不需要額外的工作(額外的邊界繪制)。
按+/-可改變Z-Order,相應(yīng)地設(shè)置最大/最小Z-Order。
開始之前,您需要選擇控件側(cè)欄上的Polygon并選擇正確的標(biāo)簽。
- 單擊Shape進(jìn)入繪圖模式。
有兩種繪制多邊形的方法:通過單擊創(chuàng)建點(diǎn),或者在按住“Shift”的同時在屏幕上拖動鼠標(biāo)。
- 未按“Shift”時,您可以放大/縮小(滾動鼠標(biāo)滾輪時)和移動(單擊鼠標(biāo)滾輪并移動鼠標(biāo)時),也可以通過右鍵單擊刪除上一個點(diǎn)。
- 按“N”完成形狀。
- 創(chuàng)建多邊形后,可以通過右鍵單擊并選擇“刪除點(diǎn)”來移動或刪除這些點(diǎn)或者在上下文菜單中按“Ctrl”鍵雙擊。
Drawing using automatic borders
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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.[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-7qbhZXyO-1596171612079)(static/documentation/images/image157_mapillary_vistas.jpg)]
-
Click on the first point of the contour part.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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:
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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.
Make AI polygon
Used to create a polygon semi-automatically.
-
Before starting, you have to make sure that the Make AI polygon is selected.
[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(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.[外鏈圖片轉(zhuǎn)存失敗,源站可能有防盜鏈機(jī)制,建議將圖片保存下來直接上傳(img-71Ym3qTH-1596171612085)(static/documentation/images/gif009_detrac.gif)]
編輯多邊形
要編輯多邊形,您必須雙擊按“Shift”鍵,它將打開多邊形編輯器。
- 在那里,您可以創(chuàng)建新的點(diǎn)或刪除多邊形的一部分,使其與另一點(diǎn)上的直線閉合。
- 關(guān)閉多邊形后,可以選擇要離開的多邊形部分。
- 您可以按“Esc”取消編輯。
帶多段線的標(biāo)注
用于道路標(biāo)記標(biāo)注等。
在開始之前,您需要選擇“折線”。您可以在“點(diǎn)數(shù)”字段中設(shè)置固定點(diǎn)數(shù),繪圖將自動停止。
單擊“形狀”進(jìn)入繪圖模式。繪制折線有兩種方法-您可以通過單擊創(chuàng)建點(diǎn),也可以在按住“Shift”的同時在屏幕上拖動鼠標(biāo)來創(chuàng)建點(diǎn)。
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.
點(diǎn)標(biāo)注
形狀模式中的點(diǎn)
用于人臉、地標(biāo)標(biāo)注等。
開始之前,您需要選擇 Points. 如果需要,可以在 Number of points 字段, 然后繪圖將自動停止。
點(diǎn)擊Shape 進(jìn)入繪圖模式。現(xiàn)在您可以開始標(biāo)注所需的區(qū)域。點(diǎn)自動分組-所有點(diǎn)將被視為在每個起點(diǎn)和終點(diǎn)之間鏈接。
按N 再次完成標(biāo)記區(qū)域。可以通過雙擊并按下來Ctrl刪除點(diǎn)或者右鍵單擊一個點(diǎn)并選擇 Delete point. 按Shift鍵雙擊將打開點(diǎn)形狀編輯器。在那里,可以將新點(diǎn)添加到現(xiàn)有形狀中。可以在繪圖時放大/縮小(滾動鼠標(biāo)滾輪時)和移動(單擊鼠標(biāo)滾輪并移動鼠標(biāo)時)。可以在繪制對象后拖動該對象,并在完成對象后更改各個點(diǎn)的位置。
單點(diǎn)線性插值
可以對點(diǎn)使用線性插值來標(biāo)注移動對象:
開始之前,請選擇 Points.
線性插值僅適用于一個點(diǎn),因此需要設(shè)置Number of points 為1.
之后,選擇 Track.
點(diǎn)擊Track 完成圖形后,單擊該模式將自動創(chuàng)建一個點(diǎn)。
向前移動幾幀并將點(diǎn)移動到所需位置,這樣您將創(chuàng)建一個關(guān)鍵幀,中間幀將自動繪制。可以像處理插值軌跡一樣處理該對象:可以使用“Outside”隱藏它,在關(guān)鍵幀周圍移動等。
這樣你就可以用“點(diǎn)”得到線性插值。
長方體標(biāo)注
它被用來標(biāo)注三維物體,如汽車、盒子等……
目前,該特征支持單點(diǎn)透視,并具有垂直邊與邊完全平行的約束。
創(chuàng)建長方體
在開始之前,你必須確保長方體被選中,并選擇一種繪圖方法 ”from rectangle” 或者 “by 4 points”.
四點(diǎn)畫法
選擇“按4點(diǎn)”繪制方法,然后單擊“形狀”進(jìn)入繪圖模式。畫長方體的方法有很多種。
您可以通過放置4個點(diǎn)來繪制長方體,然后繪圖將自動完成。前3個點(diǎn)確定長方體的平面,而最后一個點(diǎn)確定該平面的深度。對于前3個點(diǎn),建議只繪制兩個最近的側(cè)面以及頂面和底面。
幾個例子:
從矩形畫長方體
選擇繪圖方法“from rectangle” 然后單擊“形狀”進(jìn)入繪圖模式。使用矩形方法繪制時,必須使用邊界選擇對象的前平面盒子。那個生成的長方體的深度和透視圖可以編輯。
例子:
編輯長方體
可以通過多種方式編輯長方體:拖動點(diǎn)、拖動某些面或拖動平面。首先請注意,有一張臉只畫了灰色的線條,讓我們稱之為前臉。
只需在前臉后面拖動形狀,就可以移動長方體。
長方體可以通過拖動邊中間的點(diǎn)來擴(kuò)展。
也可以通過拖動頂點(diǎn)處的點(diǎn)來上下擴(kuò)展長方體。
要使用透視效果進(jìn)行繪制,應(yīng)假定正面離攝影機(jī)最近。若要開始,只需在按住Shift時拖動不在灰色/正面上的頂點(diǎn)上的點(diǎn)。然后可以像往常一樣編輯長方體。
如果要重置透視效果,可以右鍵單擊長方體,然后選擇 Reset perspective 回到正長方體。
灰色面的位置可以與相鄰的可見側(cè)面交換。你可以通過右擊長方體并選擇 Switch perspective orientation。請注意,這也將重置透視效果。
長方體的某些面也可以編輯,這些面是:左、右、背面,相對于灰色面。只需拖動面,就可以獨(dú)立于長方體的其他部分移動面。
也可以在“軌跡”模式下使用長方體,類似于“軌跡模式”中的矩形 (basics and advanced)
帶標(biāo)記的標(biāo)注
用于標(biāo)注框架,工作區(qū)中沒有形狀。在開始標(biāo)記之前,請確保已選擇。
單擊標(biāo)記以創(chuàng)建。您只能在側(cè)欄上使用Tag。可以使用lock函數(shù)更改標(biāo)簽和屬性。“操作”菜單中提供了其他功能,如傳播、復(fù)制和刪除。
自動標(biāo)注
自動標(biāo)注用于創(chuàng)建初步標(biāo)注。要使用自動標(biāo)注,您需要一個DL模型。您可以使用主模型或用戶上載的模型。
您可以在“models”部分找到可用模型的列表。
要啟動自動標(biāo)注,應(yīng)打開儀表板并查找要標(biāo)注的任務(wù)。
然后單擊“操作”按鈕,從下拉菜單中選擇“自動批注”選項(xiàng)。
在對話框窗口中,選擇所需的模型。DL模型是為特定的標(biāo)簽創(chuàng)建的,例如,十字路口模型是使用位于高速公路上方的攝像機(jī)的鏡頭進(jìn)行教學(xué)的,對于具有類似攝像機(jī)角度的任務(wù),最好使用此模型。
如果需要,請選中“清除舊注釋”復(fù)選框。
調(diào)整標(biāo)簽,使任務(wù)標(biāo)簽與DL模型的標(biāo)簽相對應(yīng)。
例如,讓我們考慮一個任務(wù),其中您必須標(biāo)注標(biāo)簽“car”和“person”。
您應(yīng)該將模型中的“person”標(biāo)簽連接到任務(wù)中的“person”標(biāo)簽。
至于“汽車”標(biāo)簽,你應(yīng)該選擇模型中最合適的標(biāo)簽——“車輛”標(biāo)簽。
此任務(wù)只需要對汽車進(jìn)行注釋,選擇“車輛”標(biāo)簽意味著對所有車輛進(jìn)行注釋,在這種情況下,使用自動注釋將幫助您更快地完成任務(wù)。
單擊“提交”開始自動標(biāo)注過程。
在運(yùn)行時-您可以看到完成的百分比,您可以單擊“取消”按鈕取消自動批注。
自動批注的最終結(jié)果是帶有單獨(dú)矩形(或其他形狀)的批注
可以通過刪除誤報、添加未標(biāo)記的對象以及使用“ReID merge”函數(shù)合并到軌跡來編輯分離的邊界框。單擊菜單中的“ReID merge”按鈕。
您可以使用默認(rèn)設(shè)置 (有關(guān)詳細(xì)信息,請單擊 here).
要啟動合并過程,請單擊 Merge。軌道的每一幀都是一個關(guān)鍵幀。
您可以使用“Split”和“Merge”函數(shù)刪除誤報和編輯跟蹤。
形狀分組
此功能允許我們對多個形狀進(jìn)行分組。
您可以使用“分組形狀”按鈕或快捷方式:
- G — 在組模式下開始選擇/結(jié)束選擇
- Esc — 關(guān)閉組模式
- Shift+G — 重置選定形狀的組
您可以通過單擊形狀或選擇區(qū)域來選擇形狀。
分組形狀將在轉(zhuǎn)儲批注中包含“group”id“字段。
也可以將顏色分布從實(shí)例(默認(rèn))切換到組。
您必須切換“按組顏色”復(fù)選框。
Shapes that don’t have group_id, will be highlighted in white.
過濾器
使用此功能的原因如下:
the will go to arrows the previous/next frames which contains any objects.
要使用該函數(shù),只需在“Filter”文本中指定一個值就足夠了字段并按“回車”鍵。之后,將應(yīng)用過濾器。
Supported properties:
| width | number of px or height | 形狀寬度 |
| height | number of px or width | 形狀高度 |
| label | "text" or ["text"] | 標(biāo)簽名稱 |
| serverID | number | 服務(wù)器上對象的ID (你可以通過動作菜單建立一個指向?qū)ο蟮逆溄觼碚业酱鸢? |
| clientID | number | 客戶端中對象的ID(在對象側(cè)欄上顯示) |
| 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
or equal to the height. - 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
with the “car” label and the parking attribute enabled or objects with the “pedestrian” label with a height of more
than 150 pixels - (( label==["car \"mazda\""]) | (attr["parked"]==true & width > 150)) & (height > 150 & (clientID == serverID))) -
This filter will show objects with the label “car” mazda “” or objects that have the parked attribute turned on
and have a width of more than 150 pixels, and those listed should have a height of more than 150 pixels
and their clientID is equal to serverID.
篩選器歷史記錄
您可以添加以前輸入的過濾器并將它們組合起來。為此,單擊輸入字段,將打開以前輸入的過濾器列表。單擊過濾器以將其添加到輸入字段中。組合過濾器與“或”運(yùn)算符一起出現(xiàn)。
分析
如果您的CVAT實(shí)例是使用analytics支持創(chuàng)建的,則可以在儀表板中按“analytics”按鈕,分析和日志將在新選項(xiàng)卡中打開。
分析可以讓你看到每個用戶在每個任務(wù)上花費(fèi)了多少時間,以及他們在任何時間范圍內(nèi)做了多少工作。
它還有一個活動圖,可以根據(jù)顯示的用戶數(shù)和時間范圍進(jìn)行修改。
快捷鍵
許多UI元素都有快捷方式提示。將指針指向必需的元素以查看它。
| 主要功能 | |
| F2 | 打開/隱藏可用快捷鍵列表 |
| F3 | 轉(zhuǎn)到“設(shè)置”頁或返回 |
| Ctrl+S | 轉(zhuǎn)到“設(shè)置”頁或返回 |
| Ctrl+Z | 取消與對象相關(guān)的最新操作 |
| 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 |
總結(jié)
- 上一篇: 2013\Province_C_C++_
- 下一篇: Django中如何防范CSRF跨站点请求