Utilizing machine vision technology,high-precision positioning detection of the real-time position deviation and Angle deviation of the RTG gantry in the process of traveling was realized.This enabled predictive automatic correction of the gantry,thereby improving the accuracy of the gantry's alignment control.