Abstract:In order to shoot the moving target effectively, the least square method is used to calculate the moving direction and speed. Timely and accurately carrying out target calibration, calculating more accurate motion data, namely motion direction and motion speed, thereby calculating the position coordinates of the blocking point in advance time and the release time of the actual blocking point, and realizing the shooting of the moving target. The validity and correctness of the least square method for calculating the motion data are verified by an example, and the suggestions for the design of the shooting software for moving targets are put forward. The results show that the method has a strong practical value and promotion significance.