06

Advanced Labeling

This section covers track connecting and merging, class search and AI Search, excluded ranges and excluded sessions, background sessions, saving data, the training confirmation window, keyboard shortcuts, the leave warning, screen requirements and all messages.

Bulk Connect or Delete Tracking-failed Boxes

Some boxes made by the AI, such as the result of Object Suggest, do not get a track number that links the same object across frames (track -1, Tracking Failed). They are collected as ⚠ Tracking Failed in the class panel and drawn as orange dashed boxes. Use [Connect] and [Delete] in the toolbar to clean them up in bulk.

Figure 5-1. **[Connect]** and **[Delete]** buttons shown when tracking-failed boxes exist
Figure 5-1. [Connect] and [Delete] buttons shown when tracking-failed boxes exist
ButtonWhen it appearsTooltipDisabled when
[Connect (N)] (link icon)The current session has at least one tracking-failed box. Hand-drawn boxes are not counted."Batch track merge: N mergeable"There are no mergeable boxes
[Delete (N)] (red trash icon)Same as above"Delete unmergeable objects: N"There are no unmergeable boxes
  1. Click [Connect (N)].
    N is the number of mergeable boxes under the default criteria (minimum IOU 30%, frame gap ±10).
  2. Adjust the Merge criteria if needed.
    Moving a slider recalculates the result below immediately. Lowering the criteria connects more boxes but raises the risk of linking them to the wrong object.
    Figure 5-2. Connect window
    Figure 5-2. Connect window
  3. Click [Merge N objects].
    "N objects connected" appears. Press Ctrl+Z if it was wrong.
Window elementDescription
Min IOUSlider 10%–80% in 5% steps, default 30%. "Only connect if IOU >= N%". The overlap (IOU) between the box and a nearby track box must be at least this value.
Frame gapSlider 5–30 in steps of 5, default 10. "Search within ±N frames". Only tracks of the same class within this many frames before or after the box are candidates.
Analysis result"B mergeable objects found out of A" and the Mergeable/Unmergeable counts. It is the total of repeated passes, because a connection can create candidates for others; with two or more passes "(N iterations)" is added.
[Cancel] / [Merge N objects]When there is nothing to merge, [Merge N objects] is disabled.
How boxes get connected
Each box is attached to the nearby track of the same class that has IOU above the threshold and the best score (closer frames score higher). If that track already has a box in the same frame, the two boxes are merged into one covering both; otherwise only the track number of the box changes.
  1. To remove boxes that cannot be connected, click [Delete (N)].
    The same criteria sliders appear with "Delete N unmergeable objects. This action can be undone with Ctrl+Z." After deleting, "N objects deleted" appears.
    Figure 5-3. Delete unmergeable objects window
    Figure 5-3. Delete unmergeable objects window

Per-class Track Connect Panel (Preview and Pick)

If bulk connecting feels risky, preview items class by class and pick the boxes to connect yourself.

  1. Expand the class in the class panel and click the link icon (Track merge) on the ⚠ Tracking Failed row.
    The row shows the number of tracking-failed boxes in red.
    Figure 5-4. Tracking-failed row with the link icon
    Figure 5-4. Tracking-failed row with the link icon
  2. Check the Merge tracking failed objects panel that slides in from the right.
    At the top are the Merge criteria sliders (Min IOU, Frame gap) and "B mergeable objects found out of A", followed by the Mergeable list. All mergeable items are checked at first.
    Figure 5-5. Merge tracking failed objects panel
    Figure 5-5. Merge tracking failed objects panel
  3. Check each result with the eye icon (Preview merge).
    The video jumps to that frame and dims everything else. The box to be connected is shown as a gold dashed box labeled class → #track, and the box of the target track is highlighted in cyan.
    Figure 5-6. Merge preview
    Figure 5-6. Merge preview
  4. Clear the checkbox of items you do not want and click [Merge N objects].
    Only the checked items are connected and the panel closes. Changing a slider recalculates the list and re-checks everything.
Panel elementDescription
Mergeable list item⚠ F frame → #track IOU% with Track #number below. The IOU value is color-coded. The header checkbox selects or clears all.
Unmergeable (N) listBoxes for which no target track was found. Clicking only jumps to that frame; they cannot be connected here.
Empty state"No tracking failed objects to merge"
[Merge N objects]Disabled when nothing is checked. The connection can be undone with Ctrl+Z.
› button at the top rightCloses the panel and removes the preview highlight.

Merging Broken and Duplicate Tracks, and Other Track Cleanup

Even with no tracking-failed boxes, the same object can be split into different track numbers. In that case [Broken track] and [Duplicate track] buttons appear in the toolbar.

ButtonWhen it appearsWhat it mergesCriteria (fixed)
[Broken track (N)] (green, branch icon)No tracking-failed boxes and at least one candidate pair. N is the number of mergeable track pairs.Joins a same-class track that starts right after another one ends into a single track. Tooltip: "Merge disconnected tracks with similar movement patterns".Same class, starts within 30 frames after the first track ends; total score 0.5 or higher (position prediction 50% + speed similarity 30% + size similarity 20%).
[Duplicate track (N)] (blue, link icon)No tracking-failed boxes and at least one candidate pair. N is the number of overlapping track pairs.Joins two tracks that follow the same object at the same time. Tooltip: "Merge tracks with high IOU overlap in the same time period".Same class, at least 5 overlapping frames, average IOU of 0.3 or higher over them, and total score (average IOU 60% + speed similarity 40%) of 0.5 or higher. The track with more boxes is kept.
  1. Click [Broken track (N)] or [Duplicate track (N)].
    A confirmation opens. Broken: "Do you want to merge N pairs of disconnected tracks? Tracks with similar movement patterns will be merged." Duplicate: "Do you want to merge N pairs of overlapping tracks? Tracks with high IOU overlap during the same time period will be merged. (The track with more bboxes will be kept in overlapping frames)"
    Figure 5-7. Merge disconnected tracks confirmation
    Figure 5-7. Merge disconnected tracks confirmation
  2. Click [Confirm].
    "N tracks merged" appears. Press Ctrl+Z to undo.
Figure 5-8. Merge overlapping tracks confirmation
Figure 5-8. Merge overlapping tracks confirmation
The two kinds of buttons never appear together
When tracking-failed boxes exist only [Connect]/[Delete] are shown; otherwise only [Broken track]/[Duplicate track] are shown. Clean up tracking-failed boxes first so that track-merge candidates are calculated. If there are no candidates no button appears.
There is no feature to split a track into two
No dedicated feature to cut one track into two was found. For a wrongly joined track, delete part of it with [Remove from here]/[Remove until here]/[Delete from video] in the right-click menu and then redraw it or create a new track with [Apply to entire video]. To leave one track out of training only, clear its track checkbox in the class panel.

Excluded Ranges (Drag on the Timeline)

For parts of the video you do not want to train on, such as when the camera was blocked or the scene changed, drag on the timeline to exclude them.

  1. Press at the start of the range on the timeline and drag to its end.
    A faint red area with a dashed outline is shown while dragging. Moving 4 pixels or less is treated as a seek, not an exclusion.
    Figure 5-13. Dragging a range
    Figure 5-13. Dragging a range
  2. Release the mouse.
    The range is shown as a red band and a N excluded range(s) badge appears under the timeline. It is saved to the server immediately; you do not need to press [Save data].
    Figure 5-14. Timeline with an excluded range
    Figure 5-14. Timeline with an excluded range
  3. Click the red band to cancel the exclusion.
    Hovering the band shows "Excluded frames start–end (click to restore)". Clicking it brings the whole band back into training.
RuleDetail
Overlapping rangesDragging over or next to an existing range merges them into one band. Re-dragging the same part does not make it darker.
RangeFrame-based and inclusive; you can drag in either direction. Endpoints are limited to the video.
Per sessionExcluded ranges are stored per session. Set them for each session as you switch.
On a training requestBoxes in frames within excluded ranges are left out of the training request.
On saving dataThe saved dataset keeps every box and the excluded-range information with it, so the same exclusion applies when you reopen it or use it for the next training.
On-screen hintThe hint "Drag the timeline to exclude that range from training. Click a red band to include it again" is always shown under the timeline.
Error messageCause
Failed to update excluded rangesA general error while saving
You do not have permission to change this sessionThe server answered 403 (no permission)
This session no longer exists. Please reload the pageThe server answered 404 (for example, a deleted session)
Cannot reach the server. Check your connection and try againNo response from the server

Excluding and Restoring Sessions

When a whole session is not needed for training, exclude it as a session. Nothing is deleted; it is only marked as "left out of training".

  1. Click the trash icon (Exclude session from training) in the session bar.
    The trash icon on each row of the session list excludes other sessions too. It applies immediately without a confirmation.
  2. Check the notice and the indicators.
    "Session excluded from training" appears, the session name gets (excluded) and a strikethrough, and the icon turns into a restore icon (Restore session). It is saved to the server immediately.
    Figure 5-15. An excluded session
    Figure 5-15. An excluded session
  3. To undo, click the Restore session icon.
    "Session restored to training" appears.
ItemRule
Training requestExcluded sessions are not trained. Their labels are still sent with the request and kept on the server.
Saving dataExcluded sessions are saved too, with the exclusion mark.
When all are excludedStarting training shows the error "All sessions are excluded from training".
Opening a restored datasetEven if the first session is excluded, the screen opens on the first non-excluded session.
Error messageCause
Failed to update sessionA general error while saving
You do not have permission to change this sessionNo permission (403)
This session no longer exists. Please reload the pageSession not found (404)
Cannot reach the server. Check your connection and try againNo server response

Unlabeled Sessions as Background

A session with no boxes at all is trained as the correct answer "there is nothing to find in this video". This is called background training and helps reduce false positives (detecting things that are not there).

  1. When you click [Training], the screen checks automatically for sessions without labels.
    If any non-excluded session has zero boxes, the dialog title becomes "Train N unlabeled session(s) as background?" with the text "N session(s) without labels will be included as background data to suppress false positives. Cancel if you meant to label them."
    Figure 5-16. Training confirmation when background sessions exist
    Figure 5-16. Training confirmation when background sessions exist
  2. If intended, click [Confirm]; if you forgot to label, click [Cancel] and label that session.
At least one session must have labels
If no session has any box left after applying checked classes, tracks and excluded ranges, training cannot be requested and the error "No session has labels. At least one session must be labeled" appears. Background sessions only make sense together with labeled sessions.
What counts as "unlabeled"
The background check is based on a session having no box in any frame (regardless of unchecked classes or excluded ranges). Excluded ((excluded)) sessions are not counted as background sessions. The error "No session has labels" instead appears when, after applying checked classes, tracks and excluded ranges, no session has any remaining box.

Saving Data (Keep Without Training)

[Save data] saves your labeling result as a dataset without starting training. The saved dataset appears on the [Datasets] screen and can be chosen as a "past dataset" in the next training request.

  1. Click [Save data] at the top right or press Ctrl+S.
    The tooltip reads "Keep the labeling results as a dataset without training (Ctrl + S)". It is disabled while the video is loading or while Object Suggest or Apply to entire video is running.
    Figure 5-17. Save data window
    Figure 5-17. Save data window
  2. Enter a Dataset name.
    The window reads "Saves N session(s) and N box(es) as a dataset. No training runs, and the saved dataset can be picked as a past dataset when you create the next training request." The name field is prefilled with the model name, accepts up to 100 characters and may be left empty (an unnamed dataset is distinguished by its project number or model name in the list).
    Figure 5-18. Name entered
    Figure 5-18. Name entered
  3. Click [Save] (or press Enter).
    A "Saving the labeling results." window shows briefly, then "Saved as a dataset (N session(s))" appears and you are taken to the [Datasets] screen. [Cancel] (or Esc) closes the window without saving.
What is savedDescription
Every sessionIncluding excluded sessions.
All boxes and classesClasses you unchecked, excluded tracks and boxes in excluded ranges are saved too. They only mean "left out of this run", not "discard this work".
Public dataset selectionThe public datasets chosen for the training request are recorded as well.
MessageTypeCondition
Saving the labeling results.Progress windowWhile saving
Saved as a dataset (N session(s))SuccessSaved
Failed to save the dataset. + server messageError (5 s)Saving failed
There is no labeling session to save yetErrorThere is no session to save

Starting Training and the Confirmation Window

[Training] requests model training with the labels of the classes and tracks checked on this screen. Before sending, a confirmation window shows the estimated time and the training composition.

  1. Check that only the classes and tracks to train are checked in the class panel.
  2. Click [Training] at the top right.
    The confirmation opens and shows "Estimating training time…" while the estimate is calculated.
    Figure 5-19. Start training confirmation
    Figure 5-19. Start training confirmation
  3. Read the Estimated time and the training mode text, and click [Details] to see the composition.
    As the note "The training recipe and duration are chosen automatically from the selected data." says, you do not choose the training mode.
    Figure 5-20. Details expanded
    Figure 5-20. Details expanded
  4. Click [Confirm] to send the request.
    A "Training is in progress. Please wait a moment" window appears; on success a "Update request for "model name" has been successfully submitted." notice appears and you are taken to the [AI Update] screen to follow its progress. [Cancel] (Esc) sends nothing.
Confirmation itemDescription
Estimated time"Estimated time: about N min" (minimum 1 minute), calculated by the server from the data and training composition.
Training mode textOne of these, depending on the automatically chosen mode: "Trains quickly, focused on the site camera footage." / "Mixes part of the public datasets into the site footage to fit this site." / "Uses all public datasets and previous training data to upgrade the base model."
[Details] / [Hide details]Expands or collapses the details below.
N epochs · batch NHow many times training repeats (epochs) and how many images are processed at once (batch).
Site footage: N imagesNumber of images from the video you labeled this time.
Augmented: N imagesNumber of extra images made by changing the position, size and brightness of site footage.
Public datasets: N imagesImages of the public datasets trained together (shown only when included).
Existing model data: N imagesImages re-mixed from data the existing model was trained on (shown only when applicable), so previous knowledge is not forgotten.
Validation: N imagesImages used to check performance during training.
MessageWhen it appears
Estimating training time…While calculating right after the window opens
Could not fetch the time estimate. Training can still be requested.The estimate failed. It does not block the request.
Training is in progress. Please wait a momentLoading window while the request is sent
Update request for "model name" has been successfully submitted.Request succeeded
Failed to request training + server message (5 s)The request failed; the server message follows.
All sessions are excluded from trainingNo non-excluded session exists
No session has labels. At least one session must be labeledNo session has any box
The selected model cannot be trained. A new model will be created.Guidance text for when the selected base model cannot be trained further
What is sent for training
Of the boxes in non-excluded sessions, only those belonging to checked classes, in non-excluded tracks, in frames outside excluded ranges are sent. Boxes without a class are not sent. Excluded sessions are not trained, but their labels are sent along and kept on the server. Public datasets chosen at request time are merged by the server.
Public dataset badge
If public datasets were chosen when the training request was created, a N public dataset(s) included badge appears in the session bar. These datasets do not appear as session tabs but are trained together.
When the [Training] button is disabled
It is disabled while the video is loading or while Object Suggest or Apply to entire video is running. It is also disabled when you clear every class with the top [Classes] checkbox so that no class is checked, with the tooltip "No items selected for training".

Warning When Leaving Without Saving

Labeling work lives only in screen memory until you save or request training, so leaving by accident would lose everything. The screen therefore intercepts leaving and shows a confirmation.

Figure 5-21. Leave confirmation
Figure 5-21. Leave confirmation
Way of leavingBehavior
Backspace key (outside input fields)Blocks the browser back action and shows the confirmation.
Mouse back button, browser back buttonThe same confirmation appears. It is not shown again while one is already open.
Refresh, closing the tab or windowIf there is at least one box, the browser's own "Leave this page?" prompt appears (its wording is decided by the browser).
Clicking the left menuNavigates immediately without this confirmation. Save before leaving through the menu.
DialogContent
TitleLeave this page?
TextAll unsaved labeling work will be lost.
[Cancel] (Esc)Stays on the screen.
[Confirm] (red button, Enter)Goes back to the previous screen. Unsaved boxes are lost.
No warning when using the left menu
After drawing a box, clicking [Datasets] or another item in the left menu moved away immediately without a confirmation and the unsaved box was lost. Keep important work first with [Save data].

Keyboard Shortcuts

These shortcuts work on the labeling screen. Most of them do not work while you are typing in an input field.

KeyActionCondition / notes
SpacePlay/pauseWhen not typing. It can also fire inside some input fields, which is why spaces cannot be typed in the dataset name (see "Saving Data").
  • / ←
Next/previous frameOne frame per press
DToggle draw modeOutside input fields
EscEnd draw mode + clear box selection + clear class-panel highlightWhile auto-labeling runs the stop confirmation opens first. In a dialog it acts as [Cancel].
Ctrl+ZUndoUp to 20 steps
Ctrl+YRedo—
Ctrl+SOpen the save data windowNot available while loading or while Object Suggest runs
AStart Object Suggest / stop confirmation while runningWithout Ctrl. Does nothing while a dialog is open
Ctrl+Space, Ctrl+FOpen/close the class search windowUsed instead of the browser's own find
BackspaceLeave confirmationOutside input fields
Enter / Esc[Confirm] / [Cancel] in a dialogIn the save window Enter acts as [Save]
DeleteDelete the selected box from this frameWhile a box is selected
Shift+VDelete the selected box's track from the whole videoNot for tracking-failed (-1) boxes
F / BBring the selected box to front / send to backWhile a box is selected
↑ / ↓ / Enter / Esc (search window)Move / select / close resultsInside the search window
Mouse wheel / middle-button dragZoom / panSee "Zooming and Panning"
Keys and the selected box
While a box is selected, keys other than Delete, Shift+V, F and B may also have their browser default actions blocked. Click an empty area to clear the selection before doing something else.

Screen Requirements (Zoom 100%, Ratio 15.5:9 or Wider)

The labeling screen assumes a wide window with the browser zoom at 100% so that boxes can be drawn accurately.

RequirementRecommendedReason
Browser zoom100%A different browser zoom can make box positions and layout look off. Use the in-screen zoom controls to magnify the video.
Window aspect ratio15.5:9 or widerThe toolbar has many buttons, so in a narrow window the right-hand [Save data] and [Training] buttons are pushed off screen. The English UI has longer labels and needs a wider window.
Figure 5-22. Right-hand buttons cut off in a narrow window
Figure 5-22. Right-hand buttons cut off in a narrow window

Confirmations, Notices and Error Messages

All confirmations and notices you can see on the labeling screen are collected here. They use the same wording as in each feature description.

Dialog titleContentButtons
Object Suggest noticeStart guide, estimated time, note about keeping existing boxes, scope (two or more sessions)[Cancel] [Confirm]
Stop auto-labelingStop the running auto-labeling? Results already applied will be kept.[Cancel] [Confirm (red)]
Apply to entire videoCurrent frame has N "class" objects. Which objects should be tracked?[Cancel] [Selected object only] [All N objects]
ResetAre you sure you want to reset?[Cancel] [Confirm]
Merge disconnected tracks / Merge overlapping tracksNumber of pairs and how they are merged[Cancel] [Confirm]
Connect window / Delete unmergeable objectsCriteria sliders and analysis result[Cancel] [Merge N objects / delete]
Save dataNumber of sessions/boxes to save and a dataset name input[Cancel] [Save]
Start training? / Train N unlabeled session(s) as background?Estimated time and training composition (details)[Cancel] [Confirm]
Leave this page?All unsaved labeling work will be lost.[Cancel] [Confirm (red)]
Notice (toast)TypeDescription
Moved to the first frame where selected class first appears [class]NoticeClass panel eye icon
Moved to first frame of track [class #number]NoticeTrack row eye icon
N objects connected / N objects deleted / N tracks mergedSuccessAfter connecting, deleting or merging tracks
Session excluded from training / Session restored to trainingSuccessExcluding/restoring a session
Saved as a dataset (N session(s))SuccessSaving succeeded
Update request for "model name" has been successfully submitted.SuccessTraining request succeeded
Object Suggest / AI Search / tracking noticesSuccess / notice / errorSee the message tables of each feature
Auto-labeling stopped. Results already applied are kept.NoticeAfter confirming a stop
N duplicate video(s) were merged into an existing sessionNoticeDuplicate upload
N session(s) were not created because some video segments failed to processWarningAutomatic split failed
Some sessions failed to loadWarning / errorSome sessions failed
Object Suggest is running... / The video is still loading...NoticeSession switch blocked
The data is being loaded. + Please wait a momentLoading windowWhile loading data
Data loaded successfully / Failed to load the data. Please try again.Success / errorLoading result when opened from a channel video
Where notices appear
Notices appear briefly at the bottom center of the screen and disappear. Some error notices stay for 5 seconds and include the reason sent by the server.

When Buttons Are Disabled

If a button does nothing, check the conditions below.

Button / featureDisabled or inactive when
[Object Suggest]Video/data is loading. While running it becomes [Stop].
[Apply to entire video]No box is selected, or Object Suggest/tracking is running
[Undo] / [Redo]There is no undo/redo history
[Connect (N)] / [Delete (N)]Zero mergeable/unmergeable boxes. They do not appear at all without tracking-failed boxes
[Save data]Video/data is loading, or Object Suggest or box tracking (Apply to entire video) is running. It is not disabled during AI Search
[Training]Same as above, or every class is cleared so no class is checked ("No items selected for training")
Previous/next session buttonsOnly one session. During Object Suggest clicking only shows a notice and does not move
[Merge N objects] (panel/window)No items to merge (nothing checked)
Ctrl+S and A shortcutsSame conditions as the buttons. A also does nothing while a dialog is open
Selecting, moving, resizing boxesWhile the video is playing (pause first)