In response to the issue of real-time measurement of water resistance of underwater vehicles, a method for identifying the flow field environment of tracked vehicles based on artificial lateral lines has been proposed. An artificial lateral line system is installed on the tracked vehicle and applied to underwater drag tests; In the drag tests, artificial lateral lines are used to collect flow mechanical signals and construct a flow field matrix, which includes information on flow velocities and flow angles; By mapping the flow field matrix into an image, a flow field environment image dataset is constructed, and combined with the ResNet18 residual network to identify the flow velocity and direction of the flow field; Based on the functional relationship between the flow angle, external dimensions, and viscous water resistance coefficient of the tracked vehicle, combined with the flow field identification results of artificial lateral line system, water resistance real-time calculation of the tracked vehicle model is achieved. The results of underwater drag tests on tracked vehicles show that the accuracy of flow field identification is greater than 86%, and the error of water resistance calculation is less than 10%.