Rice Identification Using Convolutional Neural Network with YOLOv7 algorithm and VGG16
Abstract
Rice is the most widely consumed food worldwide. The many types of rice cause various difficulties in the process of classifying rice varieties. The process of manually classifying rice varieties that rely on human power has drawbacks including the subjectivity of assessment between observers, limited physical capabilities, and longer observation times. In this research a rice variety classification system has been developed using the Convolutional Neural Network with the YOLOv7 and VGG16 algorithms. The rice varieties classified are basmati, IR64, and rojolele varieties. The model with the YOLOv7 algorithm is trained for object segmentation of rice grains and is used to create rice grain image datasets. The model with the VGG16 algorithm was trained by transfer learning and used for classifying rice grain varieties. The model with a learning rate hyperparameter of 0,000061, the ReLU activation function, the number of neurons 256 in the second classification layer, with the fine-tuning training method, has the best performance with an accuracy value of 100%. The best VGG16 model weight is used in application implementation. Identification of the type of rice with the application can be done on the image of a batch of homogeneous and heterogeneous rice grains with various arrangements.
Keywords
Full Text:
PDFReferences
A. Gudipalli, A. N. Prabha, And P. Reddy Ch, “A Review On Analysis And Grading Of Rice Using Image Processing,” Arpn Journal Of Engineering And Applied Sciences, Vol. 11, No. 23, Pp. 13550–13555, 2016.
M. Śliwińska-Bartel, D. T. Burns, And C. Elliott, “Rice Fraud A Global Problem: A Review Of Analytical Tools To Detect Species, Country Of Origin And Adulterations,” Oct. 01, 2021.
M. C. Custodio, R. P. Cuevas, J. Ynion, A. G. Laborte, M. L. Velasco, And M. Demont, “Rice Quality: How Is It Defined By Consumers, Industry, Food Scientists, And Geneticists?,” Oct. 01, 2019.
T. G. Devi, P. Neelamegam, And S. Sudha, “Machine Vision Based Quality Analysis Of Rice Grains,” Ieee International Conference On Power, Control, Signals And Instrumentation Engineering (Icpcsi-2017), Pp. 1052–1055, 2018.
K. R. Singh And S. Chaudhury, “Efficient Technique For Rice Grain Classification Using Back-Propagation Neural Network And Wavelet Decomposition,” Iet Computer Vision, Vol. 10, No. 8, Pp. 780–787, Dec. 2016.
Y. Ogawa, “Quality Evaluation Of Rice,” Elsevier Inc., Apr. 2016.
T. Y. Kuo, C. L. Chung, S. Y. Chen, H. A. Lin, And Y. F. Kuo, “Identifying Rice Grains Using Image Analysis And Sparse-Representation-Based Classification,” Comput Electron Agric, Vol. 127, Pp. 716–725, Sep. 2016.
Y. Lu, S. Yi, N. Zeng, Y. Liu, And Y. Zhang, “Identification Of Rice Diseases Using Deep Convolutional Neural Networks,” Neurocomputing, Vol. 267, Pp. 378–384, Dec. 2017.
Z. Parveen, M. A. Alam, And H. Shakir, “Assessment Of Quality Of Rice Grain Using Optical And Image Processing Technique,” 2017 International Conference On Communication, Computing And Digital Systems (C-Code), Pp. 265–270, 2017.
A. A. Aznan, R. Ruslan, I. H. Rukunudin, F. A. Azizan, And A. Y. Hashim, “Rice Seed Varieties Identification Based On Extracted Colour Features Using Image Processing And Artificial Neural Network (Ann),” Int J Adv Sci Eng Inf Technol, Vol. 7, No. 6, Pp. 2220–2225, 2017.
B. Lurstwut And C. Pornpanomchai, “Image Analysis Based On Color, Shape And Texture For Rice Seed (Oryza Sativa L.) Germination Evaluation,” Agriculture And Natural Resources, Vol. 51, No. 5, Pp. 383–389, Oct. 2017.
T. N. Wah, P. E. San, And T. Hlaing, “Analysis On Feature Extraction And Classification Of Rice Kernels For Myanmar Rice Using Image Processing Techniques,” International Journal Of Scientific And Research Publications (Ijsrp), Vol. 8, No. 8, Aug. 2018.
P. Kongsawat, S. Chivapreecha, And T. Sato, “Quality Assessment Of Thai Rice Kernels Using Low Cost Digital Image Processing System,” 2018 International Workshop On Advanced Image Technology, Iwait, Pp. 1–4, 2018.
A. Patil And M. Rane, “Convolutional Neural Networks: An Overview And Its Applications In Pattern Recognition’, Smart Innovation, Systems And Technologies,” Pp. 21–30, 2021.
Á. Zarándy, C. Rekeczky, P. Szolgay, And L. O. Chua, “Overview Of Cnn Research: 25 Years History And The Current Trends,” Proceedings -Ieee International Symposium On Circuits And Systems, Pp. 401–404, 2015.
F. Zhuang Et Al., “A Comprehensive Survey On Transfer Learning,” Proceedings Of The Ieee, Vol. 109, No. 1, Pp. 43–76, Jan. 2021.
C.-Y. Wang, A. Bochkovskiy, And H.-Y. M. Liao, “Yolov7: Trainable Bag-Of-Freebies Sets New State-Of-The-Art For Real-Time Object Detectors,” 2022.
M. A. Rahman And Y. Wang, “Optimizing Intersection-Over-Union In Deep Neural Networks For Image Segmentation,” Springer International Publishing Ag, Pp. 234–244, 2016.
K. Simonyan And A. Zisserman, “Very Deep Convolutional Networks For Large-Scale Image Recognition,” 3rd International Conference On Learning Representations, Iclr 2015 - Conference Track Proceedings, Pp. 1–14, Sep. 2014.
L. Yang And A. Shami, “On Hyperparameter Optimization Of Machine Learning Algorithms: Theory And Practice,” Neurocomputing, Vol. 415, Pp. 295–316, Nov. 2020.
Q. Wang, Y. Ma, K. Zhao, And Y. Tian, “A Comprehensive Survey Of Loss Functions In Machine Learning,” Annals Of Data Science, Vol. 9, No. 2, Pp. 187–212, Apr. 2022.
D. M. W. Powers And Ailab, “Evaluation: From Precision, Recall And F-Measure To Roc, Informedness, Markedness & Correlation,” 2020.
DOI: http://dx.doi.org/10.12962/j23378557.v10i3.a20143
Refbacks
- There are currently no refbacks.
This work is licensed under a Creative Commons Attribution 4.0 International License. IPTEK The Journal of Engineering published by Pusat Publikasi Ilmiah, Institut Teknologi Sepuluh Nopember.
Please contact us for order or further information at: email: iptek.joe[at]gmail.com Fax/Telp: 031 5992945. Editorial Office Address: Pusat Riset Building 6th floor, ITS Campus, Sukolilo, Surabaya 60111, Indonesia.