HUBEI AGRICULTURAL SCIENCES ›› 2024, Vol. 63 ›› Issue (8): 10-16.doi: 10.14088/j.cnki.issn0439-8114.2024.08.003

• Image and Graphic Recognition • Previous Articles     Next Articles

Depth recognition of branch obstacles of apple picking robot based on improved YOLOv4

HUANG Zhe1,2a, TANG Shi-xi2b, SHEN Guan-dong2a, GAO Xin-yue1, WANG Shi-lian2b   

  1. 1. School of Mechanical and Power Engineering, Nanjing Tech University, Nanjing 211816, China;
    2a. Academy of Art and Design; 2b. Acedemy of Information Engineering, Yancheng Teachers University, Yancheng 224000, Jiangsu, China
  • Received:2022-08-26 Online:2024-08-25 Published:2024-09-05

Abstract: In computer vision, it was difficult to train and recognize objects with unclear features, and improve the detection in many fields. In order to identify the branches with less obvious characteristics, mainly the branches that covered the apple position when the manipulator picked the apple, a method to obtain the branch semantic skeleton and identify the branch position box by combining semantic segmentation and YOLOv4 algorithm was proposed. Before using the data set for training, the method of semantic segmentation to divide the rectangular envelope of branches, eliminate the small branches and branches that affected the effect of branch recognition, and then label the data set with labelimg and labelme tools was used; Three layers of maximum pooling layer were added to the trained network model, and the CIOU of YOLOv4 was improved in terms of regression loss. A confidence correlation function BIOU was proposed to improve the prediction accuracy according to the complex characteristics and suitable range. The final experiment showed that the F1 and AP of the tree branches with occluded apple positions trained by the improved YOLOv4 network model were 20.00 precentage and 23.36 precentage higher than those of all the trees trained by the original network.

Key words: branch recognition, YOLOv4, semantic segmentation, dataset training, BIOU frame regression loss function

CLC Number: