Multi-Scenario Preprocessing Analysis for Indonesian Spice Image Classification: A Comparative Study Using VGG16, MobileNetV3, and YOLOv11

Authors

  • Eric Ariyanto Universitas Amikom Yogyakarta, Indonesia
  • Ema Utami Universitas Amikom Yogyakarta, Indonesia

DOI:

https://doi.org/10.70609/g-tech.v10i3.9849

Keywords:

Preprocessing Scheme Comparison, Background Removal, Data Augmentation, CLAHE, Indonesian Spice Classification

Abstract

Indonesian spice identification is challenging due to high inter-class visual similarity among rhizome species, yet the systematic impact of image preprocessing on classification performance remains underexplored. This study evaluates three preprocessing techniques (CLAHE, Background Removal, and Data Augmentation) arranged in eight factorial schemes across three architectures (VGG16, MobileNetV3-Large, and YOLOv11-cls), comprising 72 training runs on an 856-image four-class dataset, with Macro-F1 on stratified 80/10/10 splits as the primary metric. Data Augmentation alone (scheme S4) produced the most consistent gain, with VGG16 reaching 93.80% Macro-F1. The full pipeline degraded performance across all architectures because CLAHE and Background Removal interact antagonistically, refuting the assumption that preprocessing effects are additive. Externally defined augmentation was also found to be silently bypassed by the Ultralytics framework. All five primary findings replicated on an independent seven-class dataset using 5-fold cross-validation, and Background Removal proved beneficial only for large, high-contrast objects. The study establishes an empirical preprocessing benchmark and practical deployment guidance for spice recognition.

References

Alzubaidi, L., Zhang, J., Humaidi, A. J., Al-Dujaili, A., Duan, Y., Al-Shamma, O., Santamaría, J., Fadhel, M. A., Al-Amidie, M., & Farhan, L. (2021). Review of deep learning: Concepts, CNN architectures, challenges, applications, future directions. Journal of Big Data, 8(1), Article 53. https://doi.org/10.1186/s40537-021-00444-8 DOI: https://doi.org/10.1186/s40537-021-00444-8

Awaltry/Rzad. (2023). Indonesian spices dataset [Data set]. Kaggle. https://www.kaggle.com/datasets/rzad24/indo-spices-new

Food and Agriculture Organization of the United Nations. (2022). Crops and livestock products [Data set]. FAOSTAT. https://www.fao.org/faostat/en/#data/QCL

Hayati, M., Muchtar, K., Roslidar, Maulina, N., Syamsuddin, I., Elwirehardja, G. N., & Pardamean, B. (2023). Impact of CLAHE-based image enhancement for diabetic retinopathy classification through deep learning. Procedia Computer Science, 216, 57–66. https://doi.org/10.1016/j.procs.2022.12.111 DOI: https://doi.org/10.1016/j.procs.2022.12.111

Hermawan, S., & Agustina, N. (2023a). Implementasi convolutional neural network untuk klasifikasi rempah-rempah khas Indonesia. DoubleClick: Journal of Computer and Information Technology, 7(1), 1–7.

Hermawan, S., & Agustina, N. (2023b). Indonesian spices image dataset [Data set]. Kaggle. https://www.kaggle.com/datasets/sandihermawan13/7-rempah-rempah-indonesia

Howard, A., Sandler, M., Chu, G., Chen, L.-C., Chen, B., Tan, M., Wang, W., Zhu, Y., Pang, R., Vasudevan, V., Le, Q. V., & Adam, H. (2019). Searching for MobileNetV3. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV 2019) (pp. 1314–1324). https://doi.org/10.1109/ICCV.2019.00140 DOI: https://doi.org/10.1109/ICCV.2019.00140

Kementerian Pertanian Republik Indonesia. (2023). Statistik pertanian 2023. Pusat Data dan Sistem Informasi Pertanian. https://epublikasi.pertanian.go.id/

Musyaffa, M. S. I., Yudistira, N., Rahman, M. A., Basori, A. H., Firdausiah Mansur, A. B., & Batoro, J. (2024). IndoHerb: Indonesia medicinal plants recognition using transfer learning and deep learning. Heliyon, 10(23), Article e40606. https://doi.org/10.1016/j.heliyon.2024.e40606 DOI: https://doi.org/10.1016/j.heliyon.2024.e40606

Nathaniel, A. (2024). Indonesian spices dataset [Data set]. Kaggle. https://www.kaggle.com/datasets/albertnathaniel12/indonesian-spices-dataset

Nisa, C., & Candra, F. (2023). Klasifikasi jenis rempah-rempah menggunakan algoritma convolutional neural network. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 4(1), 78–84. https://doi.org/10.57152/malcom.v4i1.1018 DOI: https://doi.org/10.57152/malcom.v4i1.1018

Prasetia, I. P. W., & Sunarya, I. M. G. (2024). Image classification of Balinese seasoning Base Genep based on deep learning. Jurnal Nasional Pendidikan Teknik Informatika (JANAPATI), 13(1), 79–90. https://doi.org/10.23887/janapati.v13i1.67967 DOI: https://doi.org/10.23887/janapati.v13i1.67967

Purwono, P., Ma’arif, A., Rahmaniar, W., Fathurrahman, H., Frisky, A., & Haq, Q. (2022). Understanding of convolutional neural network (CNN): A review. International Journal of Robotics and Control Systems, 2(4), 739–748. https://doi.org/10.31763/ijrcs.v2i4.888 DOI: https://doi.org/10.31763/ijrcs.v2i4.888

Qin, X., Zhang, Z., Huang, C., Dehghan, M., Zaiane, O. R., & Jagersand, M. (2020). U²-Net: Going deeper with nested U-structure for salient object detection. Pattern Recognition, 106, Article 107404. https://doi.org/10.1016/j.patcog.2020.107404 DOI: https://doi.org/10.1016/j.patcog.2020.107404

Riska, S. Y., & Farokhah, L. (2021). Classification of Indonesian spices using the K-Nearest Neighbors (K-NN) method. Smatika Jurnal, 11(1), 37–42. DOI: https://doi.org/10.32664/smatika.v11i01.568

Simonyan, K., & Zisserman, A. (2014). Very deep convolutional networks for large-scale image recognition. In Proceedings of the International Conference on Learning Representations (ICLR 2015). https://arxiv.org/abs/1409.1556

Tanuwijaya, E., & Roseanne, A. (2021). Modifikasi arsitektur VGG16 untuk klasifikasi citra digital rempah-rempah Indonesia. MATRIK: Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer, 21(1), 189–196. https://doi.org/10.30812/matrik.v21i1.1492 DOI: https://doi.org/10.30812/matrik.v21i1.1492

Terven, J., Córdova-Esparza, D.-M., & Romero-González, J.-A. (2023). A comprehensive review of YOLO architectures in computer vision: From YOLOv1 to YOLOv8 and YOLO-NAS. Machine Learning and Knowledge Extraction, 5(4), 1680–1716. https://doi.org/10.3390/make5040083 DOI: https://doi.org/10.3390/make5040083

Ultralytics. (2024). Ultralytics YOLO11 (Version 11.0) [Software]. GitHub. https://github.com/ultralytics/ultralytics

Xu, M., Yoon, S., Fuentes, A., & Park, D. S. (2023). A comprehensive survey of image augmentation techniques for deep learning. Pattern Recognition, 137, Article 109347. https://doi.org/10.1016/j.patcog.2022.109347 DOI: https://doi.org/10.1016/j.patcog.2023.109347

Zuiderveld, K. (1994). Contrast limited adaptive histogram equalization. In P. S. Heckbert (Ed.), Graphics Gems IV (pp. 474–485). Academic Press. https://doi.org/10.1016/B978-0-12-336156-1.50061-6 DOI: https://doi.org/10.1016/B978-0-12-336156-1.50061-6

Downloads

Published

2026-07-04

How to Cite

Multi-Scenario Preprocessing Analysis for Indonesian Spice Image Classification: A Comparative Study Using VGG16, MobileNetV3, and YOLOv11. (2026). G-Tech: Jurnal Teknologi Terapan, 10(3), 1039-1051. https://doi.org/10.70609/g-tech.v10i3.9849

Most read articles by the same author(s)