A new CNN model integrated in onion and garlic sorting robot to improve classification accuracy
Main Article Content
Abstract
The profit share of the vegetable market, which is quite large in the agricultural industry, needs to be equipped with the ability to classify types of vegetables quickly and accurately. Some vegetables have a similar shape, such as onions and garlic, which can lead to misidentification of these types of vegetables. Through the use of computer vision and machine learning, vegetables, especially onions, can be classified based on the characteristics of shape, size, and color. In classifying shallot and garlic images, the CNN model was developed using 4 convolutional layers, with each layer having a kernel matrix of 2x2 and a total of 914,242 train parameters. The activation function on the convolutional layer uses ReLu and the activation function on the output layer is softmax. Model accuracy on training data is 0.9833 with a loss value of 0.762.
Downloads
Article Details
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
References
A. Bhargava and A. Bansal, “Fruits and vegetables quality evaluation using computer vision: A review,” Journal of King Saud University - Computer and Information Sciences, vol. 33, no. 3, pp. 243–257, Mar. 2021, doi: 10.1016/j.jksuci.2018.06.002.
S. K. Behera, A. K. Rath, A. Mahapatra, and P. K. Sethy, “Identification, classification & grading of fruits using machine learning & computer intelligence: a review,” J Ambient Intell Humaniz Comput, Mar. 2020, doi: 10.1007/s12652-020-01865-8.
V. Meshram, K. Patil, V. Meshram, D. Hanchate, and S. D. Ramkteke, “Machine learning in agriculture domain: A state-of-art survey,” Artificial Intelligence in the Life Sciences, vol. 1, p. 100010, Dec. 2021, doi: 10.1016/j.ailsci.2021.100010.
V. Meshram and K. Patil, “FruitNet: Indian fruits image dataset with quality for machine learning applications,” Data Brief, vol. 40, p. 107686, Feb. 2022, doi: 10.1016/j.dib.2021.107686.
N. K. Jadav, T. Rathod, R. Gupta, S. Tanwar, N. Kumar, and A. Alkhayyat, “Blockchain and artificial intelligence-empowered smart agriculture framework for maximizing human life expectancy,” Computers and Electrical Engineering, vol. 105, p. 108486, Jan. 2023, doi: 10.1016/j.compeleceng.2022.108486.
D. I. Patrício and R. Rieder, “Computer vision and artificial intelligence in precision agriculture for grain crops: A systematic review,” Comput Electron Agric, vol. 153, pp. 69–81, Oct. 2018, doi: 10.1016/j.compag.2018.08.001.
L.-W. Liu, X. Ma, Y.-M. Wang, C.-T. Lu, and W.-S. Lin, “Using artificial intelligence algorithms to predict rice (Oryza sativa L.) growth rate for precision agriculture,” Comput Electron Agric, vol. 187, p. 106286, Aug. 2021, doi: 10.1016/j.compag.2021.106286.
M. Javaid, A. Haleem, I. H. Khan, and R. Suman, “Understanding the potential applications of Artificial Intelligence in Agriculture Sector,” Advanced Agrochem, Oct. 2022, doi: 10.1016/j.aac.2022.10.001.
X. Chen, G. Zhou, A. Chen, L. Pu, and W. Chen, “The fruit classification algorithm based on the multi-optimization convolutional neural network,” Multimedia Tools and Applications, vol. 80, no. 7, pp. 11313–11330, Mar. 2021, doi: 10.1007/s11042-020-10406-6.
M. Momeny, A. Jahanbakhshi, K. Jafarnezhad, and Y.-D. Zhang, “Accurate classification of cherry fruit using deep CNN based on hybrid pooling approach,” Postharvest Biology and Technology, vol. 166, p. 111204, Aug. 2020, doi: 10.1016/j.postharvbio.2020.111204.
P. A. Sunarya, A. B. Mutiara, R. Refianti, and M. Huda, “Identification of guava fruit maturity using deep learning with convolutional neural network method,” J Theor Appl Inf Technol, vol. 97, no. 19, pp. 5126–5137, 2019.
P. T. Q. Anh, D. Q. Thuyet, and Y. Kobayashi, “Image classification of root-trimmed garlic using multi-label and multi-class classification with deep convolutional neural network,” Postharvest Biol Technol, vol. 190, p. 111956, Aug. 2022, doi: 10.1016/j.postharvbio.2022.111956.
R. Rosita, D. A. A. Pertiwi, and O. G. Khoirunnisa, “Prediction of Hospital Intesive Patients Using Neural Network Algorithm,” Journal of Soft Computing Exploration, vol. 3, no. 1, pp. 8–11, 2022.
P. Baser, J. R. Saini, and K. Kotecha, “TomConv: An Improved CNN Model for Diagnosis of Diseases in Tomato Plant Leaves,” Procedia Computer Science, vol. 218, pp. 1825–1833, 2023, doi: 10.1016/j.procs.2023.01.160.
A. S. Paymode, S. P. Magar, and V. B. Malode, “Tomato Leaf Disease Detection and Classification using Convolution Neural Network,” in 2021 International Conference on Emerging Smart Computing and Informatics (ESCI), IEEE, Mar. 2021, pp. 564–570. doi: 10.1109/ESCI50559.2021.9397001.
I. Wulandari, H. Yasin, and T. Widiharih, “Klasifikasi Citra Digital Bumbu Dan Rempah Dengan Algoritma Convolutional Neural Network (Cnn),” Jurnal Gaussian, vol. 9, no. 3, pp. 273–282, 2020, doi: 10.14710/j.gauss.v9i3.27416.
J. Steinbrener, K. Posch, and R. Leitner, “Hyperspectral fruit and vegetable classification using convolutional neural networks,” Computers and Electronics in Agriculture, vol. 162, pp. 364–372, Jul. 2019, doi: 10.1016/j.compag.2019.04.019.
A. Loddo, M. Loddo, and C. Di Ruberto, “A novel deep learning based approach for seed image classification and retrieval,” Computers and Electronics in Agriculture, vol. 187, p. 106269, Aug. 2021, doi: 10.1016/j.compag.2021.106269.
K. Seth, “Fruits and Vegetables Image Dataset,” Kaggle. [Online]. Available: https://www.kaggle.com/kritikseth/fruit-and-vegetable-image-recognition
L. Deng, “Deep Learning: Methods and Applications,” Foundations and Trends® in Signal Processing, vol. 7, no. 3–4, pp. 197–387, Aug. 2014, doi: 10.1561/2000000039.
F. Hu, G.-S. Xia, J. Hu, and L. Zhang, “Transferring Deep Convolutional Neural Networks for the Scene Classification of High-Resolution Remote Sensing Imagery,” Remote Sensing, vol. 7, no. 11, pp. 14680–14707, Nov. 2015, doi: 10.3390/rs71114680.
E. Maggiori, Y. Tarabalka, G. Charpiat, and P. Alliez, “Convolutional Neural Networks for Large-Scale Remote-Sensing Image Classification,” IEEE Transactions on Geoscience and Remote Sensing, vol. 55, no. 2, pp. 645–657, Feb. 2017, doi: 10.1109/TGRS.2016.2612821.
A. L. Katole, K. P. Yellapragada, A. K. Bedi, S. S. Kalra, and M. Siva Chaitanya, “Hierarchical Deep Learning Architecture for 10K Objects Classification,” in Computer Science & Information Technology ( CS & IT ), Academy & Industry Research Collaboration Center (AIRCC), Aug. 2015, pp. 77–93. doi: 10.5121/csit.2015.51408.