The invention discloses a ZYNQ-based
face detection acceleration design method, which is used for
processing a
face detection task and is based on an upper computer, an
image acquisition module and a ZYNQ board card, and is characterized in that the
image acquisition module acquires a face image by using a
CMOS (Complementary
Metal Oxide Semiconductor) camera and outputs original video
stream data in a color restoration RGB565 format; the ZYNQ board card comprises a PS end and a PL end, the PL end comprises an input cache module, a filling module, a
convolution module, a
pooling module, an up-sampling module and an output cache module, and all the modules are connected in sequence; the PS end is used for overall task scheduling, reading model weight parameters in the SD card, opening a DMA channel to
complete data interaction of the PL end, and storing the read data in a DDR3 for display of an upper computer. According to the method, operations such as image preprocessing, command and data sending scheduling are carried out at a PS end, and intensive calculation tasks related to an
algorithm are processed at a PL end. High-speed interaction of data of a PL end and a PS end is achieved through a DMA module, data are sent in an AXI-
Stream format, and high-speed operation of the
system is achieved.