FPGA-based Acceleration System for Visual Tracking

Ke Song, Chun Yuan, Peng Gao, Yunxu SunarXiv 2018 · OpenReview

TL;DR

This paper presents an FPGA-based hardware acceleration system for real-time visual tracking, achieving over 153 FPS. By optimizing the DSST algorithm and employing batch processing and time-division multiplexing for feature extraction and FFT operations, the system significantly reduces resource consumption on an FPGA while maintaining excellent performance.

What Problem Does This Paper Address?

Visual tracking is a crucial component in many computer vision applications, but current algorithms often struggle with real-time performance, especially on embedded systems with limited computational resources and power budgets. Running these algorithms on PCs is feasible for real-time, but it's not practical for many deployment scenarios. The challenge lies in achieving high tracking speeds and low power consumption simultaneously, particularly when dealing with high-resolution video and complex motion.

Methods

The authors propose a hardware acceleration system for visual tracking based on the Discriminative Scale Space Tracking (DSST) algorithm. Key methodological contributions include:

  • DSST Algorithm Adaptation: The core DSST algorithm, known for its robustness to motion blur and illumination changes and its ability to estimate target scale, is adapted for hardware implementation.
  • Feature Selection: The system utilizes 1-D grayscale features and 32-dimensional HOG (Histogram of Oriented Gradients) features for target position estimation. HOG features are also used for scale estimation.
  • Algorithm Optimization: To address the computational and storage demands of DSST's original scale estimation method (which uses 33 scale spaces), the paper adopts a more efficient approach inspired by SAMF, generating fewer scale spaces (7) and interpolating them to a fixed size. This optimization allows for parallel processing of position and scale estimation.
  • Hardware Architecture: A custom hardware architecture is designed for the Xilinx XC7K325T FPGA. This architecture is modular, comprising modules for image extraction, scale calculation, interpolation, HOG feature extraction, correlation filter calculation, target position/scale calculation, and target information update.
  • Resource Optimization Techniques:
    • Batch Processing: To manage the 33-dimensional features, batch processing is employed, dividing the features into eight batches. This reduces the need for extensive parallel hardware structures.
  • Time-Division Multiplexing (TDM): The FFT IP core, crucial for correlation filter operations, is time-division multiplexed. This significantly reduces the number of required hardware resources.

Datasets

The paper mentions that the algorithm was tested on the OTB50 subset for evaluation.

Key Insights and Ideas

  • FPGA for Real-Time Tracking: The paper demonstrates that FPGAs, with their inherent parallelism and flexibility, are well-suited for accelerating complex visual tracking algorithms, enabling real-time performance that is difficult to achieve with traditional embedded processors.
  • DSST Optimization for Hardware: Adapting and optimizing algorithms like DSST for hardware is critical. The choice to use a reduced number of scale spaces and parallelize feature extraction and correlation filter calculations significantly impacts efficiency.
  • Batch Processing and TDM are Crucial: The success in reducing FPGA resource utilization (LUTs and storage blocks) hinges on clever implementation strategies like batch processing for features and time-division multiplexing for the FFT core. These techniques are key to making the system feasible on a mid-range FPGA.
  • Trade-offs in Scale Estimation: The paper highlights that while DSST's original scale estimation is robust, its computational cost is high. Adopting a SAMF-inspired approach offers a practical trade-off between performance and resource usage.

Key Results

  • High Frame Rate: The implemented FPGA system achieves a tracking speed of over 153 frames per second (FPS).
  • Resource Utilization: The system demonstrates efficient resource usage on the Xilinx XC7K325T FPGA, utilizing 33% of Slice LUTs and 40% of Block RAM/FIFO resources.
  • Performance Comparison: The proposed method significantly outperforms other trackers like DSST, Struck, TLD, and MIL in terms of speed, achieving 153 FPS compared to values in the range of 5.97 to 24 FPS for others.

Limitations and Future Work

  • Limitations: The paper acknowledges that the current system is designed for simpler backgrounds. The performance in complex environments with significant occlusion or rapid appearance changes is not explicitly detailed. The optimization for resource usage might involve some trade-offs in the complexity of the features or the exact implementation of the correlation filter.
  • Future Work: The authors plan to further improve the accuracy of the algorithm to enable its application in more complex environments. This suggests future work will focus on enhancing robustness and handling challenging tracking scenarios.

Summary updated

Abstract

Visual tracking is one of the most important application areas of computer vision. At present, most algorithms are mainly implemented on PCs, and it is difficult to ensure real-time performance when applied in the real scenario. In order to improve the tracking speed and reduce the overall power consumption of visual tracking, this paper proposes a real-time visual tracking algorithm based on DSST(Discriminative Scale Space Tracking) approach. We implement a hardware system on Xilinx XC7K325T FPGA platform based on our proposed visual tracking algorithm. Our hardware system can run at more than 153 frames per second. In order to reduce the resource occupation, our system adopts the batch processing method in the feature extraction module. In the filter processing module, the FFT IP core is time-division multiplexed. Therefore, our hardware system utilizes LUTs and storage blocks of 33% and 40%, respectively. Test results show that the proposed visual tracking hardware system has excellent performance.
BibTeX
@misc{song2018fpga,
  author = {Ke Song and Chun Yuan and Peng Gao and Yunxu Sun},
  title = {{FPGA-based Acceleration System for Visual Tracking}},
  year = {2018},
  eprint = {1810.05367},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1810.05367},
}
Figure