SDC Mini Project Paper
SDC Mini Project Paper
SDC Mini Project Paper
Sakshi Zagade, Shruti Sakpal, Dr. Santoshi Pote, Prof. Merrin Mary Solomon
Department of Data Science, Usha Mittal Institute of Technology, SNDT Women’s University, India
clinical
Abstract
The skin being the largest organ in the human body, comprises the
epidermis, dermis, subcutaneous tissues, blood vessels, lymphatic laboratories. The goal of this topic is to develop an automated
vessels, nerves, muscles etc. Allergies, Pigmentation, Fungal image-based system for skin disease detection and classification,
development, bacteria, microbes are some of the major grounds for which will improve diagnostic accuracy and alleviate the
the causation of several variations of skin diseases in humans. Such scarcity of human specialists.
infections have chances of worsening as time progresses if proper
treatment is not provided immediately. Hence, skin diseases or
Skin disease classification is a crucial field of study because
infections must be nursed promptly with the aim of avoiding the of the high prevalence of skin diseases and the need for accurate
proliferation of such illnesses which might have fatal repercussions in and timely diagnosis. Deep learning-based techniques, such as
the future. Advanced techniques and procedures for the classification convolutional neural networks (CNNs), have produced
of such illnesses based on Artificial Intelligence and machine encouraging results in accurately classifying skin diseases.
learning models are now in increasing demand in the industry. But CNNs are a kind of neural network that can automatically learn
not all of them are freely available for the commoners. For that features from input data, making them well-suited for image
reason, the proponents came up with the suggestion of a classification tasks. The first step in developing a CNN-based
Convolutional Neural Networks (CNN) based model for the
skin disease classification model is data acquisition. This
identification of different skin diseases. We introduce a multiclass
CNN model which helps categorize Healthy skin and skin being involves collecting a large dataset of skin disease images that are
affected by 23 different classes of skin diseases. Our Purpose of the labelled with their corresponding disease categories. The quality
project is to detect the category of skin disease easily with increased and diversity of the dataset are critical for the model's
accuracy. First stage includes the image of the skin illness being performance. Once the data is acquired, it is pre-processed to
subjected to various kinds of pre-processing techniques which is remove noise and enhance image quality. The pre-processed
followed by feature extraction. Then the second stage involves Deep images are then split into training, validation, and testing sets.
learning algorithms to identify diseases on the basis of analyzation The next step is model development, which involves
and observation of the skin. The proposed system is highly beneficial designing a CNN architecture that can learn features from the
in rural areas where access to dermatologists is limited.
input images and put them in the appropriate disease category.
The architecture typically comprises several convolutional layers
Keywords: for feature extraction from the input images., followed by
CNN, Feature extraction, Deep Learning, Skin diseases, FastAPI pooling layers that lessen the number of dimensions in the
feature maps. After being flattened, the convolutional layers'
output is fed into fully connected layers that perform the final
1. INTRODUCTION classification. The model is trained using the training set and
validated using the validation set. Once the model is trained and
With an approximate surface area of 20 square feet, the skin validated, it is tested on the testing set to evaluate its
is the largest organ in the body. In addition to helping to control performance. Developing a CNN-based skin disease
body temperature and shielding us from germs and the classification model involves several steps, including data
environment, skin also allows us to feel touch, heat, and cold. acquisition, pre-processing, and model development, and has the
One of the most prevalent categories of disorders that individuals ability to greatly increase the precision and effectiveness of
of all ages deal with is skin disease. The skin plays a significant diagnosing skin diseases.
role in maintaining the core temperature and in general
protecting our body from various skin maladies which is why the 2. RELATED WORKS
skin being healthy or illness free is of extreme importance.
The diagnosis of skin conditions mostly depends on the The field of skin disease classification using Convolutional
dermatologists' experience and the findings of skin biopsies, Neural Networks (CNN) has witnessed significant
which is, usually, a very time-consuming process. Even though advancements, with several notable studies contributing to the
skin diseases may seem harmless, they can pose a serious health understanding and improvement of this critical domain.
risk if not treated effectively. Early symptoms of numerous In a study conducted by Velasco et al. (October 2019),
diseases are similar, so diagnosing them at an early stage is titled "A Smartphone-Based Skin Disease Classification Using
challenging. MobileNet CNN," the authors introduced a novel approach to
As technology continues to advance, as well as with different skin disease identification. They employed a CNN MobileNet
data mining approaches, treatments of skin predictive model along with App Development, showcasing the potential of
classification are becoming increasingly accurate and highly mobile technology in facilitating efficient and accessible disease
predictive. Consequently, automated assessment of these classification. Their emphasis on oversampling and data
illnesses has become more valuable because of its capacity to augmentation techniques highlighted the importance of
provide accurate results faster than human analysis involving preprocessing strategies in achieving optimal classification
accuracy. 10. Light Diseases and Disorders of Pigmentation
11. Lupus and other Connective Tissue diseases
12. Melanoma Skin Cancer Nevi and Moles
3. PROPOSED MODEL
Fig.1. Dataset Distribution
3.1 Dataset
This machine learning project starts with data collection. Data
which we can use as a training dataset. In this case, we collected Figure 2 shows some sample images from the dataset
images of different skin diseases. The dataset was acquired
through Kaggle which contains 19500 dermatologically tested
images of 23 different skin diseases. The 23 different conditions
of skin disorders that have been included in our dataset are as
follows:
1. Acne and Rosacea Photos
2. Actinic Keratosis Basal Cell Carcinoma and other
Malignant Lesions
3. Atopic Dermatitis Photos
4. Bullous Disease Photos
5. Cellulitis Impetigo and other Bacterial Infections
6. Eczema Photos
7. Exanthems and Drug Eruptions
8. Hair Loss Photos Alopecia and other Hair Diseases
9. Herpes HPV and other STDs Photos
the pre-processing step are referred to as resizing and rescaling.
Resizing is the process of altering an image's dimensions while
preserving its aspect ratio. When the input images are not all the
same size, this can be helpful. On the other hand, rescaling is the
process of altering an image's range of pixel values. Usually, this
is done to guarantee that the pixel values fall inside a specific
range, such 0 to 1. The input data can be normalized in this way
to enhance the training process and the model's functionality.
The second layer performs data augmentation which is required
as we might not have enough diverse set of images, so we rotate,
flip, and adjust contrast to create more training samples.
Third layer is the actual convolutional layer whose
function is to execute the mathematical operation of convolution
to extract features from input data, such as an image.
Convolution works by moving a small filter or kernel over the
input data and computing a dot product between the filter and a
small area of the input at each place. A new output tensor is
created as a result of this procedure, and it comprises details on
the existence and positioning of different features in the input
Fig.2. Sample Dataset data. By learning the filter during training, the convolutional
layer may automatically identify important patterns in the input.
Convolutional Neural Networks (CNNs) stand out as a Fig.5. Mobile App Result (1)
formidable tool in the realm of model building, particularly for
image classification tasks. Their superiority over traditional
Artificial Neural Networks (ANNs) lies in their ability to
capture intricate patterns and hierarchical features present in
Fig.6. Mobile App Result (2)
5. FUTURE WORK accessibility. By providing a user-friendly interface for skin
disease detection and classification, this project contributes to
India boasts a rich heritage of traditional natural remedies the productivity and responsiveness of medical diagnostics.
and authentic medicinal practices that have been integral to its Beyond its technical achievements, the project has broader
culture. These natural remedies, deeply rooted in traditional implications for healthcare, bridging the gap between cutting-
medicine, continue to hold immense value as potent medicinal edge technology and the critical need for accurate and quick
resources in the country. They have proven effective in disease identification in the field of dermatology.
alleviating troublesome symptoms and have been a reliable
source of healthcare for generations. REFERENCES
However, with the rapid pace of modernization, there is a .
growing concern that the upcoming generations may lack [1] https://codebasics.io/blogs/programming.
awareness about the potent remedies available at home. These
remedies, often derived from natural sources, have the potential [2] https://codebasics.io/blog/what-is-a-neural-network
to address health issues at their early stages, providing quick
and effective relief. Recognizing this gap in knowledge, our [3] Geron Aurelien, Hands-On Machine Learning with Scikit-
application seeks to bridge the generational divide by not only Learn and TensorFlow: Concepts, Tools, and Techniques to
detecting and classifying skin diseases but also by offering Build Intelligent Systems, 2017.
insights into relevant home remedies that can be employed for
holistic well-being. [4] Adam Gibson, Josh Patterson, Deep Learning, A
Skin diseases can be influenced by various factors, both Practitioner’s Approach, Shroff Publisher /O’Reilly Publisher
direct and indirect. These factors include environmental Media
conditions, food allergies, irritants, genetic makeup, certain
diseases, and the immune system. Additionally, the [5] Dan Ward, React Native Cookbook - Second Edition, 2019
geographical location of an individual can play a vital role in
understanding the root cause of a skin condition. For instance, [6] Artemij Fedosejev, React.js Essentials: A fast-paced
in urban areas like Delhi, where issues like eczema and journey, 2015
allergies are exacerbated by toxic air, there is a growing
concern about the impact of the environment on skin health. [7] https://www.frontiersin.org/articles/10.3389/
This application can be implemented to further use the user’s fpls.2016.01419/full
location as one of the parameters in classifying skin diseases,
offering a more tailored and contextualized healthcare solution. [8] https://cjme.springeropen.com/articles/10.1186/s10033-
This system can also help in providing the user with the 021-00629-5
nearby hospitals and dermatologists details which would be
helpful. This feature can serve as a valuable resource, [9] Hafiz, A.M.; Bhat, G.M. A Survey of Deep Learning
facilitating prompt medical attention and further enhancing the Techniques for Medical Diagnosis. In Information and
user's experience with a seamless transition from disease Communication Technology for Sustainable Development;
detection to medical consultation. Advances in Intelligent Systems and Computing; Tuba, M.,
In essence, our application not only leverages technology Akashe, S., Joshi, A., Eds.; Springer: Singapore, 2020; Volume
to identify and classify skin diseases but also integrates 933.
traditional wisdom and local context. By incorporating home
remedies and considering geographical factors, it strives to [10] D.A. Okuboyejo, O.O. Olugbara and S.A. Odunaike,
empower users with a comprehensive healthcare solution that “Automating skin disease diagnosis using image classification,”
aligns with India's rich tradition of natural remedies while In proceedings of the world congress on engineering and
addressing the evolving healthcare needs of the present computer science 2013 Oct 23, Vol. 2, pp. 850-854.
generation.
[11] Avanzato, R.; Beritelli, F. Automatic ECG Diagnosis
6. CONCLUSION Using Convolutional Neural Network. Electronics 2020, 9, 951.
[Google Scholar]
In conclusion, the Skin Disease Classification using
CNN project represents a significant stride in leveraging [12] A.A. Amarathunga, E.P. Ellawala, G.N. Abeysekar and
advanced technology for healthcare. The utilization of C.R Amalraj, “Expert system for diagnosis of skin diseases,”
Convolutional Neural Networks has proven instrumental in International Journal of Scientific Technology Research, 2015
achieving a commendable level of accuracy in the classification Jan 4;4(01):174-8.
of skin diseases, offering a robust solution for timely diagnosis.
The project not only showcases the power of CNNs in [13] S. Chakraborty, K. Mali, S. Chatterjee, S. Anand, A. Basu,
discerning complex patterns within medical images but also S. Banerjee, M. Das and A. Bhattacharya, “Image based skin
emphasizes the potential for technology to enhance healthcare disease detection using hybrid neural network coupled bag-of-
features,” In 2017 IEEE 8th