{"title":"使用预训练的 CNN 自动检测人脸面具","authors":"Farah Saad Al-Mukhta","doi":"10.22401/anjs.26.4.12","DOIUrl":null,"url":null,"abstract":"In recent times, the use of face masks has emerged as a critical subject. Automated facial mask detection can curb the transmission of the COVID-19 virus and SARS-VIRUS within communal areas by identifying individuals who are not utilizing masks. In this work, a pretrained Convolutional Neural Network (CNN) with model ResNet-50, which is initially trained on the Image Net competition data, is utilized. This model is augmented with a 300-linear layer network and fine-tuned on a dataset that comprises 1,000 facial images. During the evaluation of the validation dataset consisting of approximately 800 face images, the model achieved an impressive 99% accuracy. Its primary objective is to discover if an individual is wearing a facial mask using a cropped image of their face. By leveraging such advanced technologies, we can contribute significantly to public health and safety measures in the ongoing battle against COVID-19 and SARS-VIRUS.Keywords:CNNCOVID-19Face Mask Detection (FMD) SARSDOI: 10.22401/ANJS.26.4.12*corresponding author email: farah.saad@nahrainuniv.edu.iqThis work is licensed under a Creative Commons Attribution 4.0 International License1.Introduction COVID-19 (CO ronaVIrus Disease of 2019) and SARS(Severe Acute Respiratory Syndrome) are two viral respiratory illnesses caused by coronaviruses, both of which have had important global impacts on public health [1]. These contagious diseases emerged in different time frames but share similarities in their mode of transmission and clinical presentation, prompting the search for effective non-pharmaceutical strategies to mitigate their spread [2]. One essential strategy to reduce the transmission of respiratory droplets, which can carry the viruses, is the widespread adoption of face masks in public spaces. However, monitoring and ensuring compliance with mask-wearing practices in crowded areas can be challenging, particularly in densely populated regions. Automatic face mask detection (FMD) systems powered by advanced technologies offer a potential solution to this challenge [3]. Convolutional Neural Networks (CNNs) and deep learning techniques have demonstrated remarkable success in computer vision tasks, including image classification [4]. In this context, utilizing pretrained CNN models, such as ResNet-50, has shown promising results for identifying faces wearing or not wearing masks. In this work, we explore applying a pretrained ResNet-50 CNN model fine-tuned on a well-balanced dataset of 12,000cropped photos of faces with and without masks. The goal is to create an accurate and reliable FMD (Face Mask Detection) system that can automatically identify individuals who are not wearing masks in public spaces. Through this work, we aim to contribute to the expanding realm of research on FMD as a crucial tool to prevent the spread of respiratory illnesses. The successful implementation of such technology has the ability to play a significant role in safeguarding public health, improving safety measures, and aiding in the ongoing battle against COVID-19 and SARS in various community settings.","PeriodicalId":7494,"journal":{"name":"Al-Nahrain Journal of Science","volume":"36 4","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2023-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"AutomatedFace Mask Detection Using Pretrained CNN\",\"authors\":\"Farah Saad Al-Mukhta\",\"doi\":\"10.22401/anjs.26.4.12\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In recent times, the use of face masks has emerged as a critical subject. Automated facial mask detection can curb the transmission of the COVID-19 virus and SARS-VIRUS within communal areas by identifying individuals who are not utilizing masks. In this work, a pretrained Convolutional Neural Network (CNN) with model ResNet-50, which is initially trained on the Image Net competition data, is utilized. This model is augmented with a 300-linear layer network and fine-tuned on a dataset that comprises 1,000 facial images. During the evaluation of the validation dataset consisting of approximately 800 face images, the model achieved an impressive 99% accuracy. Its primary objective is to discover if an individual is wearing a facial mask using a cropped image of their face. By leveraging such advanced technologies, we can contribute significantly to public health and safety measures in the ongoing battle against COVID-19 and SARS-VIRUS.Keywords:CNNCOVID-19Face Mask Detection (FMD) SARSDOI: 10.22401/ANJS.26.4.12*corresponding author email: farah.saad@nahrainuniv.edu.iqThis work is licensed under a Creative Commons Attribution 4.0 International License1.Introduction COVID-19 (CO ronaVIrus Disease of 2019) and SARS(Severe Acute Respiratory Syndrome) are two viral respiratory illnesses caused by coronaviruses, both of which have had important global impacts on public health [1]. These contagious diseases emerged in different time frames but share similarities in their mode of transmission and clinical presentation, prompting the search for effective non-pharmaceutical strategies to mitigate their spread [2]. One essential strategy to reduce the transmission of respiratory droplets, which can carry the viruses, is the widespread adoption of face masks in public spaces. However, monitoring and ensuring compliance with mask-wearing practices in crowded areas can be challenging, particularly in densely populated regions. Automatic face mask detection (FMD) systems powered by advanced technologies offer a potential solution to this challenge [3]. Convolutional Neural Networks (CNNs) and deep learning techniques have demonstrated remarkable success in computer vision tasks, including image classification [4]. In this context, utilizing pretrained CNN models, such as ResNet-50, has shown promising results for identifying faces wearing or not wearing masks. In this work, we explore applying a pretrained ResNet-50 CNN model fine-tuned on a well-balanced dataset of 12,000cropped photos of faces with and without masks. The goal is to create an accurate and reliable FMD (Face Mask Detection) system that can automatically identify individuals who are not wearing masks in public spaces. Through this work, we aim to contribute to the expanding realm of research on FMD as a crucial tool to prevent the spread of respiratory illnesses. The successful implementation of such technology has the ability to play a significant role in safeguarding public health, improving safety measures, and aiding in the ongoing battle against COVID-19 and SARS in various community settings.\",\"PeriodicalId\":7494,\"journal\":{\"name\":\"Al-Nahrain Journal of Science\",\"volume\":\"36 4\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-12-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Al-Nahrain Journal of Science\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.22401/anjs.26.4.12\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Al-Nahrain Journal of Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.22401/anjs.26.4.12","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
近来,口罩的使用已成为一个重要课题。通过自动检测口罩,可以识别出没有使用口罩的人,从而遏制 COVID-19 病毒和 SARS 病毒在公共场所的传播。在这项工作中,使用了一个带有 ResNet-50 模型的预训练卷积神经网络 (CNN),该模型最初是在 Image Net 竞赛数据上训练的。该模型使用 300 线性层网络进行增强,并在包含 1,000 张面部图像的数据集上进行微调。在对包含约 800 张面部图像的验证数据集进行评估时,该模型的准确率达到了令人印象深刻的 99%。该模型的主要目标是利用裁剪后的面部图像发现一个人是否戴了面部面具。通过利用这种先进技术,我们可以在目前抗击 COVID-19 和 SARS 病毒的战斗中为公共卫生和安全措施做出重大贡献。 关键词:CNNCOVID-19人脸面具检测(FMD)SARSDOI: 10.22401/ANJS.26.4.12*corresponding author email: farah.saad@nahrainuniv.edu.iqThis work is licensed under a Creative Commons Attribution 4.0 International License1.引言COVID-19(CO ronaVIrus Disease of 2019)和SARS(Severe Acute Respiratory Syndrome)是由冠状病毒引起的两种病毒性呼吸道疾病,均对全球公共卫生产生了重要影响[1]。这两种传染病出现的时间不同,但在传播方式和临床表现上有相似之处,这促使人们寻找有效的非药物策略来减少其传播[2]。减少可携带病毒的呼吸道飞沫传播的一个基本策略是在公共场所广泛使用口罩。然而,在人群密集的地区,尤其是在人口稠密的地区,监测和确保人们遵守戴口罩的做法可能具有挑战性。采用先进技术的自动口罩检测(FMD)系统为应对这一挑战提供了潜在的解决方案[3]。卷积神经网络(CNN)和深度学习技术在计算机视觉任务(包括图像分类)中取得了显著的成功[4]。在这种情况下,利用预先训练好的 CNN 模型(如 ResNet-50)来识别是否戴面具的人脸已显示出良好的效果。在这项工作中,我们将探索在由 12,000 张带面具和不带面具的人脸照片组成的均衡数据集上应用经过微调的预训练 ResNet-50 CNN 模型。我们的目标是创建一个准确可靠的 FMD(人脸面具检测)系统,该系统可以自动识别公共场所中未戴面具的个人。通过这项工作,我们希望为不断扩大的 FMD 研究领域做出贡献,因为 FMD 是预防呼吸道疾病传播的重要工具。这种技术的成功应用能够在保障公众健康、改善安全措施以及在各种社区环境中协助抗击 COVID-19 和 SARS 方面发挥重要作用。
In recent times, the use of face masks has emerged as a critical subject. Automated facial mask detection can curb the transmission of the COVID-19 virus and SARS-VIRUS within communal areas by identifying individuals who are not utilizing masks. In this work, a pretrained Convolutional Neural Network (CNN) with model ResNet-50, which is initially trained on the Image Net competition data, is utilized. This model is augmented with a 300-linear layer network and fine-tuned on a dataset that comprises 1,000 facial images. During the evaluation of the validation dataset consisting of approximately 800 face images, the model achieved an impressive 99% accuracy. Its primary objective is to discover if an individual is wearing a facial mask using a cropped image of their face. By leveraging such advanced technologies, we can contribute significantly to public health and safety measures in the ongoing battle against COVID-19 and SARS-VIRUS.Keywords:CNNCOVID-19Face Mask Detection (FMD) SARSDOI: 10.22401/ANJS.26.4.12*corresponding author email: farah.saad@nahrainuniv.edu.iqThis work is licensed under a Creative Commons Attribution 4.0 International License1.Introduction COVID-19 (CO ronaVIrus Disease of 2019) and SARS(Severe Acute Respiratory Syndrome) are two viral respiratory illnesses caused by coronaviruses, both of which have had important global impacts on public health [1]. These contagious diseases emerged in different time frames but share similarities in their mode of transmission and clinical presentation, prompting the search for effective non-pharmaceutical strategies to mitigate their spread [2]. One essential strategy to reduce the transmission of respiratory droplets, which can carry the viruses, is the widespread adoption of face masks in public spaces. However, monitoring and ensuring compliance with mask-wearing practices in crowded areas can be challenging, particularly in densely populated regions. Automatic face mask detection (FMD) systems powered by advanced technologies offer a potential solution to this challenge [3]. Convolutional Neural Networks (CNNs) and deep learning techniques have demonstrated remarkable success in computer vision tasks, including image classification [4]. In this context, utilizing pretrained CNN models, such as ResNet-50, has shown promising results for identifying faces wearing or not wearing masks. In this work, we explore applying a pretrained ResNet-50 CNN model fine-tuned on a well-balanced dataset of 12,000cropped photos of faces with and without masks. The goal is to create an accurate and reliable FMD (Face Mask Detection) system that can automatically identify individuals who are not wearing masks in public spaces. Through this work, we aim to contribute to the expanding realm of research on FMD as a crucial tool to prevent the spread of respiratory illnesses. The successful implementation of such technology has the ability to play a significant role in safeguarding public health, improving safety measures, and aiding in the ongoing battle against COVID-19 and SARS in various community settings.