CNN-YOLOv8 - Based Tomato Quality Inspection System - A Case Study in Vietnam

International Journal of Electrical and Electronics Engineering
© 2023 by SSRG - IJEEE Journal
Volume 10 Issue 7
Year of Publication : 2023
Authors : Thi-Mai-Phuong Dao, Ngoc-Khoat Nguyen, Van-Kien Nguyen
pdf
How to Cite?

Thi-Mai-Phuong Dao, Ngoc-Khoat Nguyen, Van-Kien Nguyen, "CNN-YOLOv8 - Based Tomato Quality Inspection System - A Case Study in Vietnam," SSRG International Journal of Electrical and Electronics Engineering, vol. 10,  no. 7, pp. 31-40, 2023. Crossref, https://doi.org/10.14445/23488379/IJEEE-V10I7P103

Abstract:

Quality classification is one of the final stages of the process of consuming agricultural products not only in Vietnam but also in other countries having agriculture sector. It determines the quality and directly affects the price of agricultural products in the market. With the significant development of science and technology, many advanced techniques have been used, in which computer vision and artificial neural networks have been widely applied with undeniable achievements. This has helped increase the quality of agricultural products, improve sorting efficiency, and reduce operating costs. In the present study, the YOLOv8- based deep learning network model using a convolutional neural network is proposed to solve the problem of detecting several surface diseases on the tomatoes considered significant crops in tropical countries, e.g., Vietnam. The results of training the YOLOv8 network model with a dataset of 500 product images, including both good and bad features, mean Average Precision (mAP) value up to 99.5%, a precision of 96.3%, and recall of 96.1% demonstrate a statement: the YOLOv8 algorithm can be effectively applied in agricultural product quality inspection systems.

Keywords:

Agricultural inspection, Computer vision, YOLOv8, Convolutional Neural Network (CNN), Tomato quality.

References:

[1] [Online]. Available: https://quacert.gov.vn/en/good-agriculture-practice.nd185/vietgap-standard.i88.html
[2] Longsheng Fu et al., “Classification of Kiwifruit Grades Based on Fruit Shape using a Single Camera,” Sensors, vol. 16, no. 7, pp. 1- 14, 2016.
[CrossRef] [Google Scholar] [Publisher Link]
[3] Hassan Sadrnia et al., “Classification and Analysis of Fruit Shapes in Long Type Watermelon using Image Processing,” International Journal of Agriculture & Biology, vol. 9, no. 1, pp. 68-70, 2007.
[Google Scholar] [Publisher Link]
[4] Chanki Pandey et al., “Quality Evaluation of Pomegranate Fruit using Image Processing Techniques,” International Conference on Communication and Signal Processing, India, pp. 38-40, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[5] D. Surya Prabha, and J. Satheesh Kumar, “Assessment of Banana Fruit Maturity by Image Processing Technique,” Journal of Food Science and Technology, vol. 52, pp. 1316-1327, 2015.
[CrossRef] [Google Scholar] [Publisher Link]
[6] Dameshwari Sahu, and Ravindra Manohar Potdar, “Defect Identification and Maturity Detection of Mango Fruits using Image Analysis,” American Journal of Artificial Intelligence, vol. 1, no. 1, pp. 5-14, 2017.
[CrossRef] [Google Scholar] [Publisher Link]
[7] C. Murugesh, and S. Murugan, “Moth Search Optimizer with Deep Learning Enabled Intrusion Detection System in Wireless Sensor Networks,” SSRG International Journal of Electrical and Electronics Engineering, vol. 10, no. 4, pp. 77-90, 2023.
[CrossRef] [Publisher Link]
[8] S. Thirumal, and R. Latha, “Teaching and Learning Based Optimization with Deep Learning Model for Rice Crop Yield Prediction,” SSRG International Journal of Electrical and Electronics Engineering, vol. 10, no. 4, pp. 105-114, 2023.
[CrossRef] [Publisher Link]
[9] Gargi Sharma, and Gourav Shrivastava, “Crop Disease Prediction using Deep Learning Techniques-A Review,” SSRG International Journal of Computer Science and Engineering, vol. 9, no. 4, pp. 23-28, 2022.
[CrossRef] [Publisher Link]
[10] G. P. Dimf, P. Kumar, and K. Paul Joshua, “CNN with BI-LSTM Electricity Theft Detection Based on Modified Cheetah Optimization Algorithm in Deep Learning,” SSRG International Journal of Electrical and Electronics Engineering, vol. 10, no. 2, pp. 35-43, 2023.
[CrossRef] [Publisher Link]
[11] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton, “Image Net Classification with Deep Convolutional Neural Networks,” In Proceedings of the 25th International Conference on Neural Information Processing Systems, 2012.
[Google Scholar] [Publisher Link]
[12] Yuzhen Lu, “Food Image Recognition by using Convolutional Neural Networks (CNNs),” Computer Vision and Pattern Recognition, pp. 1-6, 2016.
[CrossRef] [Google Scholar] [Publisher Link]
[13] Yu-Dong Zhang et al., “Image based Fruit Category Classification by 13-Layer Deep Convolutional Neural Network and Data Augmentation,” Multimedia Tools and Applications, vol. 78, pp. 3613-3632, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[14] Jan Steinbrener, Konstantin Posch, and Raimund Leitner, “Hyperspectral Fruit and Vegetable Classification using Convolutional Neural Networks,” Computers and Electronics in Agriculture, vol. 162, pp. 364-372, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[15] Hafiz Muhammad Rizwan Iqbal, and Ayesha Hakim, “Classification and Grading of Harvested Mangoes using Convolutional Neural Network,” International Journal of Fruit Science, vol. 22, no. 1, pp. 95-109, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[16] Laila Marifatul Azizah et al., “Deep Learning Implementation using Convolutional Neural Network in Mangosteen Surface Defect Detection,” 7th IEEE International Conference on Control System, Computing and Engineering, Malaysia, pp. 242-246, 2017.
[CrossRef] [Google Scholar] [Publisher Link]
[17] Peichao Cong et al., Research on Instance Segmentation Algorithm of Greenhouse Sweet Pepper Detection Based on Improved Mask RCNN, Agronomy, vol. 13, no. 1, pp. 1-24, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[18] Abdul H. Halimi, and Ashebir H. Tefera, “Application of Cropwat Model for Estimation of Irrigation Scheduling of Tomato in Changing Climate of Eastern Europe: the Case Study of Godollo, Hungary,” SSRG International Journal of Agriculture & Environmental Science, vol. 6, no. 1, pp. 1-11, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[19] Longsheng Fu et al., “Kiwifruit Detection in Field Images using Faster R-CNN with ZF Net,” IFAC-Papers Online, vol. 51, no. 17, pp. 45-50, 2018.
[CrossRef] [Google Scholar] [Publisher Link]
[20] C. Sudha, K. JaganMohan, and M. Arulaalan, “Real Time Riped Fruit Detection using Faster R-CNN Deep Neural Network Models,” International Conference on Smart Technologies and Systems for Next Generation Computing, India, pp. 1-4, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[21] Sudianto et al., “Chilli Quality Classification using Deep Learning,” International Conference on Computer Science and Its Application in Agriculture, Indonesia, pp. 1-5, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[22] Abdul Saboor Dawlatzai, R. Jayanthi, and Saidajan Atiq Abdiani, “Efficacy of Graded Doses of Pusa Hydrogel on Growth and Quality of Coleus (Coleus blumeiL.) under Polyhouse Condition,” SSRG International Journal of Agriculture & Environmental Science, vol. 4, no. 4, pp. 32-36, 2017.
[CrossRef] [Google Scholar] [Publisher Link]
[23] Jia Yao et al., “A Real-Time Detection Algorithm for Kiwifruit Defects Based on YOLOv5,” Electronics, vol. 10, no. 14, pp. 1-13, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[24] Kashish Goyal, Parteek Kumar, and Karun Verma, “AI-based Fruit Identification and Quality Detection System,” Multimedia Tools and Applications, vol. 82, pp. 24573-24604, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[25] K. Vasumathi, S. Selvakani, and P. Rajesh, “Deep Learning for Analysing Rice Quality,” International Journal of Computer and Organization Trends, vol. 13, no. 1, pp. 16-22, 2023.
[CrossRef] [Publisher Link]
[26] Jairo Lucas de Moraes et al., “Yolo-Papaya: A Papaya Fruit Disease Detector and Classifier using CNNs and Convolutional Block Attention Modules,” Electronics, vol. 12, no. 10, pp. 1-18, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[27] J. Terven, and D. Margarita Cordova-Esparza, “A Comprehensive Review of Yolo: from Yolov1 and Beyond,” Computer Vision and Pattern Recognition, pp. 1-33, 2023.
[CrossRef] [Google Scholar] [Publisher Link]