Volleyball video event detection method and device based on deep learning strategy

Through the network of deep learning strategies, combined with single-stage target detection and human posture estimation, the problem of slow detection speed and insufficient accuracy in volleyball video event detection is solved, high-quality and efficient event detection is achieved, and detection efficiency and accuracy are improved. sex.

CN118552875AInactive Publication Date: 2024-08-27TIANJIN UNIVERSITY OF TECHNOLOGY
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410712475.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-08-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing technology has the problems of slow detection speed and insufficient accuracy in volleyball video event detection. In particular, due to the high computational complexity and suboptimal feature representation of traditional methods, event detection data suffers from lag and insufficient accuracy.

Method used

Using a network based on deep learning strategies, through three stages of shot segmentation and semantic annotation, target detection and event location, and event determination, combined with single-stage target detection and human posture estimation, global and local features are extracted to achieve high-quality and efficient volleyball Video event detection.

Benefits of technology

Significantly improves the response speed and quality of volleyball video event detection, and captures global and local features through the convolutional neural network, improving detection efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118552875A
    Figure CN118552875A
Patent Text Reader

Abstract

The invention provides a volleyball video event detection method and device based on a deep learning strategy, and belongs to the field of computer vision and volleyball image processing. Framing and semantic annotation are carried out on the video, so that help can be better provided for downstream tasks; the event positioning speed of the volleyball video can be increased by fusing a human body image of target detection and a key point image of human body posture estimation; valuable analysis information support can be provided for guidance of coaches by analyzing objective data in videos, so that the training level of athletes is improved. The invention provides a network based on a deep learning strategy for realizing high-quality and high-efficiency volleyball video event detection aiming at the current event detection which has certain hysteresis and accuracy, the model mainly uses a convolutional neural network, global and local features can be captured, the event detection speed is accelerated, and the detection efficiency is improved. The efficiency and quality of volleyball video event detection are effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method and device for detecting volleyball video events based on a deep learning strategy, and belongs to the field of computer vision and volleyball image processing. Background Art

[0002] With the development of technology, more and more information has gradually expanded from the original text to multimedia data forms that combine images, audio, and video. Video, as a comprehensive form of expression that includes text, images, and audio, allows users to obtain more detailed information from multiple aspects. It is also the most important type of information data studied in the field of data processing today. Therefore, applying deep learning algorithms to detect events in game videos in the field of volleyball has become a commonly used method.

[0003] Early volleyball video event detection mainly used traditional machine learning methods. Traditional machine learning methods use image prior information such as low rank, temporal correlation and other features, use matrix, tensor decomposition or Bayesian representation, and combine optimization algorithms to obtain the final fusion result. However, these traditional methods are limited by high computational complexity or suboptimal feature representation, which seriously affects their actual performance and applicability. Later, some people applied deep learning methods to volleyball video event detection. Compared with traditional machine learning methods, deep learning methods have shown excellent performance, with great improvements in accuracy and robustness.

[0004] In recent years, with the introduction of the concepts of single-stage target detection and human pose estimation, new ideas have been provided for video event detection. Single-stage target detection can save the time and space complexity of the early algorithm, while human pose estimation can annotate the pose of the target box containing the human body to facilitate the subsequent event detection and judgment. In the volleyball video event detection task, the attention to local and global information in space and the mining of event association information affect the efficiency and data quality of event detection. The current method cannot efficiently detect targets in images, resulting in a certain degree of lag and accuracy in event detection data. Summary of the invention

[0005] In view of the above problems, the purpose of the present invention is to provide a volleyball video event detection method and device based on deep learning strategy to improve the response speed and quality of event detection in volleyball videos. The present invention proposes a network based on deep learning strategy for high-quality and efficient volleyball video event detection. The introduction of single-stage target detection can efficiently detect objects in images. Combined with the human posture estimation mechanism, this method can make full use of human features in different images, effectively mine global and local features, and achieve high-quality and efficient volleyball video event detection.

[0006] To this end, the present invention adopts the following technical solution.

[0007] This application provides a volleyball video event detection method based on deep learning strategy, which can be divided into three stages: the first stage is the shot segmentation and semantic annotation stage, the second stage is the target detection and event location stage, and the third stage is the event determination stage. Specifically, it includes the following steps:

[0008] Shot segmentation and semantic labeling stage:

[0009] Input the target video, divide the video into different groups from the beginning to the end and extract the regrouped key frames;

[0010] In each group of key frames, redundant information is removed by extracting feature values ​​and simple and universal manual rules, and the semantic information of the video frames is annotated;

[0011] Object detection and event localization stage:

[0012] Selection and division of data sets,Since there are no volleyball video event detection images that can be directly used as training and verification images for the initial test of the model, the present invention uses existing open source data sets as training and verification images during training;

[0013] The images in the open source dataset are randomly selected according to a certain ratio and divided into training set and validation set;

[0014] Design the network structure based on the single-stage target detection algorithm and the human posture estimation algorithm, determine the number of input channels, output channels, convolution kernel size, step size and other parameters of each layer of the neural network, preset the appropriate anchor frame type and size, give the learning rate, set the learning rate change parameter, select the optimization function, and design the appropriate loss function;

[0015] The training images are packaged in batches from the training set and input into the shallow convolutional network related to target detection in the model network to extract the shallow feature map of target detection;

[0016] The shallow feature map of target detection is passed into a convolutional network composed of several serial and parallel connections to extract the deep feature part of target detection;

[0017] The obtained target detection feature maps are connected at the feature level, and the connected feature maps are aggregated and combined with the classification module to extract features of different target sizes through feature maps with different scaling ratios;

[0018] Input the feature map containing the target detection result into the shallow convolutional network related to human posture estimation to extract the shallow feature map of key points;

[0019] The shallow feature maps of key points are downsampled by n times, 2n times and 4n times respectively, and the low spatial resolution images are upsampled by 4n times, 2n times and n times respectively, and the images are fused and output at multiple scales;

[0020] Draw each key point on the original image to get the final output result instantly;

[0021] Calculate the loss of the output results and the true label information, and back-propagate to update the parameters of the network model;

[0022] Repeat the above steps for the specified number of training cycles, and finally select the model with the highest mean of average precision (mAP) and object keypoint similarity (OKS) of the test image as the optimal event detection model and save it for use;

[0023] Input the video frames in the previous stage into the trained neural network model for event detection to obtain the final event detection image;

[0024] Event determination phase:

[0025] Save the images obtained in the previous stage, determine the specific mapping relationship through the algorithm, analyze and statistically calculate the detected event information, and judge the events with higher constraints.

[0026] Furthermore, the present invention provides a device for implementing the above method, including a shot segmentation and semantic annotation module, which is used to segment the video shots, classify the shots and semantically annotate them by extracting feature values ​​and combining a decision tree;

[0027] It includes target detection and event location modules, which are used to input the video frames in the previous stage into the trained neural network model for event detection, so as to obtain the final event detection image;

[0028] It includes an event determination module, which is used to save the image generated in the previous stage to a local specified path to facilitate the subsequent acquisition of event information.

[0029] The technical effect of the present invention is: the present invention proposes a network based on deep learning strategy to achieve high-quality and efficient volleyball video event detection. The model mainly uses convolutional neural network, which can capture global and local features, and speed up the event detection speed, effectively improving the efficiency and quality of volleyball video event detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] 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.

[0031] Figure 1 A logical relationship diagram of a method for detecting volleyball video events based on a deep learning strategy provided by an embodiment of the present invention;

[0032] Figure 2 Three application areas for content analysis of volleyball video data;

[0033] Figure 3 A structural diagram of the second-stage target detection and gesture recognition module implemented in the present invention;

[0034] Figure 4 This is the structural diagram of the multi-scale upsampling module in the pose estimation part;

[0035] Figure 5 This is the structural diagram of the multi-scale downsampling 2x and downsampling 4x modules in the posture estimation part;

[0036] Figure 6 It is the predicted label map of some test video frame images;

[0037] Figure 7 Flowchart of the method for volleyball video event detection based on deep learning strategy. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] At present, with the introduction of the concepts of single-stage target detection and human posture estimation, new ideas are provided for video event detection. Single-stage target detection can save the time and space complexity of the early algorithm operation, while human posture estimation can mark the posture of the target frame containing the human body to facilitate the subsequent event detection and judgment. The specific implementation steps of the volleyball video event detection method based on deep learning strategy provided by the present invention are described in detail. See Attachment Figure 7, the method can be divided into three stages, the first stage is shot segmentation and semantic labeling; the second stage is target detection and event location, and the third stage is event determination, which is processed in the following stages in sequence:

[0040] Stage 1: Shot segmentation and semantic labeling.

[0041] Step 1: Input a volleyball video and perform shot segmentation on the video. A complete video can be divided into time-ordered images using a shot segmentation algorithm based on pixel comparison. The frame difference formula between two frames is:

[0042]

[0043] Among them, I k (x,y) and I k+1 (x, y) represents the brightness value of the kth frame and the k+1th frame at (x, y), M and N represent the height and width of the video frame, and the value of D(k, k+1) represents the change between the two frames. When the value of D(k, k+1) is greater than a certain threshold, it is considered that the two frames belong to two different shot groups.

[0044] Step 2: After dividing the video frames into different shot groups according to the above method, similar images in the same shot group are redundant. At this time, it is necessary to simplify the content of the shot group and represent a group of shot frames with a small number of key frames. Through the key frame extraction algorithm based on the shot boundary, a batch of key frames can be selected efficiently and with high quality; among the selected key frames, the middle frame is selected as the final key frame of the shot group.

[0045] Step 3: After the lens segmentation, the lens group is just a series of images for the computer, but the computer does not know what these images represent. Therefore, it is necessary to semantically label the key frames. This step extracts feature values ​​and combines decision trees to classify and semantically label the lenses. Specific video data content analysis areas include Figure 2 shown.

[0046] The first layer of the decision tree distinguishes between replay shots and non-replay shots. In general, a replay will first cut into a logo image, then replay the regular clips, and finally end with the logo image. Based on this, possible logo images are first extracted, and a template is generated using the extracted logo images. All images containing logos are detected using the template, and the content between two consecutive logo images is marked as a replay shot;

[0047] The second layer of the decision tree distinguishes whether it is a long shot or a medium shot, and uses the size of the field ratio (Playfieldration, PR) to semantically annotate the long shot and medium shot. Specifically: first calculate the chromaticity component interval of the field's main color, analyze and determine the PR threshold, then calculate the field ratio PR of each key frame in the non-playback shot group, and use the threshold to annotate the specific category of the frame;

[0048] The third layer of the decision tree is the annotation of close-up shots. The background of this image is relatively simple. The edge is extracted through the algorithm, and the ratio of edge pixels to the entire image is calculated to determine whether it is a close-up shot. The ratio of edge pixels in each frame is:

[0049]

[0050] Where ER(j) represents the edge pixel ratio of the jth frame in the shot to be detected, D 2 (j) represents the number of edge pixels obtained after edge extraction, and p and q represent the width and height of the video frame respectively.

[0051] Phase 2: object detection and event localization.

[0052] Step 1: Selection and division of data sets. Since there are no volleyball video event detection images that can be directly used as training and verification images for the initial test of the model, the present invention uses an existing open source data set as training and verification images during training. The data set should contain the location information of human body detection and human skeleton key point data.

[0053] Step 2: Randomly select images from the above open source dataset in a certain proportion and divide them into training set and validation set.

[0054] Step 3: Design the network structure based on the single-stage target detection algorithm and the human posture estimation algorithm, determine the number of input channels, output channels, convolution kernel size, step size and other parameters of each layer of the neural network, preset the appropriate anchor frame type and size, give the learning rate, set the learning rate change parameter, select the optimization function, and design the appropriate loss function. Figure 1 and Figure 3 As shown in Figure 1, this stage mainly consists of two parts, namely human target detection and human posture recognition. The human target detection part is introduced in detail below, and the human posture estimation part is introduced in detail in the subsequent steps.

[0055] The human target detection part is based on a single-stage target detection algorithm, which has shallow feature extraction and deep feature extraction. The specific process of the human detection algorithm is as follows:

[0056]

[0057]

[0058]

[0059] a. Shallow feature extraction is completed by combining the convolutional layer, batch normalization layer (BN) and LeakyRelu activation function.

[0060] b. Deep feature extraction consists of multiple convolutional layers connected in series and parallel. By presetting bounding boxes of different sizes at different scales, namely anchor box templates, anchor boxes of different scales are used in the subsequent deep feature extraction through different degrees of downsampling. The number of anchors is obtained by clustering the bounding boxes using the K-MEANS clustering algorithm on the data set. The IoU (Intersection over Union) mean is used as the calculation loss during clustering. The maximum IoU between the bounding boxes in each cluster and the anchors classified by each cluster is obtained through iteration, which is used to calculate the Euclidean distance between data objects:

[0061]

[0062] Where D represents the number of attributes of the data object; the cluster center update method in the K-MEANS clustering iteration process is:

[0063]

[0064] Among them, C k represents the kth cluster, |C k | represents the number of data objects in the kth cluster. There are generally two ways to terminate the K-MEANS algorithm in the iterative re-division of clusters and the update of cluster centers. One is to set the number of iterations T, and when the Tth iteration is reached, the iteration will be terminated. The cluster obtained at this time is the final clustering result; the other is to use the Sum of Squared Error Loss function, and the function model is:

[0065]

[0066] Among them, K represents the number of clusters. When the difference between two iterations of J is less than a certain threshold, the iteration is terminated and the cluster obtained at this time is the final clustering result.

[0067] Through K-MEANS clustering of the data set, three scale anchor templates are preset, and each anchor has three different width and height frames. When training the model, it is first scaled according to the scaling ratio (stride) of the corresponding feature scale, so that the anchor is used at the output feature scale; when verifying, the anchor is restored to the original image according to 1 / stride.

[0068] Taking into account that features of different scales can represent richer information, the present invention sets convolution kernels of different sizes for the deep feature extraction part of the model. Through a bottom-up feature extraction process, only one scale of input is used to create a feature pyramid (Feature Pyramid Network, FPN) with strong semantic features at all levels.

[0069] c. The loss function is mainly composed of three parts: target positioning offset loss L loc (t,g), target confidence loss L conf (o,c) and target classification loss L cla (O,C), that is, the total loss function is:

[0070] L(O,o,C,c,t,g)=λ 1 L conf (o,c)+λ 2 L cla (O,C)+λ 3 L loc (t,g)#(6)

[0071] Among them, λ 1 ,λ 2 ,λ 3 is the balance coefficient. For the target positioning loss L loc (t,g), using the Sum of Squared Error Loss function introduced above; for the target confidence loss L conf (o,c) uses binary cross entropy loss, namely:

[0072]

[0073] Among them i ∈{0,1}, indicating whether there is a real target in the predicted target bounding box i, Represents the Sigmoid probability of predicting whether there is a target in the target rectangle i; target classification loss L cla (o,c) also uses binary cross entropy loss, and its function is:

[0074]

[0075]

[0076] Among them ij ∈{0,1} indicates whether the jth type of target actually exists in the predicted target bounding box i, C ij Represents the Sigmoid probability that the network predicts that there is a target of type j in the target bounding box i.

[0077] Step 4: Perform feature-level connection on the obtained target detection feature map, aggregate the connected feature map with the classification module, and extract feature maps of different scaling ratios at different scales by applying the FPN module mentioned in the previous step.

[0078] Step 5: Input the feature map containing the human position information in the previous step into the shallow network of human posture estimation, and perform shallow feature extraction on the key points of the human skeleton. The human posture estimation part is built based on the key points of the human body, which is divided into shallow feature extraction and deep feature extraction. The shallow network is still composed of a convolutional neural network composed of a convolutional layer (Convolutional), a batch normalization layer (Batch Normalization, BN) and a LeakyRelu activation function.

[0079] Step 6: In the deep network of the human posture estimation part, the shallow feature map of the key points obtained will be downsampled by n times, 2n times and 4n times respectively, and the low spatial resolution image will be upsampled by 4n times, 2n times and n times respectively. The above operations are all implemented through the Stage structure, which specifically fuses information on different scales through a certain number of Basic Block modules for each scale branch. The output of each scale branch is mostly obtained by fusion of the outputs of all branches. For example, for the output of the downsampled 4 times branch, the output of the downsampled 4 times branch (without any processing at the same scale), the output of the downsampled 8 times branch is upsampled by 2 times, and the output of the downsampled 16 times branch is upsampled by 4 times. The output is added and LeakyRelU is used to obtain the fusion output of the downsampled 4 times branch.

[0080] a. The upsampling module directly amplifies the upsampled result by n times through a convolution layer with a convolution kernel size of 1×1, a BN layer and a nearest neighbor interpolation, such as Figure 4 As shown. The calculation formula of the nearest neighbor interpolation method is as follows:

[0081]

[0082] Among them, src x Indicates the x coordinate of the original image, src y Indicates the y coordinate of the original image, des x Indicates the x coordinate of the target image, des y Indicates the y coordinate of the target image, src w Indicates the width of the original image, src h Indicates the height of the original image, des w Indicates the width of the target image, des h Indicates the height of the target image. To ensure that the image matrix subscript does not exceed the boundary, the formula can be changed to the following:

[0083]

[0084] b. The downsampling module is more complicated to implement than the upsampling module. For each downsampling by 2 times, a convolutional layer with a kernel size of 3×3 and a stride of 2 must be added; for each module that needs downsampling, a convolutional neural network consisting of a convolutional layer, a BN layer, and a LeakyRelU activation function must be used instead of an ordinary convolutional layer, such as Figure 5 shown.

[0085] Step 7: Draw each predicted key point on the original image to get the final output result immediately. The prediction result is visualized using a heatmap. In the non-deep learning field, a heatmap simply aggregates a large amount of data and uses a gradient color to elegantly display it, so as to intuitively show the density or frequency of spatial data. In the field of deep learning, heatmaps help to understand the final classification decision made by the neural network for a certain part. The main way to generate heatmaps is Gaussian heatmaps. In this method, in order to ensure the proportion of the original image, the original image will be padded, and the position of the maximum value of the predicted information corresponding to each key point is calculated, that is, the position with the largest predicted score is used as the position of the predicted key point, and the coordinates of the key point on the original image can be obtained by mapping it back to the original image.

[0086] Step 8: Calculate the loss of the output result and the real label information, and back propagate to update the parameters of the network model. The total loss function in this method is the weighted sum of the loss functions in each stage. The loss function of the target detection stage has been described in the previous article. Now we will focus on the loss function of the human posture estimation part.

[0087] The loss in this part uses mean-square error (MSE). First, the coordinates of each key point in the original image are scaled to the heatmap scale. A heatmap with all values ​​0 is generated for each key point. Then, a two-dimensional Gaussian distribution is applied with the corresponding key point coordinates as the center to calculate the MSE loss. The MSE formula is:

[0088]

[0089] Where N is the number of training examples, p t is the t-th predicted label vector, and l is the target label vector.

[0090] Step 9: Repeat the above steps and train for the specified number of cycles. Finally, the model with the highest mean of Average Precision (mAP) and object keypoint similarity (OKS) of the test image is selected as the optimal event detection model and saved for use.

[0091] a. mAP is the average of the AP values ​​of all categories. AP can reflect the accuracy of each category's prediction. mAP is used to reflect the accuracy of the entire model. The larger the mAP, the larger the area enclosed by the PR (Precision-Recall) curve and the coordinate axis. It can be calculated by integration.

[0092] b. OKS represents the similarity between the predicted key points and the true key points. Its value range is between 0 and 1. The closer to 1, the higher the similarity. The calculation formula is:

[0093]

[0094] Among them, i represents the i-th key point; v i Indicates the visibility of the i-th key point; δ(x) means that when x is True, the value is 1, and when x is False, the value is 0; d i represents the Euclidean distance between the i-th predicted key point and the corresponding graph; s is the square root of the target area; k i Represents the decay constant used to control the key point category i.

[0095] Step 10: Input the video frames in the previous stage into the trained neural network model for event detection to obtain the final event detection image.

[0096] Phase 3: Event determination phase.

[0097] Step 1: Save the image generated in the previous stage to a specified local path to facilitate subsequent event information acquisition.

[0098] Step 2: Determine the specific mapping relationship through the algorithm, analyze and statistically calculate the detected event information, and judge the events with higher constraints.

[0099] (1) Run-up phase

[0100] a. Run-up speed: The two-step run-up method helps to better control the distance between the ball and the person. If the timing of the jump can be effectively grasped, the run-up speed and the jump-off height can be effectively taken into account. Here, it is proposed to use the horizontal displacement of the head to replace the movement of the whole body. The calculation method is the ratio of the head level to the time in the run-up phase. The formula is:

[0101]

[0102] Among them, t 1 Indicates the start-up preparation time, t 3 Indicates the moment when both feet touch the ground after stepping side by side. Indicates that the head is at t 1 The x-coordinate of the moment. Take the average of the x-coordinates of the nose, left eye, and right eye.

[0103] b. Stride length: Stride is an action that needs to be completed before both feet leave the ground. The stride length can fully reflect the explosive power of an athlete's lower limbs. The stride length is calculated by the time t after both feet touch the ground. 3 Left ankle 2 and the time before the step t 2 Left ankle 1 The Euclidean distance between them is:

[0104]

[0105] (2) Take-off phase: The take-off process consists of two parts: buffering and extension. The buffering phase starts when the athlete’s right foot touches the ground in the last step of the run-up, and ends when the knee joint angle is at its minimum. The extension phase starts when the knee joint angle is at its minimum, and ends when the foot leaves the ground.

[0106] a. Take-off time: The take-off time is composed of two parts: buffer time and stretch time. Choosing the right stretch time can ensure the vertical speed and effectively increase the height and distance of the take-off. The take-off time is the difference between the two action times.

[0107] For the same athlete, each take-off time will be recorded once and accumulated as the number of take-offs.

[0108] b. Knee joint angle: This method proposes that the angle formed by the neck joint and the knee as the vertex is the knee joint angle, with the hip joint as the center. Specifically, the length a of the side formed by the right hip and the neck joint, the length b of the side formed by the right hip and the right knee, and the length c of the virtual side formed by the neck joint and the right knee are calculated, and the knee joint angle is calculated by the cosine theorem.

[0109] Figure 6 This is a predicted labeling diagram of some test video frame images of the present invention, where the upper figure is the original video frame image, the middle figure is the human body detection image, and the lower figure is the human body key point image, where the key points are presented on the human body in the form of dots.

[0110] The present invention aims at the current problem of certain lag and accuracy in event detection. By framing and semantically annotating the video, it can better provide assistance for downstream tasks. By fusing the human body image of target detection and the key point image of human body posture estimation, it can speed up the event location speed of volleyball video. By analyzing the objective data in the video, it can provide valuable analysis information support for the coach's guidance, so as to improve the training level of athletes. In addition, the present invention uses a convolutional neural network, which can capture global and local features, speed up the event detection speed, and effectively improve the efficiency and quality of volleyball video event detection.

Claims

1. A method for volleyball video event detection based on deep learning strategy, the method comprising the following steps: Step 1: Input the target video, divide the video into different groups from the beginning to the end and extract the regrouped key frames; Step 2: Remove redundant information from each grouped key frame by extracting feature values ​​and simple and universal manual rules, and annotate the semantic information of the video frame; Step 3: Selection and division of data sets, using existing open source data sets as training and validation images during training; Step 4: Randomly select images from the open source dataset into training sets and validation sets according to a certain ratio; Step 5: Design the network structure based on the single-stage target detection algorithm and the human posture estimation algorithm, determine the number of input channels, output channels, convolution kernel size, and step length parameters of each layer of the neural network, preset the appropriate anchor frame type and size, give the learning rate, set the learning rate change parameter, select the optimization function, and design the appropriate loss function; Step 6: Pack the training images in batches from the training set and input them into the shallow convolutional network related to target detection in the model network to extract the shallow feature map of target detection; Step 7: Pass the shallow feature map of target detection into a convolutional network composed of several serial and parallel connections to extract the deep feature part of target detection; Step 8: Perform feature-level connection on the obtained target detection feature maps, aggregate the connected feature maps with the classification module, and extract features of different target sizes through feature maps with different scaling ratios; Step 9: Input the feature map containing the target detection results into the shallow convolutional network related to human posture estimation to extract the shallow feature map of key points; Step 10: Downsample the shallow feature maps of the key points obtained by n times, 2n times and 4n times respectively, and upsample the low spatial resolution images by 4n times, 2n times and n times respectively, and perform multi-scale fusion output on the images; Step 11: Draw each key point on the original image to get the final output result immediately; Step 12: Calculate the loss of the output result and the true label information, and back-propagate to update the parameters of the network model; Step 13: Repeat the above steps 1 to 12 for the specified number of training cycles, and finally take the model with the highest average accuracy of the test image and the highest similarity of the target key points as the optimal event detection model and save it for use; Step 14: Input the video frame in the previous stage into the trained neural network model for event detection, and obtain the final event detection image; Step 15: Save the image obtained in the previous stage, determine the specific mapping relationship through the algorithm, analyze and statistically calculate the detected event information, and judge the events with higher constraints.

2. The method for volleyball video event detection based on deep learning strategy according to claim 1 is characterized in that: Video framing is achieved by comparing the frame difference between two frames in the time dimension. The continuous video is divided into video frames by setting the frame difference threshold. The process is as follows: Among them, I k (x,y) and I k+1 (x, y) represents the brightness value of the kth and k+1th video frames at (x, y), M and N represent the height and width of the video frame, and the value of D(k, k+1) represents the change between the two frames.

3. The method for volleyball video event detection based on deep learning strategy according to claim 1, characterized in that: The semantic annotation of key frames is achieved by decision trees, and the process is to extract image feature values ​​under different lenses and combine them with decision trees to classify and semantically annotate the lenses.

4. The method for volleyball video event detection based on deep learning strategy according to claim 1, characterized in that: The deep feature extraction part of target detection consists of multiple convolution modules of different scales to identify and detect targets of different sizes. Large anchor boxes are used for large targets, and small anchor boxes are used for small targets to improve the accuracy of target detection. The number of anchor boxes is obtained by clustering through the K-MEANS clustering algorithm. The process is as follows: Where D represents the number of attributes of the data object, C k represents the kth cluster, |C k | represents the number of data objects in the kth cluster.

5. The method for volleyball video event detection based on deep learning strategy according to claim 1, characterized in that: The deep feature extraction part of human posture estimation is composed of the fusion output of multiple convolution modules of different scales. The multi-scale convolution consists of upsampling module, downsampling module and fusion convolution, which enables the model to extract richer and more diverse spatial features at different spatial scales. The process is as follows: Among them, src x Indicates the x coordinate of the original image, src y Indicates the y coordinate of the original image, des x Indicates the x coordinate of the target image, des y Indicates the y coordinate of the target image, src w Indicates the width of the original image, src h Indicates the height of the original image, des w Indicates the width of the target image, des h Represents the height of the target image. In order to prevent the image matrix subscript from crossing the boundary, a constant 0.5 is added. The downsampling module downsamples the image by stacking different numbers of convolution layers with a kernel size of 3×3 and a stride of 2, as well as other layers. The fused convolution is to fuse the results of different dimensions before output.

6. The method for volleyball video event detection based on deep learning strategy according to claim 1, characterized in that: When training the model, the model with the highest average accuracy of the test image and the highest similarity of the target key points is taken as the optimal event detection model and saved for use.

7. A device for the volleyball video event detection method based on deep learning strategy according to any one of claims 1 to 6, characterized in that: It includes a shot segmentation and semantic annotation module, which is used to segment videos and classify and semantically annotate shots by extracting feature values ​​and combining decision trees; It includes target detection and event location modules, which are used to input the video frames in the previous stage into the trained neural network model for event detection, so as to obtain the final event detection image; It includes an event determination module, which is used to save the image generated in the previous stage to a local specified path to facilitate the subsequent acquisition of event information.

Citation Information

Cited By

  • Volleyball match real-time tactical analysis system

    TWI913186B