Generating Masked Facial Datasets Using Dlib-Machine Learning Library

Waleed Ayad Mahdi, S. Q. Mahdi, Ali Al-Naji
{"title":"Generating Masked Facial Datasets Using Dlib-Machine Learning Library","authors":"Waleed Ayad Mahdi, S. Q. Mahdi, Ali Al-Naji","doi":"10.1109/ICOASE56293.2022.10075601","DOIUrl":null,"url":null,"abstract":"In 2020, the COVID-19 pandemic spread globally, leading to countries imposing health restrictions on people, including wearing masks, to prevent the spread of the disease. Wearing a mask significantly decreases distinguishing ability due to its concealment of the main facial features. After the outbreak of the pandemic, the existing datasets became unsuitable because they did not contain images of people wearing masks. To address the shortage of large-scale masked faces datasets, a developed method was proposed to generate artificial masks and place them on the faces in the unmasked faces dataset to generate the masked faces dataset. Following the proposed method, masked faces are generated in two steps. First, the face is detected in the unmasked image, and then the detected face image is aligned. The second step is to overlay the mask on the cropped face images using the dlib-ml library. Depending on the proposed method, two datasets of masked faces called masked-dataset-1 and masked-dataset-2 were created. Promising results were obtained when they were evaluated using the Labeled Faces in the Wild (LFW) dataset, and two of the state-of-the-art facial recognition systems for evaluation are FaceNet and ArcFace, where the accuracy of using the two systems was 96.1 and 97, respectively with masked-dataset-1 and 87.6 and 88.9, respectively with masked-dataset-2.","PeriodicalId":297211,"journal":{"name":"2022 4th International Conference on Advanced Science and Engineering (ICOASE)","volume":"17 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-09-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 4th International Conference on Advanced Science and Engineering (ICOASE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICOASE56293.2022.10075601","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

In 2020, the COVID-19 pandemic spread globally, leading to countries imposing health restrictions on people, including wearing masks, to prevent the spread of the disease. Wearing a mask significantly decreases distinguishing ability due to its concealment of the main facial features. After the outbreak of the pandemic, the existing datasets became unsuitable because they did not contain images of people wearing masks. To address the shortage of large-scale masked faces datasets, a developed method was proposed to generate artificial masks and place them on the faces in the unmasked faces dataset to generate the masked faces dataset. Following the proposed method, masked faces are generated in two steps. First, the face is detected in the unmasked image, and then the detected face image is aligned. The second step is to overlay the mask on the cropped face images using the dlib-ml library. Depending on the proposed method, two datasets of masked faces called masked-dataset-1 and masked-dataset-2 were created. Promising results were obtained when they were evaluated using the Labeled Faces in the Wild (LFW) dataset, and two of the state-of-the-art facial recognition systems for evaluation are FaceNet and ArcFace, where the accuracy of using the two systems was 96.1 and 97, respectively with masked-dataset-1 and 87.6 and 88.9, respectively with masked-dataset-2.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
使用dlib -机器学习库生成蒙面数据集
2020年,COVID-19大流行在全球蔓延,导致各国对人们实施卫生限制,包括戴口罩,以防止疾病传播。戴上口罩,由于掩盖了主要的面部特征,大大降低了识别能力。大流行爆发后,现有的数据集变得不合适,因为它们不包含戴口罩的人的图像。针对大规模掩模人脸数据集不足的问题,提出了一种生成人工掩模的方法,并将其放置在未掩模人脸数据集中的人脸上生成掩模人脸数据集。根据提出的方法,分两步生成遮罩面。首先在去掩码图像中检测人脸,然后对检测到的人脸图像进行对齐。第二步是使用dlib-ml库在裁剪的面部图像上覆盖蒙版。根据所提出的方法,创建了两个被屏蔽面数据集,分别称为掩码数据集-1和掩码数据集-2。当使用野生标记面部(LFW)数据集对它们进行评估时,获得了令人满意的结果,其中两个最先进的面部识别系统是FaceNet和ArcFace,其中使用这两个系统的准确率分别为96.1和97,分别使用掩码数据集-1和87.6和88.9,分别使用掩码数据集-2。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
A Circular Dipole Nanoantenna with Improved Performance The Use of Toulmin's Argumentation Model in Solving The Drug Conflict Problems Comparison and Assessment of PV Module Power Prediction Based on ANN for Iraq Weather Generating Masked Facial Datasets Using Dlib-Machine Learning Library Combination of Stream and Block Image Encryption Algorithms in Pixel Scrambling Using Henon Map
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1