The invention discloses an FPGA-based target detection model acceleration design method, and relates to the technical field of
computer vision. The acceleration design method comprises the steps that a
block RAM is adopted as a feature map cache unit, DDR4 data provided by
peripheral equipment are converted into
stream data at the input end of the feature map cache unit, and the
stream data are stored in a
line scanning mode; before the feature map is input into
convolution processing, the feature map is processed through a quantization operation unit, and floating-point number data is converted into fixed-
point data; and inputting the quantized feature map and the model weight into a
convolution operation unit to execute
convolution operation, caching the feature map into a row buffer area in rows in each convolution in the convolution operation unit, and multiplying the feature map with a weight matrix position by position and adding the feature map. According to the method, ZYNQ is adopted as a hardware platform, the target detection
algorithm is accelerated and optimized through a
software and hardware
collaborative design method, the operation speed of the target detection
algorithm is improved, and the accuracy of target detection is ensured.