HYBRID SOBEL-BASED CONVOLUTIONAL NEURAL NETWORK AND LEARNING VECTOR QUANTIZATION FOR CHILI SEED IMAGE CLASSIFICATION

Authors

  • Gaudensia Asni Makul Universitas Mercu Buana Yogyakarta
  • Supatma Supatma Universitas Mercu Buana Yogayakarta
(*) Corresponding Author

DOI:

https://doi.org/10.34288/jri.v8i4.572

Keywords:

Chili Pepper Seeds, Convolutional Neural Network (CNN), Sobel Filter, Learning Vector Quantization (LVQ)

Abstract

This study develops an image classification system for chili pepper seeds using a hybrid approach that combines a manual Convolutional Neural Network (CNN) based on Sobel filters and Learning Vector Quantization (LVQ). The dataset consists of 900 images from three chili pepper varieties, namely gendot, raksasa, and rawit, with 300 images for each class captured using a smartphone camera. Unlike conventional CNN architectures that rely on trainable convolutional kernels, this study adopts predefined Sobel filters as fixed feature extractors combined with Learning Vector Quantization as the classifier, resulting in a lightweight classification framework that does not require a training process in the feature extraction stage. The CNN architecture employs three convolution-pooling layers (depth-3), producing feature maps of size 16×16, which are then transformed into 256-dimensional feature vectors through a flattening process. LVQ training was conducted for 30 epochs with an initial learning rate of 0.001 and five prototypes assigned to each class. The model was evaluated using a 5-fold cross-validation scheme and obtained a mean accuracy of 80.78% with a standard deviation of 4.07% across folds. Based on the combined confusion matrix from all five folds, the gendot class obtained a precision of 1.00 and a recall of 0.93, the raksasa class obtained a precision of 0.75, a recall of 0.69, and an F1-score of 0.72, and the rawit class obtained a precision of 0.71, a recall of 0.80, and an F1-score of 0.75, with most misclassifications occurring between the raksasa and rawit classes due to their morphological similarity. These findings show that the hybrid CNN–LVQ approach can be applied to chili seed classification without requiring specialized hardware or a pre-trained model.

Downloads

Download data is not yet available.

References

Affifah, D. D., Permanasari, Y., Matematika, R. P., Matematika, F., Ilmu, D., & Alam, P. (2022). Bandung Conference Series: Mathematics Teknik Konvolusi pada Deep Learning untuk Image Processing. Bandung Conference Series: Mathematics, 2(2), 103–112. https://doi.org/10.29313/bcsm.v2i2.4527

Akbar, F., & Wiliani, N. (2025). Perbandingan Kinerja ANN dan CNN dalam Tugas. Tekomatika, 18(1), 22–27.

Alhanannasir, Muchsiri, M., Yani, A. V., Amelia, K. R., & Sebayang, N. S. (2025). Pengaruh Formulasi Cabai Rawit ( Capsicum Frutescens Linn ) Terhadap Cuko Pempek The Effect of Cayyey Chill Formulation ( Capsicum frutescens Linn ) Against Cuko Pempek. Jurnal Penelitian Pertanian Terapan, 25(1), 112–119.

Apriansyah, Y., Khairi, N., Siregar, Ha. H. S., & Lubis, A. H. (2025). Implementation of Edge Detection Using the Sobel Operator on Papaya Leaf Images. Jurnal Ilmiah Informatika Dan Komputer (Informatech), 2(2), 164–168.

Arif, M. F., & Pramana, A. A. (2022). Implementasi Metode Learning Vector Quantization (Lvq) Pada Pengenalan Bahasa Isyarat Yang Mengandung Kata Kerja. JAMI: Jurnal Ahli Muda Indonesia, 3(1), 1–8. https://doi.org/10.46510/jami.v3i1.40

Aziz, A., Insani, F., Jasril, J., & Syafria, F. (2023). Implementasi Metode Learning Vector Quantization (LVQ) Untuk Klasifikasi Keluarga Beresiko Stunting. Building of Informatics, Technology and Science (BITS), 5(1), 12–21. https://doi.org/10.47065/bits.v5i1.3478

Bilolikar, D. K., More, A., Gong, A., & Janssen, J. (2025). How to out-perform default random forest regression: choosing hyperparameters for applications in large-sample hydrology. Hydrology Research, 57(1), 61–77. https://doi.org/10.2166/nh.2025.075

Hidayat, E. Y., & Radiffananda, M. F. (2019). Pengenalan Tanda Tangan Menggunakan Learning Vector Quantization dan Ekstraksi Fitur Local Binary Pattern. CogITo Smart Journal, 5(2), 123–136. https://doi.org/10.31154/cogito.v5i2.180.123-136

Hidayat, F. M., Crysdian, C., & Lestari, T. M. (2026). Optimasi Deteksi Retakan Jalan Menggunakan Filter Sobel dan Klasifikasi Gaussian Naïve Bayes. 11(2), 155–168.

Kementerian Pertanian, I. (2024). Outlook Cabai 2024. Diakses Tanggal 03 Juni 2026 dari https://satudata.pertanian.go.id/assets/docs/publikasi/OUTLOOK_CABAI_2024_.pdf

Khoerunisa, R., Jheniar, R., Siti, N., Ayuanindya, D. G., Surtikanti, H. K., Priyandoko, D., Alam, P., Indonesia, U. P., & Pendidikan, U. (2024). Kandungan senyawa capsaicin dalam cabai (Capsicum Annuum L) sebagai anti hama pada sayuran: Kajian pustaka. Holistic: Journal of Tropical Agriculture Sciences, 1(2), 138–148.

Linse, C., Barth, E., & Martinetz, T. (2023). Convolutional Neural Networks Do Work with Pre-Defined Filters. Proceedings of the International Joint Conference on Neural Networks, 2023-June, 1–13. https://doi.org/10.1109/IJCNN54540.2023.10191449

Mansur, Umar, N., & Zuhriyah, S. (2025). Implementasi Algoritma Learning Vector Quantization untuk Deteksi Dini Penyakit Mata. Jurnal Sains Dan Informatika, 11(1), 1–10. https://doi.org/10.34128/jsi.v11i1.907

Nurbuana, B., Nasrinatun, E., Arifin, M. P., Ayu, M., & Widya, D. (2024). Klasifikasi dan Pengenalan Pola Penyakit Cabai Dengan Metode CNN ( Convolution Neural Network ). Prosiding seminar nasional teknologi dan sains, 3, 125–132.

Pasaribu, R. F. H., Zarlis, M., & Nababan, E. B. (2025). Performance Level Analysis On Learning Vector Quantization And Cohonen Algorithms. Sinkron, 9(1), 267–282. https://doi.org/10.33395/sinkron.v9i1.14313

Pebrianto, R., & Haryanto, T. (2023). IJCIT ( Indonesian Journal on Computer and Information Technology ) Optimasi Sistem Klasifikasi Biji Tanaman Cabai Menggunakan CNN : Pendekatan Inovatif dalam Agribisnis. 8(2), 121–129.

Pelletier, C., Webb, G. I., & Petitjean, F. (2019). Temporal convolutional neural network for the classification of satellite image time series. Remote Sensing, 11(5), 1–25. https://doi.org/10.3390/rs11050523

Perlindungan, I., & Risnawati. (2020). Pengenalan Tanaman Cabai Dengan Teknik Klasifikasi Menggunakan Metode CNN. Seminar Nasional Mahasiswa Ilmu Komputer Dan Aplikasinya (SENAMIKA), 15–22.

Ripa’i, A., Santoso, F., & Lazim, F. (2022). Deteksi Berita Hoax dengan Perbandingan Website Menggunakan Pendekatan Deep. G-Tech : Jurnal Teknologi Terapan, 6(2), 295–305.

Safitri, R. (2024). Karakterisasi Morfologi dan Anatomi Beberapa Kultivar Cabai ( capsicum annuum l .) Dalam Menanggapi Cekaman Kekeringan. Integrative Perspectives of Social and Science Journal (IPSSJ) Ipssj.Com, 1(1), 156–164.

Sardogan, M., Tuncer, A., & Ozen, Y. (2018). Plant Leaf Disease Detection and Classification Based on CNN with LVQ Algorithm. Computers and Electronics in Agriculture, 382–385. https://doi.org/10.1109/UBMK.2018.8566635

Sello, M., & Lekatsa, T. (2023). Chili Pepper as a Functional Food: Relevance to Lesotho. International Journal of Food Sciences, 6(1), 15–25. https://doi.org/10.47604/ijf.2085

Siswipraptini, P. C., Haris, A., & Sari, W. N. (2023). Klasifikasi Citra Penyakit Daun Cabai Menggunakan Algoritma Learning Vector Quantization. 16(2), 119–125. https://doi.org/10.30998/faktorexacta.v16i2.15900

Supiyandi, Panggabean, T., Ramadhan, N., Dewi, S. D., & Yusra, S. (2024). Deteksi Tepi Sederhana Pada Citra Menggunakan Operator Sobel. Repeater : Publikasi Teknik Informatika Dan Jaringan, 2(3), 43–56. https://doi.org/10.62951/repeater.v2i3.90

Tosi, R. B., Mbura, H. D., & Kaesmetan, Y. R. (2024). Implementasi CNN Dalam Mengidentifikasi Kematangan Cabai Berdasarkan Warna. Indonesian Journal of Education And Computer Science, 2(1), 34–42. https://doi.org/10.60076/indotech.v2i1.385

Tsai, C. A., & Chang, Y. J. (2023). Efficient Selection of Gaussian Kernel SVM Parameters for Imbalanced Data. Genes, 14(3). https://doi.org/10.3390/genes14030583

Zhao, X., Wang, L., Zhang, Y., Han, X., Deveci, M., & Parmar, M. (2024). A review of convolutional neural networks in computer vision. In Artificial Intelligence Review (Vol. 57, Issue 4). Springer Netherlands. https://doi.org/10.1007/s10462-024-10721-6

Downloads

Published

2026-09-16

How to Cite

Makul, G. A., & Supatma, S. (2026). HYBRID SOBEL-BASED CONVOLUTIONAL NEURAL NETWORK AND LEARNING VECTOR QUANTIZATION FOR CHILI SEED IMAGE CLASSIFICATION. Jurnal Riset Informatika, 8(4), 555–566. https://doi.org/10.34288/jri.v8i4.572