Abstract:The traditional manual measuring method of horse body usually have large workload and security risks.Based on linear regression theory and machine vision technology,we put forward the new measuring method of horse body. The basic data is designed to measure the horse such as body height, body length, chest length, vessel length.Firstly, the image is used to get the horse body contour by image erosion based on Matlab, and the body coordinate is accurately located on the 2D image, so we can obtain the body height and body length index. then, diameter of the chest and diameter of the vessel were defined to predict chest length and vessel length by plugging into equation of linear regression; Finally,we use the Matlab GUI to design the visual interface of the system, and complete the simulation test of the system. The simulation results show that the linear correlation and linear regression theory which can be used to solve the prediction problem of 3D index has the basis of measurement and reference.