Submitted:
19 November 2025
Posted:
21 November 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Related Work
3. Dataset Description and Preprocessing
3.1. Dataset Sources
- 20 Skin Diseases Dataset – Haroon Alam
- Skin Diseases Image Dataset – Ismail Promus
- Skin Disease Dataset – Fares Abbas
- 20 Skin Diseases Dataset (Alternate)
- Skin Cancer MNIST: HAM10000 – K. Mader
3.2. Preprocessing
- Random rotation (±20°)
- Horizontal and vertical flipping
- Zoom range: 0.1
- Brightness/contrast shifts


4. Proposed Model Architecture
4.1. MobileNetV2 Overview
- GlobalAveragePooling2D
- Dense(256, activation=‘relu’)
- Dropout(0.5)
- Dense(30, activation=‘softmax’)
4.2. Training Configuration
- Stage 1: Train the top layers with the base frozen for 10 epochs.
- Stage 2: Unfreeze selective layers and fine-tune for 15 additional epochs with lower learning rate.
5. Model Training and Optimization
6. Graphical User Interface (GUI)
- Upload up to three images simultaneously.
- Display predictions, probability scores, and brief disease information.
- Provide output messages in both English and Persian for better user understanding.
- One for ChatGPT API, to allow conversational medical explanation.
- One for Drug Store API, to link diseases with suggested treatments.


7. Evaluation and Results
- Accuracy = 0.2936
- Precision (macro) = 0.32
- Recall (macro) = 0.28
- F1-score = 0.29
8. Discussion and Comparative Analysis
| Model | Params | Accuracy | Inference Speed (CPU) |
|---|---|---|---|
| VGG16 | 138M | 31.2% | Slow |
| ResNet50 | 25.6M | 33.4% | Medium |
| MobileNetV2 | 3.4M | 29.3% | Fast ☑ |
9. Ethical Considerations
10. Future Work
11. Conclusion
12. Use of Generative AI
13. Data and Code Availability
14. Ethics Statement
15. Conflict of Interest
References
- Sandler, M., Howard, A., Zhu, M., Zhmoginov, A., & Chen, L.-C. (2018). MobileNetV2: Inverted Residuals and Linear Bottlenecks. CVPR.
- Tschandl, P., Rosendahl, C., & Kittler, H. (2018). The HAM10000 Dataset: A Large Collection of Multi-Source Dermatoscopic Images. Scientific Data, 5(180161).
- Chollet, F. (2017). Xception: Deep Learning with Depthwise Separable Convolutions. CVPR.
- Esteva, A. et al. (2017). Dermatologist-Level Classification of Skin Cancer with Deep Neural Networks. Nature, 542(7639), 115–118.
- Han, S. S., et al. (2018). Classification of Skin Lesions with Deep Convolutional Neural Networks. Journal of Investigative Dermatology.
- Howard, A. et al. (2017). MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications. arXiv:1704.04861. arXiv:1704.04861.
- Iandola, F. N. et al. (2016). SqueezeNet: AlexNet-Level Accuracy with 50× Fewer Parameters. arXiv:1602.07360. arXiv:1602.07360.
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. |
© 2025 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/).