CCTV Multi-Object Tracking: Advanced Solutions for BOT-SORT Track Breaking

A deep dive into CCTV track breaking causes and advanced solutions beyond BOT-SORT.
This article examines a real-world developer challenge: frequent track breaking when using YOLOv8+BOT-SORT for CCTV person and vehicle tracking. It analyzes root causes — occlusion, appearance changes, and Kalman filter limitations — then evaluates BOT-SORT's ceiling before introducing three tiers of advanced solutions: improved association algorithms (Deep OC-SORT, StrongSORT), end-to-end Transformer-based trackers, and detector/Re-ID upgrades, with practical engineering tips throughout.
In the fields of intelligent security and video analytics, Multi-Object Tracking (MOT) is a core technology. Recently, a developer on Reddit raised a highly representative question: while using YOLOv8 with BOT-SORT to track people and vehicles in CCTV footage, they frequently encountered track breaking — especially when subjects underwent significant changes in pose or motion. This issue reflects a broader challenge that mainstream tracking algorithms face in real-world surveillance scenarios.

The Root Causes of Track Breaking
Track breaking is one of the most common failure modes in multi-object tracking. It occurs when a tracked object loses its assigned ID mid-sequence and is subsequently reassigned a new one. This disrupts tracking continuity and seriously undermines downstream applications such as behavioral analysis and crowd flow counting.
In the scenario described by this developer, track breaking stems from several key factors. First, occlusion: pedestrians and vehicles in surveillance footage frequently cross paths and occlude one another. When a target is briefly hidden, the detector may miss it entirely, causing the tracker to lose the target. Second, appearance changes: as the developer noted, when a person changes pose — crouching, turning around, raising their arms — their appearance embedding shifts dramatically, causing the Re-ID mechanism to fail. On top of this, missed detections and false positives from the detector itself can trigger cascading tracking errors.
BOT-SORT: Positioning and Limitations
BOT-SORT is genuinely a very strong baseline. It improves upon the classic ByteTrack framework with two key enhancements: Camera Motion Compensation (CMC), which uses global motion estimation to correct bounding box drift caused by camera shake or movement; and the fusion of appearance features (Re-ID) with motion information (Kalman filtering) for more robust data association.
That said, BOT-SORT's ceiling is constrained by its design assumptions. Its Kalman filter uses a constant-velocity motion model, which produces large prediction errors when a target's motion pattern suddenly changes — such as a pedestrian stopping abruptly or reversing direction. Similarly, its Re-ID feature update strategy struggles to keep up with drastic appearance changes. This is the technical root cause of the issues the developer encountered.
Advanced Tracking Solutions Beyond BOT-SORT
For scenarios where a certain processing delay is acceptable in exchange for higher tracking accuracy, the research community has produced several solutions that outperform BOT-SORT.
Deep OC-SORT and StrongSORT: Stronger Association Algorithms
OC-SORT (Observation-Centric SORT) and its enhanced variant Deep OC-SORT address the fundamental weaknesses in the motion model. OC-SORT introduces an observation-centric re-update mechanism that, when a previously occluded target reappears, uses the observed trajectory to re-smooth the Kalman filter state — significantly reducing ID switches caused by non-linear motion. Deep OC-SORT further adds adaptive appearance feature matching, making it more robust to sudden appearance changes.
StrongSORT is a modern upgrade to DeepSORT, integrating a stronger detector, improved Re-ID models (such as BoT), and techniques like EMA-based feature updates and GSI (Gaussian-smoothed Interpolation) to repair broken tracklets. GSI is particularly effective at bridging track gaps caused by brief occlusions — directly addressing the track-breaking problem described by the developer.
Transformer-Based End-to-End Tracking
For those willing to accept higher computational costs, Transformer-based approaches represent the current state of the art. Models like MOTR and TrackFormer frame tracking as an end-to-end sequence prediction problem, propagating object identity across frames via track queries, which naturally encodes temporal relationships. These methods excel in handling complex interactions and appearance variations, but come with steep requirements for training data, compute resources, and deployment infrastructure.
Upgrading the Detector and Re-ID Model
It's worth emphasizing that tracking performance depends heavily on the quality of both the detector and Re-ID model. In CCTV scenarios, consider upgrading to YOLOv9, YOLOv10, or RT-DETR for more stable detections with fewer misses. Additionally, fine-tuning a dedicated Re-ID model on surveillance-specific datasets — such as those trained on Market-1501 or MSMT17 — can substantially improve the reliability of appearance matching.
Engineering Optimization Tips for CCTV Tracking
Beyond switching tracking algorithms, engineering-level optimizations are equally important for addressing track breaking.
First, lower the detection confidence threshold and leverage low-score boxes. The core insight of the ByteTrack family is precisely to retain low-confidence detections for a second-round association pass, which is especially effective in occluded scenarios. Second, introduce tracklet interpolation and post-processing. Techniques like GSI in StrongSORT can repair briefly broken tracks in offline or near-real-time settings. Third, optimize Re-ID feature updates and storage by maintaining a feature bank that stores a target's historical appearance embeddings — allowing re-identification even after dramatic pose changes.
Additionally, given the significant differences between people and vehicles as tracking targets, consider setting class-specific tracking parameters. Vehicles move predictably with stable appearances, while pedestrians move erratically with variable appearances. Using different motion model thresholds and matching strategies for each class typically yields better overall performance.
Conclusion
BOT-SORT is a strong baseline, but it's far from the final word. For CCTV tracking tasks that demand high accuracy and can tolerate some latency, improved association algorithms like Deep OC-SORT and StrongSORT offer the most cost-effective upgrade path, while Transformer-based end-to-end approaches point toward the future. Ultimately, multi-object tracking is a systems engineering problem — the detector, Re-ID model, association algorithm, and post-processing strategy must all be co-optimized to achieve stable, continuous tracking in real-world surveillance environments.
Related articles

Two-Day Port, 8x Faster Prefill: Strata Engine Benchmarked
Overseas benchmark of the Strata inference engine: a 125B model on one GPU at ~8x llama.cpp's prefill speed. Inside its expert scheduling, sparse attention, MTP speculative decoding, porting experiment, deployment barriers, and limits.

Running Real-Time Local Voice AI on a Single 12GB GPU: Full Pipeline with a 35B Model and Voice Conversation
A developer shows how to run a 35B MoE LLM, Whisper ASR, and Breeze TTS2 locally on a single 12GB GPU, cutting end-to-end voice chat latency from 8s to 2–3s via streaming, parallel synthesis, and quantization, plus Agent tool-calling integration.

Qwen4 Architecture Preview Open-Sourced: 125B Parameters, 512 Experts, Designed for VRAM-Constrained Hardware
Qwen4 isn't released yet, but its architecture is previewed via open-source Qwen3.8 Flash Next: 125B params, 6B activated per token, 512 experts, 262K context, built for VRAM-limited hardware. This article covers official confirmations, key config.json metrics, and local deployment tests on 24G memory.