Abstract
DeepStream is a novel system designed to maximize object detection accuracy for multi-camera setups operating under limited and fluctuating bandwidth. By combining a lightweight, real-time "Region of Interest" (ROI) detector on the edge with a content-aware bandwidth allocator on the server, it achieves up to a 23% improvement in detection utility while saving over 50% of bandwidth. This paper presents the architecture, methodology, and evaluation of DeepStream against state-of-the-art baselines.
Introduction
Deep learning video analytics, such as traffic monitoring or smart retail, typically require offloading video to a powerful server. However, high-quality video is bandwidth-heavy. When multiple cameras compete for the same limited network pipe, "one-size-fits-all" streaming leads to dropped frames or low-resolution video, which significantly degrades the accuracy of object detection models.
Existing solutions often fall into two traps: they either require heavy, expensive GPUs on the camera to filter video, or they use "feedback loops" where the server tells the camera what to send, creating significant latency. DeepStream aims to bridge this gap by providing a system that runs on affordable hardware (like a Raspberry Pi) and intelligently manages bandwidth across a fleet of cameras based on real-time video content.
System Architecture
DeepStream utilizes a collaborative edge-server architecture divided into offline and online phases. The system is built upon three main pillars designed to optimize both local processing and global bandwidth distribution.
1. ROIDet (Regions of Interest Detection)
This is a lightweight algorithm designed to run in real-time on resource-constrained devices. It uses a two-pronged approach:
- Stationary Objects: It runs a "light-weighted" YOLOv5-Lite model once per video segment to identify static objects like parked cars.
- Moving Objects: It employs a block-based motion detection algorithm that compares edge differences between frames to capture moving targets.
- Result: The camera encodes and sends only the "busy" parts of the frame, effectively cropping out the static background and reducing spatial redundancy.
2. Content-Aware Bandwidth Allocation
The server performs global optimization rather than simple equal splitting. Using offline profiling, it builds a "utility function" that predicts detection accuracy based on ROI size, detection confidence, bitrate, and resolution. It then applies Dynamic Programming to solve a knapsack-style optimization problem, prioritizing bandwidth for cameras with complex or high-importance scenes.
3. Elastic Transmission Mechanism
To handle bursty traffic, DeepStream can "borrow" transmission time from future time slots when a scene is particularly crowded and the network is congested. This mechanism smooths out performance during transient spikes in activity.
Evaluation and Results
The system was evaluated using the AI City Challenge traffic dataset and FCC Broadband Traces to simulate various network conditions (low, medium, and high bandwidth).
Key Performance Metrics
- Bandwidth Efficiency: The ROIDet algorithm saves up to 54% of bandwidth with less than a 1% drop in object detection accuracy (F1 score). This is largely because over 80% of frames in typical traffic datasets contain less than 50% task-related area.
- Utility Boost: Compared to state-of-the-art baselines like Reducto and JCAB, DeepStream improves overall detection utility by up to 23% under constrained bandwidth conditions.
- Real-time Performance: On a Raspberry Pi 4B, the system achieves 15 FPS for 1080p video and 30 FPS for 720p video, demonstrating its viability for low-cost edge deployments.
Discussion and Future Work
DeepStream demonstrates that fleet-level optimization and background cropping are highly effective for multi-camera analytics. By treating a group of co-located cameras as a single unit, the system can exploit spatial-temporal correlations—for instance, anticipating a car's arrival in one camera's view as it exits another's.
However, some limitations remain. The current ROIDet logic is optimized for static cameras; adapting it for moving platforms like drones would require further refinement. Additionally, while the Elastic Transmission Mechanism improves accuracy during bursts, the inherent latency introduced by "borrowing" time may need to be addressed for ultra-low-latency safety applications. Future work will focus on online adaptation of utility functions to handle drastic environmental changes, such as shifting weather conditions.
Summary updated