Implementation of a Vision Transformer for Web-Based Acne Type Classification Using Facial Images

Authors

  • Tasya Evrillia Widiarto Program Studi Teknik Informatika, Universitas Nusa Putra, Sukabumi, Indonesia
  • Imam Sanjaya
  • Zaenal Alamsyah

DOI:

https://doi.org/10.37859/coscitech.v7i2.11982
Keywords: Acne Vulgaris, Acne Classification, Facial Image, Vision Transformer Acne Vulgaris, Citra Wajah, Klasifikasi Jerawat, Vision Transformer

Abstract

Acne Vulgaris is a widespread skin condition that can affect not only physical skin health but also a person's self-confidence. Because manually distinguishing acne types still demands specialized expertise, an artificial-intelligence-based approach is needed to support this classification task. This research applies a Vision Transformer (ViT-B/16) architecture to categorize acne lesions from facial images into four groups: normal, papule, pustule, and nodule. A total of 4,000 images were used as the dataset and processed through a transfer-learning strategy initialized with pre-trained ImageNet weights. The model was trained across 20 epochs with the Adam optimizer and a learning rate of 0.001. Testing showed that the model reached an accuracy of 86%. The resulting model was then embedded into a web-based application to streamline the acne identification workflow. These outcomes confirm that Vision Transformer can classify acne types reliably and holds promise as an automated early-screening tool for facial skin conditions.

Downloads

Download data is not yet available.

References

F. H. Rizki Khaerunisa, “Experience dan Persepsi Perempuan Terhadap Dampak Kesehatan Kulit dalam Keputusan Penggunaan Produk Skincare,” SOSIOGLOBAL J. Pemikir. dan Penelit. Sosiol., vol. 9, no. 2, pp. 113–132, 2025.

T. D. Siahaan et al., “Hubungan Antara Kejadian Acne Vulgaris dengan Harga Diri Remaja,” J. Mutiara Ners, vol. 3, no. 1, pp. 15–21, 2020.

H. T. Sibero et al., “Prevalensi dan Gambaran Epidemiologi Akne Vulgaris di Provinsi Lampung,” JK Unila (Jurnal Kedokt. Univ. Lampung), vol. 3, 2019.

V. F. Sundoro, T. Djannatun, and E. D. Maharsi, “Hubungan Personal Hygiene Wajah Terhadap Keparahan Acne Vulgaris Pada Remaja SMA Negeri 3 Jakarta,” Cerdika J. Ilm. Indones., vol. 4, no. September, pp. 753–765, 2024.

D. T. Aryani and W. Riyaningrum, “Hubungan Acne Vulgaris (AV) dengan Kepercayaan Diri pada Mahasiswa Muhammadiyah Purwokerto Angkatan 2021,” J. Kesehat. Tambusai, vol. 3, no. September, pp. 434–441, 2022.

H. Mariatul Qibthiyah, Aris Fadillah, “Swamedikasi Acne Vulgaris di Kalangan Mahasiswa,” J. Kesehat. Tambusai, vol. 5, pp. 12666–12676, 2024.

T. Susilowati and N. Pratiwi, “Sistem Deteksi Otomatis Jenis Jerawat Berbasis Convolution Neural Network (CNN) dan Framework Flask,” J. Artif. Intell. Digit. Bus., vol. 5, no. 1, pp. 4413–4420, 2026.

M. Nurkhasanah, “Klasifikasi Penyakit Kulit Wajah Menggunakan Metode Convolutional Neural Network,” SAINTEKS, vol. 18, no. 2, pp. 183–190, 2021.

F. Ramadhana, G. A. Mahardika, N. Day, and E. Y. Puspaningrum, “Klasifikasi Penyakit Daun Cabai Menggunakan Vision Transformer,” Semin. Nas. Inform. Bela Negara, vol. 5, pp. 131–135, 2025.

J. A. Figo, N. Yudistira, and A. W. Widodo, “Deteksi Covid-19 dari Citra X-ray menggunakan Vision Transformer,” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 7, no. 3, pp. 1116–1125, 2023.

A. Hasbi and B. Tumanggor, “Implementation of the Vision Transformer ( ViT ) Method in Soil Type Classification,” J. Ilm. Sist. Inf., vol. 5, no. 1, pp. 574–583, 2026.

S. S. Futri, Dila Aura, Ivana Lucia Kharisma, “Implementasi Model Vision Transformer pada Klasifikasi Jenis Kulit Wajah Berbasis Website,” J. Comput. Sci. Inf. Technol., vol. 6, no. 2, pp. 214–229, 2025.

K. Citra, P. Daun, T. Menggunakan, M. Convolutional, and N. Network, “Klasifikasi Citra Penyakit Daun Tomat Menggunakan Metode Convolutional Neural Network (CNN) Dengan Arsitektur VGG-19,” J. CoSciTech (Computer Sci. Inf. Technol., vol. 6, no. 3, pp. 405–413, 2025.

S. M. Reyvan Revolusioner Ar, Agusriyati, “Pendeteksian Dini Stunting pada Balita Menggunakan Vision Transformer (ViT),” JITET (Jurnal Inform. dan Tek. Elektro Ter., vol. 13, no. 3, 2025.

A. H. R. Mochammad Fajar Fadhillah, “Implementasi Convolutional Neural Network (CNN) Untuk Klasifikasi Tanaman Hias Berbasis Aplikasi Web Laravel,” J. IPSIKOM, vol. 13, no. 2, 2025.

Y. F. Achmad et al., “Identifikasi Jenis Jerawat Berdasarkan Tekstur Menggunakan GLCM dan Backpropagation,” J. SAINTIKOM (Jurnal Sains Manaj. Inform. dan Komputer), vol. 20, no. 2, 2021.

H. Aji, A. Kautsar, W. Bismi, D. Novianti, and M. Qommarudin, “Deteksi Jenis Jerawat Berbasis Android menggunakan Ensemble Deep Learning dengan Optimasi Layer Parsial,” J. Inform. dan Rekayasa Perangkat Lunak, vol. 7, no. 2, pp. 260–267, 2025.

L. Watef and F. Mahanto, “Deteksi dan Visualisasi Berbasis Computer Vision untuk Analisis Gambar Dermatologis dalam Penilaian Keparahan Jerawat,” Ilk. J. Comput. Sci. Appl. Informatics, vol. 6, no. 1, pp. 45–53, 2024.

R. A. Kumalasanti, C. Rooyen, and M. Christy, “Deteksi Ekspresi Wajah Menggunakan Visual Geometry Group - 16 Layer Convolutional Neural Network,” Konstelasi Konvergensi Tek. dan Sist. Inf., vol. 101, pp. 128–135, 2026.

M. Nurhidayanti, “Penerapan Deep Learning dalam Pengenalan Wajah untuk Sistem Keamanan,” J. Inform. Indones., vol. 1, no. 1, pp. 29–37, 2025.

R. S. Ulya Qistina, Febriyani, Zainab al-Kubra, “Rumusan Masalah Sebagai Kompas Ilmiah: Menavigasi Identifikasi, Batasan, dan Pertanyaan Penelitian,” J. Rumusan, 2026.

R. L. Hasanah and M. Hasan, “Deteksi Lesi Acne Vulgaris Pada Citra Jerawat Wajah Menggunakan Metode K-Means Clustering,” Indones. J. Softw. Eng., vol. 8, no. 1, pp. 46–51, 2022.

C. Dewi, A. Suyitno, and E. Pujiastuti, “Studi Literatur : Model Pembelajaran Blended Learning dalam Meningkatkan Kemampuan Berpikir Kreatif dan Rasa Ingin Tahu Siswa dalam Pembelajaran Matematika,” Prism. Pros. Semin. Nas. Mat., vol. 5, pp. 272–281, 2022.

G. Ekayanda and M. Rahardi, “Analysis of Deep Learning Algorithms Using ConvNeXt and Vision Transformer for Brain Tumor Disease,” J. Appl. Informatics Comput., vol. 9, no. 6, 2025.

X. Zhai et al., “An Image Is Worth 16X16 Words: Transformers For Image Recognition At Scale,” ICLR 2021 (International Conf. Learn. Represent., 2021.

Downloads

Published

2026-08-31

How to Cite

Widiarto, T. E., Imam Sanjaya, & Alamsyah, Z. (2026). Implementation of a Vision Transformer for Web-Based Acne Type Classification Using Facial Images. Jurnal CoSciTech (Computer Science and Information Technology), 7(2), 297–308. https://doi.org/10.37859/coscitech.v7i2.11982