{"title":"A Face Mask Detection System Based on High Level Synthesis and Hardware Software Codesign","authors":"Yao-Wen Chang, Chih-Chi Huang, Y. Hwang","doi":"10.1109/IET-ICETA56553.2022.9971488","DOIUrl":null,"url":null,"abstract":"This paper presents an experimental trial of implementing a face mask detection system based on a high-level synthesis (HLS) design flow and the concept of hardware/ software codesign. The target platform is a low-cost Xilinx PYNQ-Z2 FPGA board, which is connected to a host computer and serves as a hardware accelerator performing the task of face mask detection. The development is under a PYNQ framework supporting applications, software and hardware designs. In applications, a Jupyter Notebook is used for system level control. In hardware design, a Vivado HLS IP flow is used to design the hardware computing kernel and implement the interface (overlay) between hardware and software sections. To simplify the hardware implementation complexity, the face mask detection algorithm adopts an ISP approach in lieu of complicated CNN models. The algorithm consists of color space transform, skin color detection, morphological operations, connected components labeling and horizontal edge detection. Despite its algorithmic simplicity, the proposed scheme supports multi-object detection and can exclude the interferences from non-face parts. Each module is described in C++ and translated to a corresponding hardware design module via HLS. These modules are then combined to form a hardware accelerator and integrated to the PYNQ framework. The implementation result indicates the detection FPS can reach 18.","PeriodicalId":46240,"journal":{"name":"IET Networks","volume":null,"pages":null},"PeriodicalIF":1.3000,"publicationDate":"2022-10-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IET Networks","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IET-ICETA56553.2022.9971488","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
This paper presents an experimental trial of implementing a face mask detection system based on a high-level synthesis (HLS) design flow and the concept of hardware/ software codesign. The target platform is a low-cost Xilinx PYNQ-Z2 FPGA board, which is connected to a host computer and serves as a hardware accelerator performing the task of face mask detection. The development is under a PYNQ framework supporting applications, software and hardware designs. In applications, a Jupyter Notebook is used for system level control. In hardware design, a Vivado HLS IP flow is used to design the hardware computing kernel and implement the interface (overlay) between hardware and software sections. To simplify the hardware implementation complexity, the face mask detection algorithm adopts an ISP approach in lieu of complicated CNN models. The algorithm consists of color space transform, skin color detection, morphological operations, connected components labeling and horizontal edge detection. Despite its algorithmic simplicity, the proposed scheme supports multi-object detection and can exclude the interferences from non-face parts. Each module is described in C++ and translated to a corresponding hardware design module via HLS. These modules are then combined to form a hardware accelerator and integrated to the PYNQ framework. The implementation result indicates the detection FPS can reach 18.
IET NetworksCOMPUTER SCIENCE, INFORMATION SYSTEMS-
CiteScore
5.00
自引率
0.00%
发文量
41
审稿时长
33 weeks
期刊介绍:
IET Networks covers the fundamental developments and advancing methodologies to achieve higher performance, optimized and dependable future networks. IET Networks is particularly interested in new ideas and superior solutions to the known and arising technological development bottlenecks at all levels of networking such as topologies, protocols, routing, relaying and resource-allocation for more efficient and more reliable provision of network services. Topics include, but are not limited to: Network Architecture, Design and Planning, Network Protocol, Software, Analysis, Simulation and Experiment, Network Technologies, Applications and Services, Network Security, Operation and Management.