Affiliation:
1. School of Mechanical and Electrical Engineering, Guangzhou University, Guangzhou 510006, China
2. School of Electronics and Communication Engineering, Guangzhou University, Guangzhou 510006, China
3. School of Physics and Material Science, Guangzhou University, Guangzhou 510006, China
Abstract
Passion fruit, renowned for its significant nutritional, medicinal, and economic value, is extensively cultivated in subtropical regions such as China, India, and Vietnam. In the production and processing industry, the quality grading of passion fruit plays a crucial role in the supply chain. However, the current process relies heavily on manual labor, resulting in inefficiency and high costs, which reflects the importance of expanding the application of fruit appearance quality classification mechanisms based on computer vision. Moreover, the existing passion fruit detection algorithms mainly focus on real-time detection and overlook the quality-classification aspect. This paper proposes the ATC-YOLOv5 model based on deep learning for passion fruit detection and quality classification. First, an improved Asymptotic Feature Pyramid Network (APFN) is utilized as the feature-extraction network, which is the network modified in this study by adding weighted feature concat pathways. This optimization enhances the feature flow between different levels and nodes, allowing for the adaptive and asymptotic fusion of richer feature information related to passion fruit quality. Secondly, the Transformer Cross Stage Partial (TRCSP) layer is constructed based on the introduction of the Multi-Head Self-Attention (MHSA) layer in the Cross Stage Partial (CSP) layer, enabling the network to achieve a better performance in modeling long-range dependencies. In addition, the Coordinate Attention (CA) mechanism is introduced to enhance the network’s learning capacity for both local and non-local information, as well as the fine-grained features of passion fruit. Moreover, to validate the performance of the proposed model, a self-made passion fruit dataset is constructed to classify passion fruit into four quality grades. The original YOLOv5 serves as the baseline model. According to the experimental results, the mean average precision (mAP) of ATC-YOLOv5 reaches 95.36%, and the mean detection time (mDT) is 3.2 ms, which improves the mAP by 4.83% and the detection speed by 11.1%, and the number of parameters is reduced by 10.54% compared to the baseline, maintaining the lightweight characteristics while improving the accuracy. These experimental results validate the high detection efficiency of the proposed model for fruit quality classification, contributing to the realization of intelligent agriculture and fruit industries.
Funder
Science and Technology Planning Project of Guangzhou, China
Science and Technology Planning Project of Guangdong Province, China
Teaching Reform Project in Guangzhou Universities, China
Subject
General Mathematics,Engineering (miscellaneous),Computer Science (miscellaneous)
Reference66 articles.
1. Fruits and vegetables quality evaluation using computer vision: A review;Bhargava;J. King Saud Univ. Comput. Inf.,2021
2. Application of convolutional neural network-based detection methods in fresh fruit production: A comprehensive review;Wang;Front. Plant Sci.,2022
3. Deep learning in agriculture: A survey;Kamilaris;Comput. Electron. Agric.,2018
4. A fast and lightweight detection algorithm for passion fruit pests based on improved YOLOv5;Li;Comput. Electron. Agric.,2023
5. Sharma, A.K., Nguyen, H.H.C., Bui, T.X., Bhardwa, S., and Van Thang, D. (2022, January 7–9). An Approach to Ripening of Pineapple Fruit with Model Yolo V5. Proceedings of the 2022 IEEE 7th International conference for Convergence in Technology (I2CT), Pune, India.
Cited by
3 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献