利用 SVM 和 Haar Cascade 在 OpenCV 中实现掩码使用检测

Hustinawaty, Muhammad Farell
{"title":"利用 SVM 和 Haar Cascade 在 OpenCV 中实现掩码使用检测","authors":"Hustinawaty, Muhammad Farell","doi":"10.22146/jnteti.v13i1.9292","DOIUrl":null,"url":null,"abstract":"Despite a decline in global COVID-19 cases, the persisting threat of SARS-CoV-2 coupled with waning public awareness of the virus threat has raised concerns. A notable number of individuals disregard mask usage or do so incorrectly. It is particularly concerning given that COVID-19 has high transmissibility, especially in crowded areas like shopping centers. Enforcement officers often face challenges in identifying those wearing masks improperly. Herein lies the significance of automated mask detection to aid enforcement officers in containing the spread of the virus. Hence, this paper aims to highlight the importance of automated mask detection in combatting COVID-19 transmission. Previous mask detection algorithms were intricate because they relied heavily on resource-intensive machine learning algorithms and libraries. These algorithms, however, failed to address the problem of incorrect mask usage adequately. Therefore, despite the apparent usage of masks, the virus managed to find transmission pathways. In contrast, this research focuses on creating algorithms that pinpoint improper mask usage and optimize resource utilization without compromising detection quality. The Haar cascade algorithm was utilized to detect faces and the support vector machine (SVM) was used to train the dataset. The model attained an average accuracy of 95.8%, precision of 99.7%, recall of 92.3%, and F1-score of 93.7%. The metrics aligned with prior studies, affirming their reliability. Nevertheless, limitations exist as the model faces challenges in detecting obscured facial features, requiring further research to enhance its detection capabilities. This research contributes to ongoing efforts to improve mask detection technology for more effective virus containment.","PeriodicalId":31477,"journal":{"name":"Jurnal Nasional Teknik Elektro dan Teknologi Informasi","volume":"14 4","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-02-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Implementation of Mask Use Detection With SVM and Haar Cascade in OpenCV\",\"authors\":\"Hustinawaty, Muhammad Farell\",\"doi\":\"10.22146/jnteti.v13i1.9292\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Despite a decline in global COVID-19 cases, the persisting threat of SARS-CoV-2 coupled with waning public awareness of the virus threat has raised concerns. A notable number of individuals disregard mask usage or do so incorrectly. It is particularly concerning given that COVID-19 has high transmissibility, especially in crowded areas like shopping centers. Enforcement officers often face challenges in identifying those wearing masks improperly. Herein lies the significance of automated mask detection to aid enforcement officers in containing the spread of the virus. Hence, this paper aims to highlight the importance of automated mask detection in combatting COVID-19 transmission. Previous mask detection algorithms were intricate because they relied heavily on resource-intensive machine learning algorithms and libraries. These algorithms, however, failed to address the problem of incorrect mask usage adequately. Therefore, despite the apparent usage of masks, the virus managed to find transmission pathways. In contrast, this research focuses on creating algorithms that pinpoint improper mask usage and optimize resource utilization without compromising detection quality. The Haar cascade algorithm was utilized to detect faces and the support vector machine (SVM) was used to train the dataset. The model attained an average accuracy of 95.8%, precision of 99.7%, recall of 92.3%, and F1-score of 93.7%. The metrics aligned with prior studies, affirming their reliability. Nevertheless, limitations exist as the model faces challenges in detecting obscured facial features, requiring further research to enhance its detection capabilities. This research contributes to ongoing efforts to improve mask detection technology for more effective virus containment.\",\"PeriodicalId\":31477,\"journal\":{\"name\":\"Jurnal Nasional Teknik Elektro dan Teknologi Informasi\",\"volume\":\"14 4\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-02-12\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Jurnal Nasional Teknik Elektro dan Teknologi Informasi\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.22146/jnteti.v13i1.9292\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Jurnal Nasional Teknik Elektro dan Teknologi Informasi","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.22146/jnteti.v13i1.9292","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

尽管全球 COVID-19 病例有所下降,但 SARS-CoV-2 的持续威胁以及公众对病毒威胁认识的减弱引起了人们的关注。相当多的人无视口罩的使用或使用不当。鉴于 COVID-19 的高传播性,尤其是在购物中心等人群密集的地方,这种情况尤其令人担忧。执法人员在识别不正确佩戴口罩者时经常面临挑战。因此,自动口罩检测对于帮助执法人员遏制病毒传播具有重要意义。因此,本文旨在强调自动口罩检测对遏制 COVID-19 传播的重要性。以前的掩码检测算法非常复杂,因为它们严重依赖于资源密集型机器学习算法和库。然而,这些算法未能充分解决不正确使用掩码的问题。因此,尽管表面上使用了掩码,病毒仍能找到传播途径。与此相反,本研究的重点是创建算法,在不影响检测质量的前提下,准确定位不正确的掩码使用并优化资源利用。我们利用 Haar 级联算法来检测人脸,并使用支持向量机(SVM)来训练数据集。该模型的平均准确率为 95.8%,精确率为 99.7%,召回率为 92.3%,F1 分数为 93.7%。这些指标与之前的研究结果一致,肯定了其可靠性。然而,由于该模型在检测模糊面部特征方面面临挑战,因此还存在局限性,需要进一步研究以提高其检测能力。这项研究有助于不断改进掩码检测技术,从而更有效地遏制病毒。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Implementation of Mask Use Detection With SVM and Haar Cascade in OpenCV
Despite a decline in global COVID-19 cases, the persisting threat of SARS-CoV-2 coupled with waning public awareness of the virus threat has raised concerns. A notable number of individuals disregard mask usage or do so incorrectly. It is particularly concerning given that COVID-19 has high transmissibility, especially in crowded areas like shopping centers. Enforcement officers often face challenges in identifying those wearing masks improperly. Herein lies the significance of automated mask detection to aid enforcement officers in containing the spread of the virus. Hence, this paper aims to highlight the importance of automated mask detection in combatting COVID-19 transmission. Previous mask detection algorithms were intricate because they relied heavily on resource-intensive machine learning algorithms and libraries. These algorithms, however, failed to address the problem of incorrect mask usage adequately. Therefore, despite the apparent usage of masks, the virus managed to find transmission pathways. In contrast, this research focuses on creating algorithms that pinpoint improper mask usage and optimize resource utilization without compromising detection quality. The Haar cascade algorithm was utilized to detect faces and the support vector machine (SVM) was used to train the dataset. The model attained an average accuracy of 95.8%, precision of 99.7%, recall of 92.3%, and F1-score of 93.7%. The metrics aligned with prior studies, affirming their reliability. Nevertheless, limitations exist as the model faces challenges in detecting obscured facial features, requiring further research to enhance its detection capabilities. This research contributes to ongoing efforts to improve mask detection technology for more effective virus containment.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
审稿时长
24 weeks
×
引用
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学术官方微信