CLASSIFICATION OF MANGO FRUIT MATURITY USING SUPPORT VECTOR MACHINE (SVM) AND CONVOLUTION NEURAL NETWORK (CNN)
Keywords:
SVM, Mango Classification, Ripeness Detection, Color Features, CNNAbstract
Mango ripeness is one of the main indicators of fruit quality, which is generally still assessed subjectively through visual observation. Therefore, an accurate and objective automatic classification system is needed. This study aims to classify the ripeness level of mangoes based on digital images using a Convolutional Neural Network (CNN) and a combination of CNN–Support Vector Machine (SVM). The dataset used consists of 198 colored (RGB) mango images divided into three classes, namely unripe mangoes, ripe mangoes, and rotten mangoes. The pre-processing stage includes changing the image size to 128×128 pixels and normalizing the pixel values. CNN is used to extract visual features as well as an initial classifier. Next, the features extracted by CNN were used as input to the SVM model with a Radial Basis Function (RBF) kernel to improve classification performance. Evaluation was performed using accuracy, confusion matrix, and precision, recall, and f1-score values. The test results showed that the CNN model achieved a training accuracy of 96.38% and a validation accuracy of 97.47%. The CNN–SVM approach provided better results with a classification accuracy of 99% and a very low error rate across all classes. Based on these results, it can be concluded that the combination of CNN and SVM is effective for classifying the ripeness of mangoes and has the potential to be applied to automatic fruit sorting systems.References
Arkadia, A., Damayanti, S. A., & Prasvita, D. S. (2021). Classification of Badami Mangoes to Determine Ripeness Levels Using the CNN Method. (September), 158–165.
Buah, J., Berdasarkan, M., & Hsv, C. (2024). Multidisciplinary Computer Journal. 7(12), 72–79.
Budi, E. S., Chan, A. N., Alda, P. P., Arif, M., & Idris, F. (2024). Optimization of Machine Learning Models for Image Classification and Prediction Using the Convolutional Neural Network Algorithm. 4(5), 502–509.
Management, A., Dan, I., & Mdp, K. (2018). Caltex Riau Polytechnic Journal. 4(1), 50–61.
Mutmainnah Muchtar, Rafiqah A. Muchtar. (n.d.). Muchtar.pdf.
Ngii, K. A., Isnansyah, G., & Saputra, R. A. (2023). CLASSIFICATION OF MANGO LEAF IMAGES USING THE SUPPORT VECTOR MACHINE ALGORITHM. 07(03), 80–83.
Prasetya, W. A. (2024). THESIS PROPOSAL USING THE CONVOLUTIONAL NEURAL NETWORK (CNN) METHOD. 1–8.
Roza, Y. B., Salim, D. A., Ramadhanu, A., Informatika, M. T., Putra, U., & Yptk, I. (n.d.). Optimization of Mango Quality and Ripeness Through Image Processing Using Median Filter. 5(4), 5589–5598.
Setiawan, A., Nursafitri, A., & Afnarista, E. V. (2022). Classification of Mango Plant Diseases Using the CNN Algorithm on Leaf Images.
Turnandes, Y., Abiyus, W., Irwanda, A. A., & Juliani, F. (2024). Penerapan metode Monte Carlo dalam memprediksi jumlah pengunjung perpustakaan Universitas Lancang Kuning. ZONAsi: Jurnal Sistem Informasi, 6(1), 136–143. https://doi.org/10.31849/zn.v6i1.17317
Yunefri, Y., Sutejo, Y. E., Fadrial, K. A., Ramadhani, M., & Hardianto, R. (2022). Implementation of object detection with you only look once algorithm in limited face-to-face times in pandemic. Journal of Applied Engineering and Technological Science, 4(1), 400-404.


