This invention discloses a
visual navigation method and
system for agricultural robots based on vehicle speed adaptive
gimbal perspective, belonging to the field of
agricultural robot autonomous driving technology. The method includes: real-time acquisition of driving speed and dynamic adjustment of camera
pitch angle; simultaneous acquisition of color and depth images, obtaining a
binary image of
crop rows from the
color image; generating skeleton lines in the
binary image of
crop rows using a regional
centroid slicing connection method, fitting a global navigation line, fusing depth information, and using the Zhang Zhengyou calibration method to transform the endpoints of the global navigation line to the world coordinate
system, calculating the heading angle and
lateral deviation of the
agricultural robot; then, performing a self-vehicle coordinate
system transformation to obtain the actual control deviation; finally, sending the
machine vision navigation results to the steering controller
via protocol-based instructions. This invention achieves
adaptive control of the inter-row observation perspective applicable to multiple operating scenarios, significantly enhancing the adaptability and reliability of the
visual navigation system in
complex field operating environments.