| Long jump is a classic sport in track and field competitions.In long jump competitions,performance measurement is the most important link.Traditional manual measurement methods are inefficient and run the risk of introducing reading errors.To solve the above problems,this paper designs a long jump distance measuring system based on image processing technology.The main research contents are as follows:(1)In sports competitions,staff members need to repeatedly measure their results,clean up the venues and maintain order,and their workload is large.To solve this problem,this paper designs a moving target detection method based on Gaussian mixture model to identify the moving target in the sand pit area,and achieves the image auto-collection function.If there is a sporty target,no image will be collected,otherwise,the image will be automatically collected without too much manual intervention.(2)The gradient of boundary pixels is not obvious after imaging due to the aging of sand pit boundary in track and field,and it is difficult to segment it.In order to solve this problem,this paper first locates the sandpit by placing a white label board,then divides the image of the label board by threshold,then detects the edge contour of the label board,then gets the vertex coordinates of the label board by polygon approximation,and finally classifies and filters the approximation results to achieve ROI region segmentation.(3)In order to accurately measure long jump distance,this paper first establishes a ranging model,calibrates the non-linear relationship between the number of imaging rows and the actual distance,and uses the least squares method to fit it to obtain the system ranging function.Secondly,this paper designs a recognition algorithm for ranging points,obtains the difference image before and after testing by setting an appropriate difference threshold,denoises the difference image,and then sorts the pixel points to achieve the detection of ranging points.Finally,the actual long jump distance is obtained by substituting the ranging point into the ranging function.(4)This paper analyses the distance measurement method based on image geometry correction.For the problem of geometric distortion of the sand pit image,the coordinates of the four points of the sand pit are used as four control points to correct the geometry and achieve distance measurement.Experiments show that this method does not need the above calibration process and has some research significance.(5)Finally,the overall framework of the long jump ranging system is designed,and the software and hardware platforms are completed.On this basis,the GUI interface of the system is designed.After the actual test,the system meets the daily test requirements of the campus and has practical value. |