Trunk recognition is a critical technology for Camellia oleifera fruit harvesting robots, as it enables accurate and efficient detection and localization of vibration or picking points in unstructured natural environments. Traditional trunk detection methods heavily rely on the visual judgment of robot operators, resulting in significant errors and incorrect vibration point identification. In this paper, we propose a new method based on an improved YOLOv7 network for Camellia oleifera trunk detection. Firstly, we integrate an attention mechanis...