Klasifikasi Citra untuk Menentukan Daun Segar atau Daun Layu Menggunakan Vision Transformer (ViT) untuk Otomatisasi Proses Penyortiran Daun
DOI:
https://doi.org/10.22441/jitkom.v10i1.004Abstrak
Penelitian ini mengeksplorasi pemanfaatan arsitektur Vision Transformer (ViT) untuk klasifikasi citra daun ke dalam dua kategori, yaitu daun segar dan daun layu. Data yang digunakan berjumlah 3000 citra (gambar), diperoleh secara langsung melalui kamera smartphone, masing-masing terdiri dari 1.500 gambar daun segar dan 1.500 gambar daun layu. Model ViTForImageClassification dari Hugging Face Transformers dipilih sebagai kerangka utama, diimplementasikan menggunakan PyTorch dalam platform Google Colaboratory. 10% dataset digunakan sebagai data test guna menilai performa model yang telah melalui proses pelatihan sebelumnya sebesar 70% data train dan 20% data validasi. Berdasarkan hasil evaluasi, model ViT mampu melakukan klasifikasi dengan akurasi keseluruhan sebesar 88,9%, precision 90%, recall 89%, serta F1-score sebesar 89%. Temuan ini mengindikasikan bahwa pendekatan berbasis deep learning, khususnya Vision Transformer, memiliki potensi signifikan dalam mendukung proses penyortiran daun, pemantauan kesehatan tanaman, dan pengendalian mutu produk pertanian.Referensi
[1] A. Dosovitskiy, L. Beyer, A. Kolesnikov, D. Weissenborn, X. Zhai, T. Unterthiner, et al., “An image is worth 16×16 words: Transformers for image recognition at scale,” arXiv preprint arXiv:2010.11929, 2020.
[2] A. Kamilaris and F. X. Prenafeta-Boldú, “Deep learning in agriculture: A survey,” Comput. Electron. Agric., vol. 147, pp. 70–90, 2018.
[3] K. G. Liakos, P. Busato, D. Moshou, S. Pearson, and D. Bochtis, “Machine learning in agriculture: A review,” Sensors, vol. 18, no. 8, p. 2674, 2018.
[4] J. Liang, D. Wang, and X. Ling, “Image classification for soybean and weeds based on ViT,” in J. Phys.: Conf. Ser., vol. 2002, no. 1, p. 012068, Aug. 2021.
[5] A. S. Nugroho and A. B. Witarto, “Penerapan Vision Transformer untuk Klasifikasi Citra Daun Tanaman Obat Indonesia,” J. Informatika, vol. 16, no. 1, pp. 45–52, 2022.
[6] D. I. Patrício and R. Rieder, “Computer vision and artificial intelligence in precision agriculture for grain crops: A systematic review,” Comput. Electron. Agric., vol. 153, pp. 69– 81, 2018.
[7] S. K. Sharma and D. K. Vishwakarma, “Classification of banana plant leaves based on nutrient deficiency using Vision Transformer,” in 2024 5th Int. Conf. for Emerging Technol. (INCET), 2024, pp. 1–6.
[8] C. Shorten and T. M. Khoshgoftaar, “A survey on image data augmentation for deep learning,” J. Big Data, vol. 6, no. 1, p. 60, 2019.
[9] R. P. Sari, A. Wibowo, and H. Suhartanto, “Implementasi Deep Learning untuk Klasifikasi Penyakit Daun Padi Menggunakan Convolutional Neural Network,” J. Teknol. Inf. dan Ilmu Komput., vol. 8, no. 4, pp. 735–742, 2021.
[10] A. Singh, B. Ganapathysubramanian, A. K. Singh, and S. Sarkar, “Machine learning for high-throughput stress phenotyping in plants,” Trends Plant Sci., vol. 21, no. 2, pp. 110–124, 2016.
[11] W. Ullah, K. Javed, M. A. Khan, F. Y. Alghayadh, M. W. Bhatt, I. S. Al Naimi, and I. Ofori, “Efficient identification and classification of apple leaf diseases using lightweight vision transformer (ViT),” Discover Sustainability, vol. 5, no. 1, p. 116, 2024.
[12] D. R. Wijaya, R. Sarno, and E. Zulaika, “Klasifikasi Citra Daun Tanaman Menggunakan Convolutional Neural Network (CNN) dan Support Vector Machine (SVM),” J. Tek. ITS, vol. 8, no. 2, pp. A169–A174, 2019
Unduhan
Diterbitkan
Cara Mengutip
Terbitan
Bagian
Lisensi
Hak Cipta (c) 2026 Jurnal Ilmu Teknik dan Komputer

Artikel ini berlisensi Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
The copyright to this article is transferred to Universitas Mercu Buana (UMB) if and when the article is accepted for publication. The undersigned hereby transfers any and all rights in and to the paper including without limitation all copyrights to UMB. The undersigned hereby represents and warrants that the paper is original and that he/she is the author of the paper, except for material that is clearly identified as to its original source, with permission notices from the copyright owners where required. The undersigned represents that he/she has the power and authority to make and execute this assignment.
We declare that this paper has not been published in the same form elsewhere.
Furthermore, I/We hereby transfer the unlimited rights of publication of the above-mentioned paper as a whole to UMB. The copyright transfer covers the right to reproduce and distribute the article, including reprints, translations, photographic reproductions, microform, electronic form (offline, online) or any other reproductions of similar nature.
The corresponding author signs for and accepts responsibility for releasing this material on behalf of any and all co-authors. This agreement is to be signed by at least one of the authors who have obtained the assent of the co-author(s) where applicable. After submission of this agreement signed by the corresponding author, changes of authorship or in the order of the authors listed will not be accepted.
Retained Rights/Terms and Conditions
Although authors are permitted to re-use all or portions of the Work in other works, this does not include granting third-party requests for reprinting, republishing, or other types of re-use.
Our Articles are licensed under CC BY-NC

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