AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
PDF (9.4 MB)
Collect
Submit Manuscript AI Chat Paper
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Publishing Language: Chinese

Segmentation and localization method for eggplants and stems based on YOLO-CRC

Qin LIU1, Jingwen OUYANG2, Zhibin ZHOU2, Wenfeng ZHANG1,3, Xiaohua ZHANG1
College of Automation, Zhongkai University of Agricultural Engineering, Guangzhou 510550, China
College of Mechanical and Electrical Engineering, , Zhongkai University of Agricultural Engineering, Guangzhou 510550, China
Guangdong Province Key Laboratory of Intelligent Ocean Ranching and Equipment Technology, Guangzhou 510550, China
Show Author Information

Abstract

Precise harvesting is often required in the complex natural environment of eggplants. In this study, an improved YOLO-CRC instance segmentation model was proposed with the reparameterized structure using the YOLOv8-Seg framework. A sample dataset of eggplants and their stems was also constructed with some variations in the illumination, orientation, and occlusion levels. Multimodal data augmentation was employed for the model exposure to more diverse data during training. Various transformations and processing were performed on the original data, thereby generating new training samples to expand the dataset. Firstly, a Diverse Branch Block (DBB) and a polarization attention mechanism were introduced to design the CDCP module in the Backbone layer. The performance of the model was significantly improved to segment the small targets. The DBB module was used to extract some features at the varying scales. Different sizes of the convolution kernel or operation types were utilized to reduce the complexities across its branches. These diverse outputs were then aggregated after summation. The information was integrated from the multiple layers. The DBB’s parallel structure was allowed for the effective fusion of the features at different scales during model inference, The stable performance of object detection was achieved even under the varying backgrounds and complexities. In the Neck layer, a reparameterization technique was applied to optimize the C2f module, thus introducing the RepVit Block to form the C2f_RVB module. The RVB module was enhanced the expressive power to capture the richer feature details using multi-scale convolution and a channel mixing mechanism. Furthermore, the RVB module was utilized the depthwise separable convolutions and an adaptive channel attention mechanism. The computational complexity was significantly reduced to break down the convolution. While the adaptive attention mechanism was strengthened the focus on the critical features, in order to weight the different feature channels. The CARAFE upsampling factor was used to replace the original ones for the upsampling recovery. The upsampling kernel was also tailored after a content-aware mechanism. Semantic information was balanced from the low-resolution feature maps, in order to more accurately reconstruct the spatial information. Computational efficiency was maintained to enhance the feature reuse, thus improving the fusion of the local and contextual information. Ablation experiments demonstrated that the improved YOLO-CRC model was achieved in a mean average precision of 94.1%. The segmentation accuracies were 95.9% and 92.2%, respectively, for the eggplants and eggplant pedicels. While the mAP at an IoU range of 0.5 to 0.95 was 70.6%. A dataset was also constructed to test the generalization performance of the model on new data, except for the training. The YOLO-CRC model exhibited the favorable generalization and excellent processing on new data. The overall processing speed of the model was slightly slower than that of the rest models; However, the frame rate of 44 frames per second (FPS) was sufficient to fully meet the requirements of most experimental scenarios. Grad-CAM++ heatmap analysis revealed that the improved model was focused its attention more effectively on eggplants and pedicels. As such, the 2D localization of eggplant pedicel harvesting points was achieved using the enhanced segmentation model. Furthermore, 3D localization of the harvesting points was successfully realized to integrate a depth camera. Ten experiments were conducted on the three-dimensional positioning of the depth camera, where the five orientations were selected. The experimental results show that the average positioning error was 2.13 mm, which referred to the mean value of the total errors from each measurement; The maximum error was 2.68 mm; and the average relative error was 1.18%. This finding can provide the valuable technical insights into the visual recognition and localization in the eggplant harvesting robots. Great contribution can be gained to advance the automated harvesting technologies for the eggplants crops.

CLC number: S24 Document code: A Article ID: 1002-6819(2025)-19-0196-10

References

【1】
【1】
 
 
Transactions of the Chinese Society of Agricultural Engineering
Pages 196-205

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
LIU Q, OUYANG J, ZHOU Z, et al. Segmentation and localization method for eggplants and stems based on YOLO-CRC. Transactions of the Chinese Society of Agricultural Engineering, 2025, 41(19): 196-205. https://doi.org/10.11975/j.issn.1002-6819.202504113

449

Views

4

Downloads

0

Crossref

0

Web of Science

8

Scopus

Received: 11 April 2025
Revised: 26 July 2025
Published: 01 September 2025
© Chinese Society of Agricultural Engineering 2025