The invention discloses a heterogeneous
hardware acceleration method for
plant disease and
insect pest image recognition based on an FPGA and an ARM, and the method comprises the steps: employing a CSPdarknet53tiny as a
trunk feature extraction network of Yolov4tiny, employing a layer fusion principle during the export of operator parameters, carrying out the optimization of a data flow and an interface of a designed hardware accelerator, employing a dual-buffer structure, and enabling the
hardware acceleration to be more stable and reliable. An AXI
bus Central DMA is designed at an interface, and finally, prediction frame decoding after network post-
processing and a non-maximum suppression
algorithm are implemented at an embedded PS end, so that an identification result can be obtained in real time when an accelerator network obtains a result. According to the method, an efficient and accurate hardware accelerator is designed in an embedded application scene, particularly in the aspect of
plant disease and
insect pest image recognition, the network recognition accuracy is improved, meanwhile, the parameter quantity of a network and the transmission efficiency of hardware are considered, greater possibility is provided for deployment of a
recognition system at a mobile terminal, and the application prospect is wide. Meanwhile, the labor cost is reduced, and a powerful technical basis is provided for subsequent
plant disease and
pest control.