journal article·2022-12-13Open access

Promotion of Color Sorting in Industrial Systems Using a Deep Learning Algorithm

Ivana Medojevic, Emil Veg, Aleksandra Joksimovic, Jelena Ilic

Applied Sciences· Volume 12· Issue 24

Abstract

Color sorting is a technological operation performed with the aim of classifying compliant and noncompliant agricultural products in large-capacity industrial systems for agricultural product processing. This paper investigates the application of the YOLOv3 algorithm on raspberry images as a method developed for the detection, localization, and classification of objects based on convolutional neural networks (CNNs). To our knowledge, this is the first time a YOLO algorithm or CNN has been used with original images from the color sorter to focus on agricultural products. Results of the F1 measure were in the 92–97% range. Images in full resolution, 1024 × 1024, produced an average detection time of 0.37 s. The impact of the hyperparameters that define the YOLOv3 model as well as the impact of the application of the chosen augmentative methods on the model are evaluated. The successful classification of stalks, which is particularly challenging due to their shape, small dimensions, and variations, was achieved. The presented model demonstrates the ability to classify noncompliant products into four classes, some of which are appropriate for reprocessing. The software, including a graphic interface that enables the real-time testing of machine learning algorithm, is developed and presented.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Smart Agriculture and AI · Spectroscopy and Chemometric Analyses · Food Supply Chain Traceability

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Engineering of Biotechnical Systems, Faculty of Mechanical Engineering, University of Belgrade, 11120 Belgrade, Serbia

Department of Theory of Mechanisms and Machines, Faculty of Mechanical Engineering, University of Belgrade, 11120 Belgrade, Serbia

Department of Physics and Electrical Engineering, Faculty of Mechanical Engineering, University of Belgrade, 11120 Belgrade, Serbia

References (45)

Show source-provided references
1. Rolandi, S., Brunori, G., Bacco, M., and Scotti, I. (2021). The Digitalization of Agriculture and Rural Areas: Towards a Taxonomy of the Impacts. Topical Collection “Smart Farming and Sustainability”. Sustainability, 13.10.3390/su13095172 ↗
2. López-Morales, J.A., Martínez, J.A., and Skarmeta, A.F. (2020). Digital Transformation of Agriculture through the Use of an Interoperable Platform. Special Issue Selected Papers from the 3rd Global IoT Summit. Sensors, 20.10.3390/s20041153 ↗
3. Melnikov, Y.B., Skvortsov, E., Ziablitckaia, N., and Kurdyumov, A. (2022). Modeling of Territorial and Managerial Aspects of Robotization of Agriculture in Russia. Mathematics, 10.10.3390/math10142540 ↗
4. Appearance and characterization of fruit image textures for quality sorting using wavelet transform and genetic algorithms10.1111/jtxs.12284 ↗
5. Fruit flow calculation on the rotating sizing machines
6. Potential of machine vision techniques for detecting fecal and microbial contamination of food products. A review10.1007/s11947-013-1079-7 ↗
7. Fruit classification using computer vision and feedforward neural network10.1016/j.jfoodeng.2014.07.001 ↗
8. A hyperspectral imaging based control system for quality assessment of dried figs10.1016/j.compag.2016.10.001 ↗
9. Shankar, K., Kumar, S., Dutta, A.K., Alkhayyat, A., Jawad, A.J.M., Abbas, A.H., and Yousif, Y.K. (2022). An Automated Hyperparameter Tuning Recurrent Neural Network Model for Fruit Classification. Special Issue Decision Making and Its Applications. Mathematics, 10.10.3390/math10132358 ↗
10. A two camera machine vision approach to separating and identifying laboratory sprouted wheat kernels10.1016/j.biosystemseng.2016.04.008 ↗
11. A novel artificial neural networks assisted segmentation algorithm for discriminating almond nut and shell from background and shadow10.1016/j.compag.2014.04.008 ↗
12. An effective method to inspect and classify the bruising degree of apples based on the optical properties10.1016/j.postharvbio.2016.12.008 ↗
13. Detection of Apple Lesions in Orchards Based on Deep Learning Methods of CycleGAN and YOLOV3-Dense10.1155/2019/7630926 ↗
14. Liu, G., Mao, S., and Kim, J.H. (2019). A Mature-Tomato Detection Algorithm Using Machine Learning and Color Analysis. Sensors, 199.10.1145/3318299.3318338 ↗
15. Deep neural networks based recognition of plant diseases by leaf image classification10.1155/2016/3289801 ↗
16. Apple detection during different growth stages in orchards using the improved YOLO-V3 model10.1016/j.compag.2019.01.012 ↗
17. A review of the use of convolutional neural network10.1017/S0021859618000436 ↗
18. Redmon, J., and Farhadi, A. (2019, May 15). YOLOv3: An Incremental Improvement. University of Washington. Available online: https://arxiv.org/abs/1804.02767.
19. A lightweight Tiny-YOLOv3 vehicle detection approach10.1007/s11554-021-01131-w ↗
20. YOLOv3-MT: A YOLOv3 using multi-target tracking for vehicle visual detection10.1007/s10489-021-02491-3 ↗
21. Genaev, M.A., Komyshev, E.G., Shishkina, O.D., Adonyeva, N.V., Karpova, E.K., Gruntenko, N.E., Zakharenko, L.P., Koval, V.S., and Afonnikov, D.A. (2022). Classification of Fruit Flies by Gender in Images Using Smartphones and the YOLOv4-Tiny Neural Network. Special Issue Mathematical and Computational Methods. Syst. Biol., 10.10.3390/math10030295 ↗
22. Jian, H., Yaping, L., Junyou, Z., Shufeng, W., and Sixian, L. (2018). Target Fusion Detection of LiDAR and Camera Based on the Improved YOLO Algorithm. Special Issue Mathematics and Engineering. Mathematics, 6.10.3390/math6100213 ↗
23. Abdusalomov, A., Baratov, N., Kutlimuratov, A., and Whangbo, T.K. (2021). An Improvement of the Fire Detection and Classification Method Using YOLOv3 for Surveillance Systems. Special Issue Artificial Intelligence for Smart Sensing, Test and Measurement. Sensors, 21.10.3390/s21196519 ↗
24. Jiang, X., Gao, T., Zhu, Z., and Zhao, Y. (2021). Real-Time Face Mask Detection Method Based on YOLOv3. Section Computer Science & Engineering. Electronics, 10.10.3390/electronics10070837 ↗
25. Mujahid, A., Awan, M.J., Yasin, A., Mohammed, M.A., Damaševičius, R., Maskeliūnas, R., and Abdulkareem, K.H. (2021). Real-Time Hand Gesture Recognition Based on Deep Learning YOLOv3 Model. Special Issue Digital Image Processing and Analysis: Human and Computer Vision Applications. Appl. Sci., 11.10.3390/app11094164 ↗
26. Fei, S., Yanping, Z., Guanghui, W., Pingzeng, L., Yinfa, Y., and Linlu, Z. (2022). Tomato Maturity Classification Based on SE-YOLOv3-MobileNetV1 Network under Nature Greenhouse Environment. Special Issue Application of Image Recognition Processing Technology in Agricultural. Agronomy, 12.10.3390/agronomy12071638 ↗
27. Andriyanov, N., Khasanshin, I., Utkin, D., Gataullin, T., Ignar, S., Shumaev, V., and Soloviev, V. (2022). Intelligent System for Estimation of the Spatial Position of Apples Based on YOLOv3 and Real Sense Depth Camera D415. Special Issue Mathematical Modelling in Science and Engineering. Symmetry, 14.10.3390/sym14010148 ↗
28. Rincón, A.Q., Mora, M., Naranjo-Torres, J., Fredes, C., and Valenzuela, A. (2022). Raspberries-LITRP Database: RGB Images Database for the Industrial Applications of Red Raspberries’ Automatic Quality Estimation. Appl. Sci., 12.10.3390/app122211586 ↗
29. An Evaluation of Deep Learning Methods for Small Object Detection
30. Tomato Diseases and Pests Detection Based on Improved Yolo V3 Convolutional Neural Network. Section Technical Advances
31. Bochkovskiy, A., Wang, C.Y., and Liao, H.Y.M. (2004). YOLOv4: Optimal Speed and Accuracy of Object Detection. Computer Science, Computer Vision and Pattern Recognition. arXiv.
32. Kuznetsova, A., Maleva, T., and Soloviev, V. (2021). YOLOv5 versus YOLOv3 for Apple Detection. Cyber-Physical Systems: Modelling and Intelligent, Springer.10.1007/978-3-030-66077-2_28 ↗
33. Sozzi, M., Cantalamessa, S., Cogato, A., Kayad, A., and Marinello, F. (2022). Automatic Bunch Detection in White Grape Varieties Using YOLOv3, YOLOv4, and YOLOv5 Deep Learning Algorithms. Special Issue Precision Management to Promote Fruit Yield and Quality in Orchards. Agronomy, 12.10.3390/agronomy12020319 ↗
34. Nepal, U., and Eslamiat, H. (2022). Comparing YOLOv3, YOLOv4 and YOLOv5 for Autonomous Landing Spot Detection in Faulty UAVs. Section Remote Sensors. Sensors, 22.10.3390/s22020464 ↗
35. Deep learning—Method overview and review of use for fruit detection and yield estimation10.1016/j.compag.2019.04.017 ↗
36. The Pascal Visual Object Classes (VOC) Challenge10.1007/s11263-009-0275-4 ↗
37. LeCun, Y., Bottou, L., Orr, G.B., and Müller, K.R. (2012). Efficient BackProp. Neural Networks: Tricks of the Trade. Lecture Notes in Computer Science, Springer.10.1007/978-3-642-35289-8_3 ↗
38. Gradient-Based Learning Applied to Document Recognition10.1109/5.726791 ↗
39. Lin, T.Y., Maire, M., Belongie, S., Bourdev, L., Girshick, R., Hays, J., Perona, P., Zitnick, C.L., and Dollár, P. (2015). Microsoft COCO: Common Objects in Context. arXiv.10.1007/978-3-319-10602-1_48 ↗
40. On-line separation and sorting of chicken portions using a robust vision-based intelligent modelling approach10.1016/j.biosystemseng.2017.12.009 ↗
41. Henderson, P., and Ferrari, V. (2016). End-to-End Training of Object Class Detectors for Mean Average Precision. Asian Conference on Computer Vision—ACCV, Springer.10.1007/978-3-319-54193-8_13 ↗
42. Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016, January 27–30). You Only Look Once: Unified, Real-Time Object Detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.91 ↗
43. Zhang, C., Ding, H., Shi, Q., and Wang, Y. (2022). Grape Cluster Real-Time Detection in Complex Natural Scenes Based on YOLOv5s Deep Learning Network. Agriculture, 12.10.3390/agriculture12081242 ↗
44. Zhang, C., Kang, F., and Wang, Y. (2022). An Improved Apple Object Detection Method Based on Lightweight YOLOv4 in Complex Backgrounds. Remote Sens., 14.10.3390/rs14174150 ↗
45. Peiyuan, J., Daji, E., Fangyao, L., Ying, C., and Bo, M. (2021, January 9–11). A review of Yolo algorithm developments. Proceedings of the 8th International Conference on Information Technology and Quantitative Management (ITQM 2020 & 2021): Developing Global Digital Economy after COVID-19, Chengdu, China.