The invention belongs to the technical field of
image analysis, and particularly relates to an AGV and turnover equipment docking method and
system based on
visual localization, and the method comprises the steps: calculating a
specular reflection inhibition factor based on the gray value of a pixel point in an image and a neighborhood gray variance, a comprehensive matching cost function is obtained according to a
geometric distance between a model projection point and a pixel point of a 3D model of the turnover device, an included angle cosine between an expected 2D normal direction and a gradient unit normal vector and a
specular reflection suppression factor, a pixel point with the minimum comprehensive matching cost is searched in a local search neighborhood of the model projection point to serve as a matching point, and the matching point is matched with the model projection point. And updating the
pose, and when the number of the effective matching points is smaller than a preset threshold value, switching to a
dead reckoning mode based on the last effective
pose. According to the method, the problem of unstable positioning caused by environmental interference in a complex industrial environment is solved, and the docking precision and robustness are improved.