Klasifikasi Tingkat Kematangan Pisang Emas Menggunakan Support Vector Machine Berbasis Fitur Warna RGB
DOI:
https://doi.org/10.55606/jutiti.v6i2.7649Keywords:
Banana Ripeness, Classification, Color Features, RGB, Support Vector MachineAbstract
The ripeness level of Pisang Emas (Cavendish banana) significantly affects its quality and market value, yet manual identification by humans is often subjective and inconsistent. This study proposes an automated banana ripeness classification system using Support Vector Machine (SVM) with color features extracted from the RGB color space. A total of 600 images were collected, consisting of 150 images for each of four classes: unripe, half-ripe, ripe, and overripe. Each image was processed to extract six color features, namely the mean and standard deviation of the Red, Green, and Blue channels. The dataset was split into 80% training data and 20% testing data using a stratified approach. Hyperparameter optimization was performed using Grid Search with 5-fold Cross-Validation to determine the optimal values for the C, gamma, and kernel parameters. The best model, using an RBF kernel, achieved an accuracy of 96.67% on the testing data, correctly classifying the majority of samples across all four ripeness classes. The classification results show that simple RGB-based color features combined with an optimized SVM model are highly effective for distinguishing banana ripeness stages. These findings indicate strong potential for implementing this low-complexity approach in practical agricultural quality control and sorting systems.
Downloads
References
Adenugraha, S. P., Arinal, V., & Mulyana, D. I. (2022). Klasifikasi kematangan buah pisang Ambon menggunakan metode K-nearest neighbors dan PCA berdasarkan citra RGB dan HSV. Jurnal STMIK Budidarma. https://www.academia.edu/download/102801259/2367.pdf
Agarwal, S., & Verma, A. (2021). Banana ripeness classification using machine learning and image processing techniques. International Journal of Computer Applications, 183(12), 1–7. https://doi.org/10.5120/ijca2021921456
Afriansyah, M., Saputra, J., Ardhana, V. Y. P., & Sa'adati, Y. (2024). Algoritma Naïve Bayes yang cepat untuk klasifikasi buah pisang raja berdasarkan fitur warna. Jurnal Ilmiah Sistem Informasi dan Manajemen Basis Data. https://journal.ppmi.web.id/index.php/jismdb/article/view/438
Ahsan, M., Based, M. A., Haider, J., & Rodrigues, E. M. G. (2021). Smart monitoring and controlling of agricultural environment using machine learning and IoT technique. Electronics, 10(4), Article 499. https://doi.org/10.3390/electronics10040499
Blasco, J., Aleixos, N., Gómez-Sanchis, J., & Moltó, E. (2009). Recognition and classification of external skin damage in citrus fruits using multispectral data and morphological features. Biosystems Engineering, 103(2), 137–145. https://doi.org/10.1016/j.biosystemseng.2009.03.009
Bradski, G. (2000). The OpenCV library. Dr. Dobb's Journal of Software Tools, 25(11), 120–125.
Chan, F. R., Yanti, R., & Ramadhanu, A. (2024). Jurnal of Information System and Informatics Engineering. https://doi.org/10.35145/joisie.v8i2.4767
Cortes, C., & Vapnik, V. (1995). Support-vector networks. Machine Learning, 20(3), 273–297. https://doi.org/10.1007/BF00994018
Gonzalez, R. C., & Woods, R. E. (2018). Digital image processing (4th ed.). Pearson Education.
Heryanto, R., Wahyuningrum, T., & Purnomo, A. S. (2022). Klasifikasi kematangan buah pisang menggunakan support vector machine berbasis ekstraksi fitur warna. Jurnal Ilmiah Teknik Elektro Komputer dan Informatika, 8(1), 45–54. https://doi.org/10.26555/jiteki.v8i1.23412
Hsu, C. W., Chang, C. C., & Lin, C. J. (2003). A practical guide to support vector classification. Department of Computer Science, National Taiwan University.
Khamis, A., Man, Z., & Hussain, K. (2021). A review of machine learning techniques for banana quality grading and classification. Computers and Electronics in Agriculture, 185, 106164. https://doi.org/10.1016/j.compag.2021.106164
Milda. (2003). Klasifikasi kematangan buah pisang kepok berdasarkan citra HSV dengan K-nearest neighbors. Jurnal Unsulbar Informatika Fakultas Teknik. https://repository.unsulbar.ac.id/id/eprint/1208/
Mohammadi, V., Kheiralipour, K., & Ghasemi-Varnamkhasti, M. (2020). Detecting maturity of persimmon fruit based on image processing technique. Scientia Horticulturae, 184, 378–383. https://doi.org/10.1016/j.scienta.2020.106120
Nafianta, C. R. M. A., & Purnomo, B. (2019). Identifikasi dan prediksi tingkat kematangan pisang Candi dengan fitur warna dan tekstur menggunakan metode K-nearest neighbor. https://www.academia.edu/download/108059479/179.pdf
Noor, M. N., Hussain, A., & Mustafa, M. (2022). Automated banana grading system using image processing and machine learning approach. IEEE Access, 10, 34512–34524. https://doi.org/10.1109/ACCESS.2022.3162814
Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Prettenhofer, P., Weiss, R., Dubourg, V., VanderPlas, J., Passos, A., Cournapeau, D., Brucher, M., Perrot, M., & Duchesnay, É. (2011). Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12, 2825–2830.
Rahman, M. A., Islam, M. S., & Hossain, M. A. (2023). Banana ripeness detection using RGB color features and support vector machine for smart agriculture applications. Agriculture, 13(2), 412. https://doi.org/10.3390/agriculture13020412
Santoso, B., Nugroho, F., & Purnama, I. K. E. (2020). Implementasi metode support vector machine untuk klasifikasi kualitas beras berdasarkan citra digital. Jurnal Ilmu Komputer dan Agri-Informatika, 7(1), 1–10. https://doi.org/10.29244/jika.7.1.1-10
Schölkopf, B., & Smola, A. J. (2002). Learning with kernels: Support vector machines, regularization, optimization, and beyond. MIT Press.
Vapnik, V. N. (1995). The nature of statistical learning theory. Springer. https://doi.org/10.1007/978-1-4757-3264-1
Whidhiasih, R. N., Yulianto, D., & Maimunah. (2017). Klasifikasi tahap kematangan pisang Ambon berdasarkan warna menggunakan Naïve Bayes. Jurnal Penelitian Ilmu Komputer, Sistem Embedded & Logic, 5(2), 60–67. https://doi.org/10.33558/piksel.v5i2.268
Wulandari, D. A., & Sucipto, A. (2022). Klasifikasi kematangan tomat berdasarkan fitur warna HSV menggunakan support vector machine. Jurnal Teknologi dan Sistem Komputer, 10(2), 85–92. https://doi.org/10.14710/jtsiskom.2022.14278
Zhang, B., Huang, W., Li, J., Zhao, C., Fan, S., Wu, J., & Liu, C. (2014). Principles, developments and applications of computer vision for external quality inspection of fruits and vegetables: A review. Food Research International, 62, 326–343. https://doi.org/10.1016/j.foodres.2014.03.012
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Jurnal Teknik Informatika dan Teknologi Informasi

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






