Skip to content
advancedvideo

InteractTrack Interactive Single-Object Tracking

Box tracks with absent flags and timed instructions for single-object tracking, with a video-track model_training loop. Sample clips are illustrative.

Get This Design

View on GitHub(opens in a new tab)

Clone or download from the repository

Quick start:

bash
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/video/interacttrack-interactive-tracking
potato start config.yaml

About this dataset

InteractTrack is a benchmark for interactive tracking, built by Yuqing Huang, Guotian Zeng, Zhenqiao Yuan, Zhenyu He, Xin Li, Yaowei Wang, and Ming-Hsuan Yang and published at CVPR 2026. The authors report 150 videos with over 140K frames and more than 700 natural-language descriptions. The scenarios include sports, daily activities, and surveillance.

Each video carries frame-by-frame, axis-aligned bounding boxes that tightly enclose the visible region of the target. At least two annotators verify every box, and a senior annotator resolves disagreement. A frame where the target is fully occluded or out of view gets an explicit absent label instead of a box. Each sequence also has four to five natural-language descriptions inserted at critical moments, of the types initialization, drift correction, focus refinement, and intent switching. The design uses a video_annotation scheme in tracking mode with linear interpolation between keyframes, a per-keyframe bool for absence, a select for the instruction type, and a text attribute for the instruction. Boxes are placed at keyframes rather than on every frame, the instruction time is typed by the annotator, and the human-GPT-human drafting of instructions is not reproduced.

The model_training block lets the video-track trainer learn from finished tracks. The trainer fine-tunes a Faster R-CNN on frames sampled from the annotated boxes, links detections across frames into tracks, and writes the predicted tracks back for annotators to review as pre-labels. Only boxes are learned, so the absent flags and instructions are not used. Local video files are read, and the run needs at least two annotated videos in the training split plus the train-vision extra with OpenCV. The four sample clips are CC0 Wikimedia Commons footage cut to at most 12 seconds and stored in media/, and the item descriptions are illustrative. From Potato 2.15.0, the pre_annotation export format writes the answers of one stage as the predictions_file of the next stage; answers of the video_annotation schemes are left out.

Videos
150
Frames
over 140K
Natural-language descriptions
more than 700
Descriptions per sequence
4 to 5
Interaction types
4

Configuration File

This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.

yaml
# yaml-language-server: $schema=https://potatoannotator.readthedocs.io/en/latest/schemas/potato-config.schema.json
# Dataset: InteractTrack, Huang et al., CVPR 2026, pp. 35166-35176.
#   @InProceedings{Huang_2026_CVPR,
#     author = {Huang, Yuqing and Zeng, Guotian and Yuan, Zhenqiao and He, Zhenyu and Li, Xin and Wang, Yaowei and Yang, Ming-Hsuan},
#     title = {Interactive Tracking: A Human-in-the-Loop Paradigm with Memory-Augmented Adaptation},
#     booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
#     month = {June}, year = {2026}, pages = {35166-35176}}
# DOI: 10.48550/arXiv.2604.01974 (the arXiv preprint; the CVF proceedings page carries no DOI)
# arXiv: https://arxiv.org/abs/2604.01974
# Paper: https://openaccess.thecvf.com/content/CVPR2026/html/Huang_Interactive_Tracking_A_Human-in-the-Loop_Paradigm_with_Memory-Augmented_Adaptation_CVPR_2026_paper.html
# Dataset (Google Drive / Baidu archive, no license stated): https://github.com/NorahGreen/InteractTrack
# Sample clips: four CC0 videos from Wikimedia Commons (Jeromi Mikhael, Yourusernamewillbepublic2,
# Samson Ssemakadde), not InteractTrack videos; see media/LICENSE-media.txt. Item descriptions are illustrative.
#
# Protocol (paper section 3.2): "frame-by-frame, axis-aligned bounding boxes that
# tightly enclose the visible region of the target", each verified by at least two annotators
# with a senior annotator resolving disagreement. "If the target becomes fully
# occluded or leaves the field of view, the frame is assigned an explicit 'absent'
# label instead of a bounding box." Each sequence also has "four to five
# natural-language descriptions inserted at critical moments" of the types
# initialization, drift correction, focus refinement and intent switching.
#
# Adaptations: boxes are placed at keyframes and interpolated, not drawn per frame.
# Absence is a per-keyframe attribute. The timestamped instructions are written
# as one text attribute on the track (with a time written by the annotator) rather than as
# timeline events. The human-GPT-human drafting of instructions is not reproduced.
#
# Multi-stage protocol. The paper verifies each box with a second annotator and a senior
# annotator. Potato can chain such stages across annotators with `data_files[].filter_by_prior_annotation`,
# `pre_annotation`, `assignment_strategy: model_review` and `adjudication`. This design reproduces
# the first stage, one annotator tracking one target.
# From Potato 2.15.0, the pre_annotation export format (python -m potato.export --format pre_annotation)
# writes stage 1's answers as the next stage's predictions_file. Answers of the video_annotation schemes are
# left out with a warning.
#
# Model training. The `model_training` block lets the `video-track` trainer (pick it on
# /admin/training, with the admin key below) learn from the finished tracks. It fine-tunes a
# Faster R-CNN on frames sampled from the annotated boxes, then links detections across frames
# into tracks. It learns boxes only, so the absent flags and the instructions are not used,
# and it reads local video files, which is why the clips sit in media/. It needs at least two
# annotated videos in the training split and the extras from
#   pip install 'potato-annotation[train-vision]' opencv-python
# The writeback block asks for its predicted tracks to be offered to annotators as pre-labels.
# Potato does not serve or deploy the trained model.

annotation_task_name: "Interactive single-object tracking"
task_dir: .
output_annotation_dir: annotation_output/
export_annotation_format: jsonl
port: 8000

# Local clips are served from media/ at /media/<file>.
media_directory: media

# Demo settings. Replace the key with your own value before a real study. The key protects /admin/training.
require_password: false
admin_api_key: "demo-admin-key"

data_files:
  - sample-data.json

item_properties:
  id_key: id
  text_key: video_url

instance_display:
  fields:
    - key: description
      type: text
      label: Target to follow

annotation_instructions: |
  Follow the target named in the item description. Box it at keyframes and mark the
  keyframes where it is fully hidden or out of view as absent. Then write the
  instructions a user would give a tracker at the moments it needs guidance.

annotation_schemes:
  - annotation_type: video_annotation
    name: target_track
    description: "Track the target with boxes at keyframes. Mark keyframes where it is absent."
    source_field: video_url
    mode: tracking
    labels:
      - name: target
        color: "#4ECDC4"
    tracking_options:
      interpolation: linear
      auto_advance_frames: 5
    attributes:
      - name: absent
        type: bool
        per_keyframe: true
        default: false
        description: "The target is fully occluded or out of view at this keyframe"
      - name: interaction_type
        type: select
        options: [initialization, drift_correction, focus_refinement, intent_switch]
        description: "Kind of user instruction this track needs"
      - name: instruction
        type: text
        description: "Natural-language cue for the tracker, with the time it applies from"
    video_fps: 15
    show_timecode: true
    frame_stepping: true

model_training:
  enabled: true
  writeback:
    schemas: ["target_track"]
    include_unlabeled: true
    min_confidence: 0.6

user_config:
  allow_all_users: true
  users: []

Sample Data

json
[
  {
    "id": "itrack_001",
    "video_url": "/media/cat_pigeon.mp4",
    "description": "Follow the pigeon."
  },
  {
    "id": "itrack_002",
    "video_url": "/media/cat_camera.mp4",
    "description": "Follow the cat."
  }
]

// ... and 2 more items

Dataset & paper

Huang et al., CVPR 2026

Paper DOI
10.48550/arXiv.2604.01974

Citation (BibTeX)

bibtex
@InProceedings{Huang_2026_CVPR,
  author = {Huang, Yuqing and Zeng, Guotian and Yuan, Zhenqiao and He, Zhenyu and Li, Xin and Wang, Yaowei and Yang, Ming-Hsuan},
  title = {Interactive Tracking: A Human-in-the-Loop Paradigm with Memory-Augmented Adaptation},
  booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  month = {June},
  year = {2026},
  pages = {35166--35176}
}

Details

Annotation Types

video_annotation

Domain

Computer VisionObject TrackingHuman-in-the-Loop

Use Cases

Object TrackingInteractive TrackingModel-Assisted Annotation

Tags

interacttrackvideotrackingbounding-boxabsent-targetmodel-trainingcvpr

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)