forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Lai, Weijian <laiweijian4@huawei.com> Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
39 lines
12 KiB
HTML
39 lines
12 KiB
HTML
<a name="EN-US_TOPIC_0000001910027662"></a><a name="EN-US_TOPIC_0000001910027662"></a>
|
|
|
|
<h1 class="topictitle1">Video Labeling</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_p1955228172214">Model training requires a large amount of labeled video data. Therefore, before the model training, label the unlabeled video files. ModelArts enables you to label video files. In addition, you can modify the labels of video files, or remove their labels and label the video files again.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001910027662__note13613141512281"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001910027662__p461311518289">Video labeling applies only to video frames.</p>
|
|
</div></div>
|
|
<div class="section" id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_section139520290612"><h4 class="sectiontitle">Starting Labeling</h4><ol id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185384417_ol1332113431875"><li id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185384417_li173221243078">Log in to the ModelArts management console. In the navigation pane on the left, choose <strong id="EN-US_TOPIC_0000001910027662__b142837581842728">Data Management</strong> > <span class="parmname" id="EN-US_TOPIC_0000001910027662__parmname82371463442728"><b>Label Data</b></span>.</li><li id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185384417_li1241123818438">In the labeling job list, select a labeling type from the <strong id="EN-US_TOPIC_0000001910027662__b132041425323">All type</strong> drop-down list, click the job to be performed based on the labeling type. The details page of the job is displayed.</li><li id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185384417_li1766010993710">The job details page displays all data of the labeling job.</li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_section888013232618"><h4 class="sectiontitle">Synchronizing Data Sources</h4><p id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_p529632915615">ModelArts automatically synchronizes data and labeling information from <strong id="EN-US_TOPIC_0000001910027662__b123134016229">Input Dataset Path</strong> to the dataset details page.</p>
|
|
<p id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_p1029692918617">To quickly obtain the latest data in the OBS bucket, in the <span class="parmname" id="EN-US_TOPIC_0000001910027662__parmname1098412842610"><b>Labeled</b></span> or <span class="parmname" id="EN-US_TOPIC_0000001910027662__parmname13984228162618"><b>Unlabeled</b></span> tab of the labeling job details page, click <span class="parmname" id="EN-US_TOPIC_0000001910027662__parmname1298532811261"><b>Synchronize Data Source</b></span>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_section888019266174"><h4 class="sectiontitle">Video Labeling</h4><p id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_p193441038156">The labeling job details page displays the <strong id="EN-US_TOPIC_0000001910027662__b147581118431">Unlabeled</strong>, <strong id="EN-US_TOPIC_0000001910027662__b1156892219314">Labeled</strong>, and <strong id="EN-US_TOPIC_0000001910027662__b14408825638">All statuses</strong> tabs.</p>
|
|
<ol id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_ol2907135216244"><li id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_li13563183652610">In the <strong id="EN-US_TOPIC_0000001910027662__b1911832332518">Unlabeled</strong> tab, click the target video file in the video list on the left. The labeling page is displayed.</li><li id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_li169141938172610">Play the video. When the video is played to the time point to be labeled, click the pause button in the progress bar to pause the video to a specific image.</li><li id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_li993163014399"><a name="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_li993163014399"></a><a name="en-us_topic_0000001185265235_li993163014399"></a>In the upper pane, select a bounding box. By default, a rectangular box is selected. Drag the mouse to select an object in the video image, enter a new label name in the displayed <strong id="EN-US_TOPIC_0000001910027662__b125061730264">Add Label</strong> text box, select a label color, and click <strong id="EN-US_TOPIC_0000001910027662__b175071537268">Add</strong> to label the object. Alternatively, select an existing label from the drop-down list and click <strong id="EN-US_TOPIC_0000001910027662__b1120891614313">Add</strong> to label the object. Label all objects in the image. Multiple labels can be added to an image.<p id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_p13701412114511">The supported labeling boxes are the same as those for object detection. For details, see <a href="datalabel-modelarts_0007.html#EN-US_TOPIC_0000001943986893__en-us_topic_0000001185265231_table194471512463">Table 2</a>.</p>
|
|
</li><li id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_li696205911459">After the previous image is labeled, click the play button on the progress bar to resume the playback. Then, repeat <a href="#EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_li993163014399">3</a> to complete labeling on the entire video.<p id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_p2473174014916">Click <strong id="EN-US_TOPIC_0000001910027662__b537119568503">Label List</strong> in the upper right corner of the page. The time points when the video is labeled are displayed.</p>
|
|
<div class="fignone" id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_fig629913537509"><span class="figcap"><b>Figure 1 </b>File labels</span><br><span><img id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_image175021654124915" src="figure/en-us_image_0000001943986949.png" width="NaN" height="NaN"></span></div>
|
|
</li><li id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_li9408511155112">Click <strong id="EN-US_TOPIC_0000001910027662__b1420611104219">Back to Data Labeling Preview</strong> in the upper left corner of the page. The labeling job details page is displayed, and the labeled video file is displayed in the <strong id="EN-US_TOPIC_0000001910027662__b4426611154211">Labeled</strong> tab.</li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_section0534612151819"><h4 class="sectiontitle">Modifying Labeled Data</h4><p id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_p1981864110595">After labeling data, you can modify labeled data in the <strong id="EN-US_TOPIC_0000001910027662__b7388102694211">Labeled</strong> tab.</p>
|
|
<ul id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_ul1943393102017"><li id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_li1147062914207">In the <strong id="EN-US_TOPIC_0000001910027662__b83254397276">Labeled</strong> tab, click the target video file. In the upper right corner of the labeling page, click <strong id="EN-US_TOPIC_0000001910027662__b17326123910271">Label List</strong> to go to the <strong id="EN-US_TOPIC_0000001910027662__b11326103972717">File Labels</strong> page. You can click the triangle icon on the right of the time point to view details, modify labels, and delete labels.</li></ul>
|
|
<ul id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_ul880710141554"><li id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_li118077141558">Modifying a label: In the <strong id="EN-US_TOPIC_0000001910027662__b174183410265">File Labels</strong> area, click the edit button on the right of a label to modify it.</li><li id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_li1067644885514">Deleting a label: In the <strong id="EN-US_TOPIC_0000001910027662__b84121016182719">File Labels</strong> area, click the delete button on the right of a label to delete it. If you click the delete icon on the right of the image time, all labels on the image are deleted.</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_section15984542128"><h4 class="sectiontitle">Adding Video Files</h4><p id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_en-us_topic_0170889731_p266117351147">In addition to the data synchronized, you can directly add data on labeling job details page for labeling.</p>
|
|
<ol id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_en-us_topic_0170889731_ol429210266513"><li id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_en-us_topic_0170889731_li1924993814520">On the labeling job details page, click the <strong id="EN-US_TOPIC_0000001910027662__b516913408296">Unlabeled</strong> or <strong id="EN-US_TOPIC_0000001910027662__b18169540192912">Labeled</strong> tab, click <strong id="EN-US_TOPIC_0000001910027662__b2016974012293">Add data</strong> in the upper left corner.</li><li id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_li01454543219">Configure the data source, import mode, and other parameters, and click <span class="uicontrol" id="EN-US_TOPIC_0000001910027662__uicontrol49532210484"><b>OK</b></span>.<p id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_p2070881211273"></p>
|
|
</li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_section1014819017557"><h4 class="sectiontitle">Deleting a Video File</h4><p id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_p3752212171611">You can quickly delete the video files you want to discard.</p>
|
|
<p id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_p1614812015518">In the <span class="wintitle" id="EN-US_TOPIC_0000001910027662__wintitle13171457298"><b>All statuses</b></span>, <strong id="EN-US_TOPIC_0000001910027662__b11317154520292">Unlabeled</strong>, or <strong id="EN-US_TOPIC_0000001910027662__b123171445182918">Labeled</strong> tab, select the video files to be deleted or click <strong id="EN-US_TOPIC_0000001910027662__b14317164562916">Select Images on Current Page</strong> to select all video files on the page, and click <strong id="EN-US_TOPIC_0000001910027662__b0317124518292">Delete</strong> in the upper part to delete the video files. In the displayed dialog box, select or deselect <span class="parmname" id="EN-US_TOPIC_0000001910027662__parmname19277967309"><b>Delete the source files from OBS</b></span> as required. After confirmation, click <span class="uicontrol" id="EN-US_TOPIC_0000001910027662__uicontrol19277126113013"><b>OK</b></span> to delete the videos.</p>
|
|
<p id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_p39822052151712">If a tick is displayed in the upper left corner of a video file, the video file is selected. If no video file is selected on the page, the <strong id="EN-US_TOPIC_0000001910027662__b1134131134">Delete</strong> button is unavailable.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_note201926262210"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001910027662__en-us_topic_0000001185265235_p171928261226">If you select <span class="parmname" id="EN-US_TOPIC_0000001910027662__parmname166024153016"><b>Delete the source files from OBS</b></span>, video files stored in the corresponding OBS directory will be deleted when you delete the selected video files. Deleting source files may affect other dataset versions or datasets using those files. As a result, the page display, training, or inference is abnormal. Deleted data cannot be recovered. Exercise caution when performing this operation.</p>
|
|
</div></div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="datalabel-modelarts_0003.html">Manual Labeling</a></div>
|
|
</div>
|
|
</div>
|
|
|