- 1Department of Conservative Dentistry and Prosthodontics, Faculty of Dentistry, Srinakharinwirot University, Bangkok, Thailand
- 2Faculty of Dentistry, Srinakharinwirot University, Bangkok, Thailand
Introduction: To detect dental plaque, manual assessment and plaque-disclosing dyes are commonly used. However, they are time-consuming and prone to human error. This study aims to investigate the feasibility of using Google Cloud's Vertex artificial intelligence (AI) automated machine learning (AutoML) to develop a model for detecting dental plaque levels on permanent teeth using undyed photographic images.
Methods: Photographic images of both undyed and corresponding erythrosine solution-dyed upper anterior permanent teeth from 100 dental students were captured using a smartphone camera. All photos were cropped to individual tooth images. Dyed images were analyzed to classify plaque levels based on the percentage of dyed surface area: mild (<30%), moderate (30%–60%), and heavy (>60%) categories. These true labels were used as the ground truth for undyed images. Two AutoML models, a three-class model (mild, moderate, heavy plaque) and a two-class model (acceptable vs. unacceptable plaque), were developed using undyed images in Vertex AI environment. Both models were evaluated based on precision, recall, and F1-score.
Results: The three-class model achieved an average precision of 0.907, with the highest precision (0.983) in the heavy plaque category. Misclassifications were more common in the mild and moderate categories. The two-class acceptable-unacceptable model demonstrated improved performance with an average precision of 0.964 and an F1-score of 0.931.
Conclusion: This study demonstrated the potential of Vertex AI AutoML for non-invasive detection of dental plaque. While the two-class model showed promise for clinical use, further studies with larger datasets are recommended to enhance model generalization and real-world applicability.
1 Introduction
Dental plaque, a sticky substance composed of bacteria that forms on tooth surfaces, significantly contributes to the development of periodontal diseases. If dental plaque is not adequately removed, it can lead to the destruction of periodontal tissues and ultimately result in tooth loss (1). Therefore, detecting and controlling of dental plaque are crucial steps in preventing periodontal disease (2). Conventionally, dental plaque is detected by probing around the gingival margin with an explorer (3). However, as shown in Figures 1A–C, without dyes, it is difficult to evaluate the level of dental plaque with the naked eye. To enhance visualization of the dental plaque and to motivate patient cooperation, erythrosine solution is commonly used for dyeing areas of dental plaque accumulation because it specifically stains the surface deposits, making dental plaque visibly distinct from the surrounding tooth surface (4, 5). While effective, the use of plaque-disclosing dyes has limitations. They can temporarily stain the oral mucosa and lips, which raises significant esthetic concerns. Their use also requires specific disclosing agents and techniques, making home-use products challenging for patients to apply and interpret accurately. Additionally, manual plaque assessment in clinical settings is time-consuming and subject to human error, especially in busy environment. To address these challenges, there have been many efforts to use digital technologies for dental plaque detection, such as three-dimensional imaging using intra-oral scanner and fluorescence-based methods. However, there are still many limitations in real-world application, including requirement of specific staining solutions and equipment (6). These problems highlight the need for a more convenient and automated method of dental plaque detection.
Figure 1. Representative undyed and dyed images of teeth with different levels of dental plaque deposit. (A–C) Undyed images of teeth with varying levels of plaque accumulation. These images are used for the model training to predict plaque levels without dye application. (D–F) Corresponding dyed images after the application of erythrosine dye, showing the presence and extent of dental plaque. (D) represents heavy plaque coverage, (E) represents moderate plaque coverage, and (F) represents mild plaque coverage.
Given the limitations of current methods, machine learning, a subset of artificial intelligence (AI), offers a promising alternative for automating diagnostic tasks in healthcare. Machine learning models have been successfully applied to various healthcare applications (7). However, developing effective machine learning models requires significant technical expertise, which is challenging for researchers and clinicians who are not knowledgeable in data science (8). Automated machine learning (AutoML) platforms, like Google Cloud's Vertex AI simplify the process of machine learning models and enable users with limited machine learning knowledge to create accurate models (9). AutoML, particularly image-based models, has been increasingly applied in various healthcare settings, demonstrating its ability to assist in the diagnosis of conditions like retinal diseases and lung cancer (10, 11).
In the field of dentistry, the use of machine learning is still in the early stages, but there is growing interest in utilizing these technologies for diagnostic and therapeutic purposes (12). For dental plaque detection, some current studies have reported the use of machine learning models to detect dental plaque areas from various sources of images. Although the reported models demonstrated the good accuracy, they typically required the technical expertise to develop the training algorithm, which may limit the future development of AI-assisted models by clinicians (13–15). These challenges highlight the advantages of AutoML to be used to develop the automated models. However, to the best of our knowledge, the application of AutoML for the detection of dental plaque, particularly using photographic images for level classification remains relatively unexplored. Given the potential of AutoML, there is a need to investigate its capability for detecting dental plaque by classification tasks through automated systems as an alternative to traditional dye-based methods.
In this study, we aimed to investigate the feasibility of using Google Cloud's Vertex AI AutoML to develop an automated model for detecting dental plaque levels on permanent teeth using undyed photographic images. This approach offers a non-invasive, scalable, and accessible solution for both clinicians and patients.
2 Materials and methods
2.1 Study approval and participant criteria
The study was approved by The Human Research Ethics Committee of Srinakharinwirot University (SWUEC-671045), and informed consent was obtained from all participants. One hundred dental students at Faculty of Dentistry, Srinakharinwirot University, Bangkok, Thailand were enrolled in this study. Participants were required to have the permanent upper anterior teeth (teeth 13–23) without any restoration or fixed appliance.
2.2 Data collection
Photographic images of the permanent upper anterior teeth were taken with a 12-megapixel smartphone camera (iPhone 13, Apple Inc, Cupertino, CA). Standardized photographic protocols were implemented to ensure consistency across all images. Briefly, the camera was mounted on a tripod, and LED lighting was used to control for variations in ambient lighting, providing uniform illumination across all teeth. Two images were taken for each participant. The first image was captured before dye application. The erythrosine dye (in-house preparation, Faculty of Dentistry, Srinakharinwirot University, Bangkok, Thailand) was then applied for 30 s to highlight dental plaque accumulation. After dye application, the second image was captured.
2.3 Image processing and data augmentation
In this study, we used single tooth images to train the model. Therefore, each image was cropped to isolate individual teeth using graphics editor application (Procreate version 5.3, Salvage Interactive, Hobart, Australia), resulting in six separate images for each participant. For each tooth, the images before and after plaque disclosure were paired. We used the dyed images as ground truth labels for model training. To achieve that, we analyzed the level of dental plaque on the dyed images depending on the percentage of the dyed area on the total labial surface of the tooth using ImageJ software (version 1.54 h, U.S. National Institutes of Health, Bethesda, MD). Briefly, the images were converted to an 8-bit grayscale format. The thresholding function was applied to isolate the dyed regions by setting values that distinguish plaque-stained areas from the rest of the image. The area measurement tool was then used to calculate the percentage of the dyed area. Tooth images with less than 30% dyed area were labelled as “mild”. Those with 30%–60% dyed area were labelled as “moderate”. Those with more than 60% dyed area were labelled as “heavy” (Figure 2). Data augmentation, including flipping and rotation, was used to balance and diversify the dataset.
Figure 2. Image processing workflow and model classification framework for dental plaque detection. (A) Workflow for preparing images for model training. Undyed images were captured, followed by the application of a disclosing agent to reveal plaque. Dyed images were then cropped, and plaque coverage is analyzed. Based on the percentage of surface area covered by plaque, images were labeled into three categories: mild (<30%), moderate (30%–60%), and heavy (>60%). These labeled images were subsequently used to train the AutoML models. (B) Classification framework used for the two models. The mild-moderate-heavy model classifies images into three categories (mild, moderate, heavy), while the acceptable-unacceptable model simplifies the classification into two categories: acceptable (mild) and unacceptable (moderate and heavy).
2.4 Model development and training
The undyed tooth images were used for model training. The AutoML models were developed using the Vertex AI platform (M125 release with Gemini 1.5 Pro, Google Cloud, Mountain View, CA), according to the guidelines (9). Two datasets were created for single-label classification models. The first datasets included 3 groups (mild, moderate, heavy) as previously analyzed with ImageJ. The second datasets included 2 groups (moderate and heavy as “unacceptable”, mild as “acceptable”). The training pipeline was selected as “us-central1 (Iowa)”. The training options were set to high accuracy, 200–300 ms latency, and Google-managed encryption. The images in each dataset were randomly split for training (80%), validation (10%), and testing (10%) by the Vertex AI platform. The validation datasets were used to tune the model's parameters, monitor the performance, and prevent overfitting. After the model is optimized using the validation set, it is further evaluated on the test set, which was not used in training or validation.
2.5 Model evaluation
After models were developed, the Vertex AI AutoML models were evaluated. Statistical metrics were automatically analyzed by Vertex AI platform to assess the performance of the model, including area under precision-recall curve (AUPRC), precision value, recall value and, F1-score, as previously described (9).
3 Results
Two datasets were prepared for model training. The first dataset (for mild-moderate-heavy model) consisted of 100 mild-labelled images, 100 moderate-labelled images and 100 heavy-labelled images. The second dataset (for acceptable-unacceptable model) consisted of 196 acceptable-labelled images and 103 unacceptable-labelled images. Numbers of images in each group were set to meet the numbers suggested by Google Cloud and not lead to the excessive data augmentation. After the training and validation, mild-moderate-heavy model and acceptable-unacceptable model were created and evaluated.
3.1 Mild-moderate-heavy model
The model was developed using 300 images, with 240 for training, 30 for validation, and 30 for testing. At a confidence threshold of 0.5, as shown in Table 1, the mild-moderate-heavy model achieved an average precision of 0.907, with the highest precision in the “heavy” category (0.983). The precision-recall curve and the confusion matrix were shown in Figure 3A.
Figure 3. Performance and misclassification analysis of the plaque detection models. (A) Precision-recall curve (left) and precision-recall by threshold (middle) for the mild-moderate-heavy classification model, with a confusion matrix (right) showing true predictions (blue) and misclassifications (red) across categories. (B) Example of model misclassification. An image with a true moderate plaque label (38.1% dyed area) was misclassified as mild by the model, highlighting difficulties in distinguishing plaque levels with intermediate gradients. (C) Precision-recall curve (left) and precision-recall by threshold (middle) for the acceptable-unacceptable classification model, with a confusion matrix (right) showing true predictions (blue) and misclassifications (red).
3.2 Acceptable-unacceptable model
Although mild-moderate-heavy model showed the good precision value, we observed the relatively lower label-specific precision on moderate and mild categories. As images in moderate-labelled groups may have gradients or transitions which reportedly affecting the precision of the model (16). Given that mild levels of dental plaque deposits are preferable for the good plaque control. We performed second model training by categorizing the previously labelled images into 2 newly labelled groups, mild as “acceptable” and moderate and heavy as “unacceptable”. The second model was developed using 299 images, with 240 for training, 30 for validation, and 29 for testing. As shown in Table 1, the model achieved a precision of 0.964 and an F1 score of 93.1% at a 0.5 confidence threshold, demonstrating improved performance for practical clinical applications. The precision-recall curve and the confusion matrix were shown in Figure 3C.
4 Discussion
This study demonstrated the feasibility of using Vertex AI AutoML to detect dental plaque levels on permanent upper anterior teeth based on photographic images. AutoML models provided an accessible, automated approach to image classification without the need for extensive machine learning expertise. Recent studies have also explored machine learning approaches for dental plaque detection, with deep learning models applied to segmentation tasks. For example, Chen and colleagues developed deep learning models to detect dental plaque with high accuracy, though they required high-quality professional imaging (13). Similarly, You and colleagues utilized deep learning for detecting dental plaque on primary teeth using intraoral cameras (14). Unlike previous approaches, our study is among the first to employ AutoML platform using a smartphone camera taking standard photographic images from participants, to create classification model. This approach simplifies model development and makes it easier for both clinicians and patients to assess dental plaque status using accessible technology, such as smartphone cameras.
In the mild-moderate-heavy model, the overall performance was promising. However, the label-specific performance highlighted differences between categories (Table 1). These findings suggested that the model achieved high accuracy at detecting heavy dental plaque accumulations but struggled with moderate and mild cases. The misclassification was observed when the percentage of dyed area fell near the grouping thresholds, presenting challenges for accurate model development (Figure 3B). Misclassifications, particularly in the moderate and mild categories, are likely due to subtle changes, gradients, and transitional appearances in the images, making it difficult for the model to distinguish between classes. These findings associated with the moderate and mild categories are likely due to the nature of subtle changes, gradient and transition appearances in the images which make it difficult for the model to distinguish between classes. Similar challenges have been observed in other classification tasks as well (16).
To address these challenges, an acceptable-unacceptable model was developed. The second model demonstrated improved performance (Table 1), particularly for detecting unacceptable dental plaque levels, suggesting that binary classification is more suitable. The confusion matrix showed strong performance in detecting unacceptable levels of dental plaque, which is crucial for clinical decision-making in preventive care. The improved performance of the second model highlights the importance of choosing appropriate classification strategies based on the specific characteristics of the dataset. Given that near-zero dental plaque is preferred, simplifying the classification task can result in better overall model performance.
The large volume of data available for training helps AutoML models generalize better and achieve high accuracy across diverse cases (17, 18). In contrast, our study created a custom dataset by recruiting dental students and capturing high-quality photographs of their teeth. This approach enabled the dataset to reflect dental conditions more closely than those available in pre-existing image databases. However, while our custom dataset closely reflects real-world conditions, the limited number of images restricts generalization. Increasing the number of images will not only improve model generalization but also help the AutoML system handle more complex diversity. Future studies should focus on expanding the sample population to include greater variation, such as different ages, demographic profiles, dental conditions (e.g., orthodontic appliances, restorations), and tooth surfaces, as each presents unique dental plaque accumulation patterns. In addition, the inclusion of more diverse clinical settings would enable the AutoML model to better generalize across different lighting environments, various smartphone models, and variable image quality, ultimately increasing its applicability. While our current method of manually cropping individual teeth ensures precision, it may be inefficient in high-volume clinical settings. To address this, we are working on a new model that can assess dental plaque from multiple teeth in a single image, integrated with a user-friendly application. This advancement would make the technology more practical for clinical use, as well as enabling at-home monitoring and large-scale community screenings.
Despite these limitations, the study demonstrated the feasibility of using AutoML for real-world applications. Compared to manual detection techniques, which rely on the visual inspection of dental plaque or the use of disclosing dyes, the AutoML-based approach presents several advantages. It is non-invasive, eliminates the need for time-consuming manual assessments, and reduces reliance on dental plaque-disclosing agents. In addition, recent advancements allow AutoML model endpoints to be integrated into user-friendly applications, completing the process from image upload to evaluation within a few seconds (9). While the AutoML model-assisted process for evaluating dental plaque takes comparable amount of time to conventional dye-staining methods, it offers additional benefits, such as those previously mentioned. The simplicity of AutoML platforms allows researchers and clinicians without AI expertise to use these technologies. For example, they can integrate models into clinical tools or mobile apps and even develop their own models, bridging the gap between complex machine learning and everyday healthcare practices. As AI research in dentistry continues to grow, this study not only demonstrates the capability of AutoML to detect dental plaque levels but also highlights its potential to become part of future oral health management.
The results of this study underscore the clinical potential of AutoML in transforming dental plaque detection practices. By offering a digital method for assessing dental plaque levels, this technology could significantly enhance patient management. In clinical settings, faster and automated dental plaque assessments could improve the efficiency of dental professionals and reduce chair time. Moreover, the use of smartphone-compatible models makes this approach feasible for self-monitoring, empowering patients to take a more active role in their oral health. This capability could also be leveraged in large-scale community screenings, addressing oral health disparities, and facilitating preventive care in populations with limited access to traditional dental services.
5 Conclusion
In conclusion, the results of this study indicated that Vertex AI AutoML can be a valuable tool for image-based detection of dental plaque, with high accuracy in distinguishing between different levels of dental plaque. For dental professionals, this model offers an alternative workflow and reduces reliance on traditional dye-based methods. Additionally, its compatibility with smartphone opens new possibilities for remote monitoring and large-scale public health initiatives, paving the way for improved oral health outcomes on both an individual and community level. However, model performance can be affected by the complexity of the dataset. Future studies should focus on expanding datasets including more diverse patient populations and clinical settings and validating models in diverse clinical environments to enhance their generalizability and real-world applicability in preventive dental care.
Data availability statement
The original contributions presented in the study are included in the article/Supplementary Material, further inquiries can be directed to the corresponding author.
Ethics statement
The studies involving humans were approved by The Human Research Ethics Committee of Srinakharinwirot University (SWUEC-671045). The studies were conducted in accordance with the local legislation and institutional requirements. The participants provided their written informed consent to participate in this study.
Author contributions
TN: Conceptualization, Data curation, Formal Analysis, Funding acquisition, Investigation, Methodology, Project administration, Resources, Software, Supervision, Validation, Visualization, Writing – original draft, Writing – review & editing. NA: Data curation, Formal Analysis, Investigation, Writing – original draft. BB: Data curation, Formal Analysis, Investigation, Writing – original draft. SB: Data curation, Formal Analysis, Investigation, Writing – original draft. AS: Data curation, Formal Analysis, Investigation, Writing – original draft.
Funding
The author(s) declare financial support was received for the research, authorship, and/or publication of this article. This work was supported by Faculty of Dentistry, Srinakharinwirot University for the promotion of undergraduate research projects.
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Generative AI statement
The author(s) declare that no Gen AI was used in the creation of this manuscript.
Publisher's note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
References
1. Lasserre JF, Brecx MC, Toma S. Oral microbes, biofilms and their role in periodontal and peri-implant diseases. Materials. (2018) 11(10):1802. doi: 10.3390/ma11101802
2. Toshniwal SH, Reche A, Bajaj P, Maloo LM. Status quo in mechanical plaque control then and now: a review. Cureus. (2022) 14(8):e28613. doi: 10.7759/cureus.28613
3. Loe H. The gingival index, the plaque index and the retention index systems. J Periodontol. (1967) 38(6):610–6. doi: 10.1902/jop.1967.38.6.610
4. Fasoulas A, Pavlidou E, Petridis D, Mantzorou M, Seroglou K, Giaginis C. Detection of dental plaque with disclosing agents in the context of preventive oral hygiene training programs. Heliyon. (2019) 5(7):e02064. doi: 10.1016/j.heliyon.2019.e02064
5. Gillings BR. Recent developments in dental plaque disclosants. Aust Dent J. (1977) 22(4):260–6. doi: 10.1111/j.1834-7819.1977.tb04509.x
6. La Rosa GRM, Chapple I, Polosa R, Pedulla E. A scoping review of new technologies for dental plaque quantitation: benefits and limitations. J Dent. (2023) 139:104772. doi: 10.1016/j.jdent.2023.104772
7. Jiang F, Jiang Y, Zhi H, Dong Y, Li H, Ma S, et al. Artificial intelligence in healthcare: past, present and future. Stroke Vasc Neurol. (2017) 2(4):230–43. doi: 10.1136/svn-2017-000101
8. Obermeyer Z, Emanuel EJ. Predicting the future—big data, machine learning, and clinical medicine. N Engl J Med. (2016) 375(13):1216–9. doi: 10.1056/NEJMp1606181
9. Google Cloud. Vertex AI documentation. (2024). Available online at: https://cloud.google.com/vertex-ai (accessed September 26, 2024).
10. Waring J, Lindvall C, Umeton R. Automated machine learning: review of the state-of-the-art and opportunities for healthcare. Artif Intell Med. (2020) 104:101822. doi: 10.1016/j.artmed.2020.101822
11. Antaki F, Coussa RG, Kahwati G, Hammamji K, Sebag M, Duval R. Accuracy of automated machine learning in classifying retinal pathologies from ultra-widefield pseudocolour fundus images. Br J Ophthalmol. (2023) 107(1):90–5. doi: 10.1136/bjophthalmol-2021-319030
12. Xie B, Xu D, Zou XQ, Lu MJ, Peng XL, Wen XJ. Artificial intelligence in dentistry: a bibliometric analysis from 2000 to 2023. J Dent Sci. (2024) 19(3):1722–33. doi: 10.1016/j.jds.2023.10.025
13. Chen X, Shen Y, Jeong JS, Perinpanayagam H, Kum KY, Gu Y. Deepplaq: dental plaque indexing based on deep neural networks. Clin Oral Investig. (2024) 28(10):534. doi: 10.1007/s00784-024-05921-x
14. You W, Hao A, Li S, Wang Y, Xia B. Deep learning-based dental plaque detection on primary teeth: a comparison with clinical assessments. BMC Oral Health. (2020) 20(1):141. doi: 10.1186/s12903-020-01114-6
15. Andrade KM, Silva BPM, de Oliveira LR, Cury PR. Automatic dental biofilm detection based on deep learning. J Clin Periodontol. (2023) 50(5):571–81. doi: 10.1111/jcpe.13774
16. Khoei TT, Slimane HO, Kaabouch N. Deep learning: systematic review, models, challenges, and research directions. Neural Comput Appl. (2023) 35(31):23103–124. doi: 10.1007/s00521-023-08957-4
17. Oh J, Hwang S, Lee J. Enhancing x-ray-based wrist fracture diagnosis using HyperColumn-Convolutional block attention module. Diagnostics. (2023) 13(18):2927. doi: 10.3390/diagnostics13182927
Keywords: automated machine learning, image classification, dental plaque, digital health, Vertex AI
Citation: Nantakeeratipat T, Apisaksirikul N, Boonrojsaree B, Boonkijkullatat S and Simaphichet A (2024) Automated machine learning for image-based detection of dental plaque on permanent teeth. Front. Dent. Med 5:1507705. doi: 10.3389/fdmed.2024.1507705
Received: 8 October 2024; Accepted: 14 November 2024;
Published: 28 November 2024.
Edited by:
R. M. Baiju, Kerala University of Health Sciences, IndiaReviewed by:
Henrique Ballassini Abdalla, São Leopoldo Mandic School, BrazilAlessio Rosa, University of Rome Tor Vergata, Italy
Copyright: © 2024 Nantakeeratipat, Apisaksirikul, Boonrojsaree, Boonkijkullatat and Simaphichet. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Teerachate Nantakeeratipat, dGVlcmFjaGF0ZUBnLnN3dS5hYy50aA==
†These authors have contributed equally to this work