Vehicle location deviation could easily occur in complex road network of open-pit mines, which seriously affect production vehicle route planning and intelligent scheduling.In this light, this study proposed a method for high-precision positioning and rectification of open pit minecars based on an improved HMM(Hiddden Markov Model).Specifically, this study clipped the road section by the complex road network map of the constructed open-pit mine, and cleaned the positioning trajectory data of the minecart, whose density was sparsed and segmented; a buffer zone was established to search for candidate road points of the trajectory, so as to improve the efficiency of the minecart positioning and correction under the complex road network; the HMM optimization model of positioning deviation correction was established by calculating the positioning observation probability and transition probability of the minecart.The optimal deviation correctionwas conducted in combination with the Viterbi algorithm to achieve high-precision positioning and deviation correction of the open-pit minecart.Results indicate that the method produces a better correction effect than the original HMM positioning correction method, the correction accuracy can reach 89.2 %, and the average correction time is only 0.055 s.This could effectively correct the positioning coordinates of open-pit mine vehicles under complex backgrounds