05

Labeling Screen

This section explains the layout and basic operations of the labeling screen: playing the video, drawing boxes to create labels, and pre-filling labels with the AI's Object Suggest. Track connecting, search, excluded ranges, saving and starting training are covered in "Advanced Labeling".

Opening the Labeling Screen

The labeling screen opens when you start from [AI Update] with a video, or when you open a saved work from the [Datasets] list. Clicking [Labeling] in the left menu directly opens an empty screen with no video.

Entry pathWhat opensNotes
[AI Update] โ†’ [Draw Boxes] (upload videos)Each uploaded video opens as a session. Several videos create several sessions, and long videos are split into sessions automatically by the server.Videos over 90MB or 60 seconds are split automatically (per the upload hint).
Selecting a past dataset in [AI Update]A copy of the selected dataset opens as sessions, prefixed with [past]. The original dataset is not changed.All sessions of the dataset are copied together.
[Datasets] โ†’ the [Open in labeling] icon on a rowThe saved dataset opens as is, without copying, and every session of the same group is restored.The address has the form the labeling screen.
Left menu [Labeling]An editor with no video opens, showing "No video available" and a [Go to AI update page โ†’] button.There is no project list screen. Open saved work from [Datasets].
Figure 4-1. Labeling screen opened directly from the menu (no video)
Figure 4-1. Labeling screen opened directly from the menu (no video)
Refreshing and going back
Labeling work lives only in this screen's memory until you save it. Refreshing, closing the window or going back discards unsaved boxes. See "Warning When Leaving Without Saving" in "Advanced Labeling" for details.

Loading the Video and Loading Indicators

After you upload a video, the editor opens first while the server analyzes it, and boxes and classes are filled in as soon as the analysis finishes.

IndicatorMeaning
Bottom-right overlay Analyzing video file.. with a progress bar and elapsed s / ~estimated sThe server is analyzing the video. The estimate is about 2 seconds per MB of file size (minimum 10 seconds), and the bar stops at 95% until the analysis finishes.
The data is being loaded. / Please wait a momentA full-screen loading window shown while no video file is available yet. It closes when the first session opens.
Preparing remaining sessionsโ€ฆ in the session menuA long video is still being split into sessions. You can edit the first one right away; the others are added to the list as they become ready.
MessageWhen it appears
Failed to initialize labeling sessionThe first session could not be created from the uploaded video (toast + error screen).
Some sessions failed to loadOnly some sessions failed. You can keep working with the others.
Failed to load project videoThe session video file could not be downloaded.
Failed to open the dataset.None of the sessions of a dataset opened with [Open in labeling] could be opened.
Failed to load data + [Retry] buttonThe whole screen turns into an error screen. [Retry] reloads the page.
N duplicate video(s) were merged into an existing sessionThe same video (same name and content) was uploaded again, so no new session was created (notice).
N session(s) were not created because some video segments failed to processSome segments failed during automatic splitting (warning).

Screen Layout (Area Names)

The labeling screen consists of the left panel, the top toolbar, the video area in the middle and the playback controls at the bottom. This manual refers to each area by the names below.

Figure 4-2. Areas of the labeling screen (numbers match the table below)
Figure 4-2. Areas of the labeling screen (numbers match the table below)
No.AreaWhat it contains
1Session barPrevious/next session buttons, session selector, exclude-session button and public dataset badge. Shown only after a session is open.
2Model nameThe name of the model to be trained and its edit button (pencil icon).
3Class panelThe [Classes] select-all checkbox and the list of classes and tracks found in the video.
4Selected for trainingChips of the classes that will be trained. The x on a chip removes the class from training.
5Toolbar[Object Suggest], [Search], [Draw], [Apply to entire video], undo/redo/initialize icons and track-connect buttons that appear on conditions.
6Video areaShows the video and boxes; this is where you draw and edit boxes.
7Zoom controlsZoom in/out buttons and the zoom ratio floating at the bottom center of the video area.
8Playback controlsPlay/pause, repeat, playback speed, frame/time counter and timeline.
9Save and train buttons[Save data] and [Training] at the top right.
10Exclusion hintThe hint under the timeline and the "N excluded range(s)" badge.
If the screen is narrow
In a narrow window the [Save data] and [Training] buttons at the right end of the toolbar can be pushed off screen. Use a wide window (aspect ratio 15.5:9 or wider). See "Screen Requirements" in "Advanced Labeling".

Switching Sessions (Previous/Next)

Several videos, or a long video that was split, produce several sessions. Each session keeps its own boxes, classes and excluded ranges, and they are combined at training time.

Figure 4-3. Session list
Figure 4-3. Session list
ControlActionDisabled / limits
< (Previous session)Moves to the previous session. On the first session it wraps around to the last one.Disabled when there is only one session.
> (Next session)Moves to the next session. On the last session it wraps around to the first one.Disabled when there is only one session.
Session selector (Sessions 1/2 file name)Opens the list so you can pick a session. The current session is shown in blue.Before a session is open it reads Sessions -/N.
Trash icon (Exclude session from training) / restore icon (Restore session)Excludes the current session (or the one on that list row) from training, or restores it. It is saved to the server immediately.See "Excluding and Restoring Sessions" in "Advanced Labeling".
N public dataset(s) included badgeAppears only when public datasets were chosen for the training request. Click it to see their names.Display only.
Session labelMeaning
file name (2/5)Position among all sessions when one file was split into several.
[past] file nameA session copied from a past dataset.
file name (excluded) + strikethroughA session excluded from training.
Lock icon in the selectorSessions cannot be switched right now (Object Suggest is running or a video is loading).
When you switch sessions
Playback returns to the first frame and pauses, the selected box and zoom are reset, and the undo history is cleared. Box edits of each session are kept on this screen, so they are still there when you come back (only inside this screen until saved).
MessageWhen it appears
Object Suggest is running. You can change sessions once it finishes or is stoppedYou tried to switch sessions while Object Suggest was running (notice).
The video is still loading. Please try again in a momentYou tried to switch sessions while a session video was loading (notice).
Figure 4-4. Notice when switching sessions during Object Suggest
Figure 4-4. Notice when switching sessions during Object Suggest

Playback, Timeline, Speed and Frame Stepping

Use the playback controls at the bottom to play the video and jump to a frame. Edit boxes while the video is paused.

Figure 4-5. Playback controls (hovering the speed button)
Figure 4-5. Playback controls (hovering the speed button)
ElementActionShortcut / notes
Play/pause button (round)Plays or pauses. At the end of the video it turns into a replay icon (โ†บ).Space
Repeat icon (Repeat play / Turn off repeat)When on, the video restarts from the beginning at the end. Shown in blue while on.โ€”
Playback speed button (1x)Each click cycles to the next speed: 0.25x โ†’ 0.5x โ†’ 0.75x โ†’ 1x โ†’ 1.25x โ†’ 1.5x โ†’ 2x โ†’ back to 0.25x. Shown in blue when not 1x.Tooltip: "Cycle playback speed (click to cycle)"
Frame/time counter (604/1003 ยท 20.12s/33.46s)Left: current frame / total frames (numbering starts at 1). Right: current time / total time.โ€”
Timeline (horizontal bar)Click to jump to the frame nearest to the click. Hovering shows the time at that position.Dragging more than 4px sets an excluded range instead of seeking.
Next/previous frameMoves one frame at a time.
  • / โ†
Click on the videoPauses if playing.โ€”
You cannot edit while playing
While playing, boxes are only drawn over the video and cannot be selected, moved or resized. Click the video area or press Space to pause before editing.
Jumping to where a class first appears
The eye icon of a class, the eye icon of a track row and selecting a search result jump straight to the frame where that class or track first appears. The video is paused after the jump.

Zooming and Panning

Zoom in to draw small objects precisely. Box lines and label text keep their size when you zoom.

Figure 4-6. Zoomed in to 140%
Figure 4-6. Zoomed in to 140%
MethodAction
Magnifier + (Zoom In) / โˆ’ (Zoom Out) in the zoom controlsZooms in/out 10% per click.
Mouse wheelWheel up zooms in, wheel down zooms out, centered on the point under the mouse.
Click the zoom ratio (Reset Zoom)Returns to 100% and to the original position.
Reset icon (โ†บ)Shown only when the zoom is not 100%; same as Reset Zoom.
Middle mouse button dragDrags the zoomed video around.
Left button dragWith draw mode off and the video zoomed in, dragging an empty area moves the video (hand cursor).
Zoom range
The zoom ranges from 100% to a maximum of 500%. It does not shrink below 100%.

Class Panel

The class panel on the left lists only the classes that actually have boxes in this session's video. Use it to decide per class or track whether it is trained, and to jump to it.

Figure 4-7. Class panel (with the car class expanded)
Figure 4-7. Class panel (with the car class expanded)
ElementDescription
[Classes] checkboxSelects or clears all classes at once. Clearing also excludes all tracks from training. When only some are selected it shows the indeterminate state.
โ“˜ iconHover to read "Shows the total count of classes in the video. Click to go to the first frame featuring the class."
Chevron โ–ธ on a class rowExpands or collapses the class to show its tracks.
Checkbox on a class rowClearing it excludes the class from training and hides it in the video area ("Unselected classes are hidden in the edit area"). Checking it again also clears all track exclusions.
Blue N objectsNumber of normal tracks that are not excluded.
Red +โš NNumber of tracking-failed boxes (track -1). Shown only when they are not excluded.
Gray N boxesTotal number of boxes of the class.
Eye icon on a class rowJumps to the first frame of that class and shows "Moved to the first frame where selected class first appears [class]".
Track row (Track #2356)The checkbox excludes a single track from training. The eye icon jumps to the first frame of the track and shows "Moved to first frame of track [class #number]".
โš  Tracking Failed rowCollects boxes without a track number (track -1). The Track merge icon on the right opens the connect panel (see "Advanced Labeling").
Figure 4-8. Clicking the eye icon jumps to the first frame and shows a notice
Figure 4-8. Clicking the eye icon jumps to the first frame and shows a notice
List behavior
Classes are sorted by box count, and the list is about 30% of the screen height (it scrolls when longer). Hovering a class or track row brightens only its boxes in the video and darkens the rest. Clicking a box in the video expands its class automatically and highlights its track row for 3 seconds.
How the checkboxes follow each other
Clearing every track also clears its class, and checking one track of a cleared class checks the class again. Clearing a class marks all its tracks as excluded.
Figure 4-9. Tooltip of the โ“˜ icon
Figure 4-9. Tooltip of the โ“˜ icon
Selected-for-training chipsDescription
Selected for training (N)Checked classes are listed as chips ("Only selected classes are trained."). The x on a chip clears the class and excludes its tracks. When you clear every class with the top [Classes] checkbox the [Training] button is disabled.

Editing the Model Name

The [Model name] at the top left is the name of the model that training will create. The name you entered in the training request is the default.

  1. Click the pencil icon next to the name.
  2. Type the name.
    Only English letters, digits, hyphen (-) and underscore (_) are accepted. Anything else is ignored and an Error box appears.
    Figure 4-10. Typing a character that is not allowed
    Figure 4-10. Typing a character that is not allowed
  3. Click the save icon or press Enter.
    The server checks whether the name is already used. If it is free, the input closes. Otherwise "This model name is already in use. Please enter different one." appears.
MessageCondition
Only English and numbers are allowed. / Spaces and special characters are not allowed.A disallowed character was typed (hyphen and underscore are allowed).
This model name is already in use. / Please enter different one.A model with the same name already exists when you confirm with the save icon or Enter.
Error box
The error box disappears after 5 seconds and can be closed with the x at its top right. The typed name is used for the training request even if you did not confirm it with the save icon, so confirm it before starting training.

Drawing Boxes

You draw boxes by hand to create labels. Draw mode is on by default when the screen opens.

  1. Check draw mode.
    When the [Draw] button in the toolbar is highlighted, draw mode is on. Click the button or press D to toggle it, and Esc turns it off. The tooltip reads "Active: continuous draw / ESC: exit (D)".
  2. Pause the video and drag over the object.
    The box is created after dragging at least 5 pixels horizontally or vertically, and its size is fixed when you release the mouse. A box cannot leave the video. The new box is selected in orange with eight resize handles, and its label shows only #number.
    Figure 4-11. A newly drawn box (selected)
    Figure 4-11. A newly drawn box (selected)
  3. Right-click the box to set its class.
    Choose a class in [Change class]. If you used a class just before, it is applied automatically to boxes you draw afterwards and it is checked for training automatically. See "Box Right-click Menu" for details.
If you do not set a class
A box without a class does not appear in the class panel and is not included in training. If you open the right-click menu and close it without choosing a class, that box is deleted.
A new box exists in one frame only
A hand-drawn box exists only in the frame where it was drawn. To follow the same object through the whole video, select the box and use [Apply to entire video] (see "Apply to Entire Video"). Hand-drawn boxes get track numbers counting down one by one from #4196.

Selecting, Moving, Resizing and Deleting Boxes

Edit boxes directly while the video is paused. Every edit can be undone with Ctrl+Z.

ActionHowDetails
SelectClick the boxThe selected box is highlighted in orange and handles appear at its four corners and four edges. The class panel expands the class and highlights the track row. [Apply to entire video] is enabled only while a box is selected.
DeselectClick an empty area (draw mode off) or press EscEsc ends draw mode, clears the box selection and the class-panel highlight at once (if auto-labeling is running, the stop confirmation appears first).
MoveDrag inside the boxThe box moves only inside the video bounds.
ResizeDrag one of the eight handlesCorner handles change width and height together, edge handles change one direction. Dragging past the opposite edge flips the box and continues normally. It cannot leave the video.
Delete from frameSelect the box and press Delete, or right-click โ†’ [Delete from frame]Removes only that box in the current frame.
Delete from videoSelect the box and press Shift+V, or right-click โ†’ [Delete from video]Removes every box with the same track number in all frames. Tracking-failed (-1) boxes cannot be deleted this way.
Remove from here / until hereRight-click โ†’ [Remove from here], [Remove until here]Removes the boxes of the same track from the current frame onward (or backward). Not available for tracking-failed (-1) boxes.
CopyNot providedThere is no copy/paste for boxes. To create the same object in many frames, use [Apply to entire video].
Figure 4-12. Box right-click menu
Figure 4-12. Box right-click menu

Box Right-click Menu (Change Class, Delete, Order)

Right-clicking a box opens a menu. You can change its class, delete it, and change the front/back order of overlapping boxes.

Menu itemShortcutAction
Change class (shows current class)โ€”Opens the class search/select pane on the right. See the next table.
Delete from frameDelDeletes only this box in this frame
Delete from videoShift+VDeletes the track in all frames (disabled for tracking-failed boxes)
Remove from hereโ€”Deletes boxes of the same track from this frame onward (disabled for tracking-failed boxes)
Remove until hereโ€”Deletes boxes of the same track up to this frame (disabled for tracking-failed boxes)
Bring to frontFPuts this box on top of overlapping boxes
Send to backBPuts this box at the bottom
Figure 4-13. Searching `car` in the **[Change class]** pane
Figure 4-13. Searching car in the [Change class] pane
Class pane elementDescription
Search box (Search class... (e.g. car, person, red car))Only classes containing the typed text remain. Digits and special characters are removed automatically from what you type (spaces are allowed; trailing spaces are removed on Enter).
Similar classes chipsShows classes with similar spelling as chips. Clicking one switches to that class right away.
+ Add (typed name)Appears when the typed name is not in the list. Click it or press Enter to create a new class, apply it to the box and check it for training.
Recently usedUp to ten recently used classes are grouped at the top.
Class listAll remaining classes. The current class has a check mark. Choosing a class also checks it for training automatically.
EnterApplies the class with exactly the typed name if it exists, otherwise creates a new class (case-insensitive).
Changing the class changes the whole track
Boxes with the same track number change to the new class in all frames at once (for tracking-failed -1 boxes only that one box changes). A newly created class that no box uses any more disappears from the list automatically.
The class list is based on COCO 80
A session's class list contains the 80 COCO classes (person, bicycle, car, ... toothbrush) by default, so you can search by name. Add objects that are not in the list as new classes.

Undo, Redo and Initialize

Three icons in the toolbar let you step back edits.

IconNameShortcutAction and limits
โ†ถUndoCtrl+ZReverts the last edit. Disabled when there is nothing to undo. History keeps up to 20 steps.
โ†ทRedoCtrl+YRe-applies an undone edit. A new edit clears the redo history.
โŸฒInitializeโ€”Opens a "Reset" confirmation: "Are you sure you want to reset?". [Confirm] removes all boxes of the current session (recoverable with Undo).
Figure 4-14. Initialize confirmation
Figure 4-14. Initialize confirmation
Initialize is hard to recover from
[Initialize] removes every box of the current session. Switching sessions clears the undo history, so recover with Ctrl+Z right after initializing. The dialog title always reads "Reset" regardless of language.
Common dialog keys
In confirmation dialogs, Enter acts as [Confirm] and Esc as [Cancel].

Object Suggest (Auto-labeling)

[Object Suggest] lets the AI find objects of the COCO 80 classes in the video and create boxes for you, so you can correct the result instead of drawing everything by hand.

  1. Click [Object Suggest] or press A.
    The tooltip reads "AI-based object label auto-suggestion (COCO 80) (A)". It is disabled while the video is loading.
    Figure 4-15. Tooltip of the **[Object Suggest]** button
    Figure 4-15. Tooltip of the [Object Suggest] button
  2. In the Object Suggest notice window, choose the scope and click [Confirm].
    The window shows "Click the button to start Object Suggest", "Estimated processing time: approximately N seconds" and "Existing boxes are kept; duplicates are skipped and only new suggestions are added." With two or more sessions, choose the Scope: Current session only or All sessions (N).
    Figure 4-16. Object Suggest notice (two sessions)
    Figure 4-16. Object Suggest notice (two sessions)
  3. Watch the progress.
    The button becomes [Stop N%] and "AI model is analyzing (approximately N seconds)" appears. While it runs, [Save data] and [Training] are disabled and switching sessions is locked. With all sessions, they are processed one after another and "Object Suggest in progress (current/total)" appears.
    Figure 4-17. Object Suggest running (stop button and disabled buttons)
    Figure 4-17. Object Suggest running (stop button and disabled buttons)
  4. Check the completion notice and fix the result.
    "Object Suggest is complete. Select data for training from the left panel." appears. Keep only the classes and tracks you want in the class panel and correct wrong boxes by hand.
ItemRule
Estimated timeVideo length (seconds) ร— 2.5, minimum 5 seconds. For All sessions it is the sum of all sessions.
Merging resultsExisting boxes are kept; boxes with the same frame, class, track and position are skipped and only new ones are added. For a single session with skipped boxes: "Object Suggest complete (Added: N, Skipped duplicates: N)".
Already-run sessionRunning again shows "Object Suggest has already been completed. Running again will produce the same result. Do you want to run again?"
Tracking-failed boxesBoxes for which the server could not decide a track number come in as track -1 (โš  Tracking Failed). Clean them up with the connect features in "Advanced Labeling".
New classesClasses in the result that were not in the list are added to the class list automatically.
MessageTypeCondition
AI model is analyzing (approximately N seconds)NoticeOn start
Object Suggest in progress (current/total)NoticeEach time the session changes during an all-session run
Object Suggest is complete. Select data for training from the left panel.SuccessAll succeeded
Object Suggest finished (N succeeded, N failed)SuccessSome failed
Object Suggest failed for session N. Continuing with the next session.ErrorOne session failed during an all-session run
Failed to run Object SuggestErrorA single-session run failed, or all failed
  1. To stop, click [Stop N%], press A or Esc.
    The "Stop auto-labeling" confirmation opens. [Confirm] stops it and shows "Auto-labeling stopped. Results already applied are kept." Stop works the same for AI Search and Apply to entire video.
    Figure 4-18. Stop auto-labeling confirmation
    Figure 4-18. Stop auto-labeling confirmation

Apply to Entire Video (Box Tracking)

Select a box drawn in one frame and click [Apply to entire video]; the AI follows that object through the whole video and creates boxes.

  1. Select a box that has a class.
    Until a box is selected, the button is disabled and its tooltip reads "Select a bbox first".
    Figure 4-19. A box with a class assigned
    Figure 4-19. A box with a class assigned
  2. Click [Apply to entire video].
    If the current frame has two or more boxes of the same class, a window asks you to choose [Cancel], [Selected object only] or [All N objects]. With only one, tracking starts right away.
    Figure 4-20. Target selection window
    Figure 4-20. Target selection window
  3. Check the result.
    The source box is replaced by the tracking result, which appears on screen as each 30-frame batch arrives. When done, "Object labeling complete." appears. Use [Stop]/A/Esc to stop midway.
MessageCondition
Apply to entire video + "Current frame has N "class" objects. Which objects should be tracked?"Title and text of the selection window shown with two or more boxes of the same class
Object labeling complete.Tracking finished normally
Failed to run object trackingThe tracking request ended with an error
Project not initializedRequested before the session was ready

What a Label (Box) Holds

Each box on the screen holds the information below. You can read its state from the label text, color and line style.

PropertyHow it showsDescription
ClassFirst part of the label above the box (car)The kind of object. Change it with [Change class] in the right-click menu.
Track numberSecond part of the label (#2356)A number that links the same object across frames. The same number means the same object. The box color is decided per track number and matches the track row in the class panel.
Tracking failed (-1)Orange dashed box with โš  at the end of the labelA box that did not receive a track number. Clean it up by connecting or deleting.
FrameThe frame you are viewingA box exists per frame. The current/total in the playback controls is the frame number.
Position and sizeBox shapeStored as left/top coordinates and width/height as 0โ€“1 ratios of the video size. It cannot go outside the video.
Front/back orderWhich overlapping box is on topChange with [Bring to front] (F) and [Send to back] (B).
Selected stateOrange highlight + eight handlesThe box selected for editing.
Included in trainingClass/track checkboxesDecided by the checkboxes in the class panel, not by the box. Boxes of cleared classes or tracks are hidden and left out of training.
Depending on how a box was made
Hand-drawn boxes exist in one frame only, while Object Suggest, AI Search and Apply to entire video results span many frames. When you save or request training, boxes are sent in the same form however they were made.