Introduction
Real-time video analytics at the edge, such as smart city surveillance and autonomous driving, face a significant challenge: the computational demands of deep neural network (DNN) object detectors often exceed the capabilities of edge hardware. While live video typically streams at 12–60 frames per second (FPS), a single low-power edge accelerator might only process 2.5 FPS. This disparity forces systems into an "online detection" mode where frames are randomly dropped to maintain real-time performance. Such frame dropping not only causes visual lag but severely degrades detection quality, measured by mean Average Precision (mAP), as objects in skipped frames are missed and temporal consistency is lost.
System Architecture
To address this performance gap, we propose a multi-model parallel detection framework that leverages multiple low-power AI hardware accelerators, such as Intel Neural Compute Stick 2 (NCS2) modules, connected via a USB hub.
The framework consists of three primary components:
- Dynamic Model Scaling: The system calculates the optimal number of parallel models ($n$) required to match the incoming video rate based on the measured single-model processing speed.
- Parallel Scheduling: Frames are distributed across the $n$ models. While Round Robin (RR) is suitable for homogeneous hardware, we implement a First Come First Serve (FCFS) scheduler to handle heterogeneous environments (e.g., combining a host CPU with multiple NCS2 sticks), ensuring that faster components are not bottlenecked by slower ones.
- Sequence Synchronizer: Since parallel processing can result in out-of-order frame completion, a synchronizer buffers and reorders processed frames to maintain the original temporal sequence for visualization.
Experimental Setup
The framework was evaluated using two real-world benchmark videos from the MOT-15 dataset: ETH-Sunnyday (14 FPS, 640x480) and ADL-Rundle-6 (30 FPS, 1920x1080). We deployed two standard object detection models, SSD300 and YOLOv3, both quantized to FP16 for edge compatibility.
Results and Discussion
Our experiments demonstrate that adding low-power USB accelerators yields near-linear speedups. Using 7 NCS2 sticks, we achieved a ~6.9x throughput increase for both SSD300 (from 2.3 to 16.0 FPS) and YOLOv3 (from 2.5 to 17.3 FPS).
Crucially, this throughput increase directly translates to accuracy recovery. By eliminating the need for frame drops, YOLOv3's mAP on the ETH-Sunnyday sequence improved from 66.1% (with 1 stick) to 86.9% (with 7 sticks), matching the offline "zero-drop" baseline. Furthermore, the NCS2-based system proved highly energy-efficient, delivering 1.25 FPS/Watt, significantly outperforming desktop-grade GPUs like the GTX TITAN X (0.14 FPS/Watt).
We also identified critical implementation bottlenecks. USB 2.0 interfaces and Python's Global Interpreter Lock (GIL) significantly limit scalability; a C++ implementation utilizing USB 3.0 is essential for maximizing the performance of multi-accelerator setups.
Conclusion
Parallelizing detection across multiple low-cost edge accelerators provides a modular and energy-efficient alternative to high-end GPUs for real-time video analytics. Future work will focus on performance-aware proportional scheduling and extending the framework to handle more complex tasks like object tracking and segmentation across heterogeneous edge clusters.
Summary updated