Realtime Mask Detection of Kitchen Staff Using YOLOv5 and Edge Computing

Yunfan Shi, Zheng Yang, Yifei Bi, Jingcheng Li, Xiaohui Zhu*, Yong Yue

*Corresponding author for this work

Research output: Chapter in Book or Report/Conference proceedingConference Proceedingpeer-review

Abstract

We propose a new end-to-end, edge-device embedded solution for detection of improper mask-wearing of kitchen staff using network cameras. Mask detection on kitchen network cameras is a highly specified task with little ready-to use data. The filming position of network cameras and the enviroment in kitchen leaded to vague images and small targets. Also, the detection model should be light-weighted to be deployed on edge computing devices. To improve accuracy on this task, We constructed a novel dataset from real kitchen cameras of different positions, indoor layouts, light conditions and applied effective data augementation. We conducted transfer learning on our dataset starting from COCO pre-trained YOLOV5s weights. In addition, we optimized the model through parameter tuning and post training model pruning for a single Nvidia Jetson Nano device and achieved high accuracy and sensitivity on multiple HD resolution network camera video feed. Experimental results show that our model achieves a training accuracy of 100 percent mAP(0.5) and test accuracy of 97.6 percent mAP(0.5) with minimal training cost: only 89 epochs on our dataset with early stopping. With an inference speed of 10 FPS on Nvidia Jetson Nano, our solution suffices the application requirements and can handle mutiple parallel HD camera streams simultaneously. Compared with previous research, our solution provides competitive cost efficiency where accurate and sensitive high resolution image detection can be run on a single edge device.

Original languageEnglish
Title of host publication2023 3rd International Conference on Computer, Control and Robotics, ICCCR 2023
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages33-40
Number of pages8
ISBN (Electronic)9781665492126
DOIs
Publication statusPublished - 2023
Event3rd International Conference on Computer, Control and Robotics, ICCCR 2023 - Shanghai, China
Duration: 24 Mar 202326 Mar 2023

Publication series

Name2023 3rd International Conference on Computer, Control and Robotics, ICCCR 2023

Conference

Conference3rd International Conference on Computer, Control and Robotics, ICCCR 2023
Country/TerritoryChina
CityShanghai
Period24/03/2326/03/23

Keywords

  • Edge Computing
  • Mask Detection
  • Object Detection

Fingerprint

Dive into the research topics of 'Realtime Mask Detection of Kitchen Staff Using YOLOv5 and Edge Computing'. Together they form a unique fingerprint.

Cite this