This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Open AccessArticle
An AI-Based Horticultural Plant Fruit Visual Detection Algorithm for Apple Fruits
by
Bin Yan
Bin Yan 1,2,3,*
,
Xiameng Li
Xiameng Li 4 and
Rongshan Yan
Rongshan Yan 5
1
College of Automation and Information Engineering, Xi’an University of Technology, Xi’an 710048, China
2
College of Mechanical and Electronic Engineering, Northwest A&F University, Yangling 712100, China
3
Shaanxi Key Laboratory of Complex System Control and Intelligent Information Processing, Xi’an 710048, China
4
Faculty of Liberal Arts, Northwest University, Xi’an 710127, China
5
Institutes of Brain Science, Fudan University, Shanghai 200032, China
*
Author to whom correspondence should be addressed.
Horticulturae 2025, 11(5), 541; https://doi.org/10.3390/horticulturae11050541 (registering DOI)
Submission received: 18 April 2025
/
Revised: 6 May 2025
/
Accepted: 14 May 2025
/
Published: 16 May 2025
Abstract
In order to improve the perception accuracy of the apple tree fruit recognition model and to reduce the model size, a lightweight apple target recognition method based on an improved YOLOv5s artificial intelligence algorithm was proposed, and relevant experiments were designed. The Depthwise Separable Convolution (DWConv) module has many advantages: (1) It has high computational efficiency, reducing the number of parameters and calculations in the model; (2) It makes the model lightweight and easy to deploy in hardware; (3) DWConv can be combined with other modules to enhance the multi-scale feature extraction capability of the detection network and improve the ability to capture multi-scale information; (4) It balances the detection accuracy and speed of the model; (5) DWConv can flexibly adapt to different network structures. Because of its efficient computing modes, lightweight design, and flexible structural adaptation, the DWConv module has significant advantages in multi-scale feature extraction, real-time performance improvement, and small-object detection. Therefore, this method improves the original YOLOv5s network architecture by replacing the embedded Depthwise Separable Convolution in its Backbone network, which reduces the size and parameter count of the model while ensuring detection accuracy. The experimental results show that for the test-set images, the proposed improved model has an average recognition accuracy of 92.3% for apple targets, a recognition time of 0.033 s for a single image, and a model volume of 11.1 MB. Compared with the original YOLOv5s model, the average recognition accuracy was increased by 0.8%, the recognition speed was increased by 23.3%, and the model volume was compressed by 20.7%, effectively achieving lightweight improvement of the apple detection model and improving the accuracy and speed of detection. The detection algorithm proposed in the study can be extended to the intelligent measurement of apple biological and physical characteristics, including for size measurement, shape analysis, and color analysis. The proposed method can improve the intelligence level of orchard management and horticultural technology, reduce labor costs, assist precision agriculture technology, and promote the transformation of the horticultural industry toward sustainable development.
Share and Cite
MDPI and ACS Style
Yan, B.; Li, X.; Yan, R.
An AI-Based Horticultural Plant Fruit Visual Detection Algorithm for Apple Fruits. Horticulturae 2025, 11, 541.
https://doi.org/10.3390/horticulturae11050541
AMA Style
Yan B, Li X, Yan R.
An AI-Based Horticultural Plant Fruit Visual Detection Algorithm for Apple Fruits. Horticulturae. 2025; 11(5):541.
https://doi.org/10.3390/horticulturae11050541
Chicago/Turabian Style
Yan, Bin, Xiameng Li, and Rongshan Yan.
2025. "An AI-Based Horticultural Plant Fruit Visual Detection Algorithm for Apple Fruits" Horticulturae 11, no. 5: 541.
https://doi.org/10.3390/horticulturae11050541
APA Style
Yan, B., Li, X., & Yan, R.
(2025). An AI-Based Horticultural Plant Fruit Visual Detection Algorithm for Apple Fruits. Horticulturae, 11(5), 541.
https://doi.org/10.3390/horticulturae11050541
Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details
here.
Article Metrics
Article Access Statistics
For more information on the journal statistics, click
here.
Multiple requests from the same IP address are counted as one view.