A Deep Learning Based Framework for Skin Cancer Detection Using a Layered Software Architecture with Transfer Learning
Research Article  ·  Published: 19 August 2026
Issue cover
ICCK Journal of Software Engineering
Volume 2, Issue 3, 2026: 185-196
Research Article Open Access

A Deep Learning Based Framework for Skin Cancer Detection Using a Layered Software Architecture with Transfer Learning

1 Department of Computer Science, Virtual University of Pakistan, Lahore 54000, Pakistan
* Corresponding Author: Tuba Mubarik, [email protected]
Volume 2, Issue 3
You have full access to this open access article · CC BY 4.0 License

Article Information

Abstract

Skin cancer has become a serious public health issue worldwide. The number of cases is rising due to higher UV exposure and changing lifestyle patterns. Early detection is the best way to save lives. However, many areas still lack specialized doctors and equipment needed for a quick diagnosis. In this paper, we develop and test an automated skin cancer detection method based on standard smartphone photography. It provides a practical solution for resource-limited settings by removing the need for expensive clinical dermoscopy equipment, making diagnosis accessible in areas with limited infrastructure. The system was trained and tested on PAD-UFES-20, which contains 2,298 clinical smartphone images of skin lesions. The images were grouped into two categories: malignant and benign. Malignant cases involved Basal Cell Carcinoma, Squamous Cell Carcinoma, and Melanoma. Benign lesions consisted of Actinic Keratosis, Nevus, and Seborrheic Keratosis. Transfer learning was used to fine-tune two models: EfficientNetB3 and VGG16. Both were pre-trained on ImageNet. EfficientNetB3 achieved a test accuracy of 82.61%. It outperformed VGG16, which achieved an accuracy of 79.78%. The system follows a modular pipeline covering data ingestion, preprocessing, model training, and inference. Unlike many existing approaches that require high-end hardware, our approach provides high accuracy using standard technology. This design allows easy adaptation in clinical settings with limited infrastructure. The proposed four-layer modular pipeline embodies software engineering principles of separation of concerns and component independence, enabling maintainable and scalable deployment in resource-constrained environments.

Graphical Abstract

A Deep Learning Based Framework for Skin Cancer Detection Using a Layered Software Architecture with Transfer Learning

Keywords

skin cancer binary classification transfer learning EfficientNetB3 VGG16 PAD-UFES-20 deep learning medical image analysis modular pipeline architecture layered system design

Data Availability Statement

Data will be made available on request.

Funding

This work was supported without any funding.

Conflicts of Interest

Shabib Aftab served as an Editor-in-Chief of the ICCK Journal of Software Engineering at the time of manuscript submission. To ensure the integrity of the peer-review process, Shabib Aftab was not involved in the editorial handling, peer review, or decision-making process for this manuscript, which was handled independently by another editor. The remaining authors declare no conflicts of interest.

AI Use Statement

The authors declare that no generative AI was used in the preparation of this manuscript.

Ethical Approval and Consent to Participate

Ethical approval and informed patient consent were obtained by the original collectors of the PAD-UFES-20 dataset (Federal University of Espírito Santo, Brazil). The present study utilized only the publicly released, de-identified image subset and did not involve any new recruitment of human participants or collection of personal data; therefore, separate ethical approval was not required under standard secondary data use policies.

References

  1. Sung, H., Ferlay, J., Siegel, R. L., Laversanne, M., Soerjomataram, I., Jemal, A., & Bray, F. (2021). Global cancer statistics 2020: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries. CA: a cancer journal for clinicians, 71 (3), 209-249.
    [CrossRef] [Google Scholar]
  2. Wolff, K., Johnson, R. A., Saavedra, A. P., & Roh, E. K. (2017). Eczema/Dermatitis. Fitzpatrick's Color Atlas and Synopsis of Clinical Dermatology , 25-49. Available at: https://doctorlib.org/medical/fitzpatrick-atlas-dermatology/5.html
    [Google Scholar]
  3. Sinz, C., Tschandl, P., Rosendahl, C., Akay, B. N., Argenziano, G., Blum, A., ... & Kittler, H. (2017). Accuracy of dermatoscopy for the diagnosis of nonpigmented cancers of the skin. Journal of the American Academy of Dermatology, 77 (6), 1100-1109.
    [CrossRef] [Google Scholar]
  4. Nachbar, F., Stolz, W., Merkle, T., Cognetta, A. B., Vogt, T., Landthaler, M., ... & Plewig, G. (1994). The ABCD rule of dermatoscopy: high prospective value in the diagnosis of doubtful melanocytic skin lesions. Journal of the American Academy of Dermatology, 30 (4), 551-559.
    [CrossRef] [Google Scholar]
  5. Robinson, J. K., & Turrisi, R. (2006). Skills training to learn discrimination of ABCDE criteria by those at risk of developing melanoma. Archives of dermatology, 142 (4), 447-452.
    [CrossRef] [Google Scholar]
  6. Healsmith, M. F., Bourke, J. F., Osborne, J. E., & Graham‐Brown, R. A. C. (1994). An evaluation of the revised seven‐point checklist for the early diagnosis of cutaneous malignant melanoma. British Journal of Dermatology, 130 (1), 48-50.
    [CrossRef] [Google Scholar]
  7. Dal Pozzo, V., Benelli, C., & Roscetti, E. (1999). The seven features for melanoma: a new dermoscopic algorithm for the diagnosis of malignant melanma. European Journal of Dermatology, 9 (4), 303-8. https://www.jle.com/en/revues/ejd/e-docs/the_seven_features_for_melanoma_a_new_dermoscopic_algorithm_for_the_diagnosis_of_malignant_melanma_100088/article.phtml?cle_doc=000186F8
    [Google Scholar]
  8. Smith, L., & MacNeil, S. (2011). State of the art in non‐invasive imaging of cutaneous melanoma. Skin Research and Technology, 17 (3), 257-269.
    [CrossRef] [Google Scholar]
  9. Masood, A., & Al-Jumaily, A. A. (2013). Computer aided diagnostic support system for skin cancer: a review of techniques and algorithms. International journal of biomedical imaging, 2013 (1), 323268.
    [CrossRef] [Google Scholar]
  10. Pacheco, A. G., Lima, G. R., Salomao, A. S., Krohling, B., Biral, I. P., De Angelo, G. G., ... & De Barros, L. F. (2020). PAD-UFES-20: A skin lesion dataset composed of patient data and clinical images collected from smartphones. Data in brief, 32 , 106221.
    [CrossRef] [Google Scholar]
  11. Udrea, A., Mitra, G. D., Costea, D., Noels, E. C., Wakkee, M., Siegel, D. M., ... & Nijsten, T. E. C. (2020). Accuracy of a smartphone application for triage of skin lesions based on machine learning algorithms. Journal of the European Academy of Dermatology and Venereology, 34 (3), 648-655.
    [CrossRef] [Google Scholar]
  12. Goyal, M., Knackstedt, T., Yan, S., & Hassanpour, S. (2020). Artificial intelligence-based image classification methods for diagnosis of skin cancer: Challenges and opportunities. Computers in biology and medicine, 127 , 104065.
    [CrossRef] [Google Scholar]
  13. Esteva, A., Kuprel, B., Novoa, R. A., Ko, J., Swetter, S. M., Blau, H. M., & Thrun, S. (2017). Dermatologist-level classification of skin cancer with deep neural networks. Nature, 542 (7639), 115-118.
    [CrossRef] [Google Scholar]
  14. Haenssle, H. A., Fink, C., Schneiderbauer, R., Toberer, F., Buhl, T., Blum, A., ... & Zalaudek, I. (2018). Man against machine: diagnostic performance of a deep learning convolutional neural network for dermoscopic melanoma recognition in comparison to 58 dermatologists. Annals of oncology, 29 (8), 1836-1842.
    [CrossRef] [Google Scholar]
  15. Brinker, T. J., Hekler, A., Enk, A. H., Klode, J., Hauschild, A., Berking, C., ... & Schrüfer, P. (2019). A convolutional neural network trained with dermoscopic images performed on par with 145 dermatologists in a clinical melanoma image classification task. European journal of cancer, 111 , 148-154.
    [CrossRef] [Google Scholar]
  16. Pacheco, A. G., & Krohling, R. A. (2020). The impact of patient clinical information on automated skin cancer detection. Computers in biology and medicine, 116 , 103545.
    [CrossRef] [Google Scholar]
  17. Kadampur, M. A., & Al Riyaee, S. (2020). Skin cancer detection: Applying a deep learning based model driven architecture in the cloud for classifying dermal cell images. Informatics in Medicine Unlocked, 18 , 100282.
    [CrossRef] [Google Scholar]
  18. Khullar, V., Kaur, P., Gargrish, S., Mishra, A. M., Singh, P., Diwakar, M., ... & Gupta, I. (2025). Minimal sourced and lightweight federated transfer learning models for skin cancer detection. Scientific reports, 15 (1), 2605.
    [CrossRef] [Google Scholar]
  19. Sasithradevi, A., Kanimozhi, S., Sasidhar, P., Pulipati, P. K., Sruthi, E., & Prakash, P. (2025). EffiCAT: A synergistic approach to skin disease classification through multi-dataset fusion and attention mechanisms. Biomedical Signal Processing and Control, 100 , 107141.
    [CrossRef] [Google Scholar]
  20. Sakl, M., Essid, C., Salah, B. B., & Sakli, H. (2023, June). Dl methods for skin lesions automated diagnosis in smartphone images. In 2023 International Wireless Communications and Mobile Computing (IWCMC) (pp. 1142-1147). IEEE.
    [CrossRef] [Google Scholar]
  21. Agarwal, S., & Mahto, A. K. (2025). Skin cancer classification: Hybrid CNN-transformer models with KAN-Based fusion. arXiv preprint arXiv:2508.12484 .
    [CrossRef] [Google Scholar]
  22. Codella, N. C., Gutman, D., Celebi, M. E., Helba, B., Marchetti, M. A., Dusza, S. W., ... & Halpern, A. (2018, April). Skin lesion analysis toward melanoma detection: A challenge at the 2017 international symposium on biomedical imaging (isbi), hosted by the international skin imaging collaboration (isic). In 2018 IEEE 15th international symposium on biomedical imaging (ISBI 2018) (pp. 168-172). IEEE.
    [CrossRef] [Google Scholar]
  23. ISIC Archive. (2019). ISIC 2019: Skin lesion analysis towards melanoma detection. Retrieved from https://challenge2019.isic-archive.com/
    [Google Scholar]
  24. Tschandl, P., Rosendahl, C., & Kittler, H. (2018). The HAM10000 dataset, a large collection of multi-source dermatoscopic images of common pigmented skin lesions. Scientific data, 5 (1), 180161.
    [CrossRef] [Google Scholar]
  25. Khan, I. U., Aslam, N., Anwar, T., Aljameel, S. S., Ullah, M., Khan, R., ... & Akhtar, N. (2021). Remote diagnosis and triaging model for skin cancer using EfficientNet and extreme gradient boosting. Complexity, 2021 (1), 5591614.
    [CrossRef] [Google Scholar]
  26. Efimenko, M., Ignatev, A., & Koshechkin, K. (2020). Review of medical image recognition technologies to detect melanomas using neural networks. BMC bioinformatics, 21 (Suppl 11), 270.
    [CrossRef] [Google Scholar]
  27. Pham, T. C., Luong, C. M., Hoang, V. D., & Doucet, A. (2021). AI outperformed every dermatologist in dermoscopic melanoma diagnosis, using an optimized deep-CNN architecture with custom mini-batch logic and loss function. Scientific Reports, 11 (1), 17485.
    [CrossRef] [Google Scholar]
  28. Jinnai, S., Yamazaki, N., Hirano, Y., Sugawara, Y., Ohe, Y., & Hamamoto, R. (2020). The development of a skin cancer classification system for pigmented skin lesions using deep learning. Biomolecules, 10 (8), 1123.
    [CrossRef] [Google Scholar]
  29. Wei, L., Ding, K., & Hu, H. (2020). Automatic skin cancer detection in dermoscopy images based on ensemble lightweight deep learning network. IEEE Access, 8 , 99633-99647.
    [CrossRef] [Google Scholar]
  30. Kassem, M. A., Hosny, K. M., & Fouad, M. M. (2020). Skin lesions classification into eight classes for ISIC 2019 using deep convolutional neural network and transfer learning. IEEE Access, 8 , 114822-114832.
    [CrossRef] [Google Scholar]
  31. Anjum, M. A., Amin, J., Sharif, M., Khan, H. U., Malik, M. S. A., & Kadry, S. (2020). Deep semantic segmentation and multi-class skin lesion classification based on convolutional neural network. IEEE Access, 8 , 129668-129678.
    [CrossRef] [Google Scholar]
  32. Goceri, E. (2021). Deep learning based classification of facial dermatological disorders. Computers in Biology and Medicine, 128 , 104118.
    [CrossRef] [Google Scholar]
  33. Gessert, N., Nielsen, M., Shaikh, M., Werner, R., & Schlaefer, A. (2020). Skin lesion classification using ensembles of multi-resolution EfficientNets with meta data. MethodsX, 7 , 100864.
    [CrossRef] [Google Scholar]
  34. Tan, M., & Le, Q. (2019, May). Efficientnet: Rethinking model scaling for convolutional neural networks. In International conference on machine learning (pp. 6105-6114). PmLR.
    [Google Scholar]
  35. Karki, S., Kulkarni, P., & Stranieri, A. (2021, February). Melanoma classification using EfficientNets and Ensemble of models with different input resolution. In Proceedings of the 2021 Australasian Computer Science Week Multiconference (pp. 1-5).
    [CrossRef] [Google Scholar]
  36. Chen, T., & Guestrin, C. (2016, August). Xgboost: A scalable tree boosting system. In Proceedings of the 22nd acm sigkdd international conference on knowledge discovery and data mining (pp. 785-794).
    [CrossRef] [Google Scholar]
  37. Yin, W., Huang, J., Chen, J., & Ji, Y. (2022). A study on skin tumor classification based on dense convolutional networks with fused metadata. Frontiers in Oncology, 12 , 989894.
    [CrossRef] [Google Scholar]
  38. O'Reilly, C. (2024). Enhancing dermatological skin lesion classification with multi-modal attention-based models and explainability [Doctoral dissertation, Technological University Dublin]. Arrow@TU Dublin.
    [CrossRef] [Google Scholar]
  39. Azeem, M., Kiani, K., Mansouri, T., & Topping, N. (2023). SkinLesNet: classification of skin lesions and detection of melanoma cancer using a novel multi-layer deep convolutional neural network. Cancers, 16 (1), 108.
    [CrossRef] [Google Scholar]
  40. Uliana, J. J., & Krohling, R. A. (2025). Diffusion models applied to skin and oral cancer classification. arXiv preprint arXiv:2504.00026 .
    [CrossRef] [Google Scholar]
  41. Oztel, I., Yolcu Oztel, G., & Sahin, V. H. (2023). Deep learning‐based skin diseases classification using smartphones. Advanced Intelligent Systems, 5 (12), 2300211.
    [CrossRef] [Google Scholar]
  42. Jain, S., Singhania, U., Tripathy, B., Nasr, E. A., Aboudaif, M. K., & Kamrani, A. K. (2021). Deep learning-based transfer learning for classification of skin cancer. Sensors, 21 (23), 8142.
    [CrossRef] [Google Scholar]
  43. Pacheco, A. G., & Krohling, R. A. (2021). An attention-based mechanism to combine images and metadata in deep learning models applied to skin cancer classification. IEEE journal of biomedical and health informatics, 25 (9), 3554-3563.
    [CrossRef] [Google Scholar]
  44. Xie, Q., Luong, M. T., Hovy, E., & Le, Q. V. (2020, June). Self-training with noisy student improves imagenet classification. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) (pp. 10684-10695). IEEE.
    [CrossRef] [Google Scholar]
  45. Simonyan, K., & Zisserman, A. (2015). Very deep convolutional networks for large-scale image recognition. In Proceedings of the International Conference on Learning Representations (ICLR) . https://ora.ox.ac.uk/objects/uuid:60713f18-a6d1-4d97-8f45-b60ad8aebbce
    [Google Scholar]

Cite This Article

APA Style
Mubarik, T., & Aftab, S. (2026). A Deep Learning Based Framework for Skin Cancer Detection Using a Layered Software Architecture with Transfer Learning. ICCK Journal of Software Engineering, 2(3), 185-196. https://doi.org/10.62762/JSE.2026.541211
Export Citation
RIS Format
Compatible with EndNote, Zotero, Mendeley, and other reference managers
TY  - JOUR
AU  - Mubarik, Tuba
AU  - Aftab, Shabib
PY  - 2026
DA  - 2026/08/19
TI  - A Deep Learning Based Framework for Skin Cancer Detection Using a Layered Software Architecture with Transfer Learning
JO  - ICCK Journal of Software Engineering
T2  - ICCK Journal of Software Engineering
JF  - ICCK Journal of Software Engineering
VL  - 2
IS  - 3
SP  - 185
EP  - 196
DO  - 10.62762/JSE.2026.541211
UR  - https://www.icck.org/article/abs/JSE.2026.541211
KW  - skin cancer
KW  - binary classification
KW  - transfer learning
KW  - EfficientNetB3
KW  - VGG16
KW  - PAD-UFES-20
KW  - deep learning
KW  - medical image analysis
KW  - modular pipeline architecture
KW  - layered system design
AB  - Skin cancer has become a serious public health issue worldwide. The number of cases is rising due to higher UV exposure and changing lifestyle patterns. Early detection is the best way to save lives. However, many areas still lack specialized doctors and equipment needed for a quick diagnosis. In this paper, we develop and test an automated skin cancer detection method based on standard smartphone photography. It provides a practical solution for resource-limited settings by removing the need for expensive clinical dermoscopy equipment, making diagnosis accessible in areas with limited infrastructure. The system was trained and tested on PAD-UFES-20, which contains 2,298 clinical smartphone images of skin lesions. The images were grouped into two categories: malignant and benign. Malignant cases involved Basal Cell Carcinoma, Squamous Cell Carcinoma, and Melanoma. Benign lesions consisted of Actinic Keratosis, Nevus, and Seborrheic Keratosis. Transfer learning was used to fine-tune two models: EfficientNetB3 and VGG16. Both were pre-trained on ImageNet. EfficientNetB3 achieved a test accuracy of 82.61%. It outperformed VGG16, which achieved an accuracy of 79.78%. The system follows a modular pipeline covering data ingestion, preprocessing, model training, and inference. Unlike many existing approaches that require high-end hardware, our approach provides high accuracy using standard technology. This design allows easy adaptation in clinical settings with limited infrastructure. The proposed four-layer modular pipeline embodies software engineering principles of separation of concerns and component independence, enabling maintainable and scalable deployment in resource-constrained environments.
SN  - 3069-1834
PB  - Institute of Central Computation and Knowledge
LA  - English
ER  - 
BibTeX Format
Compatible with LaTeX, BibTeX, and other reference managers
@article{Mubarik2026A,
  author = {Tuba Mubarik and Shabib Aftab},
  title = {A Deep Learning Based Framework for Skin Cancer Detection Using a Layered Software Architecture with Transfer Learning},
  journal = {ICCK Journal of Software Engineering},
  year = {2026},
  volume = {2},
  number = {3},
  pages = {185-196},
  doi = {10.62762/JSE.2026.541211},
  url = {https://www.icck.org/article/abs/JSE.2026.541211},
  abstract = {Skin cancer has become a serious public health issue worldwide. The number of cases is rising due to higher UV exposure and changing lifestyle patterns. Early detection is the best way to save lives. However, many areas still lack specialized doctors and equipment needed for a quick diagnosis. In this paper, we develop and test an automated skin cancer detection method based on standard smartphone photography. It provides a practical solution for resource-limited settings by removing the need for expensive clinical dermoscopy equipment, making diagnosis accessible in areas with limited infrastructure. The system was trained and tested on PAD-UFES-20, which contains 2,298 clinical smartphone images of skin lesions. The images were grouped into two categories: malignant and benign. Malignant cases involved Basal Cell Carcinoma, Squamous Cell Carcinoma, and Melanoma. Benign lesions consisted of Actinic Keratosis, Nevus, and Seborrheic Keratosis. Transfer learning was used to fine-tune two models: EfficientNetB3 and VGG16. Both were pre-trained on ImageNet. EfficientNetB3 achieved a test accuracy of 82.61\%. It outperformed VGG16, which achieved an accuracy of 79.78\%. The system follows a modular pipeline covering data ingestion, preprocessing, model training, and inference. Unlike many existing approaches that require high-end hardware, our approach provides high accuracy using standard technology. This design allows easy adaptation in clinical settings with limited infrastructure. The proposed four-layer modular pipeline embodies software engineering principles of separation of concerns and component independence, enabling maintainable and scalable deployment in resource-constrained environments.},
  keywords = {skin cancer, binary classification, transfer learning, EfficientNetB3, VGG16, PAD-UFES-20, deep learning, medical image analysis, modular pipeline architecture, layered system design},
  issn = {3069-1834},
  publisher = {Institute of Central Computation and Knowledge}
}

Article Metrics

Citations
Crossref
0
Scopus
0
Views
35
PDF Downloads
5

Publisher's Note

ICCK stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and Permissions

CC BY Copyright © 2026 by the Author(s). Published by Institute of Central Computation and Knowledge. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made.
ICCK Journal of Software Engineering
ICCK Journal of Software Engineering
ISSN: 3069-1834 (Online)
Portico
Preserved at
Portico