Skip to main content
QUICK REVIEW

[Paper Review] Hair and Scalp Disease Detection using Machine Learning and Image Processing

Mrinmoy Roy, Anica Tasnim Protity|arXiv (Cornell University)|Dec 31, 2022
Hair Growth and DisordersMedicine5 citations
TL;DR

This study proposes a deep learning-based approach using a 2D convolutional neural network (CNN) to detect three common hair and scalp diseases—alopecia, psoriasis, and folliculitis—using preprocessed scalp images. The method achieved 96.2% training accuracy and 91.1% validation accuracy, with precision and recall scores of 0.895, 0.846, and 1.0, respectively, demonstrating strong performance on a curated dataset of 150 images.

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.

Motivation & Objective

  • To address the challenge of delayed diagnosis in hair and scalp diseases due to limited access to dermatologists and lack of early detection tools.
  • To develop a machine learning system capable of distinguishing between three major scalp conditions: alopecia, psoriasis, and folliculitis.
  • To overcome data scarcity and variability by curating and preprocessing a dataset of 150 scalp images from diverse sources.
  • To improve diagnostic accuracy and reduce reliance on clinical visits through automated, image-based classification using deep learning.

Proposed method

  • Collected 150 scalp images from various public sources, focusing on alopecia, psoriasis, and folliculitis.
  • Applied image preprocessing techniques including denoising, contrast enhancement, image equalization, and data balancing to improve image quality and class distribution.
  • Trained a 2D Convolutional Neural Network (CNN) on the preprocessed dataset for end-to-end feature learning and classification.
  • Used standard deep learning evaluation metrics—accuracy, precision, and recall—for model performance assessment.
  • Implemented data augmentation and normalization to reduce overfitting and improve generalization.
  • Released a new, publicly available dataset of scalp images to support future research in dermatological image analysis.

Experimental results

Research questions

  • RQ1Can a deep learning model accurately classify three major hair and scalp diseases—alopecia, psoriasis, and folliculitis—using only scalp images?
  • RQ2How effective is image preprocessing in improving classification accuracy when dealing with low-quality or variable dermatoscopic images?
  • RQ3To what extent can a small, curated dataset of 150 images support high-accuracy disease detection using a 2D CNN?
  • RQ4How do precision and recall scores vary across different scalp disease classes in a real-world, limited-data setting?
  • RQ5Can a publicly shared dataset of scalp images accelerate future research in automated dermatological diagnosis?

Key findings

  • The proposed 2D CNN model achieved a training accuracy of 96.2% and a validation accuracy of 91.1% on the preprocessed dataset.
  • The model demonstrated high precision (0.895) and recall (0.846) for alopecia, indicating strong performance in detecting this condition.
  • For folliculitis, the model achieved a perfect F1-score of 1.0, indicating optimal balance between precision and recall.
  • The study successfully created and released a new, curated dataset of 150 scalp images to support future research in automated hair and scalp disease detection.
  • Image preprocessing significantly reduced noise and improved contrast, contributing to reduced error rates and enhanced model generalization.
  • The results suggest that deep learning models can serve as effective decision-support tools for early detection of common scalp disorders.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.