Method and device for dividing tactical scenes of football match

By aligning the frame number and time of the football match data and inputting it into the automatic division model, the problem of inaccurate and low-efficiency tactical scene division in the existing technology is solved, and accurate tactical scene recognition and analysis of the football match is achieved.

CN118865210AActive Publication Date: 2024-10-29INST OF AUTOMATION CHINESE ACAD OF SCI
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411031754.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-10-29
Estimated Expiration
2044-07-30

AI Technical Summary

Technical Problem

It is difficult for existing technology to accurately and efficiently divide tactical scenarios in football matches, resulting in inaccurate and inefficient analysis results.

Method used

By obtaining game video and various types of game data, frame number alignment and time alignment are performed to generate target fusion data and input it into the preset automatic classification model of typical football game scenes to identify and classify tactical scenes with different granularities. Data fragment.

Benefits of technology

It achieves accurate tactical scene division of football matches, improves analysis efficiency, avoids subjective errors and inefficiency of manual marking, and can quickly and accurately identify multiple tactical scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118865210A_ABST
    Figure CN118865210A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of artificial intelligence, and discloses a method and device for dividing tactical scenes of a football match, and the method comprises the steps: carrying out the frame number alignment of multiple types of match data, and obtaining target fusion data; performing time alignment on the match video and the target fusion data to obtain a target match video; and inputting the target fusion data into a preset football match typical scene automatic division model, and performing stage division on the target match video to obtain a tactical scene division result. By ensuring high fusion of the data, inputting the target fusion data into the preset typical scene automatic division model of the football match, performing staged division on the match, and performing refined analysis on different tactical scenes, the defect that only single analysis can be performed in the prior art is overcome, the scene division efficiency is improved, and the user experience is improved. And effective assistance aiming at finer-granularity tactical scenes is provided for professional football analysts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a method and device for dividing tactical scenes of a football match. Background Art

[0002] Football is the world's largest sport. The analysis of football matches is of great significance for the review and evaluation of players and teams, as well as for the training of players and the tactical layout of teams. At present, simple statistics such as the number of points, passes and shots in the whole game can no longer fully and comprehensively reflect the technical and tactical performance of players and teams. Therefore, targeted analysis of different typical game clips or scenes is important for the evaluation of players' technical and tactical skills and team tactics.

[0003] In the related art, there are mainly three methods for conducting targeted analysis on different typical game clips or scenes:

[0004] The first method requires the use of video editing software to manually edit different scenes and stages. This method often takes up a lot of time and energy for analysts, and it is not possible to conduct targeted analysis of multiple games in a season efficiently, and the analysis results are not accurate;

[0005] The second is a semi-automatic method based on regularized expert knowledge. It relies on predefined rules and expert knowledge, and the segmented segments are relatively rough. It can only divide simple scenes such as the first and second half and tactical pauses, but cannot identify complex tactical scenes and segments.

[0006] The third is a completely data-driven automated method that relies on data for screening. However, the screened fragments are biased and may not meet the judgment criteria of coaches and analysts. It can also be understood that it can only automatically identify a certain scenario. For various tactical scenarios in a game, multiple different models are required for division. The disadvantages of this method are also obvious. The division efficiency is low, and it is impossible to efficiently divide multiple types of scenarios at the same time. Summary of the invention

[0007] In view of this, the present invention provides a method and device for dividing tactical scenes of a football match to solve the technical problem of how to accurately and efficiently divide tactical scenes of a football match.

[0008] In a first aspect, the present invention provides a method for dividing tactical scenes of a football match, the method comprising:

[0009] Get full-game video of football matches and various types of game data;

[0010] Align the frames of various types of game data to obtain target fusion data;

[0011] Time-aligning the match video with the target fusion data to obtain a time-aligned match video as the target match video;

[0012] Input the target fusion data into a preset typical football match scene automatic segmentation model to obtain different scene data segments and corresponding starting frame numbers; wherein the scene data segments represent football match scene segments of different granularities and stages;

[0013] According to the different scene data segments and the corresponding starting frame numbers, the target game video is divided into stages to obtain a tactical scene division result.

[0014] This embodiment ensures a high degree of data fusion by aligning the frames of various types of game data and aligning them with the time of the game video, which makes the subsequent analysis more accurate. Compared with the traditional holistic analysis method, the present invention can divide the game into stages and perform detailed analysis on different tactical scenes, overcoming the defect that the prior art cannot perform detailed analysis but can only perform single analysis. The target fusion data is input into a preset automatic division model of typical football game scenes to obtain different scene data segments and corresponding starting frame numbers, and the target game video is divided into stages, which avoids the subjective errors in manual labeling and the problem of low efficiency, and can quickly and accurately obtain the situations of various tactics in the game scene, thereby improving the efficiency of dividing the scene.

[0015] In an optional implementation, the multiple types of game data include: player data, event data, and tracking data. The multiple types of game data are frame-aligned to obtain target fusion data, specifically including:

[0016] According to the player data, the tracking data and the event data are matched in sequence, the target tracking data and a plurality of target event data corresponding to the player data are confirmed; wherein the tracking data represents the ball position and the player position in each frame of the tracking image within the tracking time range; and the event data represents the key events occurring in each frame of the event image within the entire game time range;

[0017] Acquire the time frame of the target event data and the frequency of the target tracking data; wherein the frequency of the target tracking data represents the time interval for collecting the tracking data;

[0018] Grouping and marking the tracking data according to the frequency of the tracking data to obtain a group set of target tracking data grouping marks, wherein each group in the group set includes the same preset number of time frames, and each time frame of each group has a corresponding tracking data segment;

[0019] According to the time frame of the target event data and the group set of the target tracking data grouping mark, all the target event data are inserted into the target tracking data to obtain target fusion data.

[0020] This embodiment fuses the player's position information tracking data and event data to form complete fused data. By grouping and marking the frequency of the tracking data, the temporal consistency of the data is ensured, so that each event data can be accurately matched to the corresponding tracking data time frame. After the data is fused, the model can not only obtain the player's position and action, but also combine it with specific game events, such as passing, shooting, etc. Compared with manual labeling in related technologies, or simply analyzing a single tactical scene, this embodiment obtains target fused data in advance, providing an accurate data basis for subsequent model identification of tactical scenes, so that the model can understand the player's tactical behavior more comprehensively and improve the accuracy of the analysis results.

[0021] In an optional implementation, inserting all of the target event data into the target tracking data according to the time frame of the target event data and the group set of the target tracking data grouping mark to obtain the target fusion data specifically includes:

[0022] Searching for the group sets of the target tracking data grouping marks in sequence according to the time of the target event data;

[0023] When it is found that the time of the target event data exists in any target group in the group set marked by the target tracking data grouping, the tracking data segment corresponding to the position of any time frame in the target group is deleted, and the target event data is supplemented and inserted into the position of the last time frame in the target group; until all the target event data are inserted into the target tracking data, the target fusion data is obtained.

[0024] This embodiment searches for the time of the target event data in sequence, ensures that the event data is inserted into the correct tracking data group, deletes the position data of the corresponding time frame in the target tracking data group, and inserts the event data in the last time frame. This can maintain the same dimension of each group of target fusion data, keep the tracking data and event data on the time frame precisely aligned in time, and maintain consistency, thereby improving the accuracy of data fusion.

[0025] In an optional implementation manner, the game data also includes game time, and the target fusion data is input into a preset typical football game scene automatic segmentation model to obtain different scene data segments and corresponding starting frame numbers, specifically including:

[0026] Dividing the game time into a first half game time and a second half game time according to the number of frames;

[0027] Extracting ball control state information corresponding to target event data in the target fusion data;

[0028] Dividing ball control flow segments in the target fusion data according to the ball control state information;

[0029] Based on the preset tactical scene type, the first half game time and the second half game time, the corresponding scene label is defined for the ball possession flow segment;

[0030] Perform feature engineering on the ball flow segments with scene labels to extract tracking data features and event data features;

[0031] constructing high-level features for the target fusion data according to the tracking data features and the event data features, wherein the high-level features are used to describe the spatial positions and tactical layouts of players, balls and time on the playing field;

[0032] The target fusion data after constructing the high-level features is input into a preset automatic segmentation model of typical football game scenes to obtain different scene data segments and corresponding starting frame numbers.

[0033] This embodiment divides the game time into the first half and the second half according to the number of frames, and combines the ball possession status information to divide the target fusion data into ball possession flow segments to facilitate subsequent analysis and extraction of advanced features. Based on the preset tactical scene type, the ball possession flow segments are defined as corresponding scene labels to ensure more accurate analysis. By extracting tracking data features and event data features and constructing advanced features to ensure diversified feature input, the model can better understand the complex pattern relationships in the fused data and improve recognition accuracy, thereby being able to describe the overall tactical layout on the field, not limited to the analysis of a single player or event in related technologies.

[0034] In an optional implementation, the target game video is divided into stages according to the different scene data segments and the corresponding starting frame numbers to obtain a tactical scene division result, specifically including:

[0035] Convert the starting frame numbers corresponding to different scene data segments into the starting time of the game tactics according to the time conversion format;

[0036] The target game video is divided into stages based on the start time of the game tactics to obtain a tactical scene division result, wherein the tactical scene division result includes multiple marked associated information, and the marked associated information includes the association relationship between the video clip and the corresponding scene data clip.

[0037] This embodiment can accurately locate a specific tactical scene in a game video by converting the frame number into time. Each tactical scene includes labeled associated information, which helps football coaches and data analysts to more easily understand and evaluate the team's tactical execution.

[0038] In an optional embodiment, the automatic division model of typical football match scenes is a model obtained through pre-training, wherein the pre-training process includes: determining a basic training model according to the classification requirements of the football match tactical scenes; obtaining a football match scene data set, and pre-processing the data set and inputting it into the basic training model for iterative training to obtain the automatic division model of typical football match scenes.

[0039] This embodiment uses a large number of football game scene data sets for training to enhance the pre-trained model's recognition ability for different scenes, and the trained automatic segmentation model can complete the recognition of complex football tactical scenes with less manual operation, reducing the possibility of errors in manual labeling, and facilitating continuous updating of iterative learning and sustainable model updating.

[0040] In a second aspect, the present invention provides a device for dividing tactical scenes in a football match, the device comprising:

[0041] A data collection module, which is used to obtain the entire football match video and various types of match data;

[0042] The data alignment module is used to align the frames of various types of game data to obtain target fusion data;

[0043] A time synchronization module, used for time-aligning the match video with the target fusion data to obtain the time-aligned match video as the target match video;

[0044] A model output module is used to input the target fusion data into a preset typical football match scene automatic segmentation model to obtain different scene data segments and corresponding starting frame numbers; wherein the scene data segments represent football match scene segments of different granularities and stages;

[0045] The tactical scene division module is used to divide the target game video into stages according to the different scene data segments and the corresponding starting frame numbers to obtain a tactical scene division result.

[0046] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method for dividing tactical scenes of a football match according to the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0047] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for dividing football match tactical scenes according to the first aspect or any corresponding embodiment thereof.

[0048] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the method for dividing tactical scenes of a football match according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0050] Figure 1 is a flowchart of a method for dividing football game tactical scenes according to an embodiment of the present invention;

[0051] Figure 2 is a flow chart of another method for dividing football game tactical scenes according to an embodiment of the present invention;

[0052] Figure 3 is a flow chart of another method for dividing football game tactical scenes according to an embodiment of the present invention;

[0053] Figure 4 is a schematic diagram of a retrieval scene of a method for dividing tactical scenes of a football match according to an embodiment of the present invention;

[0054] Figure 5 is a structural block diagram of a device for dividing football game tactical scenes according to an embodiment of the present invention;

[0055] Figure 6 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0057] Traditional football game analysis methods usually analyze the entire game as a whole, such as counting the number of passes, successful passes, shots, goals, fouls, etc. Although this method can understand the team's game situation as a whole, it is difficult to conduct targeted evaluation of the team's tactical efficiency and player performance in specific scenarios.

[0058] In contrast, dividing football matches into phases can more specifically analyze the performance of different tactical scenarios in the game. There are currently two main methods for division: one relies entirely on manual marking and cannot automatically and efficiently divide the game; the other can only automatically identify and divide a certain tactical scenario in a game, and requires the use of multiple models or systems based on data provided by different data providers. Both methods are relatively inefficient.

[0059] A method for dividing football match tactical scenes provided by an embodiment of the present invention is applied to situations where different tactics in football matches need to be deeply analyzed. Multiple types of game data are aligned in frame number and input into a preset automatic division model, and different scene data segments and their starting frame numbers are obtained through the model to divide the game video. The automatic scene division of the present invention avoids the errors and inefficient division that may occur in manual marking in traditional technologies, and can identify and divide different tactical scenes, not limited to a single tactical type. It is not only accurate, but also can efficiently analyze multiple tactical scenes, providing more valuable reference information for football coaches and data analysts.

[0060] According to an embodiment of the present invention, a method embodiment for dividing tactical scenarios of a football match is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0061] In this embodiment, a method for dividing football game tactical scenes is provided, which can be used in the above-mentioned computer. Figure 1 is a flow chart of a method for dividing football game tactical scenes according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0062] Step S101, obtaining a video recording of the entire football match and various types of game data.

[0063] It should be noted that the game video refers to the complete video record of the entire football game, which can be a broadcast video or a tactical video from any angle, such as the full broadcast video of the XX Cup final; various types of game data refer to various game-related data, such as player identification information, tracking information, event information, ball possession time information, etc.

[0064] It is understandable that obtaining game videos and various data is the basis of the entire game tactical scene division process for subsequent accurate analysis.

[0065] Step S102, aligning frames of various types of game data to obtain target fusion data.

[0066] It should be noted that frame alignment refers to matching various information in the game data according to frames to ensure that the data is consistent with the time point of the video. Specifically, each frame of data is matched with the frame at the corresponding time point according to the timestamp information of the game data. Target fusion data refers to the result of integrating all aligned data together.

[0067] In this step, multiple types of game data are integrated to serve as input information for the subsequent automatic segmentation model of typical football game scenarios. The integration of multiple data makes the key features of the model analysis more comprehensive and the output results more suitable for actual game scenarios, thereby improving the accuracy of tactical scenario segmentation.

[0068] Step S103, time-aligning the match video with the target fusion data to obtain the time-aligned match video as the target match video.

[0069] It should be noted that time alignment refers to synchronizing the game video with the target fusion data to ensure that each frame of the target fusion data has a corresponding game video clip. Specifically, linear interpolation or manual marking can be used to achieve time alignment; the target game video refers to the time-aligned video, which contains the synchronized game data. For example, each frame of a time-aligned target game video can display player data and game video clips in real time.

[0070] In this embodiment, the match video and the fusion data are time-aligned to obtain a target match video, so that each frame has corresponding match data, which provides a basis for dividing tactical scenes in the final step S105.

[0071] Step S104, inputting the target fusion data into a preset typical football match scene automatic segmentation model to obtain different scene data segments and corresponding starting frame numbers; wherein the scene data segments represent football match scene segments of different granularities and stages.

[0072] It should be noted that the automatic classification model of typical football game scenes refers to a pre-trained model used to identify and classify different scenes in the game. For example, the preset neural network model can be pre-trained using the game video data with the scene types already labeled; the scene data segments and the corresponding starting frame numbers refer to the game scenes identified by the model and the starting frame numbers of these scenes in the video. For example, the model recognizes that a certain offensive scene starts from the 5000th frame, and a certain defensive scene starts from the 8000th frame.

[0073] Step S105 , dividing the target game video into stages according to the different scene data segments and the corresponding starting frame numbers, to obtain a tactical scene division result.

[0074] It should be noted that stage division refers to dividing the game video according to the identified scene data segments, for example, dividing the game video into multiple segments, each segment representing a specific tactical scene.

[0075] It can be understood that, according to the scene segments and starting frame numbers identified in all the above steps, the time-aligned target game video is divided into stages to generate a more detailed tactical scene division result, which overcomes the problem of single division in related technologies and obtains a more comprehensive analysis result of the entire game at one time.

[0076] This embodiment ensures a high degree of data fusion by aligning the frames of various types of game data and aligning them with the time of the game video, which makes the subsequent analysis more accurate. Compared with the traditional holistic analysis method, the present invention can divide the game into stages and perform detailed analysis on different tactical scenes, overcoming the defect that the prior art cannot perform detailed analysis but can only perform single analysis. The target fusion data is input into a preset automatic division model of typical football game scenes to obtain different scene data segments and corresponding starting frame numbers, and the target game video is divided into stages, which avoids the subjective errors in manual labeling and the problem of low efficiency, and can quickly and accurately obtain the situations of various tactics in the game scene, thereby improving the efficiency of dividing the scene.

[0077] In this embodiment, a method for dividing football game tactical scenes is provided, which can be used in the above-mentioned computer. The process includes the following steps:

[0078] Step S201, obtain the entire football match video and various types of game data. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.

[0079] Step S202, aligning frames of various types of game data to obtain target fusion data.

[0080] Specifically, the various types of game data include: player data, event data, and tracking data. The above step S202 includes:

[0081] Step S2021, matching the player data with the tracking data and event data in sequence, confirming target tracking data and multiple target event data corresponding to the player data; wherein the tracking data represents the ball position and the player position in each frame of the tracking image within the tracking time range; and the event data represents the key events occurring in each frame of the event image within the entire game time range.

[0082] It should be noted that player data refers to the information of players participating in the game, including player lists, jersey numbers, player ages, and coach lists of different teams. Tracking data refers to data collected through wearable devices or computer vision technology that records the position information of players and the ball on the court. The data frequency is 10Hz, 25Hz, etc., corresponding to 10 frames or 25 frames per second. Event data refers to data that records key events that occurred in the game, such as kick-offs, passes, interceptions, shots, etc. The data frequency is not fixed, and each frame records a key event.

[0083] Here is Example 1 to explain the tracking data and Example 2 to explain the event data:

[0084] Example 1: A coordinate system is established with a point at one of the four corners of the court or the center of the court. Each frame of tracking data records the positions of the 22 players and the ball relative to the court at that moment. The positions of the players and the ball can be represented by their coordinates on the court. The coordinates of the home team players can be represented as Represents the 11 players of the home team.

[0085] Example 2, the information included includes the time of the event (i.e., the xth minute and xth second of the game), the type of the event, the players involved, the location of the event, and other related information, each of which is represented by a corresponding field variable. For example, the event type is represented by type, and if it is a pass, type = 'pass'. The event data collected by different data vendors have different levels of detail and field representation for game records, but overall they can record the more important key events of a game.

[0086] From the above two examples, we can understand that tracking data exists in every frame of the entire game, while event data only exists in the starting frame and ending frame where the event occurs. Therefore, it is necessary to fuse event data with tracking data to determine in which time frame of the entire game the key event occurred, so as to improve the prediction ability of the model.

[0087] Step S2022, obtaining the time frame of the target event data and the frequency of the target tracking data; wherein the frequency of the target tracking data represents the time interval for collecting the tracking data.

[0088] Step S2023, grouping and marking the tracking data according to the frequency of the tracking data to obtain a group set of target tracking data grouping marks, each group in the group set contains the same preset number of time frames, and each time frame of each group has a corresponding tracking data segment.

[0089] It can be understood that the purpose of step S2022 and step S2023 is to fuse the target event data with the tracking data, and the frequency of the tracking data can determine the time frame of the tracking data. Only by matching the time frames of the two can the data be further fused. Event data is generally related to the ball holder, so one frame of event data only records one important event, and the same frame of data will not record two events. This one-to-one relationship between the time frame and the event data can make the fused data more accurate, and different event data will not appear in the same frame.

[0090] Step S2024: insert all the target event data into the target tracking data according to the time frame of the target event data and the group set of the target tracking data grouping mark to obtain target fusion data.

[0091] For example, if the tracking data frequency is 10 Hz, every 10 frames are marked as a group, and if the frequency is 25 Hz, every 25 frames are marked as a group, and the first and last frames of each group of data are converted to the time of the game.

[0092] Among them, if the acquisition frequency is 10Hz, the first frame of data is the 0th minute and 0th second of the game, the 1st-10th frame of data is packaged and marked as group 0, the 11th frame of data is the 0th minute and 1st second of the game, the 11th-20th frame of data is marked as group 1, the 21st frame of data is the 0th minute and 2nd second of the game, the 21st-30th frame of data is packaged and marked as group 2, and so on. After the grouping is completed, the target event data is inserted into the grouped tracking data based on the time frame correspondence of the target event data. For example, a target event data "kick-off event" is inserted into the first group of tracking data.

[0093] It is understandable that after data fusion, the model can consider tracking data such as player positions and game events at the same time, thereby capturing more dynamic information of the game. It can help the model better understand the player's movement patterns and tactical intentions, and improve prediction accuracy.

[0094] Specifically, the above step S2024 includes:

[0095] A1, searching for the group sets of the target tracking data grouping marks in sequence according to the time of the target event data.

[0096] A2. When it is found that the time of the target event data exists in any target group in the group set marked by the target tracking data grouping, the tracking data segment corresponding to the position of any time frame in the target group is deleted, and the target event data is supplemented and inserted into the position of the last time frame in the target group; until all the target event data are inserted into the target tracking data, the target fusion data is obtained.

[0097] For example, if the first time frame of the event data records the kickoff at 0:01 of the game, then this event data is inserted into the first set of tracking data, and one frame of the tracking data in the first set of data is randomly deleted, and this event data is used as the 10th data of the first set of data. The target fusion data of each set of the final inserted time data has the same dimension, such as a set of 10 frames or 25 frames.

[0098] In addition, if there is no event data record at the corresponding time point of a set of tracking data, all 10 frames of tracking data in this set are retained to obtain fused data, and each set of fused data has the same number.

[0099] This embodiment searches for the time of the target event data in sequence, ensures that the event data is inserted into the correct tracking data group, deletes the position data of the corresponding time frame in the target tracking data group, and inserts the event data in the last time frame. This can maintain the same dimension of each group of target fusion data, keep the tracking data and event data on the time frame precisely aligned in time, and maintain consistency, thereby improving the accuracy of data fusion.

[0100] Step S203: Time-align the match video with the target fusion data to obtain the time-aligned match video as the target match video. Figure 1 Step S103 of the illustrated embodiment will not be described in detail here.

[0101] Step S204, input the target fusion data into a preset typical football match scene automatic segmentation model to obtain different scene data segments and corresponding starting frame numbers; wherein the scene data segments represent football match scene segments of different granularities and stages. Figure 1 Step S104 of the illustrated embodiment will not be described in detail here.

[0102] Step S205: divide the target game video into stages according to the different scene data segments and the corresponding starting frame numbers to obtain a tactical scene division result. Figure 1 Step S105 of the illustrated embodiment will not be described in detail here.

[0103] This embodiment fuses the player's position information tracking data and event data to form complete fused data. By grouping and marking the frequency of the tracking data, the temporal consistency of the data is ensured, so that each event data can be accurately matched to the corresponding tracking data time frame. After the data is fused, the model can not only obtain the player's position and action, but also combine it with specific game events, such as passing, shooting, etc. Compared with manual labeling in related technologies, or simply analyzing a single tactical scene, this embodiment obtains target fused data in advance, providing an accurate data basis for subsequent model identification of tactical scenes, so that the model can understand the player's tactical behavior more comprehensively and improve the accuracy of the analysis results.

[0104] In this embodiment, a method for dividing football game tactical scenes is provided, which can be used in the above-mentioned computer. The process includes the following steps:

[0105] Step S301, obtain the entire football match video and various types of game data. Figure 1 Step S103 of the illustrated embodiment will not be described in detail here.

[0106] Step S302: align the frames of various types of game data to obtain target fusion data. Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.

[0107] Step S303: Time-align the match video with the target fusion data to obtain the time-aligned match video as the target match video. Figure 1 Step S103 of the illustrated embodiment will not be described in detail here.

[0108] Step S304, inputting the target fusion data into a preset typical football match scene automatic segmentation model to obtain different scene data segments and corresponding starting frame numbers; wherein the scene data segments represent football match scene segments of different granularities and stages.

[0109] Specifically, the game data also includes the game time. The above step S304 includes:

[0110] Step S3041, dividing the game time into the first half game time and the second half game time according to the number of frames.

[0111] Step S3042: extracting ball control state information corresponding to the target event data in the target fusion data.

[0112] Step S3043: Divide the ball control flow segments in the target fusion data according to the ball control state information.

[0113] Step S3044, defining corresponding scene tags for the ball possession stream segment based on the preset tactical scene type, the first half game time, and the second half game time.

[0114] Step S3045, perform feature engineering on the ball control flow segments with scene labels to extract tracking data features and event data features.

[0115] Step S3046, constructing high-level features for the target fusion data according to the tracking data features and the event data features, wherein the high-level features are used to describe the spatial positions and tactical layouts of players, balls and time on the playing field.

[0116] Step S3047, inputting the target fusion data after constructing the high-level features into a preset automatic segmentation model of typical football game scenes to obtain different scene data segments and corresponding starting frame numbers.

[0117] It should be noted that dividing the game time into the first half and the second half according to the number of frames means dividing the game video or data by time frames (with a fixed number of frames per second, such as 25 frames) to mark specific time points in the game. Ball possession status information refers to which team is in possession of the ball at a certain moment, and the team currently in possession of the ball is determined by event data. Ball possession flow refers to a segment in which a team controls the ball for a continuous period of time. Scene labeling refers to labeling each ball possession flow segment with a corresponding tactical scene label, for example, a certain ball possession flow belongs to low-post defense.

[0118] Specifically, in step S3041, firstly, the first half end time t1, the second half start time t2, and the game end time t e, correspond it to the number of the fused data, and roughly divide the entire game with these three time points. In step S3042, extract the ball_control field in the event data in the fused data to distinguish the home and away teams from controlling the ball. In step S3043, use expert knowledge to mark the ball control flow, that is, use the three fields of "interception", "shooting" and "foul" as the signs of the end of the ball control flow, and divide the home and away teams' ball control flows according to the value of ball_control, that is, the ball_control values ​​of multiple consecutive needles are the same, and they are divided into one ball control flow when they end with any sign. In step S3044, define the ball control flow segments as different tactical scenarios, such as "low defense", "high pressure", etc., and mark the ball control flow segments according to the first half and the second half of the game time. In step S3045, extract the tracking data features such as player position, speed, ball position, speed, etc., and extract event data features such as event type, position, and related player information. In step S3046, high-level features describing the spatial position and tactical layout of players, balls and time on the field are constructed based on the extracted tracking data features and event data features. In step S3047, an automatic segmentation model is used to automatically segment different scene data segments based on the constructed high-level features to obtain each scene data segment and its corresponding starting frame number.

[0119] The following example 3 is used to illustrate the division of the ball control flow segments in step S3043:

[0120] Example 3: Assume that the value of ball_control is 1 for 15 consecutive frames, and "truncation" occurs in the 16th frame, then these 15 frames are classified as active ball control; if the value of ball_control jumps but does not exceed 5 frames, and then ball_control jumps back to the original value, and exceeds 10 frames (i.e. 1 second), it is still considered that the same team has control of the ball. For example, the value of ball_control is 1 for 10 consecutive frames, the value of ball_control is 0 for the 11th and 12th frames, and the value of ball_control after the 13th frame is 1, until a shot is made in the 20th frame, then these 10-20 frames are all controlled by the home team. In this way, the ball control flows of the home and away teams in a game are automatically divided, and the starting frame number of each ball control flow is recorded as frame. s , the ending frame number is recorded as frame e , frame s Corresponding to the group it is in, frame s Replaced with the group number mark, for example, if the starting frame number of a certain ball control flow is frame s is 51, and the group it belongs to is the 5th group, so frame s Replaced from 51 to 5; frame eThe same replacement is performed. Thus, the start and end time marks of the ball control actions of the home and guest teams can be obtained, and the corresponding ball control flow segments can be obtained according to the ball control segments and the start and end time marks.

[0121] In addition, for more detailed tactical scene segments, the embodiment of the present invention uses knowledge and data to drive the automatic division. This embodiment uses the automatic screening of the "low defense" scene as Example 4 to illustrate step S3044, but the specific scene division of this embodiment is not limited to the "low defense" scene, but also includes common tactical scenes such as "high pressure", "high pressing", and "counter pressure".

[0122] Example 4, using pre-acquired expert knowledge, that is, the definition knowledge of "low defense" by professional coaches and football analysts, the ball control flow segments are marked according to the game time of the first half and the second half. Specifically, the positions of the three defense lines of the home team and the away team, and the positions of the offensive and defensive players and the ball relative to the three defense lines are used to determine whether the screened home and away team ball control flows are in the "low defense" scenario, including the segments of the home team and the away team in "low defense", which are distinguished by the ball_control field, and finally all the ball control flow segments in the first half and the second half are marked.

[0123] In an optional embodiment, step S3046 constructs high-level features describing the spatial positions and tactical layout of players, balls, and time on the field of play based on the extracted tracking data features and event data features, as described in Example 5:

[0124] Example 5: A coordinate system is established with the lower left corner of the court as the origin. The position and velocity of the players are two-dimensional, and the position and velocity of the ball are three-dimensional. The coordinates of the home team players can be expressed as The speed is expressed as The coordinates of the visiting team players can be expressed as The speed is expressed as The coordinates of the ball can be expressed as b(x,y,z), and the speed of the ball can be expressed as v b (x,y,z). Based on the above information, the following five types of high-level features can be determined.

[0125] The first type of advanced features: using the absolute coordinates of the players and the ball, the relative distances between the players and between the players and the ball are constructed as the first type of advanced features;

[0126] The second type of advanced features: cluster the horizontal coordinates (x-axis coordinates) of the players and the ball to obtain three offensive and defensive lines, which are used as the second type of advanced features;

[0127] The third type of advanced features: reduce the dimensions of the coordinates of the players and the ball to obtain the positional relationship with the three lines of defense, which is used as the third type of advanced features;

[0128] The fourth type of advanced features: extract the event type field, the location where the event occurred, and the related players in the event data as the fourth type of advanced features;

[0129] The fifth type of advanced features: Calculate the relative distance (vertical distance) between the location where the event occurred and each defense line as the fifth type of advanced features;

[0130] It is worth noting that the above-mentioned construction of the fourth and fifth categories of high-level features is based on fused data. When there is a fused data group without event data (i.e., a group in which event data is not inserted in the grouped tracking data), the fourth and fifth categories of high-level features can be aligned with other data by filling 0. This is because the feature input dimensions of the model need to be consistent, for example, they are all 20-dimensional vectors or 3*3 matrices. If the input dimensions are of different lengths, the model cannot handle it. There are generally two ways to handle missing values ​​in the related art: (1) directly discard samples with missing values, and (2) fill them with data, which can be supplemented with mean, median, or specified number. In view of the problem to be solved in the embodiment of the present invention is to enrich the dimensions and information content of football data, it is chosen to fill them with data to ensure sufficient data volume for training subsequent models.

[0131] It is understandable that the first and fourth features constructed in Example 5 directly extract the original information from the tracking data, ensuring the accuracy of the data. The second, third, and fifth features construct advanced features on top of the basic information from different levels of abstraction to ensure the diversity of features. By constructing a variety of advanced features, it is possible to deeply explore the multi-dimensional information and potential associations in the basic data and improve the expressiveness of the data. The construction of advanced features does not only stay at the raw data level, but also further abstracts and extracts key tactical layouts and spatial relationships, greatly enriching the feature input of the model and improving the recognition ability of the model.

[0132] Step S305 , dividing the target game video into stages according to the different scene data segments and the corresponding starting frame numbers, to obtain a tactical scene division result.

[0133] Specifically, step S305 includes:

[0134] Step S3051, converting the starting frame numbers corresponding to different scene data segments into the starting time of the game tactics according to the time conversion format.

[0135] Step S3052, based on the start time of the game tactics, the target game video is divided into stages to obtain a tactical scene division result, wherein the tactical scene division result includes a plurality of marked associated information, and the marked associated information includes an association relationship between a video segment and a corresponding scene data segment.

[0136] For example, if the game video has 25 frames per second, the starting frame number of a ball control flow segment is 375 and the ending frame number is 500, and the segment is marked as a low-post defensive tactical scene, the frame number is converted into time. The start time of the game is 0 seconds, the starting frame number 375 is converted into 15 seconds, and the ending frame number 500 is converted into 20 seconds. The time range of the ball control flow segment is from 15 seconds to 20 seconds. Based on the above time range, the game video is divided into stages. In the game video, the part from 15 seconds to 20 seconds is the low-post defensive tactical scene, and the game video segment associated with this part is the video segment of the low-post defensive tactical scene.

[0137] This embodiment can accurately locate a specific tactical scene in a game video by converting the frame number into time. Each tactical scene includes labeled associated information, which helps football coaches and data analysts to more easily understand and evaluate the team's tactical execution.

[0138] This embodiment divides the game time into the first half and the second half according to the number of frames, and combines the ball possession status information to divide the target fusion data into ball possession flow segments to facilitate subsequent analysis and extraction of advanced features. Based on the preset tactical scene type, the ball possession flow segments are defined as corresponding scene labels to ensure more accurate analysis. By extracting tracking data features and event data features and constructing advanced features to ensure diversified feature input, the model can better understand the complex pattern relationships in the fused data and improve recognition accuracy, thereby being able to describe the overall tactical layout on the field, not limited to the analysis of a single player or event in related technologies.

[0139] In an optional embodiment, the automatic division model of typical football match scenes is a model obtained through pre-training, wherein the pre-training process includes: determining a basic training model according to the classification requirements of the football match tactical scenes; obtaining a football match scene data set, and pre-processing the data set and inputting it into the basic training model for iterative training to obtain the automatic division model of typical football match scenes.

[0140] It should be noted that the process of determining the basic training model specifically includes: determining the basic training model according to the classification requirements of football game tactical scenarios. Among them, the basic training model can be a deep neural network or a decision tree model (such as xGboost or LightGBM). The preprocessing of the data set can be data cleaning, feature extraction, etc. This embodiment provides the following two methods for iterative training, but is not limited to this:

[0141] First, when the basic training model is a deep neural network, the network parameter settings include the number of hidden layers of the network, the number of neurons in each hidden layer, the connection relationship between neurons in different layers, the activation function used by each neuron, the loss function of the entire neural network, the initialization input, the sample size for each batch of training, and the random seed of the training network. The training process includes inputting the preprocessed data set into the basic training model for iterative training to obtain an automatic segmentation model for typical football game scenes.

[0142] Second, when the basic training model is a decision tree model, the network parameter settings include the loss function, the number of layers of the decision tree, the number of leaf nodes, the maximum number of iterations, the value of the random seed, the number of samples classified by each leaf, and the weight of each sample. Other related parameters can be set using default values ​​or random values. The training process is also to input the preprocessed data set into the basic training model for iterative training.

[0143] It is worth noting that for deep neural networks, full connections are usually used between different layers. The activation function can be ReLU, LeakyReLU, sigmoid, tanh, etc., and depending on the amount of data and the number of network layers, appropriate selection needs to be made, with ReLU or LeakyReLU being used first.

[0144] The loss function is used to measure the difference between the predicted value and the true value. The smaller the difference, the stronger the prediction ability of the model. For classification tasks, cross entropy is generally selected as the loss function; for regression tasks, mean square error (MSE) is generally selected as the loss function. When setting tactical scene recognition as a classification task, cross entropy is preferably used as the loss function.

[0145] For decision tree models, the selection of related parameters such as the number of layers, the number of leaf nodes, the maximum number of iterations, and the number of samples classified by each leaf is determined according to the amount of data used in model training. Specifically, the default value when the interface is called is used as the initial value, or it is set based on experience and then adjusted according to the training effect of the model.

[0146] This embodiment uses a large number of football game scene data sets for training to enhance the pre-trained model's recognition ability for different scenes, and the trained automatic segmentation model can complete the recognition of complex football tactical scenes with less manual operation, reducing the possibility of errors in manual labeling, and facilitating continuous updating of iterative learning and sustainable model updating.

[0147] In this embodiment, the overall process of automatically dividing typical tactical scenes of football matches can be referred to Figure 2 , the tracking data, event data, and game information data are entered into the data alignment module for fusion, and the target fusion data output by the module is twice time-aligned with the game video. After the fused data is divided by the typical tactical scenario automatic division module, the coarse-grained results include the first half and second half time, the home and away team's ball possession flow, penalties and other information, and the fine-grained results include high-position pressure, high-position pressing, low-position defense, counter-pressure and other information. The coarse-grained and fine-grained results are analyzed with the game video clips, and finally the labeled data clips and video clips are obtained. There is a correlation between the divided data clips and video clips.

[0148] The overall process of high-level feature construction in this embodiment can be referred to Figure 3 , the fused data is labeled based on expert knowledge, and finally the preprocessed data containing three types of information: tracking data, event data, and category labels are obtained. At the same time, feature engineering is performed on the preprocessed data to construct five types of high-level features. The training set and validation set are obtained in proportion, and the parameters are set to apply for the network model or decision tree model for training according to the depth to obtain the final model, which can be used to divide different tactical scenarios.

[0149] In actual application, the final division result will package the video clips and the corresponding data clips and store them after marking the ID. When the coach or analyst finds or searches the corresponding tactical scene tags, he can obtain the corresponding data clips and video clips, and conduct post-match review in a more targeted manner, helping players analyze their technical and tactical performance and tactical effects in different tactical scenarios, and further improve their athletic performance and tactical deployment.

[0150] Specifically, search for tags through code commands to obtain specific tactical division scene display information, refer to Figure 4 , Figure 4 It is the information about the "low post defense" segment automatically divided from a certain game. Among them, ID represents the identification information of the tactical scene, possession_team represents the team in possession of the ball, start_time and end_time represent the start time and end time of the tactic respectively, indicating that during this period of time, the home team or the away team executed the "low post defense" tactic.

[0151] In the present embodiment, a device for dividing football match tactical scenes is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0152] This embodiment provides a device for dividing football game tactical scenes. Figure 5 As shown, including:

[0153] Data collection module 501, used to obtain the entire football match video and various types of game data;

[0154] A data alignment module 502 is used to align frames of various types of game data to obtain target fusion data;

[0155] A time synchronization module 503 is used to time-align the match video with the target fusion data to obtain the time-aligned match video as the target match video;

[0156] The model output module 504 is used to input the target fusion data into a preset typical football match scene automatic segmentation model to obtain different scene data segments and corresponding starting frame numbers; wherein the scene data segments represent football match scene segments of different granularities and stages;

[0157] The tactical scene division module 505 is used to divide the target game video into stages according to the different scene data segments and the corresponding starting frame numbers to obtain a tactical scene division result.

[0158] In an optional implementation, the multiple types of game data include: player data, event data, and tracking data. The data alignment module 502 specifically includes:

[0159] A matching unit is used to sequentially match the player data with the tracking data and the event data to confirm target tracking data and a plurality of target event data corresponding to the player data; wherein the tracking data represents the ball position and the player position in each frame of the tracking image within the tracking time range; and the event data represents the key events occurring in each frame of the event image within the entire game time range;

[0160] A time frame and frequency acquisition unit is used to acquire the time frame of the target event data and the frequency of the target tracking data; wherein the frequency of the target tracking data represents the time interval for tracking data collection;

[0161] a group marking unit, configured to group and mark the tracking data according to the frequency of the tracking data, so as to obtain a group set of target tracking data group marks, wherein each group in the group set includes the same preset number of time frames, and each time frame of each group has a corresponding tracking data segment;

[0162] The insertion fusion unit is used to insert all the target event data into the target tracking data according to the time frame of the target event data and the group set of the target tracking data grouping mark to obtain target fusion data.

[0163] In an optional embodiment, the insertion fusion unit specifically includes:

[0164] A group set search subunit is used to search for the group set of the target tracking data grouping mark in sequence according to the time of the target event data;

[0165] The data insertion subunit is used to delete the tracking data segment corresponding to the position of any time frame in the target group when the time of the target event data is found to exist in any target group in the group set marked by the target tracking data grouping, and to supplement the target event data to the position of the last time frame in the target group; until all the target event data are inserted into the target tracking data to obtain target fusion data.

[0166] In an optional implementation, the game data also includes game time, and the model output module 504 specifically includes:

[0167] A match time division unit, used for dividing the match time into a first half match time and a second half match time according to the number of frames;

[0168] A ball control state extraction unit, used to extract ball control state information corresponding to the target event data in the target fusion data;

[0169] a ball control flow segmentation unit, configured to segment the ball control flow segments in the target fusion data according to the ball control state information;

[0170] A scene label definition unit, used for defining a corresponding scene label for the ball possession flow segment based on a preset tactical scene type, a first half game time, and a second half game time;

[0171] The feature engineering unit is used to perform feature engineering on the ball control flow segments with scene labels, extracting tracking data features and event data features;

[0172] A high-level feature construction unit, configured to construct high-level features for the target fusion data according to the tracking data features and the event data features, wherein the high-level features are used to describe the spatial positions and tactical layouts of players, balls and time on the playing field;

[0173] The scene data segment generating unit is used to input the target fusion data after constructing the high-level features into a preset automatic segmentation model of typical football game scenes to obtain different scene data segments and corresponding starting frame numbers.

[0174] In an optional implementation, the tactical scenario division module 505 specifically includes:

[0175] A frame number conversion unit, used to convert the starting frame numbers corresponding to different scene data segments into the starting time of the game tactics according to the time conversion format;

[0176] The stage division unit is used to divide the target game video into stages based on the start time of the game tactics to obtain a tactical scene division result, wherein the tactical scene division result includes multiple marked related information, and the marked related information includes the association relationship between the video clip and the corresponding scene data clip.

[0177] In an optional embodiment, the automatic division model of typical football match scenes is a model obtained through pre-training, wherein the pre-training process includes: determining a basic training model according to the classification requirements of the football match tactical scenes; obtaining a football match scene data set, and pre-processing the data set and inputting it into the basic training model for iterative training to obtain the automatic division model of typical football match scenes.

[0178] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0179] The device for dividing the tactical scenes of a football match in this embodiment is presented in the form of functional units, where the units refer to ASIC (Application Specific Integrated Circuit) circuits, processors and memories that execute one or more software or fixed programs, and / or other devices that can provide the above functions.

[0180] The embodiment of the present invention also provides a computer device having the above Figure 5 The device for dividing the tactical scenes of a football match is shown.

[0181] See also Figure 6 , Figure 6 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 6 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.

[0182] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0183] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0184] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0185] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0186] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0187] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0188] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0189] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the claims.

Claims

1. A method for dividing football game tactical scenes, characterized in that: The method comprises: Get full-game video of football matches and various types of game data; Align the frames of various types of game data to obtain target fusion data; Time-aligning the match video with the target fusion data to obtain a time-aligned match video as the target match video; Input the target fusion data into a preset typical football match scene automatic segmentation model to obtain different scene data segments and corresponding starting frame numbers; wherein the scene data segments represent football match scene segments of different granularities and stages; According to the different scene data segments and the corresponding starting frame numbers, the target game video is divided into stages to obtain a tactical scene division result.

2. The method according to claim 1, characterized in that The various types of game data include: player data, event data, and tracking data. The multiple types of game data are frame-aligned to obtain target fusion data, specifically including: According to the player data, the tracking data and the event data are matched in sequence, the target tracking data and a plurality of target event data corresponding to the player data are confirmed; wherein the tracking data represents the ball position and the player position in each frame of the tracking image within the tracking time range; and the event data represents the key events occurring in each frame of the event image within the entire game time range; Acquire the time frame of the target event data and the frequency of the target tracking data; wherein the frequency of the target tracking data represents the time interval for collecting the tracking data; Grouping and marking the tracking data according to the frequency of the tracking data to obtain a group set of target tracking data grouping marks, wherein each group in the group set includes the same preset number of time frames, and each time frame of each group has a corresponding tracking data segment; According to the time frame of the target event data and the group set of the target tracking data grouping mark, all the target event data are inserted into the target tracking data to obtain target fusion data.

3. The method according to claim 2, characterized in that The step of inserting all the target event data into the target tracking data according to the time frame of the target event data and the group set of the target tracking data grouping mark to obtain target fusion data specifically includes: Searching for the group sets of the target tracking data grouping marks in sequence according to the time of the target event data; When it is found that the time of the target event data exists in any target group in the group set marked by the target tracking data grouping, the tracking data segment corresponding to the position of any time frame in the target group is deleted, and the target event data is supplemented and inserted into the position of the last time frame in the target group; until all the target event data are inserted into the target tracking data, the target fusion data is obtained.

4. The method according to claim 2 or 3, characterized in that: The game data also includes the game time. The target fusion data is input into a preset typical football game scene automatic segmentation model to obtain different scene data segments and corresponding starting frame numbers, specifically including: Dividing the game time into a first half game time and a second half game time according to the number of frames; Extracting ball control state information corresponding to target event data in the target fusion data; Dividing ball control flow segments in the target fusion data according to the ball control state information; Based on the preset tactical scene type, the first half game time and the second half game time, the corresponding scene label is defined for the ball possession flow segment; Perform feature engineering on the ball flow segments with scene labels to extract tracking data features and event data features; constructing high-level features for the target fusion data according to the tracking data features and the event data features, wherein the high-level features are used to describe the spatial positions and tactical layouts of players, balls and time on the playing field; The target fusion data after constructing the high-level features is input into a preset automatic segmentation model of typical football game scenes to obtain different scene data segments and corresponding starting frame numbers.

5. The method according to any one of claims 1 to 3, characterized in that The step of dividing the target game video into stages according to the different scene data segments and the corresponding starting frame numbers to obtain a tactical scene division result specifically includes: Convert the starting frame numbers corresponding to different scene data segments into the starting time of the game tactics according to the time conversion format; The target game video is divided into stages based on the start time of the game tactics to obtain a tactical scene division result, wherein the tactical scene division result includes multiple marked associated information, and the marked associated information includes the association relationship between the video clip and the corresponding scene data clip.

6. The method according to claim 1, characterized in that The automatic classification model for typical football match scenes is a model obtained through pre-training, wherein the pre-training process includes: determining a basic training model according to the classification requirements of the football match tactical scenes; obtaining a football match scene data set, and pre-processing the data set before inputting it into the basic training model for iterative training to obtain the automatic classification model for typical football match scenes.

7. A device for dividing football game tactical scenes, characterized in that: The device comprises: A data collection module, which is used to obtain the entire football match video and various types of match data; The data alignment module is used to align the frames of various types of game data to obtain target fusion data; A time synchronization module, used for time-aligning the match video with the target fusion data to obtain the time-aligned match video as the target match video; A model output module is used to input the target fusion data into a preset typical football match scene automatic segmentation model to obtain different scene data segments and corresponding starting frame numbers; wherein the scene data segments represent football match scene segments of different granularities and stages; The tactical scene division module is used to divide the target game video into stages according to the different scene data segments and the corresponding starting frame numbers to obtain a tactical scene division result.

8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for dividing football game tactical scenes according to any one of claims 1-6 by executing the computer instructions.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for dividing football game tactical scenes according to any one of claims 1-6.

10. A computer program product, characterized in that The method comprises computer instructions, wherein the computer instructions are used to enable a computer to execute the method for dividing football game tactical scenes according to any one of claims 1-6.

Citation Information

Patent Citations

  • Football match first publish prediction method based on hybrid model

    CN110222723A

  • Method and device for automatically generating football match shooting collections, equipment and computer readable storage medium

    CN110769178A

  • Method and system for automatically recording valid goals in football match, terminal and medium

    CN111797812A

  • Method, apparatus and device for automatically generating shooting highlights of soccer match, and computer readable storage medium

    US20220262119A1