Affiliation:
1. State Key Laboratory of Robotics and Systems, Harbin Institute of Technology, Harbin 150001, China
2. Key Laboratory of Key Technology on Agricultural Machine and Equipment, Ministry of Education, College of Engineering, South China Agricultural University, Guangzhou 510642, China
Abstract
High-complexity network models are challenging to execute on agricultural robots with limited computing capabilities in a large-scale pineapple planting environment in real time. Traditional module replacement often struggles to reduce model complexity while maintaining stable network accuracy effectively. This paper investigates a pineapple detection framework with a YOLOv7-tiny model improved via pruning and a lightweight backbone sub-network (the RGDP-YOLOv7-tiny model). The ReXNet network is designed to significantly reduce the number of parameters in the YOLOv7-tiny backbone network layer during the group-level pruning process. Meanwhile, to enhance the efficacy of the lightweight network, a GSConv network has been developed and integrated into the neck network, to further diminish the number of parameters. In addition, the detection network incorporates a decoupled head network aimed at separating the tasks of classification and localization, which can enhance the model’s convergence speed. The experimental results indicate that the network before pruning optimization achieved an improvement of 3.0% and 2.2%, in terms of mean average precision and F1 score, respectively. After pruning optimization, the RGDP-YOLOv7-tiny network was compressed to just 2.27 M in parameter count, 4.5 × 109 in computational complexity, and 5.0MB in model size, which were 37.8%, 34.1%, and 40.7% of the original YOLOv7-tiny network, respectively. Concurrently, the mean average precision and F1 score reached 87.9% and 87.4%, respectively, with increases of 0.8% and 1.3%. Ultimately, the model’s generalization performance was validated through heatmap visualization experiments. Overall, the proposed pineapple object detection framework can effectively enhance detection accuracy. In a large-scale fruit cultivation environment, especially under the constraints of hardware limitations and limited computational power in the real-time detection processes of agricultural robots, it facilitates the practical application of artificial intelligence algorithms in agricultural engineering.
Funder
2024 Basic and Applied Research Project of Guangzhou Science and Technology Plan
State Key Laboratory of Robotics and Systems
Reference39 articles.
1. Current status of pineapple production and research in China;Liu;Guangdong Agric. Sci.,2010
2. Current status of pineapple breeding, industrial development, and genetics in China;Li;Euphytica,2022
3. He, F., Zhang, Q., Deng, G., Li, G., Yan, B., Pan, D., Luo, X., and Li, J. (2024). Research Status and Development Trend of Key Technologies for Pineapple Harvesting Equipment: A Review. Agriculture, 14.
4. The Situation and Challenges of Pineapple Industry in China;Shu;Agric. Sci.,2019
5. Structural design and analysis of pineapple automatic picking-collecting machine;Jiang;Chin. J. Eng. Des.,2019