Convolutional Neural Network-Based Classification of Skin Lesions Using Dermoscopic Images
DOI:
https://doi.org/10.59461/ijdiic.v5i1.245Keywords:
Skin Disease Detection , Dermoscopic Images, Deep Learning, Convolutional Neural Networks, Streamlit DeploymentAbstract
Skin cancer is one of the most common and deadliest diseases globally, in which early detection may help improve patient survival rates. In this paper, an automatic skin cancer classification framework based on deep learning using dermoscopic images is presented. Various convolutional neural network (CNN) models were trained and tested on an annotated skin lesion dataset, including MobileNet, EfficientNetB0, VGG16, ConvNet, and ResNet50. Metrics of the models were calculated by using Micro-averaged metrics to assess the general effectiveness for all the classes. ResNet50 obtained the best performance against all tested models with a micro-average accuracy of 97.75%, precision of 97.79%, recall of 97.75%, and F1 score of 97.76%. Our results indicate that the model enables accurate, consistent, and balanced classification of different skin lesion categories, including actinic keratoses, basal cell carcinoma, benign Keratosis-like lesions, dermatofibroma, and melanoma. For real-world utilization, the top performer, the ResNet50 model, was implemented in a Streamlit-based web application, which is designed to automatically predict skin diseases in dermoscopic images that were uploaded. Experimental results show that deep residual learning is effective for improving the classification performance of skin lesions, and it can become an assistive decision-making tool for dermatologists in early diagnosis and clinics.
Downloads
References
P. Hermosilla, R. Soto, E. Vega, C. Suazo, and J. Ponce, “Skin Cancer Detection and Classification Using Neural Network Algorithms: A Systematic Review,” Diagnostics, vol. 14, no. 4, p. 454, Feb. 2024, https://doi.org/10.3390/diagnostics14040454.
K. Anup Kumar and C. Vanmathi, “Optimization driven model and segmentation network for skin cancer detection,” Computers and Electrical Engineering, vol. 103, p. 108359, Oct. 2022, https://doi.org/10.1016/j.compeleceng.2022.108359.
A. K. K., S. T.Y., S. T. Ahmed, S. K. Mathivanan, S. Varadhan, and M. A. Shah, “Trained neural networking framework based skin cancer diagnosis and categorization using grey wolf optimization,” Scientific Reports, vol. 14, no. 1, p. 9388, Apr. 2024, https://doi.org/10.1038/s41598-024-59979-4.
T. Imran, A. S. Alghamdi, and M. S. Alkatheiri, “Enhanced Skin Cancer Classification using Deep Learning and Nature-based Feature Optimization,” Engineering, Technology & Applied Science Research, vol. 14, no. 1, pp. 12702–12710, Feb. 2024, https://doi.org/10.48084/etasr.6604.
J. Jaculin Femil and T. Jaya, “An Efficient Hybrid Optimization for Skin Cancer Detection Using PNN Classifier,” Computer Systems Science and Engineering, vol. 45, no. 3, pp. 2919–2934, 2023, https://doi.org/10.32604/csse.2023.032935.
N. Zhang, Y.-X. Cai, Y.-Y. Wang, Y.-T. Tian, X.-L. Wang, and B. Badami, “Skin cancer diagnosis based on optimized convolutional neural network,” Artificial Intelligence in Medicine, vol. 102, p. 101756, Jan. 2020, https://doi.org/10.1016/j.artmed.2019.101756.
D. Adla, G. V. R. Reddy, P. Nayak, and G. Karuna, “Deep learning-based computer aided diagnosis model for skin cancer detection and classification,” Distributed and Parallel Databases, vol. 40, no. 4, pp. 717–736, Dec. 2022, https://doi.org/10.1007/s10619-021-07360-z.
K. Ali, Z. A. Shaikh, A. A. Khan, and A. A. Laghari, “Multiclass skin cancer classification using EfficientNets – a first step towards preventing skin cancer,” Neuroscience Informatics, vol. 2, no. 4, p. 100034, Dec. 2022, https://doi.org/10.1016/j.neuri.2021.100034.
Priyanka Tyagi and S.K. Manju bargavi, “Using Federated Artificial Intelligence System of Intrusion Detection for IoT Healthcare System Based on Blockchain,” International Journal of Data Informatics and Intelligent Computing, vol. 2, no. 1, pp. 1–10, Mar. 2023, https://doi.org/10.59461/ijdiic.v2i1.42.
M. M. Musthafa, M. T R, V. K. V, and S. Guluwadi, “Enhanced skin cancer diagnosis using optimized CNN architecture and checkpoints for automated dermatological lesion classification,” BMC Medical Imaging, vol. 24, no. 1, p. 201, Aug. 2024, https://doi.org/10.1186/s12880-024-01356-8.
L. Zhang, H. J. Gao, J. Zhang, and B. Badami, “Optimization of the Convolutional Neural Networks for Automatic Detection of Skin Cancer,” Open Medicine, vol. 15, no. 1, pp. 27–37, Jan. 2020, https://doi.org/10.1515/med-2020-0006.
A. Raza, A. Ali, S. Ullah, Y. N. Anjum, and B. Rehman, “Optimizing skin cancer screening with convolutional neural networks in smart healthcare systems,” PLOS ONE, vol. 20, no. 3, p. e0317181, Mar. 2025, https://doi.org/10.1371/journal.pone.0317181.
R. P. Desale and P. S. Patil, “An efficient multi-class classification of skin cancer using optimized vision transformer,” Medical & Biological Engineering & Computing, vol. 62, no. 3, pp. 773–789, Mar. 2024, https://doi.org/10.1007/s11517-023-02969-x.
J. S. Thanga Purni and R. Vedhapriyavadhana, “EOSA-Net: A deep learning framework for enhanced multi-class skin cancer classification using optimized convolutional neural networks,” Journal of King Saud University - Computer and Information Sciences, vol. 36, no. 3, p. 102007, Mar. 2024, https://doi.org/10.1016/j.jksuci.2024.102007.
A. Majid, M. A. Alrasheedi, A. A. Alharbi, J. Allohibi, and S.-W. Lee, “Modified Whale Optimization Algorithm for Multiclass Skin Cancer Classification,” Mathematics, vol. 13, no. 6, p. 929, Mar. 2025, https://doi.org/10.3390/math13060929.
V. Anand, S. Gupta, A. Altameem, S. R. Nayak, R. C. Poonia, and A. K. J. Saudagar, “An Enhanced Transfer Learning Based Classification for Diagnosis of Skin Cancer,” Diagnostics, vol. 12, no. 7, p. 1628, Jul. 2022, https://doi.org/10.3390/diagnostics12071628.
J. S M, M. P, C. Aravindan, and R. Appavu, “Classification of skin cancer from dermoscopic images using deep neural network architectures,” Multimedia Tools and Applications, vol. 82, no. 10, pp. 15763–15778, Apr. 2023, https://doi.org/10.1007/s11042-022-13847-3.
G. S. Uthayakumar, M. Yaramadhi, T. Marimuthu, and T. R. V. Lakshmi, “Optimized Mixed-Order Relation-Aware Recurrent Neural Networks based CAD Model for Skin Cancer Detection and Classification,” Knowledge-Based Systems, vol. 315, p. 113222, Apr. 2025, https://doi.org/10.1016/j.knosys.2025.113222.
Arvind Kumar Shukla and V. Suresh Kumar, “Cloud Computing with Artificial Intelligence Techniques for Effective Disease Detection,” International Journal of Data Informatics and Intelligent Computing, vol. 2, no. 1, pp. 32–41, Mar. 2023, https://doi.org/10.59461/ijdiic.v2i1.45.
M. R. Mundada et al., “Skin Cancer Prediction by Incorporating Bio-inspired Optimization in Deep Neural Network,” SN Computer Science, vol. 5, no. 8, p. 1127, Dec. 2024, https://doi.org/10.1007/s42979-024-03501-0.
Ashish Kumar Pandey and Prabhdeep Singh, “A Systematic Survey of Classification Algorithms for Cancer Detection,” International Journal of Data Informatics and Intelligent Computing, vol. 1, no. 2, pp. 34–50, Dec. 2022, https://doi.org/10.59461/ijdiic.v1i2.32.
I. A. Kandhro et al., “Performance evaluation of E-VGG19 model: Enhancing real-time skin cancer detection and classification,” Heliyon, vol. 10, no. 10, p. e31488, May 2024, https://doi.org/10.1016/j.heliyon.2024.e31488.
A. Magdy, H. Hussein, R. F. Abdel-Kader, and K. A. El Salam, “Performance Enhancement of Skin Cancer Classification Using Computer Vision,” IEEE Access, vol. 11, pp. 72120–72133, 2023, https://doi.org/10.1109/ACCESS.2023.3294974.
R. V. Arumugam and S. Saravanan, “Automated multi-class skin cancer classification using white shark optimizer with ensemble learning classifier on dermoscopy images,” Multimedia Tools and Applications, vol. 84, no. 8, pp. 4857–4879, Mar. 2024, https://doi.org/10.1007/s11042-024-18973-8.
A. Sedighi, T. Kou, H. Huang, and Y. Li, “Noninvasive On-Skin Biosensors for Monitoring Diabetes Mellitus,” Nano-Micro Letters, vol. 18, no. 1, p. 16, Dec. 2026, https://doi.org/10.1007/s40820-025-01843-9.
P. Sharma and D. Kumar, “Global expansion of lumpy skin disease: transmission trends, economic consequences, and preventive measures,” Veterinary Research Communications, vol. 50, no. 1, p. 22, Feb. 2026, https://doi.org/10.1007/s11259-025-10954-y.
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Sujatha Krishna, Osamah Ibrahim Khalaf

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
