Hair and Scalp Disease Detection using Machine Learning and Image Processing

##plugins.themes.bootstrap3.article.main##

  •   Mrinmoy Roy

  •   Anica Tasnim Protity

Abstract

Almost 80 million Americans suffer from hair loss due to aging, stress, medication, or genetic makeup. Hair and scalp-related diseases often go unnoticed in the beginning. Sometimes, a patient cannot differentiate between hair loss and regular hair fall. Diagnosing hair-related diseases is time-consuming as it requires professional dermatologists to perform visual and medical tests. Because of that, the overall diagnosis gets delayed, which worsens the severity of the illness. Due to the image-processing ability, neural network-based applications are used in various sectors, especially healthcare and health informatics, to predict deadly diseases like cancers and tumors. These applications assist clinicians and patients and provide an initial insight into early-stage symptoms. In this study, we used a deep learning approach that successfully predicts three main types of hair loss and scalp-related diseases: alopecia, psoriasis, and folliculitis. However, limited study in this area, unavailability of a proper dataset, and degree of variety among the images scattered over the internet made the task challenging. 150 images were obtained from various sources and then preprocessed by denoising, image equalization, enhancement, and data balancing, thereby minimizing the error rate. After feeding the processed data into the 2D convolutional neural network (CNN) model, we obtained overall training accuracy of 96.2%, with a validation accuracy of 91.1%. The precision and recall score of alopecia, psoriasis, and folliculitis are 0.895, 0.846, and 1.0, respectively. We also created a dataset of the scalp images for future prospective researchers.


Keywords: Deep learning, health informatics, machine learning, scalp/ hair diseases

References

Cotsarelis G. Gene expression profiling gets to the root of human hair follicle stem cells. J Clin Invest. 2006; 116(1): 19-22.

Patel S, Sharma V, Chauhan NS, Thakur M, Dixit VK. Hair growth: Focus on herbal therapeutic agent. Curr Drug Discov Technol. 2015; 12(1): 21-42.

Wolff H, Fischer TW, Blume-Peytavi U. The diagnosis and treatment of hair and scalp diseases. Dtsch Arztebl Int. 2016.

Peyravian N, Deo S, Daunert S, Jimenez JJ. The inflammatory aspect of male and female pattern hair loss. J Inflamm Res. 2020; 13: 879-81.

Liu F, Hamer MA, Heilmann S, Herold C, Moebus S, Hofman A, et al. Prediction of male-pattern baldness from genotypes. Eur J Hum Genet. 2016; 24(6): 895-902.

Benigno M, Anastassopoulos KP, Mostaghimi A, Udall M, Daniel SR, Cappelleri JC, et al. A large cross-sectional survey study of the prevalence of alopecia areata in the United States. Clin Cosmet Investig Dermatol. 2020; 13: 259-66.

Farber EM, Nall L. The natural history of psoriasis in 5,600 patients. Dermatology. 1974; 148(1): 1-18.

Chan CS, Van Voorhees AS, Lebwohl MG, Korman NJ, Young M, Bebo BF Jr, et al. Treatment of severe scalp psoriasis: The Medical Board of the National Psoriasis Foundation. J Am Acad Dermatol. 2009; 60(6): 962-71.

Roy M, Seethi VDR, Bharti P. CovidAlert - A wristwatch-based system to alert users from face touching. In: Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering. Cham: Springer International Publishing; 2022: 489-504.

Lalmuanawma S, Hussain J, Chhakchhuak L. Applications of machine learning and artificial intelligence for Covid-19 (SARS-CoV-2) pandemic: A review. Chaos Solitons Fractals. 2020; 139(110059): 110059.

Pramanik P. On lock-down control of a pandemic model. arXiv [mathOC]. [Preprint] 2022 [cited 2022 Oct 29]. Available from: http://arxiv.org/abs/2206.04248.

Kumar M, Alshehri M, AlGhamdi R, Sharma P, Deep V. A DE-ANN inspired skin cancer detection approach using fuzzy C-means clustering. Mob Netw Appl. 2020; 25(4): 1319-29.

Aytaç Korkmaz S, Binol H. Classification of molecular structure images by using ANN, RF, LBP, HOG, and size reduction methods for early stomach cancer detection. J Mol Struct. 2018; 1156: 255-63.

Virupakshappa, Amarapur B. An automated approach for brain tumor identification using ANN classifier. In: 2017 International Conference on Current Trends in Computer, Electrical, Electronics and Communication (CTCEEC). IEEE; 2017: 1011-6.

Balasaravanan K, Prakash M. Detection of dengue disease using artificial neural network based classification technique. Int J Eng Technol. 2017; 7(1.3): 13.

Aslan N, Ozmen Koca G, Kobat MA, Dogan S. Multi-classification deep CNN model for diagnosing COVID-19 using iterative neighborhood component analysis and iterative ReliefF feature selection techniques with X-ray images. Chemometr Intell Lab Syst. 2022; 224(104539): 104539.

Swapna G, Vinayakumar R, Soman KP. Diabetes detection using deep learning algorithms. ICT Express. 2018; 4(4): 243-6.

Shakeel CS, Khan SJ, Chaudhry B, Aijaz SF, Hassan U. Classification framework for healthy hairs and alopecia areata: A machine learning (ML) approach. Comput Math Methods Med. 2021; 2021: 1102083.

Kapoor I, Mishra A. Automated classification method for early diagnosis of alopecia using machine learning. Procedia Comput Sci. 2018; 132: 437-43.

ALEnezi NSA. A method of skin disease detection using image processing and machine learning. Procedia Comput Sci. 2019; 163: 85-92.

Hameed N, Shabut AM, Hossain MA. Multi-class skin diseases classification using deep convolutional neural network and support vector machine. In: 2018 12th International Conference on Software, Knowledge, Information Management & Applications (SKIMA). IEEE; 2018.

Mrinmoy-Roy. Scalp-Hair-Diseases-Detection. [Internet]. 2022 [cited 2022 October 30]. Available from: https://github.com/Mrinmoy-Roy/Scalp-Hair-Diseases-Detection.git.

Swain A. Noise in digital image processing. [Internet]. Image Vision. 2018 [cited 2022 October 29]. Available from: https://medium.com/image-vision/noise-in-digital-image-processing-55357c9fab71.

Sameer. Image equalization (contrast enhancing) in python - analytics Vidhya – medium. [Internet]. Analytics Vidhya. 2020 [cited 2022 October 29]. Available from: https://medium.com/analytics-vidhya/image-equalization-contrast-enhancing-in-python-82600d3b371c.

Hiroyasu T, Hayashinuma K, Ichikawa H, Yagi N. Preprocessing with image denoising and histogram equalization for endoscopy image analysis using texture analysis. Annu Int Conf IEEE Eng Med Biol Soc. 2015; 2015: 789-92.

Tazmul Islam M, Meng Q. An exploratory study of Sentinel-1 SAR for rapid urban flood mapping on Google Earth Engine. Int J Appl Earth Obs Geoinf. 2022; 113(103002): 103002.

##plugins.themes.bootstrap3.article.details##

How to Cite
Roy, M., & Protity, A. T. (2023). Hair and Scalp Disease Detection using Machine Learning and Image Processing. European Journal of Information Technologies and Computer Science, 3(1), 7–13. https://doi.org/10.24018/compute.2023.3.1.85