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

Vercel AI SDK Releases Vue 3.0.282 Patch Update
Vercel AI SDK releases @ai-sdk/vue@3.0.282 patch update, syncing with core package ai@6.0.282. Learn about the changes, release cadence, and upgrade recommendations.

Vercel AI SDK Sandbox Component Receives Patch Update
Vercel AI SDK releases sandbox-vercel@1.0.109 patch update, syncing the harness dependency to the same version. A look at this maintenance release and what it means for AI app developers.

Vercel AI SDK Vue 4.0.99 Released: Dependency Update Overview
The @ai-sdk/vue 4.0.99 patch release syncs the underlying ai@7.0.99 dependency. Learn what this means for Vue developers building AI apps with Vercel AI SDK.