Introduction
Autonomous driving systems require robust environmental perception in real-time. Pedestrian detection is a cornerstone of this requirement, yet it remains computationally intensive due to the high variability in human appearance and environmental conditions. While high-end desktop GPUs offer the necessary processing power, their high energy consumption makes them unsuitable for embedded automotive platforms. This paper addresses this gap by presenting a highly optimized pedestrian detection pipeline tailored for embedded GPU-CPU hybrid platforms, specifically the Nvidia Tegra X1.
Methodology
The proposed pipeline consists of four primary stages: Candidate Generation, Feature Extraction, Classification, and Refinement. The core contribution is the massive parallelization of these stages using CUDA.
Feature Extraction: HOG and LBP
The system utilizes a combination of Histograms of Oriented Gradients (HOG) and Local Binary Patterns (LBP) to capture both shape and texture information.
- LBP Optimization: The authors transitioned from a naive implementation to a scalable scheme using atomic operations to manage data races during histogram generation.
- HOG Optimization: By utilizing on-chip shared memory rather than global or local memory, the implementation significantly reduced latency and memory bus stress.
Warp-Level SVM Classification
The Sliding Window Support Vector Machine (SW-SVM) often acts as a computational bottleneck. To overcome this, the authors implemented a Warp-level SVM. Instead of the traditional "one thread per window" approach, an entire warp (32 threads) collaborates on a single window. This allows the use of high-speed register shuffle instructions for result summation, bypassing slower main memory accesses.
Experimental Evaluation
The pipeline was evaluated using video sequences at a resolution of 1242 × 375 pixels, typical of the KITTI vision benchmark. Performance was compared across three platforms: an Intel i7 CPU, a desktop Nvidia GTX 960 GPU, and the embedded Nvidia Tegra X1.
Results and Discussion
The optimized pipeline achieved a real-time throughput of 20 FPS on the Tegra X1. Key findings include:
- Efficiency: The Tegra X1 demonstrated superior power efficiency, reaching 2.0 FPS/Watt—double that of the desktop GTX 960 (0.99 FPS/Watt) and significantly higher than the CPU baseline.
- Speedup: The GPU-accelerated stages were 8x to 60x faster than their CPU counterparts.
- Memory Coalescing: Ensuring simultaneous memory access by multiple threads proved more critical for performance than raw mathematical throughput.
- Cache Constraints: Performance degradation was observed for very large images that exceeded the GPU's L2 cache capacity, highlighting the importance of memory management in high-resolution processing.
Conclusion
This work demonstrates that embedded GPUs can meet the stringent real-time and power-efficiency requirements of autonomous driving. While hand-crafted features like HOG and LBP provide a high-performance baseline, future work will explore applying similar warp-level optimizations to lightweight convolutional neural networks (CNNs) to further improve detection accuracy without sacrificing real-time performance.
Summary updated