Smart GreenGrocer: Automatic Vegetable Type Classification Using the CNN Algorithm
Raden Bagus Muhammad AdryanPutra Adhy Wijaya(1), Delfia Nur Anrianti Putri(2*), Dzikri Rahadian Fudholi(3)
(1) Universitas Gadjah Mada
(2) Universitas Gadjah Mada
(3) Universitas Gadjah Mada
(*) Corresponding Author
Abstract
In the food industry, separating vegetables is done by visually trained professionals. However, because it takes plenty of time to sort a large number of different types of vegetables, human errors might arise at any time, and using human resources is not always effective. Thus, automation is needed to minimize process time and errors. Computer vision helps reduce the need for human resources by automatizing the classification. Vegetables come in various colors and shapes; thus, vegetable classification becomes a challenging multiclass classification due to intraspecies variety and interspecies similarity of these main distinguishing characteristics. Consequently, much research is made to automatically discover effective methods to group each type of vegetable using computers. To answer this challenge, we proposed a solution utilizing deep learning with a Convolutional Neural Network (CNN) to perform multi-label classification on some types of vegetables. We experimented with the modification of batch size and optimizer type. In the training process, the learning rate is 0.01, and it adapts on arrival in the local minimum for result optimization. This classification is performed on 15 types of vegetables and produces 98.1% accuracy on testing data with 25 minutes and 45 seconds of training time.
Keywords
Full Text:
PDFReferences
A. Zurbau et al., “Relation of Different Fruit and Vegetable Sources With Incident Cardiovascular Outcomes: A Systematic Review and Meta‐Analysis of Prospective Cohort Studies,” J. Am. Heart Assoc. Cardiovasc. Cerebrovasc. Dis., vol. 9, no. 19, p. e017728, Oct. 2020, doi: 10.1161/JAHA.120.017728.
M. Mukhiddinov, A. Muminov, and J. Cho, “Improved Classification Approach for Fruits and Vegetables Freshness Based on Deep Learning,” Sensors, vol. 22, no. 21, p. 8192, Oct. 2022, doi: 10.3390/s22218192.
N. A. Nasharuddin, “Multi-feature Vegetable Recognition using Machine Learning Approach on Leaf Images,” Int. J. Adv. Trends Comput. Sci. Eng., vol. 6, pp. 1789–1794, Aug. 2019, doi: 10.30534/ijatcse/2019/110842019.
Y. Yohannes, M. R. Pribadi, and L. Chandra, “Klasifikasi Jenis Buah dan Sayuran Menggunakan SVM Dengan Fitur Saliency-HOG dan Color Moments,” ELKHA J. Tek. Elektro, vol. 12, no. 2, Art. no. 2, Oct. 2020, doi: 10.26418/elkha.v12i2.42160.
H. Nurrani, A. K. Nugroho, S. Heranurweni, E. Supriyanto, and Generousdi -, “VEGETABLE TYPE CLASSIFICATION USING NAIVE BAYES ALGORITHM BASED ON IMAGE PROCESSING,” JAICT, vol. 7, no. 2, Art. no. 2, Oct. 2022, doi: 10.32497/jaict.v7i2.3762.
Y. Ihza and D. Lelono, “Face Expression Classification in Children Using CNN,” IJCCS Indones. J. Comput. Cybern. Syst., vol. 16, no. 2, Art. no. 2, Apr. 2022, doi: 10.22146/ijccs.72493.
N. Wiranda and A. E. Putra, “Mobile-based Primate Image Recognition using CNN,” IJCCS Indones. J. Comput. Cybern. Syst., vol. 16, no. 2, Art. no. 2, Apr. 2022, doi: 10.22146/ijccs.65640.
W. Wahyono and J. Hariyono, “Determining Optimal Architecture of CNN using Genetic Algorithm for Vehicle Classification System,” IJCCS Indones. J. Comput. Cybern. Syst., vol. 13, no. 1, Art. no. 1, Jan. 2019, doi: 10.22146/ijccs.42299.
M. I. Ahmed, S. Mamun, and A. Asif, DCNN-Based Vegetable Image Classification Using Transfer Learning: A Comparative Study. 2021, p. 243. doi: 10.1109/ICCCSP52374.2021.9465499.
J. Shah and S. Kamat, “A Method for Waste Segregation using Convolutional Neural Networks.” arXiv, Feb. 23, 2022. Accessed: Jan. 27, 2023. [Online]. Available: http://arxiv.org/abs/2202.12258
A. Sharma and G. Phonsa, “Image Classification Using CNN.” Rochester, NY, Apr. 24, 2021. doi: 10.2139/ssrn.3833453.
DOI: https://doi.org/10.22146/ijccs.82377
Article Metrics
Abstract views : 1436 | views : 850Refbacks
- There are currently no refbacks.
Copyright (c) 2023 IJCCS (Indonesian Journal of Computing and Cybernetics Systems)
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
View My Stats1