Skin Disease Classification Using CNN Algorithms
Skin Disease Classification Using CNN Algorithms
1
School of Computer Science & Engineering (SCOPE), VIT-AP University, Amravati, Andhra Pradesh, India
2
School of Computer Science & Engineering (SCOPE), VIT-AP University, Amravati, Andhra Pradesh, India
Abstract
INTRODUCTION: Dermatological disorders, particularly human skin diseases, have become more common in recent
decades. Environmental factors, socioeconomic problems, a lack of a balanced diet, and other variables have all
contributed to an increase in skin diseases in recent years. Skin diseases can cause psychological suffering in addition to
physical injury, especially in people with scarred or disfigured faces.
OBJECTIVES: The use of artificial intelligence or computer-based technologies in the detection of face skin disorders has
advanced dramatically over time. Even for highly experienced doctors and dermatologists, identifying skin disorders can
be tricky since many skin diseases have a visual affinity with the surrounding skin and lesions.
METHODS: Today, the majority of skincare specialists rely on time-consuming, traditional methods to identify disorders.
Even though several research have demonstrated promising results on the picture classification job, few studies compare
well-known deep learning models with various metrics for categorizing human skin disorders.
RESULTS: This study examines and contrasts various skin illnesses in terms of cosmetics and common skin concerns.
Our dataset includes over 25000 of the eight most common skin disorders. Convolutional neural networks have shown
imaging performance that is comparable to or greater than that of humans. We used 11 different network algorithms to
identify the illnesses in the sample and compared the results.
CONCLUSION: To adjust the format of incoming photographs, we do certain image pre-processing and image scaling for
each model. ResNet152 beat other deep learning methods in terms of recall, accuracy, and precision on a test dataset of
1930 images.
Keywords: Skin disease classification, Transfer Learning, Deep Learning, Medical Images, Clinical Decision Support System
Copyright © 2023 R. Agarwal et al., licensed to EAI. This is an open access article distributed under the terms of the CC BY-NC-SA
4.0, which permits copying, redistributing, remixing, transformation, and building upon the material in any medium so long as the
original work is properly cited.
doi: 10.4108/eetpht.9.4039
human body, with seven layers of ectodermic tissue automated procedures usually make use of machine learning
protecting bones, muscles, and internal organs. Poor technology based on artificial intelligence. This paper
personal hygiene, rising pollution, climate change, and presents an automated deep learning-based technique for
hazardous UV radiation can all aggravate skin disorders. diagnosing skin diseases. Diseases are predicted using a
Cancer incidence may increase by two to three percent for deep convolutional neural network (CNN).
every percentage point decrease in ozone. In India, The following is the paper's structure: In this section,
photosensitive and infectious skin disorders are extremely beginning with section 2, we have provided a quick synopsis
widespread. It is critical to address skin disorders as soon as of the literature review. Section 3 then outlines the article's
they emerge to prevent complications that impact more than strategy. Section 4 presents the results and opinions. Section
just the skin. People's quest for efficient solutions is 5 closes the papers with a brief comment on future research.
motivated by the following reasons: Given India's explosive
population growth, it is critical to begin providing high-
quality care to each individual as soon as possible. Skin
problems mirror diseases such as AIDS, tuberculosis, and
others that can be fatal if not treated promptly. Even mild
skin issues are expensive, limiting treatment possibilities. As
a result, it is critical to create economical and effective
approaches for identifying skin disorders. Manual traditional
equipment, including that employed in the medical sector
and other disciplines, has been largely supplanted by
automated technology in the modern world.
No age group is more vulnerable to skin disorders. Skin
disorders affect people of all ages, including babies and the
elderly. Skin disorders can be difficult to identify, especially
when many conditions display the same or similar
symptoms. Because of the intricacy of the skin's structure
and the illnesses' seeming proximity, determining the actual
kind of skin problem can be difficult. Diagnosing skin
disorders can be difficult due to a variety of variables,
including the difficulty in segmenting and examining the
skin due to the presence of hair, sweat, and other
unattractive aspects. Because many skin conditions resemble
one another, different dermatological conditions can be
difficult to distinguish from colored photographs. This is a
significant problem for computer vision. One of the biggest
disadvantages of large-scale biomedical image processing
features is the difficulty in structuring and extracting critical
information from data. Digital photographs taken with a
camera, which may have noisy images, poor quality, or
inconsistent lighting, aggravate skin problems. Because of
lesion irregularities such as skin and hair coloring, it may be
difficult to detect skin disorders. [1–5] Skin issues [6] are Figure 1. Sample representation of the dataset.
usually unexpected and difficult to diagnose. Some skin
disorders may be difficult to identify and categorize. Many
people in other nations cannot afford to see a dermatologist. 2. Related Work
[7]. As a result of mobile phone use, skin disease detection
has become more economical in underdeveloped nations. A lot of previous articles have discussed dermatological
Image processing in devices such as cameras and cell categorization. [9] carried conducted the study by improving
phones is used to evaluate skin disorders. We can address an a deep convolutional neural network (CNN) that has
issue in two steps by developing a purpose. In the first stage, previously been taught to spot skin cancer. [10] used the
image processing is used to identify skin problems, and then DermNet dataset to test the efficiency of traditional
a deep learning system is used. Skin illnesses are difficult to machine-learning approaches.
diagnose in both the early and late stages due to changes in [11] used transfer learning with AlexNet to identify a
the distinguishing properties of the skin, such as color and melanoma, typical nevi, and atypical nevi. [12] used transfer
texture [8]. Deep learning technologies developed for learning with VGGNet to classify skin lesions as benign or
analyzing skin disease sample data might be applied to solve malignant. [13] used transfer learning on Google Net to
this problem. classify the eight basic kinds of skin illnesses (basal cell
The use of computer-assisted technology in this industry carcinoma, melanoma, melanocytic nevus, and so on).
facilitates diagnostics and helps to reduce mistakes. These
dataset weights. We use the Adam optimizer, cross-entropy applications. The MobileNet model employs depthwise
loss, and 50 iterations to train the model. separable convolutions to minimize processing costs and
parameter counts while retaining excellent accuracy.
VGG19 When compared to other deep learning models, the
To adapt the VGG19 model to our objective, the input layer MobileNet model is relatively simple, with only 28 layers.
will be modified to take images as input. The model's output The ImageNet dataset was used to pre-train the MobileNet
layer will be replaced with a new softmax layer with eight model, which provides an appropriate initialization for
nodes to represent the various forms of skin disease. To transfer learning to our aim of recognizing skin conditions.
focus on our aim, we will alter the weights of the remaining
layers while freezing the weights of the model's initial few Xception
layers, which are in charge of feature extraction. Because it The Xception model has excelled in a variety of image
has more layers than the VGG16 model, the VGG19 model classification applications, including medical image
can capture images with more complex attributes. analysis. By utilizing depth-wise separable convolutions, the
model's capacity to generalize to new data is improved while
ResNet the number of parameters is reduced.
In this study, three alternative ResNet models—ResNet50, We classified MRI scans for skin cancer into groups with
ResNet101, and ResNet152—were employed. Deep distinct subgroups in this investigation. The model's
convolutional neural network models known as ResNet hyperparameters will be changed, and its effectiveness will
models have succeeded in image classification applications. be measured using accuracy, recall, and precision. We will
The skip connections in the ResNet models allow the train, validate, and test the model using the Kaggle dataset,
models to create and learn residual functions. which includes images of skin cancers. Table 1 lists the
ResNet50 has 50 layers and is somewhat shallower than hyperparameters reported in each model.
the other ResNet models. ResNet101 is a deeper model than
ResNet50 since it includes 101 layers. ResNet152 is the
most complex ResNet model, with 152 layers. The ResNet Table 1. Hyperparameter for models
models were pre-trained using the ImageNet dataset, which
offers a solid basis for employing transfer learning to fulfill
our aim of recognizing skin illness. Hyper-parameter Value
efficacy was assessed using the test set. Figure 2 depicts the proposed fine-tuned design.
(2)
(3)