Optimization of a Hybrid CNN-SVM Model for Pineapple Ripeness Classification
DOI:
https://doi.org/10.32528/justindo.v11i2.5890Keywords:
Pineapple Ripeness Classification, Convolutional Neural Network, Support Vector Machine, Hybrid CNN-SVM, Digital Image ProcessingAbstract
Pineapple ripeness classification plays an important role in maintaining fruit quality and supporting the sorting process. Conventional ripeness assessment is commonly performed manually, which may lead to subjectivity and inconsistent results. This study aims to develop a Hybrid Convolutional Neural Network (CNN) and Support Vector Machine (SVM) model for classifying pineapple ripeness levels based on digital images. The dataset consisted of 3,745 pineapple images categorized into five ripeness classes: unripe, under-ripe, half-ripe, ripe, and rotten. Before model training, the images underwent preprocessing and data augmentation using rotation, horizontal flip, zoom out, brightness adjustment, and darkness adjustment techniques to increase dataset diversity. CNN was employed as a feature extractor to capture the visual characteristics of pineapples, while SVM was used as the classifier to determine the ripeness class. Model performance was evaluated using accuracy, precision, recall, and F1-score metrics. The experimental results showed that the proposed Hybrid CNN-SVM model achieved an accuracy of 92%, outperforming CNN (87%), K-Nearest Neighbor (86%), Random Forest (84%), and SVM (71%). These findings indicate that the combination of CNN and SVM effectively improves pineapple ripeness classification performance. The proposed model has the potential to be implemented as an automated, fast, and objective fruit-sorting support system.
References
Bacanin, N., Bezdan, T. and Strumberger, I. (2020) ‘Optimizing Convolutional Neural Network Hyperparameters by Enhanced Swarm Intelligence’. Available at: https://doi.org/10.3390/a13030067.
Backar, S.P. et al. (2023) ‘Hybrid Fourier Descriptor Naïve Bayes dan CNN pada Klasifikasi Daun Herbal’, Jurnal Informatika: Jurnal Pengembangan IT, 8(2), pp. 126–133. Available at: https://doi.org/10.30591/jpit.v8i2.5186.
Chang, C.Y. et al. (2022) ‘Using deep learning to identify maturity and 3D distance in pineapple fields’, Scientific Reports, 12(1), pp. 1–8. Available at: https://doi.org/10.1038/s41598-022-12096-6.
Dimar Tarmizi, M.R.R. (2021) ‘Sistem Informasi Geografis Berbasis Web Persebaran Fasilitas Pelayanan’, 3, pp. 111–123.
Hermana, A.N., Rosmala, D. and Husada, M.G. (2023) ‘Classification of Fruit Ripeness with Model Descriptor Using Vgg 16 Architecture’, Journal on Education, 05(03), pp. 5587–5596.
Huang, Q. (2024) ‘Classification of Fruits Based on CNN, SVM and PCA’, (Daml 2023), pp. 465–473. Available at: https://doi.org/10.5220/0012815000003885.
Jean, A.K. et al. (2022) ‘Application based on Hybrid CNN-SVM and PCA-SVM Approaches for Classification of Cocoa Beans’, International Journal of Advanced Computer Science and Applications, 13(9), pp. 231–238. Available at: https://doi.org/10.14569/IJACSA.2022.0130927.
Liandaputra & Zahra (2024) ‘Klasifikasi Tingkat Kematangan Buah Nanas Menggunakan Metode Deep Learning’, G-Tech : Jurnal Teknologi Terapan, 8(1), pp. 186–195.
Nabila, T.S. and Salam, A. (2024) ‘Classification of Brain Tumors by Using a Hybrid CNN-SVM Model’, Journal of Applied Informatics and Computing, 8(2), pp. 241–247. Available at: https://doi.org/10.30871/jaic.v8i2.8277.
Noris, S. and Waluyo, A. (2023) ‘Penerapan Deep Learning untuk Klasifikasi Buah Menggunakan Algoritma Convolutional Neural Network ( CNN )’, 6(1), pp. 39–46. Available at: https://doi.org/10.32493/jtsi.v6i1.29648.
Putri, F.J. et al. (2026) ‘Mengembangkan Model Cnn Untuk Klasifikasi Tingkat Kematangan Buah Nanas’, 8, pp. 53–63.
Rizkallah, L.W. (2025) ‘Optimizing SVM hyperparameters for satellite imagery classification using metaheuristic and statistical techniques’, International Journal of Data Science and Analytics, 20(5), pp. 4945–4962. Available at: https://doi.org/10.1007/s41060-025-00762-7.
Rohman, R.A. et al. (2024) ‘Penerapan Algoritma Convolution Neural Network untuk Klasifikasi Jenis Cabai Berdasarkan Warna dan Bentuk buah’, Jurnal Informatika dan Rekayasa Perangkat Lunak, 6(2), pp. 345–351. doi: https://doi.org/10.36499/jinrpl.v6i2.
Sitti Muhartini, Andi Sunyoto, dan A.H.M. (2024) ‘Implementasi Metode Deep Learning CNN Dalam Klasifikasi Tajong (Sarung) Samarinda’, pp. 28–41.
Sulistianingsih, N., Astutik, F. and Rahman, A. (2024) ‘Optimasi Seleksi Fitur Untuk Perbaikan Akurasi Support Vector Machine Classifier Pada Klasifikasi Citra Tanaman Rimpang’, Jurnal Fasilkom, 14(2), pp. 526–532. Available at: https://doi.org/10.37859/jf.v14i2.7566.
Sutisna, F.C.W.S. (2022) ‘Klasifikasi Tingkat Kematangan Buah Nanas Berdasarkan Tekstur Gray Level Co-Occurrence Matrix Dengan Metode Support Vector Machine’, 4(4), pp. 296–301.
Uly, N., Hendry, H. and Iriani, A. (2023) ‘CNN-RNN Hybrid Model for Diagnosis of COVID-19 on X-Ray Imagery’, Digital Zone: Jurnal Teknologi Informasi dan Komunikasi, 14(1), pp. 57–67. Available at: https://doi.org/10.31849/digitalzone.v14i1.13668.
Yunita, F. et al. (2020) ‘Pemilihan Bibit Kelapa Menggunakan Metode Nearest Mean Classifier Untuk’, 2, pp. 101–114
Downloads
Published
How to Cite
License
Copyright (c) 2026 Fanisha Juliananda Putri, Muh. Rasyid Ridha, Fitri Yunita

This work is licensed under a Creative Commons Attribution 4.0 International License.
Similar Articles
- Ferdiansyah, Muh Rasyid Ridha, Dwi Yuli Prasetyo, Application for Local Coconut Quality Classification Using the MobileNetV2 Convolutional Neural Network (CNN) Algorithm , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 11 No. 2 (2026): JUSTINDO
- Muammar Reza Pahlawan Reza, Sahriani, Shabarul Mukjizat, Clinical Image Classification of Cattle Foot and Mouth Disease Based on Convolutional Neural Network , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 11 No. 1 (2026): JUSTINDO
- Ageng Wijaya Kusuma, Moh. Dasuki, Wiwik Suharso, Sentiment Classification of Aci Application Reviews Using N-Gram Features And Support Vector Machine (SVM) Algorithm , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 11 No. 1 (2026): JUSTINDO
- Faizah Dian Herawati, Frederik Samuel Papilaya, Electric Vehicle Sentiment Analysis Using a Comparison of Naïve Bayes and Support Vector Machine , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 11 No. 1 (2026): JUSTINDO
- Luban Abdi Susanto, Agung Nilogiri, Luluk Handayani, Klasifikasi Citra Lesi Kulit Serupa Virus Monkeypox Menggunakan VGG-19 Convolutional Neural Network , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 8 No. 1 (2023): JUSTINDO
- Salsa Desia Fitri, Parjito, Perbandingan Metode Naïve Bayes dan Support Vector Machine Pada Kasus Pembunuhan Vina Cirebon Berdasarkan Data X , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 10 No. 1 (2025): JUSTINDO
- Syarif Aminul Khoiri, Abdul Wahid, Analisis Kinerja Algoritma Machine Learning dalam Prediksi Harga Cryptocurrency , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 9 No. 2 (2024): JUSTINDO
- Heru Arwoko, Sofia Ariyani, Ultrasound Image Classification of Breast Cancer Using MobileNet , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 11 No. 1 (2026): JUSTINDO
- Anisa Ma'u Luthfi, Fatkhurokhman Fauzi, Perbandingan Klasifikasi Random Forest, Support Vector Machines, dan LGBM Pada Klasifikasi Kualitas Udara di Jakarta , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 9 No. 2 (2024): JUSTINDO
- Dikdik Firman Sidik, Muhammad Akil Hi Umar, Ihsan, Fadhil Qonia Zulfa, Agung Febriyadi Fazrin, Digital Customer Experience of UNIPI Admission Website: A Technology Acceptance Model Analysis , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 11 No. 2 (2026): JUSTINDO
You may also start an advanced similarity search for this article.

