Intelligent long jump measurement and analysis system based on YOLOv8
Through the combination of YOLOv8 model and high-definition camera, real-time posture recognition and landing point detection for track and field long jump training and competition are realized, which solves the problems of low efficiency and high cost of traditional methods and improves the accuracy and consistency of analysis.
Patent Information
- Application Number
- CN202410512518.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-26
- Publication Date
- 2024-09-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional track and field long jump training and competition analysis relies on manual observation or basic video analysis tools, which is inefficient and susceptible to subjective influence. The installation and maintenance costs of ground or wearable sensor systems are high, limiting practical applications.
An intelligent long jump measurement and analysis system based on YOLOv8 is used to capture athletes' movements through the video acquisition module. The image processing and recognition module uses the YOLOv8 model to perform human mask segmentation and recognition. The action recognition and measurement module calculates the long jump distance, and the user interaction module displays the measurement results. , combined with high-definition cameras and distance-marking circle markers for training, to achieve real-time attitude recognition and landing point detection.
It significantly reduces reliance on manual analysis, improves the accuracy and consistency of attitude recognition and landing point detection, enables real-time monitoring and analysis of long jump training, and reduces system installation and maintenance costs.
Smart Images

Figure CN118609010A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of long jump measurement, in particular to an intelligent long jump measurement and analysis system based on YOLOv8. Background Art
[0002] In the development of modern sports science and technology, artificial intelligence technology has been widely used in athlete training, game strategy analysis and technical action optimization. Especially in the long jump event of track and field, the accurate detection of the athlete's posture recognition and landing point is crucial to training efficiency and performance improvement. Traditional technologies mainly rely on the observation of experienced coaches or basic video analysis tools. These devices continuously capture video data of the athlete's long jump process, and then analyze the athlete's posture changes and landing points through software. The main disadvantage of this method is that it requires manual participation in the video analysis process, which is inefficient and susceptible to the subjective judgment of the operator. Another existing technology is to use ground sensors or wearable sensors to measure the athlete's landing point and motion data. These systems can directly measure the athlete's contact time and force with the ground, thereby calculating the landing point. However, the installation and maintenance costs of the sensor system are high, and its application in actual competitions is limited. Summary of the invention
[0003] The purpose of the present invention is to provide an intelligent long jump measurement and analysis system based on YOLOv8, which aims to overcome the above problems by adopting AI technology and advanced image processing technology, and provide a more efficient, accurate and practical solution to promote the technological progress of long jump athlete training and competition analysis.
[0004] The purpose of the present invention is achieved through the following technical solutions:
[0005] The intelligent long jump measurement and analysis system based on YOLOv8 includes: video acquisition module: capturing the continuous video stream of the athlete performing the long jump action, and transmitting the video stream information to the image processing and recognition module;
[0006] Image processing and recognition module: receives the video stream from the video acquisition module, preprocesses the image, uses the YOLOv8 model to segment and recognize the athletes in the image from the background, generates a human mask in a binary image, and passes the data to the action recognition and measurement module;
[0007] Action recognition and measurement module: receives data from the image processing and recognition module, scans the human mask vertically and horizontally, locates the athlete's take-off point and landing point, calculates the long jump distance, completes the long jump measurement, and sends the measurement result data to the user interaction module;
[0008] User exchange module: receives data from the action recognition and measurement modules, sorts and organizes them, and displays the long jump measurement results.
[0009] Furthermore, the preprocessing includes adjusting image resolution, color correction and noise reduction, and filling holes in the image.
[0010] Furthermore, in the human body mask of the binary image, the athlete is represented by white and the background is represented by black;
[0011] The action recognition and measurement module starts to traverse and perform vertical scanning at the take-off point, checks the lowest white pixel in the human mask line by line, preliminarily determines the position of the athlete's body contact point with the ground, and determines the vertical range from the take-off point to the landing point;
[0012] After the vertical range is determined, the action recognition and measurement module performs a horizontal scan on the bottom row of the human mask to accurately lock the position of the white pixel in the human mask, that is, the point where the athlete contacts the ground.
[0013] Furthermore, the video acquisition module includes a long jump mat and a high-definition camera arranged on one side of the long jump mat. A plurality of circle markers marking distances are arranged on the long jump mat along the long jump direction. The circle markers are used for monitoring and identification of the YOLOv8 model.
[0014] Furthermore, the system also includes YOLOv8 model training, and the YOLOv8 model training includes the following steps:
[0015] S1. Under different lighting conditions and backgrounds, the circle markers on the long jump mat are captured from multiple angles using a high-definition camera. The captured images are annotated using the roboflow annotation tool and organized into a training data set.
[0016] S2, the roboflow annotation tool adjusts the image pixels to meet the input requirements of the YOLOv8 model and divides the proportions according to the classification of the training set, validation set, and test set;
[0017] S3. Configure the training parameters according to the following code and use the COCO dataset to train the YOLOv8 model, results = model.train (data = 'data / data.yaml', epochs = 100, imgsz = 640, device = 0)
[0018] In the code, 'data.yaml' is a configuration file containing the paths of the training and validation datasets, which guides the YOLOv8 model to access and interpret the datasets.
[0019] Furthermore, the user interaction module is also used for the user to adjust and set the test parameters of the system.
[0020] The present invention has the following advantages: The system significantly reduces the reliance on manual analysis through posture recognition and landing point detection, and realizes real-time monitoring and analysis of long jump training. By combining the YOLOv8 model artificial intelligence model and image processing technology, the present invention greatly improves the accuracy of posture recognition and landing point detection, ensuring the objectivity and consistency of the measurement results. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 Schematic diagram of the process of the present invention
[0022] Figure 2 This is a schematic diagram of the installation structure of the long jump mat and camera.
[0023] Figure 3 This is a height change trend chart during the long jump process.
[0024] Figure 4 This is a graph showing the changing trend of the lowest pixel point during the long jump process. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0026] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0028] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0029] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, or the positions or positional relationships in which the product of the invention is usually placed when in use, or the positions or positional relationships commonly understood by those skilled in the art, which are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0030] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0031] refer to Figure 1-4 As shown, one embodiment of the present invention is:
[0032] Intelligent long jump measurement and analysis system based on YOLOv8, including:
[0033] Video acquisition module: captures the continuous video stream of the athlete performing long jump and transmits the video stream information to the image processing and recognition module;
[0034] Image processing and recognition module: receives the video stream from the video acquisition module, preprocesses the image, uses the YOLOv8 model to segment and recognize the athletes in the image from the background, generates a human mask in a binary image, and passes the data to the action recognition and measurement module;
[0035] Action recognition and measurement module: receives data from the image processing and recognition module, scans the human mask vertically and horizontally, locates the athlete's take-off point and landing point, calculates the long jump distance, completes the long jump measurement, and sends the measurement result data to the user interaction module;
[0036] User exchange module: receives data from the motion recognition and measurement modules, sorts and organizes them, and displays the long jump measurement results. The user interaction module is also used by users to adjust and set the test parameters of the system to meet the measurement requirements under different conditions.
[0037] The video acquisition module includes a long jump mat and a high-definition camera set on one side of the long jump mat. A number of circle markers marking the distance are arranged on the long jump mat along the long jump direction. The circle markers are used for monitoring and identification of the YOLOv8 model. The high-definition camera has a Hikvision camera integrated with the Hikvision SDK, which allows developers to directly access the camera's functions, such as video capture, image analysis, etc., to ensure that the system obtains high-definition and accurate video streams. Combined with the rapid recognition ability of the YOLOv8 model and the accuracy of the human body segmentation technology, the long jump distance can be calculated in real time when the athlete lands, realizing the full process automation from image acquisition, processing to result display. The system is only activated when the tester enters the test area, and the long jump action is analyzed in real time through image recognition technology and the landing point is measured.
[0038] The system also includes YOLOv8 model training, which includes the following steps:
[0039] S1. Under different lighting conditions and backgrounds, the circle markers on the long jump mat are collected from multiple angles using a high-definition camera. The collected images are annotated using the roboflow annotation tool and organized into a training data set; the data set includes image files and their corresponding annotation information, which is usually stored in txt format and records the location and category of the markers in each image in detail. This step ensures that there is accurately labeled data available for model learning during the training process.
[0040] S2, roboflow annotation tool adjusts the image pixels to meet the input requirements of the YOLOv8 model, and divides the ratio according to the classification of training set, validation set, and test set; using the function of roboflow, the image size can be adjusted to 640x640 pixels when exporting data to meet the input requirements of the YOLOv8 model. This size adjustment not only maintains the clarity of the image, but also optimizes the efficiency of model training. In this embodiment, according to the project requirements and the size of the data set, the data set is divided into 70% training set, 15% validation set, and 15% test set. Such a division helps performance verification and final evaluation during model training.
[0041] S3. Configure the training parameters according to the following code and use the COCO dataset to train the YOLOv8 model, results = model.train (data = 'data / data.yaml', epochs = 100, imgsz = 640, device = 0)
[0042] In the code, 'data.yaml' is a configuration file containing the training and validation dataset paths, which guides the YOLOv8 model to access and interpret the dataset. The COCO dataset is well-known for its large number of human images and annotations. It provides rich visual information, which significantly improves the accuracy of the model in human recognition and reduces the dependence on manual labeling and image collection.
[0043] As a fast and accurate target detection model, the YOLOv8 model adopts a deep learning method and utilizes its efficient convolutional network structure to extract key features from images. It can recognize and locate multiple objects in the image in real time. In the present invention, the YOLOv8 model is used to identify the markers used in the long jump process and to mark the distance, thereby making the test more accurate.
[0044] according to Figure 2 The circle markers shown are used as references for measuring the take-off and landing points of the long jump. The simplicity and symmetry of their shapes make it easier to accurately obtain the starting center point from the image. Their colors can be selected according to the environmental background to ensure that they can be accurately recognized by the YOLOv8 model under different lighting and background adjustments, thereby ensuring that the system can effectively capture the long jump action and related position information during the test.
[0045] To ensure that the YOLOv8 model can efficiently and accurately identify these circles in subsequent processing, detailed manual annotation work is performed after the images are collected from multiple angles. Specifically, using the image annotation tool roboflow, roboflow provides an intuitive interface that allows users to manually mark specific objects in the image, such as the red circles in this case. The annotation work involves drawing bounding boxes around each circle, which are used to clearly indicate the target area that the YOLOv8 model needs to identify. With roboflow, it can be ensured that each marker is accurately labeled, thereby providing high-quality input data for training efficient object recognition models. After the manual annotation is completed, this batch of annotated images will be used to train the YOLOv8 model so that it can effectively identify and locate these specific markers.
[0046] During the test, the system pre-loaded the trained YOLOv8 model, confirmed that the adaptation flow could be smoothly accepted, and monitored the long jump area in real time through the camera, while identifying specific markers on the field. This step is to ensure that during the test, the system can accurately capture the long jump action and related position information.
[0047] When the tester enters the designated long jump area, the system automatically triggers the image capture mechanism to ensure that all relevant data is recorded from the moment the athlete takes off.
[0048] As the tester jumps and lands, the system continues to perform body mask detection to track the tester's entire movement from jump to landing. During this process, the image processing and recognition module scales and normalizes the image data, adjusts the image resolution, color correction, and reduces noise, fills in the internal holes of the image, and ensures the accuracy of the body mask. In the body mask of this binary image, the athlete is represented by white and the background is represented by black. The system then calculates and determines the lowest pixel point of the body mask when landing in real time. This lowest point accurately represents the specific location where the athlete touches the ground.
[0049] Specifically, the action recognition and measurement module starts to traverse and perform vertical scanning at the take-off point, checks the lowest white pixel in the human mask line by line, preliminarily determines the position of the athlete's body contact point with the ground, and determines the vertical range from the take-off point to the landing point;
[0050] After the vertical range is determined, the action recognition and measurement module performs a horizontal scan on the bottom row of the human mask to accurately lock the position of the white pixel in the human mask, that is, the point where the athlete contacts the ground.
[0051] The body parts are identified and analyzed through the action recognition and measurement module, and the following formula is applied to locate the lowest pixel point (x lowest ,y lowest ), which is a point composed of all human pixel points in the human mask {(x i ,y i )} is determined by the point with the maximum y value:
[0052]
[0053] The lowest point here identifies where the athlete contacts the ground when performing the long jump.
[0054] like Figure 3 The height change trend during the long jump is shown, where the frame number is the horizontal axis (X-axis), indicating the time point corresponding to each frame captured by the video, and the height is the vertical axis (Y-axis), showing the height change of the long jumper from the take-off point to the landing point; Figure 4 The changing trend of the lowest pixel point of the test person during the long jump is shown, where the frame number is the horizontal axis (X-axis), representing the continuous frames captured by the video, and the pixel value is the vertical axis (Y-axis), reflecting the change in the pixel position of the lowest point of the long jumper's body in the video frame.
[0055] After calculating the lowest pixel point, the system compares this position with the position of the marker at the take-off point, automatically adjusts and calculates the long jump distance, and displays the final score through the user exchange module to provide instant feedback to the tester.
[0056] After the tester leaves the long jump area, the system will automatically reset and prepare for the next test to ensure that each tester's results are recorded and displayed independently to avoid confusion of results.
[0057] This system significantly reduces the reliance on manual analysis through posture recognition and landing point detection, and realizes real-time monitoring and analysis of long jump training. By combining the YOLOv8 model artificial intelligence model and image processing technology, the present invention greatly improves the accuracy of posture recognition and landing point detection, ensuring the objectivity and consistency of the measurement results.
[0058] Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. Intelligent long jump measurement and analysis system based on YOLOv8, characterized by: include: Video acquisition module: captures the continuous video stream of the athlete performing long jump and transmits the video stream information to the image processing and recognition module; Image processing and recognition module: receives the video stream from the video acquisition module, preprocesses the image, uses the YOLOv8 model to segment and recognize the athletes in the image from the background, generates a human mask in a binary image, and passes the data to the action recognition and measurement module; Action recognition and measurement module: receives data from the image processing and recognition module, scans the human mask vertically and horizontally, locates the athlete's take-off point and landing point, calculates the long jump distance, completes the long jump measurement, and sends the measurement result data to the user interaction module; User exchange module: receives data from the action recognition and measurement modules, sorts and organizes them, and displays the long jump measurement results.
2. The intelligent long jump measurement and analysis system based on YOLOv8 according to claim 1, characterized in that: The preprocessing includes adjusting image resolution, color correction, reducing noise, and filling holes inside the image.
3. The intelligent long jump measurement and analysis system based on YOLOv8 according to claim 1, characterized in that: In the human body mask of the binary image, the athlete is represented by white and the background is represented by black; The action recognition and measurement module starts to traverse and perform vertical scanning at the take-off point, checks the lowest white pixel in the human mask line by line, preliminarily determines the position of the athlete's body contact point with the ground, and determines the vertical range from the take-off point to the landing point; After the vertical range is determined, the action recognition and measurement module performs a horizontal scan on the bottom row of the human mask to accurately lock the position of the white pixel in the human mask, that is, the point where the athlete contacts the ground.
4. The intelligent long jump measurement and analysis system based on YOLOv8 according to claim 1, characterized in that: The video acquisition module includes a long jump mat and a high-definition camera arranged on one side of the long jump mat. A plurality of circle markers marking distances are arranged on the long jump mat along the long jump direction. The circle markers are used for monitoring and identification of the YOLOv8 model.
5. The intelligent long jump measurement and analysis system based on YOLOv8 according to claim 4, characterized in that: The system also includes YOLOv8 model training, which includes the following steps: S1. Under different lighting conditions and backgrounds, the circle markers on the long jump mat are captured from multiple angles using a high-definition camera. The captured images are annotated using the roboflow annotation tool and organized into a training data set. S2, the roboflow annotation tool adjusts the image pixels to meet the input requirements of the YOLOv8 model and divides the proportions according to the classification of the training set, validation set, and test set; S3. Configure the training parameters according to the following code and train the YOLOv8 model using the COCO dataset. results=model.train(data='data / data.yaml', epochs=100, imgsz=640, device=0) In the code, 'data.yaml' is a configuration file containing the paths of the training and validation datasets, which guides the YOLOv8 model to access and interpret the datasets.
6. The intelligent long jump measurement and analysis system based on YOLOv8 according to claim 1, characterized in that: The user interaction module is also used for the user to adjust and set the test parameters of the system.
Citation Information
Patent Citations
Gate fare evasion detection method and device, computer equipment and storage medium
CN114549867A
Long jump evaluation method and device, electronic equipment and storage medium
CN115546688A
Standing long jump distance measuring method and system based on target detection and image processing
CN116392800A
Standing long jump action analysis and distance measurement method based on computer vision
CN117379769A
Lightweight pathological gait analysis method based on computer vision
CN117752328A
