Identification and Location Method of Bitter Gourd Picking Point Based on Improved YOLOv5-Seg

Aiming at the problems of small stems and irregular contours of bitter gourd, which lead to difficult and inaccurate location of picking points in the picking process of mechanical arms, this paper proposes an improved YOLOv5-seg instance segmentation algorithm with a coordinate attention (CA) mechanism module, and combines it with a refinement algorithm to identify and locate the picking points of bitter gourd. Firstly, the improved algorithm model was used to identify and segment bitter gourd and melon stems. Secondly, the melon stem mask was extracted, and the thinning algorithm was used to refine the skeleton of the extracted melon stem mask image. Finally, a skeleton refinement graph of bitter gourd stem was traversed, and the midpoint of the largest connected region was selected as the picking point of bitter gourd. The experimental results show that the prediction precision (P), precision (R) and mean average precision (mAP) of the improved YOLOv5-seg model in object recognition were 98.04%, 97.79% and 98.15%, respectively. Compared with YOLOv5-seg, the P, R and mA values were increased by 2.91%, 4.30% and 1.39%, respectively. In terms of object segmentation, mask precision (P(M)) was 99.91%, mask recall (R(M)) 99.89%, and mask mean average precision (mAP(M)) 99.29%. Compared with YOLOv5-seg, the P(M), R(M), and mAP(M) values were increased by 6.22%, 7.81%, and 5.12%, respectively. After testing, the positioning error of the three-dimensional coordinate recognition of bitter gourd picking points was X-axis = 7.025 mm, Y-axis =5.6135 mm, and Z-axis = 11.535 mm, and the maximum allowable error of the cutting mechanism at the end of the picking manipulator was X-axis = 30 mm, Y-axis = 24.3 mm, and Z-axis = 50 mm. Therefore, this results of study meet the positioning accuracy requirements of the cutting mechanism at the end of the manipulator. The experimental data show that the research method in this paper has certain reference significance for the accurate identification and location of bitter gourd picking points.

Authors

Institutions

Publication Details

Journal
Agronomy
Published
2024-10-17
DOI
https://doi.org/10.3390/agronomy14102403
Citations
2
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
1.20

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Identification and Location Method of Bitter Gourd Picking Point Based on Improved YOLOv5-Seg

Shilei Lyu, Hualin Yang, Ziyi Liu, Zhen Li et al.
2 citations
Agronomy
Smart Agriculture and AI
1.20
article

Identification and Location Method of Bitter Gourd Picking Point Based on Improved YOLOv5-Seg

Shilei Lyu, Hualin Yang, Ziyi Liu, Zhen Li, Jingye Lu, Sheng Jiang, Yechen Wei, Jiangbo Ao, Fangnan Xie
article en
2 citations

Abstract

Aiming at the problems of small stems and irregular contours of bitter gourd, which lead to difficult and inaccurate location of picking points in the picking process of mechanical arms, this paper proposes an improved YOLOv5-seg instance segmentation algorithm with a coordinate attention (CA) mechanism module, and combines it with a refinement algorithm to identify and locate the picking points of bitter gourd. Firstly, the improved algorithm model was used to identify and segment bitter gourd and melon stems. Secondly, the melon stem mask was extracted, and the thinning algorithm was used to refine the skeleton of the extracted melon stem mask image. Finally, a skeleton refinement graph of bitter gourd stem was traversed, and the midpoint of the largest connected region was selected as the picking point of bitter gourd. The experimental results show that the prediction precision (P), precision (R) and mean average precision (mAP) of the improved YOLOv5-seg model in object recognition were 98.04%, 97.79% and 98.15%, respectively. Compared with YOLOv5-seg, the P, R and mA values were increased by 2.91%, 4.30% and 1.39%, respectively. In terms of object segmentation, mask precision (P(M)) was 99.91%, mask recall (R(M)) 99.89%, and mask mean average precision (mAP(M)) 99.29%. Compared with YOLOv5-seg, the P(M), R(M), and mAP(M) values were increased by 6.22%, 7.81%, and 5.12%, respectively. After testing, the positioning error of the three-dimensional coordinate recognition of bitter gourd picking points was X-axis = 7.025 mm, Y-axis =5.6135 mm, and Z-axis = 11.535 mm, and the maximum allowable error of the cutting mechanism at the end of the picking manipulator was X-axis = 30 mm, Y-axis = 24.3 mm, and Z-axis = 50 mm. Therefore, this results of study meet the positioning accuracy requirements of the cutting mechanism at the end of the manipulator. The experimental data show that the research method in this paper has certain reference significance for the accurate identification and location of bitter gourd picking points.

AgronomyVol. 14(10)
South China Agricultural University (CN)
National Natural Science Foundation of China
Openalex Percentile: Top 16%
Smart Agriculture and AI
1.20
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.