A Face Mask Detection System Based on High Level Synthesis and Hardware Software Codesign

IF 1.3 Q3 COMPUTER SCIENCE, INFORMATION SYSTEMS
Yao-Wen Chang, Chih-Chi Huang, Y. Hwang
{"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.
基于高级综合和软硬件协同设计的人脸检测系统
本文提出了一种基于高级综合设计流程和软硬件协同设计概念的口罩检测系统的实验设计。目标平台是一个低成本的Xilinx PYNQ-Z2 FPGA板,它连接到主机,作为硬件加速器执行面罩检测任务。该开发在PYNQ框架下进行,支持应用程序、软件和硬件设计。在应用程序中,Jupyter Notebook用于系统级控制。在硬件设计中,采用Vivado HLS IP流设计硬件计算内核,实现硬件和软件部分之间的接口(叠加)。为了简化硬件实现复杂度,掩码检测算法采用ISP方法代替复杂的CNN模型。该算法包括颜色空间变换、肤色检测、形态运算、连通分量标记和水平边缘检测。该方法算法简单,支持多目标检测,能够排除非人脸部分的干扰。每个模块都用c++语言描述,并通过HLS转换成相应的硬件设计模块。然后将这些模块组合成一个硬件加速器,并集成到PYNQ框架中。实现结果表明,检测FPS可以达到18。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
IET Networks
IET Networks COMPUTER 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.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信