Abstract

The recent Coronavirus COVID-19 is a very infectious disease that is transmitted through droplets generated when an infected person coughs, sneezes, or exhales. So, people must wear a face mask to reduce the power of the transition of this virus. Governments around the world have imposed the use of face masks in public spaces and supermarkets. In this paper, we propose to build a face mask detection system based on a lightweight Convolutional Neural Network (CNN) and the YOLO object detection framework to implement it on an embedded low power device. The object detection framework was designed using a single Convolutional Neural Network for object detection in real-time. To make the YOLO framework suitable for embedded implementation, we propose to build a lightweight Convolutional Neural Network and quantize it by using a single bit for weight and 2 bits for activations. The proposed network called Pynq-YOLO-Net was implemented on the Pynq Z1 platform. The computation was divided between the software and the hardware. The features extraction part was executed on the hardware device and the output part was executed on the software. This configuration has allowed reaching real-time processing with a very good detection accuracy of 97% when tested on the combination of collected datasets.

Highlights

  • According to the World Health Organization (WHO) [1], the COVID-19 is causing a world crisis because of its fast infection and the absence of a cure

  • The main contributions of this work are the following: (1) design a lightweight Convolutional Neural Network targeting embedded device; (2) the proposed CNN was quantized to fit in the Pynq board; (3) implementation of the proposed CNN inference for face mask detection on the Pynq board

  • We propose to build a face mask detector in public spaces to detect if people are wearing masks or not

Read more

Summary

INTRODUCTION

According to the World Health Organization (WHO) [1], the COVID-19 is causing a world crisis because of its fast infection and the absence of a cure. The motivation behind optimizing the CNN for embedded implementation is to make it available for all surveillance systems without the need for high-performance computers and to reduce the power consumption of those systems. It can be implemented in mobile devices such as smartphones and smart cameras. The main contributions of this work are the following: (1) design a lightweight Convolutional Neural Network targeting embedded device; (2) the proposed CNN was quantized to fit in the Pynq board; (3) implementation of the proposed CNN inference for face mask detection on the Pynq board.

RELATED WORKS
PROPOSED APPROACH
Training Data
Training and Evaluation
Inference
Discussion
CONCLUSIONS

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.