Lien-dai Nguyen, Trang N. M. Cao, Lam Huynh-Anh, Hanh Dang-Ngoc
{"title":"An Embedded Machine Learning System For Real-time Face Mask Detection And Human Temperature Measurement","authors":"Lien-dai Nguyen, Trang N. M. Cao, Lam Huynh-Anh, Hanh Dang-Ngoc","doi":"10.1109/NICS54270.2021.9701494","DOIUrl":null,"url":null,"abstract":"In this paper, an efficient embedded machine learning system is proposed to automatically detect face masks and measure human temperature in a real-time application. In particular, our system uses a Raspberry-Pi camera to collect realtime video and detect face masks by implementing a classification model on Raspberry Pi 3 in public places. The face mask detector is built based on MobileNetV2, with ImageNet pre-trained weights, to detect three cases of correctly wearing, incorrectly wearing and not wearing a mask. We also design a human temperature measurement framework by deploying a temperature sensor on the Raspberry Pi 3. The numerical results prove the practicality and effectiveness of our embedded systems compared to some state-of-the-art researches. The results of accuracy rate in detecting three cases of wearing a face mask are 98.61% based on the training results and 97.63% for validation results. Meanwhile, our proposed system needs a short time of 6 seconds for each person to be tested through the whole process of face mask detection and human forehead temperature measurement.","PeriodicalId":296963,"journal":{"name":"2021 8th NAFOSTED Conference on Information and Computer Science (NICS)","volume":"10 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-12-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 8th NAFOSTED Conference on Information and Computer Science (NICS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/NICS54270.2021.9701494","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2
Abstract
In this paper, an efficient embedded machine learning system is proposed to automatically detect face masks and measure human temperature in a real-time application. In particular, our system uses a Raspberry-Pi camera to collect realtime video and detect face masks by implementing a classification model on Raspberry Pi 3 in public places. The face mask detector is built based on MobileNetV2, with ImageNet pre-trained weights, to detect three cases of correctly wearing, incorrectly wearing and not wearing a mask. We also design a human temperature measurement framework by deploying a temperature sensor on the Raspberry Pi 3. The numerical results prove the practicality and effectiveness of our embedded systems compared to some state-of-the-art researches. The results of accuracy rate in detecting three cases of wearing a face mask are 98.61% based on the training results and 97.63% for validation results. Meanwhile, our proposed system needs a short time of 6 seconds for each person to be tested through the whole process of face mask detection and human forehead temperature measurement.