George R. Nahass , Jeffrey C. Peterson , Kevin Heinze , Akriti Choudhary , Nikhila Khandwala , Chad A. Purnell , Pete Setabutr , Ann Q. Tran
{"title":"FaceFinder:从异质数据集中识别面部图像的机器学习工具","authors":"George R. Nahass , Jeffrey C. Peterson , Kevin Heinze , Akriti Choudhary , Nikhila Khandwala , Chad A. Purnell , Pete Setabutr , Ann Q. Tran","doi":"10.1016/j.ajoint.2024.100083","DOIUrl":null,"url":null,"abstract":"<div><h3>Purpose</h3><div>To develop an algorithm to automate the organization of large photo databases using the Haar cascade algorithm for face and eye detection and machine learning tools in Python.</div></div><div><h3>Design</h3><div>Retrospective study for the purposes of clinical tool development.</div></div><div><h3>Methods</h3><div>We developed an algorithm, termed FaceFinder, to identify front facing images in a large dataset of facial, orthodontal and miscellaneous images. FaceFinder works by detecting the presence of faces and at least two eyes using the Haar cascade. Execution time was recorded using different-sized datasets. A total of 895 images were analyzed by FaceFinder using various thresholds for face and eye detection. Precision, recall, specificity, accuracy, and F1 score were computed by comparison to ground truth labels of the images as determined by a human grader.</div></div><div><h3>Results</h3><div>Using medium thresholds for face and eye detection, FaceFinder reached recall, accuracy, and F1 score of 89.3%, 91.6%, and 92.9%, respectively with an execution time per image was 0.91 s. Using the highest threshold for face and eye detection, FaceFinder achieved precision and specificity values of 98.3% and 99.2% respectively.</div></div><div><h3>Conclusions</h3><div>FaceFinder is capable of sorting through a heterogenous dataset of photos of patients with craniofacial disease and identifying high-quality front-facing facial images. This capability allows for automated sorting of large databases that can facilitate and expedite data preparation for further downstream analyses involving artificial intelligence and facial landmarking.</div></div>","PeriodicalId":100071,"journal":{"name":"AJO International","volume":"1 4","pages":"Article 100083"},"PeriodicalIF":0.0000,"publicationDate":"2024-11-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"FaceFinder: A machine learning tool for identification of facial images from heterogenous datasets\",\"authors\":\"George R. Nahass , Jeffrey C. Peterson , Kevin Heinze , Akriti Choudhary , Nikhila Khandwala , Chad A. Purnell , Pete Setabutr , Ann Q. Tran\",\"doi\":\"10.1016/j.ajoint.2024.100083\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><h3>Purpose</h3><div>To develop an algorithm to automate the organization of large photo databases using the Haar cascade algorithm for face and eye detection and machine learning tools in Python.</div></div><div><h3>Design</h3><div>Retrospective study for the purposes of clinical tool development.</div></div><div><h3>Methods</h3><div>We developed an algorithm, termed FaceFinder, to identify front facing images in a large dataset of facial, orthodontal and miscellaneous images. FaceFinder works by detecting the presence of faces and at least two eyes using the Haar cascade. Execution time was recorded using different-sized datasets. A total of 895 images were analyzed by FaceFinder using various thresholds for face and eye detection. Precision, recall, specificity, accuracy, and F1 score were computed by comparison to ground truth labels of the images as determined by a human grader.</div></div><div><h3>Results</h3><div>Using medium thresholds for face and eye detection, FaceFinder reached recall, accuracy, and F1 score of 89.3%, 91.6%, and 92.9%, respectively with an execution time per image was 0.91 s. Using the highest threshold for face and eye detection, FaceFinder achieved precision and specificity values of 98.3% and 99.2% respectively.</div></div><div><h3>Conclusions</h3><div>FaceFinder is capable of sorting through a heterogenous dataset of photos of patients with craniofacial disease and identifying high-quality front-facing facial images. This capability allows for automated sorting of large databases that can facilitate and expedite data preparation for further downstream analyses involving artificial intelligence and facial landmarking.</div></div>\",\"PeriodicalId\":100071,\"journal\":{\"name\":\"AJO International\",\"volume\":\"1 4\",\"pages\":\"Article 100083\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-11-07\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"AJO International\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S2950253524000832\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"AJO International","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2950253524000832","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
目的使用哈尔级联算法进行人脸和眼睛检测,并使用 Python 中的机器学习工具开发一种算法,用于自动组织大型照片数据库。方法我们开发了一种称为 FaceFinder 的算法,用于识别大型面部、正齿和杂项图像数据集中的正面图像。FaceFinder 的工作原理是使用 Haar 级联检测人脸和至少两只眼睛的存在。使用不同大小的数据集记录了执行时间。FaceFinder 使用不同的阈值检测人脸和眼睛,共分析了 895 幅图像。结果使用中等阈值检测人脸和眼睛时,FaceFinder 的召回率、准确率和 F1 得分分别为 89.3%、91.6% 和 92.9%,每张图像的执行时间为 0.91 秒。结论FaceFinder 能够对颅面疾病患者照片的异质数据集进行分类,并识别高质量的正面面部图像。这项功能允许对大型数据库进行自动分类,从而促进并加快了数据准备工作,以便进一步进行涉及人工智能和面部标记的下游分析。
FaceFinder: A machine learning tool for identification of facial images from heterogenous datasets
Purpose
To develop an algorithm to automate the organization of large photo databases using the Haar cascade algorithm for face and eye detection and machine learning tools in Python.
Design
Retrospective study for the purposes of clinical tool development.
Methods
We developed an algorithm, termed FaceFinder, to identify front facing images in a large dataset of facial, orthodontal and miscellaneous images. FaceFinder works by detecting the presence of faces and at least two eyes using the Haar cascade. Execution time was recorded using different-sized datasets. A total of 895 images were analyzed by FaceFinder using various thresholds for face and eye detection. Precision, recall, specificity, accuracy, and F1 score were computed by comparison to ground truth labels of the images as determined by a human grader.
Results
Using medium thresholds for face and eye detection, FaceFinder reached recall, accuracy, and F1 score of 89.3%, 91.6%, and 92.9%, respectively with an execution time per image was 0.91 s. Using the highest threshold for face and eye detection, FaceFinder achieved precision and specificity values of 98.3% and 99.2% respectively.
Conclusions
FaceFinder is capable of sorting through a heterogenous dataset of photos of patients with craniofacial disease and identifying high-quality front-facing facial images. This capability allows for automated sorting of large databases that can facilitate and expedite data preparation for further downstream analyses involving artificial intelligence and facial landmarking.