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
- Darwis Alwan, Muhammad Ali Ridla, Averaged Word2vec sebagai Ekstraksi Fitur pada Analisis Sentimen Ulasan Film di IMDb menggunakan Artificial Neural Network (ANN) , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 9 No. 1 (2024): JUSTINDO
- Alevia Mentari Putri, Rosita Yanuarti, Moh Dasuki, Agus Milu Susetyo, Analisis Sentimen Terhadap Identitas Kependudukan Digital Menggunakan Algoritma Multinomial Naïve Bayes , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 10 No. 2 (2025): JUSTINDO
- Satya Rivangga, Rosita Yanuarti, Agung Nilogiri, Implementasi Cloud Computing Pada Prediksi Tingkat Kualitas Udara Berbasis Internet Of Things , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 9 No. 2 (2024): JUSTINDO
- Herlinatus Safira Muasolli, Achmad Baijuri, Fajriyanto, Student Graduation Prediction at Ibrahimy University Using K-Nearest Neighbor (KNN) Algorithm , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 11 No. 2 (2026): JUSTINDO
- Ari Eko Wardoyo, Taufiq Timur Warisaji, Daryanto, Performance Analysis of an IoT-Based Smart Home System Using Cisco Packet Tracer 9.0 Simulation , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 11 No. 2 (2026): JUSTINDO
- Ilham Saifudin, Wiwik Suharso, Syahrul Mubaroq, Website-Based STEM Learning Using Encyclopedias for Students with Special Needs , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 11 No. 1 (2026): JUSTINDO
- R Reza El Akbar, Linda Herawati, Heni Sulastri, Model Awal Untuk Optimalisasi Kualitas Learning Management System Dalam Upaya Mendukung Transfer Of Knowledge Pada Penyelenggaraan Hybrid Learning Program Organisasi Penggerak , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 8 No. 1 (2023): JUSTINDO
- Muhamad Agil Faizi, Febrian Wahyu Christanto, Manajemen Perangkat Jaringan Access Point Menggunakan UniFi Controller di Jaringan Kampus , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 9 No. 2 (2024): JUSTINDO
- Rosita Natania Maulani, Achmad Baijuri, Firman Santoso, Web-Based E-Learning Information System with Multi-Role Monitoring Feature at SMP Ibrahimy 2 Sukorejo , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 11 No. 2 (2026): JUSTINDO
- Dorthea Elvita Harefa, Fikrah Kristo Fotriman Waruwu, Dian Maharani Buulolo, Christine Jenny Puspita Zega, Ester Ratna Cahyani Zega, Devi Chrisman Lase, Certificate Printing System Integrated with RESTful API JSON on Quistiq Application , JUSTINDO (Jurnal Sistem dan Teknologi Informasi Indonesia): Vol. 11 No. 1 (2026): JUSTINDO
You may also start an advanced similarity search for this article.

