Submitted:
07 April 2024
Posted:
08 April 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
- This paper presents a MobileNetV2 deep learning model to detect the disease tongue from a normal healthy tongue. Five-fold cross validation and transfer learning technique is used for this binary classification. Main achievement is sanguine results achieved with images taken by smartphone cameras rather than by standard equipment.
- Multilabel classification model is proposed for eight common categories of ailments. DenseNet 121 architecture is utilized for disease classification, satisfactory results achieved with the small dataset. Eight disease labels are diabetes, hypertension, acidic peptic disease, pyrexia, hepatitis, cold cough, gastritis and others.
2. Related Work
| Tongue Features / Disease targeted | Dataset | Method employed / Disease investigated | Reference |
|---|---|---|---|
| 5 tongue body colour, 6 tongue coating colour | 1080 subjects | k-means clustering algorithm applied to the images acquired using DSO1 state of the art acquisition system | [34] |
| Diabetes | 732 subjects | TFDA-1 used to capture images and extract, texture, coating features along with an Auto-Encoder algorithm to extract tongue features then fusion of the two set of features done using k-means algorithm for classification | [35] |
| Tongue area detection calibration and constitution classification | 50 subjects | Tongue detection using faster-RCNN, Feature extraction models ResNet-50, VGG-16 and Inception-V3, alongside LBP for texture features and Colour-Moment for colour feature. Model evaluated using classifiers SVM and Decision tree. | [36] |
| Colour & Texture features | 702 images | Gray Level co-occurrence Matrix (GLCM), along with LEAD (Multilabel Learning Algorithm) with threshold determining algorithm for improved results over other existing techniques | [37] |
| Multifeature extraction | 268 images | GLA (Generalized Lloyd Algorithm) to extract colour and texture features from the tongue surface. | [38] |
| Seven categories fissured tongue, tooth-marked, statis, spotted, greasy, peeled and rotten coating | 8676 images | faster R-CNN a region-based network achieved an accuracy of 90.67% | [39] |
| 11 features on the tongue surface considered | 482 images | ResNet-34 architecture, 86% accuracy for 11 features identified | [40] |
| Tooth marked tongue related to spleen defeciency | 1548 images | ResNet-34 architecture, 90% accuracy | [41] |
| Gastritis | 263 gastritis patients, 48 healthy. | features related to gastritis were extracted using constrained high dispersal neural network Ada Boost, SVM (support Vector Machine), MLP (Multilayer Perceptron Classifier) | [42] [43] |
| 11 disease categories plus healthy tongue images | 936 images, 78 images for each of the 12 disease categories including healthy | extracted tongue features by VGG 19 network supported by Random Forest classifier achieved 93.7% accuracy. | [44] |
| 12 disease categories including healthy | 936 images, 78 images for each of the 12 disease categories | Designed IoT base Automated synergic deep learning tongue colour image analysis model giving 98.3% accuracy for disease diagnosis and classification. | [45] |
| Iron deficiency | 95 images from Harvard dataset | Explored the possibility of monitoring health status by tongue images using CNN algorithm which could be deployed on android mobile app. | [46] |
3. Methodology
- Stratified 5-fold cross validation for diseased risk classification.
- Ensemble learning strategy: bagging, to reduce variance in data.
- Up sampling of dataset to set some minimum sample size in each class.
- Extensive real time data augmentation for training models.
- Class weighted focal loss, to tackle class imbalance.
- Individual training for multi disease classification and disease risk detection.

3.1. Tongue Analysis Dataset
3.2. Preprocessing and Image Augmentation
3.3. Deep Learning Models
Diseased Tongue Detector
Disease Label Classifier
3.4. Evaluation Metrices
- First identify the index at which the maximum value occurs using argmax ().
- If it is the same for both predicted and true value, it is considered accurate.
Reciever Operating Characteristics Curve
4. Results and Discussions
4.1. Performance Analysis of Disease Risk Detector
4.1. Performance Analysis of Multi-Label Disease Classification Model
5. Conclusion and Future Work
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Patil, M.K. Anatomical Study of Jhiva W.R.T Sam and Niram Prakriti Pariksha. International Ayurvedic Medical Journal IAMJ 2017, 1, 151–159. [Google Scholar]
- Vocaturo, E.; Zumpano, E.; Veltri, P. On discovering relevant features for tongue colored image analysis. In Proceedings of the 23rd International Database Applications & Engineering Symposium (IDEAS’19); Association for Computing Machinery; New York, NY, USA, June 2019; Article 12, pp. 1–8. [CrossRef]
- Chiu, C.C. A novel approach based on computerized image analysis for traditional Chinese medical diagnosis of the tongue. Comput. Methods Programs Biomed. 2000, 61, 77–89. [Google Scholar] [CrossRef]
- Wang, Y.; Zhou, Y.; Yang, J.; Xu, Q. An Image Analysis System for Tongue Diagnosis in Traditional Chinese Medicine. In Proceedings of the International Computational & Information Science Conference, 2004; Springer–Verlag: Berlin, Heidelberg, 2004. pp. 1181–1186. [CrossRef]
- Zhang, H.; Wang, K.; Zhang, D.; Pang, B.; Huang, B. Computer aided tongue diagnosis system. In Proceedings of the 27th Annual Conference on Engineering in Medicine & Biology Society, 17–18 January 2005; IEEE: 2006; pp. 6754–6757. [CrossRef]
- Jiang, L.; Xu, W.; Chen, J. Digital imaging system for physiological analysis by tongue color inspection. In Proceedings of the 3rd Innovative Engineering & Applications Conference, 3–5 June 2008; IEEE: 2008. pp. 1833–1836. [CrossRef]
- Xu, J.; Tu, L.; Ren, H.; Zhang, Z. A Diagnostic Method Based on Tongue Imaging Morphology. In Proceedings of the 2nd international Conference on Bioinformatics & Biomedical Engineering, 16–18 May 2008; IEEE: 2008; pp. 2613–2616. [CrossRef]
- Wang, X.; Zhang, B.; Yang, Z.; Wang, H.; Zhang, D. Statistical Analysis of Tongue Images for Feature Extraction and Diagnostics. IEEE Trans. Image Process. 2013, 22, 5336–5347. [Google Scholar] [CrossRef]
- Wang, X.; Zhang, D. A High-Quality Color Imaging System for Computerized tongue Image Analysis. Expert Syst. Appl. 2013, 40, 5854–5866. [Google Scholar] [CrossRef]
- Liu, Z.; Zhang, D.; Yan, J.Q.; Li, Q.L.; Tang, Q.L. Classification of hyperspectral medical tongue images for tongue diagnosis. Comput. Med Imaging Graph. 2007, 31, 672–678. [Google Scholar] [CrossRef]
- Li, Q.; Liu, J.; Xiao, G.; Xue, Y. Hyperspectral tongue imaging system used in tongue diagnosis. In Proceedings of the 2nd International Conference on Bioinformatics & Biomedical Engineering, 16–18 May 2008; IEEE: 2008; pp. 2579–2581. [CrossRef]
- Li, Q.; Wang, Y.; Liu, H.; Sun, Z.; Liu, Z. Tongue fissure extraction and classification using hyperspectral imaging technology. Appl. Opt. 2010, 49, 2006–2013. [Google Scholar] [CrossRef]
- Li, Q.; Lui, Z. Tongue color analysis and discrimination based on hyper spectral images. Computerized Medical Imaging & Graphics 2009, 33, 217–221. [Google Scholar] [CrossRef]
- Yamamoto, S.; Tsumura, N.; Nakaguchi, T.; Namiki, T.; Kasahara, Y.; Terasawa, K.; Miyake, Y. Early Detection of Disease Oriented State from Hyperspectral Tongue Images with Principal Component Analysis and Vector Rotation. In Proceedings of the Annual International Conference on Engineering in Medicine & Biology Society, 2010; IEEE: 2010; pp. 3025–3028. [CrossRef]
- Li, Q.; Wang, Y.; Liu, H.; Sun, Z. AOTF based Hyperspectral Tongue Imaging System and Its Applications in Computer-aided Tongue Disease Diagnosis. In Proceedings of the 3rd International Conference on Biomedical Engineering and Informatics, 2010; IEEE: 2010; pp. 1424–1427. [CrossRef]
- Liu, Z.; Wang, H.J.; Li, Q. Tongue Tumour Detection in Medical Hyperspectral Images. Sensors 2012, 12, 162–174. [Google Scholar] [CrossRef]
- Ryu, I.; Itiro, S. A tongue diagnosis system for personal healthcare on smartphone. In Proceedings of the 5th Augmented Human International Conference, March 2014; Waseda University Press: 2014.
- Duan, Y.; Xu, D. (Interdisciplinary Innovations Fund (IIF) 2012/2013 Awards (MU)). I Tongue: An iPhone App for Personal Health Monitoring Based on Tongue Image. Final Report; University of Missouri, Columbia. 2014.
- Hu, M.C.; Cheng, M.H.; Lan, K.C. Color Correction Parameter Estimation on the Smartphone and Its Application to Automatic Tongue Diagnosis. J. Med Syst. 2016, 40, 18. [Google Scholar] [CrossRef]
- Tania, M.H.; Lwin, K.T.; Hossain, M.A. Computational Complexity of Image Processing Algorithms for an Intelligent Mobile Enabled Tongue Diagnosis Scheme. In Proceedings of the 10th International Conference on Software, Knowledge, Information Management & Applications; 15–16 December 2016; IEEE: 2016; pp. 29–36. [CrossRef]
- Kanawong, R.; Obafemi-Ajayi, T.; Liu, D.; Zhang, M.; Xu, D.; Duan, Y. Tongue Image Analysis and Its Mobile App Development for Health Diagnosis. Adv Exp Med Biol 2017, 99–121. [Google Scholar] [CrossRef]
- Hu, M.C.; Lan, K.C.; Fang, W.C.; Huang, Y.C.; Ho, T.J.; Lin, C.P.; Yeh, M.H.; Raknim, P.; Lin, Y.H.; Cheng, M.H.; et al. Automated Tongue Diagnosis on the Smartphone and its Applications. Comput. Methods Programs Biomed. 2019, 174, 51–64. [Google Scholar] [CrossRef]
- Zhou, Z.; Peng, D.; Gao, F.; Leng, L. Medical Diagnosis Algorithm Based on Tongue Image on Mobile Device. J. Multimedia Inf. Syst. 2019, 6, 99–106. [Google Scholar] [CrossRef]
- Smith, Z.J.; Chu, K.; Espenson, A.R.; Rahimzadeh, M.; Gryshuk, A.; Molinaro, M.; Dwyre, D.M.; Lane, S.M.; Matthews, D.; Wachsmann-Hogiu, S. Cell-Phone-Based Platform for Biomedical Device Development and Education Applications. PLoS ONE 2011, 6, e17150. [Google Scholar] [CrossRef]
- Haralick, R.M.; Shanmugan, K.; Dinstein, I. Textural features for Image Classification. IEEE Trans. Syst. Man Cybern. 1973; SMC-3, 610–621. [Google Scholar] [CrossRef]
- Pang, B.; Zhang, D. Computerized tongue diagnosis based on Bayesian networks. IEEE Trans. Biomed. Eng. 2004, 51, 1803–1810. [Google Scholar] [CrossRef]
- Pang, B.; Zhang, D.; Wang, K. Tongue Image analysis for appendicitis diagnosis. Information Sciences 2005, 175, 160–176. [Google Scholar] [CrossRef]
- Kim, J.; Son, J.; Jang, S.; Nam, D.H.; Han, G.; Yeo, I.; Ko, S.J.; Park, J.W.; Ryu, B.; Kim, J. Availability of Tongue diagnosis system for Assessing Tongue Coating thickness in Patients with Functional Dyspepsia. Evidence-Based Complement. Altern. Med. 2013, 2013, 348272. [Google Scholar] [CrossRef]
- Jayanti, S.K.; Shanmugapriyanga, B. Detecting Diabetes Mellitus Gradient Vector Flow Snake Segmented Technique. International Research Journal of Engineering and Technology 2017, 4, 1238–1244. [Google Scholar]
- Zhang, D.; Zhang, H.; Zhang, B. Detecting Diabetes Mellitus and No proliferative Diabetic Retinopathy Using CTD. Tongue Image Analysis 2017, 303–325. [Google Scholar] [CrossRef]
- Sandhya, N.; Rajasekar, M. Tongue Image Analysis for Hepatitis Detection Using GA-SVM. Indian Journal of Computer Science and Engineering 2017, 8, 526–534. [Google Scholar]
- Mrilaya, D.; Pervetaneni, P.; Aleperi, G. An Approach for Tongue Diagnosing with Sequential Image Processing Method. International Journal of Computer Theory and Engineering 2012, 4, 322–328. [Google Scholar]
- Dhanalakshmi, M.; Pervetaneni, P.; Aleperi, G. Applying Wavelet Transforms and Statistical Feature Analysis for Digital Tongue Image. IOSR-JCE IOSR Journal of Computer Engineering 2014, 16, 95–102. [Google Scholar] [CrossRef]
- Kawanabe, T.; Kamarudin, N.D.; Ooi, C.Y.; Kobayashi, F.; Xiaoyu, M.; Sekine, M.; Wakasugi, A.; Odaguchi, H.; Hanawa, T. Quantification of tongue colour using machine learning in Kampo medicine. Eur. J. Integr. Med. 2016, 8, 932–941. [Google Scholar] [CrossRef]
- Li, J.; Hu, X.; Tu, L.; Cui, L.; Jiang, T.; Cui, J.; Ma, X.; Yao, X.; Shi, Y.; Wang, S.; Liu, J. Diabetes Tongue Image Classification Using Machine Learning and Deep Learning. [CrossRef]
- Ma, J.; Wen, G.; Hu, Y.; Chang, T.; Zeng, H.; Jiang, L.; Qin, J. Tongue image constitution recognition based on Complexity Perception method. arXiv 2018. [Google Scholar] [CrossRef]
- Zhang, X.F.; Zhang, J.; Hu, G.Q.; Wang, Y.Z. Preliminary Study of Tongue Image Classification Based on Multi-Label Learning. Springer; ICIC 2015, Part III LNAI9227. 2015. [CrossRef]
- Chen, L.; Wang, B.; Zhang, Z.; Lin, F.; Ma, Y. Research on Techniques of Multifeatures Extraction for Tongue Image and Its Application in Retrieval. Computational and Mathematical Methods in Medicine 2017, 2017, 8064743. [Google Scholar] [CrossRef]
- Jiang, T.; Lu, Z.; Hu, X.; Zeng, L.; Ma, X.; Huang, J.; Cui, J.; Liping, T.; Zhou, C.; Yao, X.; Xu, J. Deep Learning Multi-label Tongue Image Analysis and Its Application in a Population Undergoing Routine Medical Checkup. Evidence-Based Complement. Altern. Med. 2022, 1–12. [Google Scholar] [CrossRef]
- Li, J.; Zhang, Z.; Zhu, X.; Zhao, Y.; Ma, Y.; Zang, J.; Li, B.; Cao, X.; Xue, C. Automatic Classification Framework of Tongue Feature Based on Convolutional Neural Networks. Micromachines 2022, 13, 501. [Google Scholar] [CrossRef]
- Wang, X.; Liu, J.; Wu, C.; Liu, J.; Li, Q.; Chen, Y.; Wang, X.; Chen, X.; Pang, X.; Chang, B.; et al. Artificial intelligence in tongue diagnosis: Using deep convolutional neural network for recognizing unhealthy tongue with tooth-mark. Comput. Struct. Biotechnol. J. 2020, 18, 973–980. [Google Scholar] [CrossRef]
- Meng, D.; Cao, G.; Duan, Y.; Zhu, M.; Tu, L.; Xu, D.; Xu, J. Tongue Images Classification Based on Constrained High Dispersal Network. Evidence-Based Complement. Altern. Med. 2017, 2017, 7452427. [Google Scholar] [CrossRef]
- Kanawong, R.; Ajayi, T.O.; Ma, T.; Xu, D.; Li, S.; Duan, Y. Automated Tongue Feature Extraction for Zheng Classification in Traditional Chinese Medicine. Evidence-Based Complement. Altern. Med. 2012, 2012, 912852. [Google Scholar] [CrossRef]
- Rajakumaran, S.; Sashikala, J. An Automated Tongue Color Image Analysis for Disease Diagnosis and Classification Using Deep Learning Techniques. European Journal of Molecular & Clinical Medicine 2021, 7, 4779–4796. [Google Scholar]
- Mansour, R.F.; Althobaiti, M.M.; Ashour, A.A. Internet of Things and Synergic Deep Learning Based Biomedical Tongue Color Image Analysis for Disease Diagnosis and Classification. IEEE Access 2021, 9, 94769–94779. [Google Scholar] [CrossRef]
- Soma, P.; Saradha, K.R.; Jothika, S.; Dharshini, S. Tongue Diagnosis using CNN for Disease Detection. International Journal of Electrical and Electronics Research 2022, 10, 817–821. [Google Scholar]
- Xie, J.; Jing, C.; Zhang, Z.; Xu, J.; Duan, Y.; Xu, D. Digital tongue image analyses for health assessment. Med Rev 2022, 1, 172–198. [Google Scholar] [CrossRef] [PubMed]
- Mayer, S.; Müller, D.; Kramer, F. Standardized Medical Image Classification across Medical Disciplines. 2022. [Google Scholar] [CrossRef]
- Bhatnagar, V.; Bansod, P.P. Double U-Net a Deep Convolution Neural Network for Tongue Body Segmentation for Diseases Diagnosis. Proceedings of International Conference on Communication and Computational Technologies. Algorithms for Intelligent Systems. Springer: Singapore, 2023. [CrossRef]



| Disease | Samples | Disease | Samples |
|---|---|---|---|
| Diabetes (DM) | 112 | Hepatitis | 183 |
| Blood Pressure (BP) | 138 | Cold Cough | 150 |
| Acid Peptic Disease (APD) | 156 | Gastritis | 189 |
| Pyrexia | 98 | Others | 429 |
| Precision | Recall | F1-Score | Accuracy | ||
|---|---|---|---|---|---|
| Fold-1 | Diseased | 0.97 | 0.96 | 0.96 | 0.95 |
| Normal | 0.88 | 0.91 | 0.90 | ||
| Fold-2 | Diseased | 0.99 | 0.91 | 0.95 | 0.92 |
| Normal | 0.78 | 0.97 | 0.87 | ||
| Fold-3 | Diseased | 0.99 | 0.92 | 0.95 | 0.92 |
| Normal | 0.81 | 0.96 | 0.88 | ||
| Fold-4 | Diseased | 0.97 | 0.96 | 0.96 | 0.95 |
| Normal | 0.88 | 0.92 | 0.90 | ||
| Fold-5 | Diseased | 0.97 | 0.93 | 0.95 | 0.93 |
| Normal | 0.82 | 0.92 | 0.97 |
| Disease | Precision | F1-Score | Accuracy |
|---|---|---|---|
| DM | 0.9722 | 0.8203 | 0.9148 |
| BP | 0.9803 | 0.8658 | 0.9425 |
| APD | 0.9130 | 0.8038 | 0.9240 |
| Pyrexia | 0.9473 | 0.9183 | 0.9703 |
| Hepatitis | 0.9885 | 0.8958 | 0.9629 |
| Cold Cough | 0.9878 | 0.8901 | 0.9629 |
| Gastritis | 0.9798 | 0.9652 | 0.9870 |
| Others | 0.9034 | 0.7553 | 0.8093 |
| Test Image Samples | Prediction Probability | Truth | |||||||
|---|---|---|---|---|---|---|---|---|---|
| DM | BP | APD | PYR | HEP | CC | GAS | others | ||
![]() |
0.0456 | 0.0190 | 0.0400 | 0.0131 | 0.7392 | 0.0207 | 0.0256 | 0.7650 | Hepatitis & others |
![]() |
0.9177 | 0.0405 | 0.0055 | 0.0001 | 0.0033 | 0.9872 | 0.0071 | 0.9968 | Diabetes cold cough, others |
![]() |
0.0129 | 0.0198 | 0.0118 | 0.4670 | 0.0729 | 0.1006 | 0.0051 | 0.3405 | Pyrexia |
![]() |
0.4555 | 0.6903 | 0.0591 | 0.0014 | 0.8166 | 0.0654 | 0.0259 | 0.3004 | Diabetes hypertension, Hepatitis |
![]() |
0.0059 | 0.0235 | 0.7697 | 0.0071 | 0.0074 | 0.0315 | 0.9693 | 0.8268 | APD, gastritis Others |
![]() |
0.0004 | 0.0103 | 0.9436 | 0.0413 | 0.0029 | 0.0142 | 0.9705 | 0.7960 | APD, gastritis Others |
![]() |
0.0335 | 0.0188 | 0.0108 | 0.0987 | 0.4677 | 0.0124 | 0.7906 | 0.0795 | Hepatitis, Gastritis |
![]() |
0.1365 | 0.0628 | 0.2372 | 0.0261 | 0.0131 | 0.2798 | 0.0423 | 0.5847 | Pyrexia |
![]() |
0.0264 | 0.0036 | 0.1321 | 0.1261 | 0.0083 | 0.4880 | 0.1867 | 0.3476 | Cold cough |
![]() |
0.9768 | 0.8526 | 0.0079 | 0.0013 | 0.0009 | 0.9293 | 0.0010 | 0.9519 | DM, hyper tension, Cold cough, others |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).









