Back to Projects

Project · Computer Vision

Multi-Object Tracking with Cross-Camera Re-Identification

  • EECE 5639 Computer Vision
  • Northeastern · Spring 2026
  • with Meet Brahmbhatt
  • Python · PyTorch
  • YOLOv8
  • OpenCV

A tracking-by-detection pipeline built up in three levels — single-object tracking, multi-object tracking with appearance re-identification, and identity matching across two cameras — co-developed with Meet Brahmbhatt and evaluated on MOT17 and on our own recordings.

  • 0.50 / 0.71
    MOTA / IDF1 on the MOT17-09-DPM benchmark
  • +0.16
    MOTA above SORT’s published MOT17 score (≈0.34)
  • 3 / 3
    identities matched across two cameras, in both clip pairs
  • 0.94–0.97
    mean IoU on single-object clips, one lost frame per clip

Gallery

Pipeline

  1. Detect: YOLOv8n, person class only, confidence ≥ 0.5.
  2. Predict: an 8-state constant-velocity Kalman filter per track.
  3. Associate: cost = λ·(1 − IoU) + (1 − λ)·cosine distance, with λ = 0.7 and a 0.7 gate, solved with the Hungarian algorithm (SciPy).
  4. Manage tracks: confirm after 3 hits, delete after 50 missed frames.

Appearance Re-ID

An ImageNet-pretrained ResNet18 turns each 128×64 crop into a 512-D, L2-normalized embedding. Every track keeps its 10 most recent embeddings plus an exponential moving average, so a person who is occluded or leaves and re-enters the frame gets their original ID back.

Cross-Camera Matching

Two phones recorded the same three people from viewpoints 90° apart. Each track’s gallery mean serves as its signature, and identities are matched across views with the Hungarian algorithm over cosine distance, accepting matches below 0.5.

Results

  • MOT17-09-DPM (525 frames): MOTA 0.50, IDF1 0.71, precision 0.88, recall 0.59, 56 ID switches.
  • Tuning: raising the IoU weight λ from 0.5 to 0.7 and track lifetime from 30 to 50 frames lifted MOTA from 0.476 to 0.500.
  • Single-object tracking: mean IoU of 0.94–0.97 between the Kalman prediction and the matched detection, with one lost frame per clip (>99.7% track rate).
  • Cross-camera: 3/3 identities matched in both clip pairs, with mean cosine distances of 0.085 and 0.095, verified by inspecting the output videos.

Limitations

  • Evaluated on one MOT17 sequence; the SORT comparison uses its published MOT17 score.
  • Re-ID uses generic ImageNet features with no Re-ID-specific training.
  • Inference ran on CPU at 0.5–1 s per frame, so the pipeline runs offline rather than in real time.

Tech Stack

  • Python
  • PyTorch
  • YOLOv8
  • ResNet18
  • OpenCV
  • SciPy
  • NumPy
  • Kalman filter
  • Hungarian algorithm