Algorithm Search⌘K

Tracking

Problems

  • Background subtraction

    Mark the pixels of each video frame that differ from a model of the static background as moving foreground.

    core
  • Data association

    Decide which measurement in a frame comes from which existing track, which is a new track and which is clutter.

    O((n + m)³) worstcore
  • Multi-object tracking

    Find all objects in each frame of a video and keep a consistent identity for each one over time, through occlusions, entries and exits.

    O(n² (n + L)) worstcore
  • Visual object tracking

    Given the box of a target in the first frame of a video, find its box in every later frame.

    Θ(N P) worstcore
  • Scene flow

    Estimate the 3D motion vector of every visible surface point between two time steps, from stereo pairs, depth images or point clouds.

    Θ(W H) worstadvanced

Algorithms

  • Adaptive Gaussian mixture background model

    Model each pixel by a few Gaussians updated online, call the heavy narrow ones background, and mark pixels that fit none of them as foreground.

    O(N P K log K) worst1 languagescore
  • CAMShift

    Mean shift on a color probability image whose window size and orientation adapt from the moments of the distribution at each frame.

    Θ(W H + k m) worst · average1 languagescore
  • CONDENSATION algorithm

    Track contours in clutter by a particle filter over shape and motion, weighting each sample by image measurements along its contour.

    Θ(T N (log N + d² + M L)) worst · average · best1 languagescore
  • Global nearest neighbor association

    Assign measurements to tracks by the one-to-one assignment of least total distance in each frame, solved with the Hungarian or auction algorithm.

    O(n p³ + n m p² + (n + m)³) worst · average1 languagescore
  • Kanade-Lucas-Tomasi tracker

    Select corners whose window matrix has a large smaller eigenvalue, follow each one from frame to frame by pyramidal Lucas-Kanade steps, and drop a point that fails a check.

    Θ(W H m + N (W H + n (L + 1) k m)) worst · average1 languagescore
  • Mean shift tracking

    Track a target by moving its window up the Bhattacharyya similarity of kernel-weighted color histograms with mean shift steps.

    Θ(k (j + 1) (m + B)) worst · average1 languagescore
  • Inverse compositional image alignment

    Align a template to an image by Gauss-Newton steps that warp the template, so the Hessian is computed once, and compose the inverse of each step into the warp.

    Θ(n^2 m + N (n m + n^3)) worst · average1 languagesadvanced
  • Joint probabilistic data association

    Update each track with a weighted mix of all gated measurements, the weights being posterior probabilities summed over all joint feasible assignments.

    O(E n + n m p² + n (p³ + d³)) worst · average · best1 languagesadvanced
  • Kernelized correlation filter

    Ridge regression on all cyclic shifts of the target patch, made fast because for shift-invariant kernels the kernel matrix of the shifts is circulant and diagonal in the Fourier domain.

    Θ(N P log P) worst · average · best1 languagesadvanced
  • MOSSE filter

    A correlation filter fitted in closed form in the Fourier domain so that it gives a Gaussian peak on training patches, then updated online with running averages.

    Θ((T + N) P log P) worst · average · best1 languagesadvanced
  • Multiple hypothesis tracking

    Keep a tree of association hypotheses over several frames, score them by likelihood, and prune, so that hard choices are made only when later data decide them.

    O(M² m³ (n + m) + M n d³) worst · average · best1 languagesadvanced
  • Network flow data association

    Link detections over a whole video as a min-cost flow, each unit of flow a track from source to sink through detection nodes, solved globally.

    O(K n (n + L)) worst · average1 languagesadvanced
  • SORT tracker

    Predict each track with a constant velocity Kalman filter on its box and assign detections by the Hungarian algorithm on IoU, frame by frame.

    O(N n m (n + m)) worst1 languagesadvanced
  • Tracking-learning-detection

    Run a median flow tracker and a detector side by side, and let each correct the other through positive and negative expert constraints that train the detector online.

    Θ(N (P + W (D + M Q) + G)) worst · average1 languagesadvanced
  • ViBe

    Keep a set of past sample values per pixel, call a pixel background when enough samples are close, and update the samples randomly in time and space.

    O(F P N) worst1 languagesadvanced
  • ByteTrack

    Associate high-score detections to tracks first, then match the remaining tracks to low-score detections, recovering occluded objects that a threshold drops.

    O(N n m (n + m)) worst1 languagesresearch
  • Deep SORT

    SORT with an appearance embedding per detection and a matching cascade that combines Mahalanobis motion gating with cosine appearance distance.

    O(N (n m (n + m + L d) + A)) worst1 languagesresearch
  • Probability hypothesis density filter

    Propagate the first moment of the random finite set of targets, not each track. With linear Gaussian models, constant p_D and p_S and Gaussian mixture birth, the Gaussian mixture form is closed.

    O(J² (m + 1)² d² + J (m + 1) d³ + J p³) worst · average1 languagesresearch
  • Siamese fully convolutional tracking

    Track by cross-correlating features of the target exemplar with features of a larger search region, both from one network trained offline.

    Θ(N (S (F + C Z M) + U² M)) worst · average · best1 languagesresearch

Techniques

  • Gating

    Consider for each track only the measurements within a Mahalanobis distance threshold of its predicted position, which prunes the association problem.

    core
  • Tracking by detection

    Run an object detector on every frame and link the detections into tracks by data association, instead of tracking each target by its appearance alone.

    core
  • Correlation filter tracking

    Learn a filter whose correlation with the target patch gives a sharp peak, solved and applied in the Fourier domain, and move the target to the response peak.

    advanced
  • Forward-backward error

    Track a point forward through frames, track it back, and reject it when it does not return near its start, a check for tracking failure.

    advanced

Definitions

  • CLEAR MOT metrics

    MOTA counts misses, false positives and identity switches against the number of objects, and MOTP averages the localization error of matched pairs.

    1 languagescore
  • IDF1 score

    The F1 score of detections correctly identified after a global one-to-one matching of predicted and true trajectories, a measure of identity preservation.

    1 languagesadvanced
  • Higher order tracking accuracy

    The geometric mean of detection accuracy and association accuracy, averaged over localization thresholds, which weighs detection and association evenly.

    1 languagesresearch