Published October 4, 2021 | Version v1
Conference paper Open

Challenges Towards Hardware Acceleration of the Deformable Shape Tracking Application

  • 1. University of Peloponnese, Patra, Greece
  • 2. Aristotle University of Thessaloniki, Thessaloniki, Greece
  • 3. School of Informatics Aristotle, University of Thessaloniki, Thessaloniki, Greece

Description

In the context of this paper, a shape tracking application based on landmark alignment is transformed to support implementation in Field Programmable Gate Arrays (FPGAs). Towards this direction, several challenges are posed since a) computational intensive operations have to be replaced by faster ones, b) specific loops have to be modified (e.g., unrolled) to support the implementation of operations in parallel with different hardware resources, c) multiple pretrained models have to be compared in terms of speed and accuracy, d) partial loading of the pre-trained models has to be examined in order to fit their parameters in the Block Random Access Memories (BRAMs) of the FPGA for faster access, and e) alternative arithmetic representations have to be evaluated for higher speed and reduced resources.The C++ Deformable Shape Tracking (DEST) implementation of face alignment that is based on an Ensemble of Regression Trees is employed in our approach. The DEST application uses Eigen library routines to implement algebraic operations which are proved to be quite slow. The achievements of this paper, concern the replacement of appropriate Eigen calls in time critical paths with fast C code that can be directly used to synthesize reconfigurable hardware implementations. The elimination of the computational intensive Eigen calls has already improved the speed of the face alignment application by more than 240 times. In this paper we examine how the modified source code structure of the DEST application can be used to address the challenges described above.

Files

VLSISoC_CR.pdf

Files (585.0 kB)

Name Size Download all
md5:720f57aad455c2fe5f97e2fa855008f4
585.0 kB Preview Download

Additional details

Funding

European Commission
CPSoSaware – Cross-layer cognitive optimization tools & methods for the lifecycle support of dependable CPSoS 871738