Image Classification of Vegetable Quality using Support Vector Machine based on Convolutional Neural Network

Keywords: Vegetable Quality, Image Classification, Convolutional Neural Network, Support Vector Machine, Feature Extration

Abstract

As part of an effort to develop intelligent agriculture, new methods for enhancing the quality of vegetables are being continually developed. In recent years, the Convolutional Neural Network (CNN) has shown to be the most successful and extensively used approach for identifying the quality of pre-trained vegetables. However, this method is time-consuming due to the scarcity of truly large, significant datasets. Using a pre-trained CNN model as a feature extractor is a straightforward method for utilizing CNNs' capabilities without investing time in training. While, Support Vector Machine (SVM excels at processing data with tiny dimensions and significantly larger instances. SVM more accurately classifies the flatten/vector feature supplied by the CNN fully connected layer with small dimensions. In addition, implementing Data Augmentation (DA) and Weighted Class (WC) for data variety and class imbalance reduction can improve CNN-SVM performance. The research results show highest accuracy during training always achieves 100% across all experimental options. With an average accuracy of 69.66% in the testing process and 92.51% in the prediction process for all data, the experimental findings demonstrate that CNN-SVM outperforms CNN in terms of accuracy performance in all possible experiments, with or without WC and or DA approach.

 

Downloads

Download data is not yet available.

Author Biographies

Andi Kurniawan Nugroho, Universitas Semarang

Electrical Engineering Study Program, Electrical Engineering Departement, Semarang University, Semarang, Indonesia

Sri Heranurweni, Universitas Semarang

Electrical Engineering Study Program, Electrical Engineering Departement, Semarang University, Semarang, Indonesia

References

M. J. M. Christenhusz and J. W. Byng, “The number of known plants species in the world and its annual increase,” Phytotaxa, vol. 261, no. 3, pp. 201–217, 2016.

Q. Chen, C. Zhang, J. Zhao, and Q. Ouyang, “Recent advances in emerging imaging techniques for non-destructive detection of food quality and safety,” TrAC - Trends Anal. Chem., vol. 52, pp. 261–274, 2013.

K. Hameed, D. Chai, and A. Rassau, “A comprehensive review of fruit and vegetable classification techniques,” Image Vis. Comput., vol. 80, pp. 24–44, 2018.

K. P. Ferentinos, “Deep learning models for plant disease detection and diagnosis,” Comput. Electron. Agric., vol. 145, no. January, pp. 311–318, 2018.

S. Zhang, S. Zhang, C. Zhang, X. Wang, and Y. Shi, “Cucumber leaf disease identification with global pooling dilated convolutional neural network,” Comput. Electron. Agric., vol. 162, no. February, pp. 422–430, 2019.

S. G. Wu, F. S. Bao, E. Y. Xu, Y. X. Wang, Y. F. Chang, and Q. L. Xiang, “A leaf recognition algorithm for plant classification using probabilistic neural network,” in ISSPIT 2007 - 2007 IEEE International Symposium on Signal Processing and Information Technology, 2007, pp. 11–16.

M. Bobbi, K. Nasution, S. Suryadi, and R. Watrianthos, “Model Pengenalan Suara Teks Bebas Menggunakan Algoritma Support Vector Machine,” Jurnal Media Informatika Budidarma, vol. 4, no. 4, pp. 1249–1255, 2020, doi: 10.30865/mib.v4i4.2436.

P. Jiazhi and H. Yong, “Recognition of plants by leaves digital image and neural network,” in Proceedings - International Conference on Computer Science and Software Engineering, CSSE 2008, 2008, vol. 4, pp. 906–910.

M. Zaborowicz, P. Boniecki, K. Koszela, A. Przybylak, and J. Przybył, “Application of neural image analysis in evaluating the quality of greenhouse tomatoes,” Sci. Hortic. (Amsterdam)., vol. 218, pp. 222–229, 2017.

D. Jawale and M. Deshmukh, “Real time automatic bruise detection in (Apple) fruits using thermal camera,” in Proceedings of the 2017 IEEE International Conference on Communication and Signal Processing, ICCSP 2017, 2017, vol. 2018-Janua, pp. 1080–1085.

H. Almogdady, S. Manaseer, and H. Hiary, “A flower recognition system based on image processing and neural networks,” Int. J. Sci. Technol. Res., vol. 7, no. 11, pp. 166–173, 2018.

M. Suresha, “Texture Features and Decision Trees based Vegetables Classification,” Int. J. Comput. Appl., no. April, pp. 21–26, 2012.

L. F. Santos Pereira, S. Barbon, N. A. Valous, and D. F. Barbin, “Predicting the ripening of papaya fruit with digital imaging and random forests,” Comput. Electron. Agric., vol. 145, no. December 2017, pp. 76–82, 2018.

T. Tiay, P. Benyaphaichit, and P. Riyamongkol, “Flower recognition system based on image processing,” Proc. 2014 3rd ICT Int. Sr. Proj. Conf. ICT-ISPC 2014, no. July, pp. 99–102, 2014.

Y. A. Akter and M. O. Rahman, “Development of a computer vision based Eggplant grading system,” in 4th International Conference on Advances in Electrical Engineering, ICAEE 2017, 2017, vol. 2018-Janua, pp. 285–290.

M. Li and W. Bijker, “Vegetable classification in Indonesia using Dynamic Time Warping of Sentinel-1A dual polarization SAR time series,” Int. J. Appl. Earth Obs. Geoinf., vol. 78, no. September 2018, pp. 268–280, 2019.

C. S. Nandi, B. Tudu, and C. Koley, “A machine vision technique for grading of harvested mangoes based on maturity and quality,” IEEE Sens. J., vol. 16, no. 16, pp. 6387–6396, 2016.

D. S. Pérez, F. Bromberg, and C. A. Diaz, “Image classification for detection of winter grapevine buds in natural conditions using scale-invariant features transform, bag of features and support vector machines,” Comput. Electron. Agric., vol. 135, pp. 81–95, 2017.

Y. Sakai, T. Oda, M. Ikeda, and L. Barolli, “A vegetable category recognition system using deep neural network,” in Proceedings - 2016 10th International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing, IMIS 2016, 2016, pp. 189–192.

G. Zeng, “Fruit and vegetables classification system using image saliency and convolutional neural network,” Proc. 2017 IEEE 3rd Inf. Technol. Mechatronics Eng. Conf. ITOEC 2017, vol. 2017-Janua, pp. 613–617, 2017.

J. Steinbrener, K. Posch, and R. Leitner, “Hyperspectral fruit and vegetable classification using convolutional neural networks,” Comput. Electron. Agric., vol. 162, no. October 2018, pp. 364–372, 2019.

M. Kozłowski, P. Gorecki, and P. M. Szczypinski, “2019, Kozłowski, CNN - Varietal Classification.pdf,” Biosyst. Eng., vol. 184, pp. 155–165, 2019.

Z. Li, F. Li, L. Zhu, and J. Yue, “Vegetable recognition and classification based on improved VGG deep learning network model,” Int. J. Comput. Intell. Syst., vol. 13, no. 1, pp. 559–564, 2020.

M. I. Ahmed, S. Mahmud Mamun, and A. U. Zaman Asif, “DCNN-Based Vegetable Image Classification Using Transfer Learning: A Comparative Study,” in 2021 5th International Conference on Computer, Communication, and Signal Processing, ICCCSP 2021, 2021, no. May, pp. 235–243.

H. Singh, R. Singh, P. Goel, A. Singh, and N. Sharma, “Automatic Framework for Vegetable Classification using Transfer-Learning,” Int. J. Electr. Electron. Res., vol. 10, no. 2, pp. 405–410, 2022.

M. Khatun, M. Forhad Ali, P. Sarker, F. Ali Nakib Aman Turzo, and J. Nine Pritom Sarker, “Fruits Classification using Convolutional Neural Network,” GRD Journals- Glob. Res. Dev. J. Eng., vol. 5, no. 8, 2020.

R. E. Saragih and A. W. R. Emanuel, “Banana Ripeness Classification Based on Deep Learning using Convolutional Neural Network,” in 3rd 2021 East Indonesia Conference on Computer and Information Technology, EIConCIT 2021, 2021, pp. 85–89.

R. S. Latha et al., “Automatic Fruit Detection System using Multilayer Deep Convolution Neural Network,” in 2021 International Conference on Computer Communication and Informatics, ICCCI 2021, 2021, no. January.

J. Ma, K. Du, F. Zheng, L. Zhang, Z. Gong, and Z. Sun, “A recognition method for cucumber diseases using leaf symptom images based on deep convolutional neural network,” Comput. Electron. Agric., vol. 154, no. August, pp. 18–24, 2018.

H. Kuang, C. Liu, L. L. H. Chan, and H. Yan, “Multi-class fruit detection based on image region selection and improved object proposals,” Neurocomputing, vol. 283, pp. 241–255, 2018.

V. A. Patel and M. V. Joshi, “Convolutional neural network with transfer learning for rice type classification,” in ICMV 2017 - The 10th International Conference on Machine Vision, 2018, no. April, p. 21.

A. Di Noia et al., “Use of neural networks in ground-based aerosol retrievals from multi-angle spectropolarimetric observations,” Atmos. Meas. Tech., vol. 8, no. 1, pp. 281–299, 2014.

J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei, “ImageNet: Constructing a large-scale image database,” in Computer Vision and Pattern Recognition, 2009, pp. 248–255.

A. Krizhevsky, I. Sutskever, and E. H. Geoffrey, “ImageNet Classification with Deep Convolutional Neural Networks,” Adv. Neural Inf. Process. Syst., vol. 60, no. 6, pp. 84–90, 2012.

J. Donahue et al., “DeCAF: A Deep Convolutional Activation Feature for Generic Visual Recognition,” arXiv, vol. 32, 2014.

K. Simonyan and A. Zisserman, “Very deep convolutional networks for large-scale image recognition,” in 3rd International Conference on Learning Representations, ICLR 2015 - Conference Track Proceedings, 2015, pp. 1–14.

M. Segal-Rozenhaimer, A. Li, K. Das, and V. Chirayath, “Cloud detection algorithm for multi-modal satellite imagery using convolutional neural-networks (CNN),” Remote Sens. Environ., vol. 237, no. November 2018, p. 111446, 2020.

Published
2023-02-05
How to Cite
Nurrani, H., Andi Kurniawan Nugroho, & Sri Heranurweni. (2023). Image Classification of Vegetable Quality using Support Vector Machine based on Convolutional Neural Network. Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 7(1), 168 - 178. https://doi.org/10.29207/resti.v7i1.4715
Section
Information Systems Engineering Articles