Aiming at the positioning problems existing in rail transit system, this paper proposes an intelligent image recognition and positioning algorithm, which adopts deep learning technology to identify vehicles. And, through field test, the experimental results show the effectiveness of the algorithm. Its implementation cost is significantly lower than the existing equipment, and can meet the requirements of the existing engineering practice.