A method for evaluating the musical expressiveness of figure skating movements

By extracting human joint features and music beat sequences in figure skating videos, performing segmentation processing based on action and music features, and inputting the action music expressiveness evaluation model, the problem in the existing technology that music expressiveness scoring is affected by human subjectivity is solved. More accurate scoring is achieved.

CN118193988BActive Publication Date: 2024-09-06CAPITAL UNIV OF PHYSICAL EDUCATION & SPORTS
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410584988.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-13
Publication Date
2024-09-06
Estimated Expiration
2044-05-13

AI Technical Summary

Technical Problem

In the existing technology, the scoring of music expression in figure skating competitions is greatly affected by human subjective factors, and the effect of machine learning applied to scoring technical movements is limited, making it difficult to accurately reflect the comprehensive performance of movements and music.

Method used

By acquiring figure skating video data, human body joint features and music beat sequences are extracted, combined with action and music features for segmentation processing, and the preset action music expressiveness evaluation model is input to obtain action music expressiveness scores, reducing the influence of human subjective factors.

Benefits of technology

It achieves accurate scoring of the musical expression of figure skating movements, which is more in line with the actual scoring rules and reduces the influence of human subjective factors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118193988B
    Figure CN118193988B
Patent Text Reader

Abstract

The present invention discloses a method for evaluating the musical expression of actions in figure skating, which relates to the field of action evaluation. The method comprises: obtaining target figure skating video data; extracting human joints and calculating human joint change rates in sequence for any picture frame in a picture frame set to obtain corresponding human action rhythm features; determining corresponding music beat sequences based on audio soundtracks; segmenting the target figure skating video data based on the music beat sequences, and determining the action music rhythm features corresponding to each figure skating segmented video data, and inputting the action music rhythm features into a preset action music expression evaluation model to obtain corresponding action music expression scores, and then determining the final action music expression scores corresponding to the target figure skating video data. The present invention integrates multimodal features in figure skating, and can efficiently obtain practical and accurate scores.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of action evaluation, and in particular to a method for evaluating the musical expressiveness of actions in figure skating. Background Art

[0002] In figure skating competitions, judges give scores based on the performance of the skaters. The scores have two components: one focuses on technical elements and the other focuses on musical expression. Currently, the main method is to manually score the skaters while watching. However, this method is greatly affected by human subjective factors. Although there are also applications of machine learning, most of them can only be used for scoring technical movements, which has application limitations and poor results. Summary of the invention

[0003] The purpose of the present invention is to provide a method for evaluating the musical expressiveness of movements in figure skating, which integrates multimodal features in figure skating and can efficiently obtain practical and accurate scores.

[0004] To achieve the above object, the present invention provides the following solution.

[0005] The present invention provides a method for evaluating the musical expressiveness of figure skating movements, comprising the following steps.

[0006] Target figure skating video data is obtained; the target figure skating video data includes a picture frame set and a corresponding audio soundtrack.

[0007] For any picture frame in the picture frame set, human body joint extraction and human body joint change rate calculation are performed in sequence to obtain corresponding human body motion rhythm features.

[0008] Based on the audio soundtrack, a corresponding music beat sequence is determined.

[0009] Based on the music beat sequence, the target figure skating video data is segmented, and the action music rhythm features corresponding to each figure skating segmented video data are determined; the action music rhythm features include human body action rhythm features and music rhythm features; the music rhythm features are determined based on the music beat sequence.

[0010] The action music rhythm features corresponding to each figure skating segment video data are respectively input into the preset action music expressiveness evaluation model to obtain the corresponding action music expressiveness score.

[0011] A final movement music expressiveness score corresponding to the target figure skating video data is determined according to the plurality of movement music expressiveness scores.

[0012] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects.

[0013] The present invention processes a set of picture frames in target figure skating video data to obtain corresponding human action rhythm features; determines the corresponding music beat sequence according to the audio soundtrack in the target figure skating video data, and then segments the target figure skating video data based on this, and determines the action music rhythm features corresponding to each figure skating segmented video data, so as to complete the integration of multimodal features (human action rhythm features and music rhythm features) in figure skating. The action music rhythm features corresponding to each figure skating segmented video data are respectively input into a preset action music expression evaluation model to obtain the corresponding action music expression score, and then the final action music expression score corresponding to the target figure skating video data can be determined. That is, the present invention integrates the human action and the corresponding music rhythm in the figure skating process, reduces the influence of human subjective factors on the scoring results, and compared with the evaluation relying solely on human action, the final action music expression score obtained by the present invention is more in line with the actual scoring rules and more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0015] Figure 1 The figure skating movement music expression evaluation method of the present invention is a schematic flow chart.

[0016] Figure 2 The figure skating video data is segmented according to the present invention.

[0017] Figure 3 This is a diagram of the internal structure of a computer device. DETAILED DESCRIPTION

[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.

[0019] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0020] like Figure 1 As shown, the present invention provides a method for evaluating the musical expressiveness of figure skating movements, comprising the following steps.

[0021] S100: Acquire target figure skating video data; the target figure skating video data includes a picture frame set and corresponding audio soundtracks.

[0022] S200: For any picture frame in the picture frame set, extract human body joints and calculate human body joint change rates in sequence to obtain corresponding human body motion rhythm features.

[0023] Among them, the human joint extraction is specifically to use open source three-dimensional monocular human skeleton key points to generate three-dimensional human skeleton points for each frame of action in the figure skating competition, that is, to obtain an extracted human joint set. The human joint set includes left shoulder, right shoulder, left elbow, right elbow, left hip, right hip, left knee and right knee. Based on the human joint set, the corresponding angles of each human joint can be exemplified by the following Table 1.

[0024] Table 1

[0025] Articulation Points Angle calculation Index v Left shoulder Left elbow-left shoulder-left hip 1 Right shoulder Right elbow-right shoulder-right hip 2 left elbow Left wrist-left elbow-left shoulder 3 right elbow Right wrist-right elbow-right shoulder 4 Left hip Left shoulder-left hip-left knee 5 Right hip Right shoulder-right hip-right knee 6 Left knee Left hip-left knee-left ankle 7 right knee Right hip-right knee-right ankle 8

[0026] The calculation formula for the angle of each human joint is as follows.

[0027] .

[0028] Where p represents the angle of any human joint, represents the vector from human joint O to human joint A, Represents a vector from human joint O to human joint B, where human joint A and human joint B are both another human joint adjacent to the human joint O.

[0029] The steps of calculating the human body joint change rate specifically include the following steps.

[0030] (1) Obtain a set of human joints extracted from any of the image frames; see above for details.

[0031] (2) Based on the set of human joints, calculate the angle of each human joint; see above for details.

[0032] (3) Based on the angles of each human joint in adjacent image frames, the human joint change rate is calculated. The calculation formula of the human joint change rate is shown in the following formula.

[0033] .

[0034] .

[0035] in, Represents the change rate of human joints in the picture frame at time t. When it is greater than a certain threshold, it indicates that the rhythm of human movement has changed; Represents the change data of the angle of each human joint in the picture frame at time t, Represents the change data of the angle of each human joint in the picture frame at time t-1; represents the angle of the vth human joint in the picture frame at time t, represents the angle of the vth human joint in the picture frame at time t-1; v is the index of each human joint; I represents the indicative function, when the independent variable is represented by x and x is greater than the threshold, I(x)=1, otherwise I(x)=0.

[0036] S300: Based on the audio soundtrack, determine the corresponding music beat sequence. The essence of music beat detection is: input a piece of music (waveform), and use an algorithm to find the time sequence of beats in the music (usually the start time of each section, which is usually also the heaviest moment of each section).

[0037] S300 specifically includes the following steps.

[0038] (1) Based on the audio soundtrack, calculate the envelope of each note; specifically, the method includes the following steps.

[0039] 11) Sampling the audio soundtrack to obtain a plurality of audio samples; specifically, re-sampling and calculating the audio soundtrack at a sampling rate of 8 kHz.

[0040] 12) Performing a short-time Fourier transform on each of the audio samples to obtain a linear frequency spectrum; specifically, performing a short-time Fourier transform with a time window of 32 ms and a step size of 4 ms to obtain a linear frequency spectrum, and this process can be implemented using open source software.

[0041] 13) Convert the linear frequency spectrum within the preset frequency band into a Mel spectrum; specifically, convert the linear frequency spectrum into a Mel spectrum within the range of 40 frequency bands, and this process can be implemented using open source software. The relationship between the frequency band of the Mel spectrum and the sound frequency is shown in the following formula.

[0042] .

[0043] Among them, m is the frequency band of the Mel spectrum, and f is the frequency of the sound.

[0044] 14) Performing a first-order difference on each frequency band in the Mel spectrum along the time axis, and setting negative values ​​in the difference results to zero and accumulating positive values ​​to obtain a final result.

[0045] 15) The final result is subjected to high-pass filtering and Gaussian filtering in sequence to obtain the envelope of each note. Based on the envelope, the starting time of each note in the audio soundtrack can be further determined. Among them, high-pass filtering is performed to filter out information below 0.4kHz to make it locally zero mean, and then smoothed with Gaussian filtering with a time window of 20ms, and finally the envelope of the note is obtained.

[0046] (2) Based on the envelopes of the multiple notes, the audio soundtrack is divided into multiple music sections; the music rhythm within each music section is consistent; the music rhythm generally refers to the number of beats per minute.

[0047] Specifically, local maxima are found on the envelope of the note, and the distance between local maxima is the time difference between different beats. The time difference is grouped according to the preset interval. If the maximum values ​​of two adjacent envelopes do not belong to the same group, it indicates that their rhythms are different, and the music is further divided into different sections.

[0048] (3) For any of the music segments, an autocorrelation coefficient algorithm is used to obtain the corresponding music rhythm, that is, to find the cycle period. Specifically, the function formula of the autocorrelation coefficient is as follows:

[0049] .

[0050] Among them, TPS(τ) is the autocorrelation coefficient of the music rhythm; τ is the delay time, which is a variable; O(t) represents the envelope of the note corresponding to time t, O(t-τ) represents the envelope of the note corresponding to time t-τ; W(τ) is the Gaussian weight coefficient, which is expressed as the following function.

[0051] .

[0052] Among them, τ0 is the default cycle size, σ τ represents the bias coefficient. Both of them are constants and can be set to 0.5 and 1.4 respectively.

[0053] When the TPS(τ) value is the maximum, the corresponding τ is the rhythm of the music segment.

[0054] (4) A dynamic programming algorithm is used to determine the music beat according to the music rhythm and the envelope of each note in the music segment; and a plurality of the music beats constitute a music beat sequence.

[0055] Specifically, the following dynamic programming objective function is defined.

[0056] .

[0057] Among them, C({t i}) represents the beat sequence {t i}, the beat sequence corresponding to the maximum target value is {t i} is the music rhythm of the music segment; N represents the number of music segments; O(t i ) represents the envelope of each note in the music segment; α is the preset weight ratio, which can be 0.5 according to experience; F(t i -t i-1 , τ p ) means {t i} and {t i-1 The time interval ∆t between them is determined by the musical rhythm τ p The function of the consistency between the corresponding ideal beat spacing, that is, it is used to measure the spacing between two adjacent beats and τ p The gap.

[0058] The actual expression of can be written as the following formula.

[0059] .

[0060] When τ is τ p , and ∆t and τ p The closer F(∆t, τ p ) is larger (closer to 0).

[0061] S400: Based on the music beat sequence, the target figure skating video data is segmented, and the action music rhythm features corresponding to each figure skating segmented video data are determined; the action music rhythm features include human body action rhythm features and music rhythm features; the music rhythm features are determined based on the music beat sequence.

[0062] It should be noted that due to the long duration of the game, the video (human body movements and music) needs to be segmented to reduce the amount of calculation and improve the accuracy of the matching calculation. Figure 2 As shown in Figure 1, based on the segmentation according to the music rhythm, time segments are extracted from each segment according to a fixed length, that is, non-overlapping time segments are generated. Among them, the first segment feature of the video, that is, the first human action rhythm feature, is recorded as D 1 , until the last N; the first feature of the audio, that is, the first music rhythm feature is recorded as M 1 , until the last N. s means that this time segment is the sth segment of the entire video.

[0063] After the previous step, we obtain non-overlapping time segments, each of which has the action rhythm feature D in the corresponding time period. s =[D i , D i+1, …, D j ] and music rhythm characteristics M s =[M i , M i+1 , …, M j ]. Among them, D s D i It represents D calculated by the formula of human joint change rate at time i t . M s is the indicative function, M i is the music rhythm τ of each music segment above p The indicative value of the composed time series within the time segment can be specifically expressed by the following formula.

[0064] .

[0065] S500: Inputting the action music rhythm features corresponding to each figure skating segment video data into a preset action music expression evaluation model to obtain a corresponding action music expression score.

[0066] The preset action music expression evaluation model includes a first long short-term memory sub-model, a second long short-term memory sub-model, a feature subtraction module and an attention module. The input end of the first long short-term memory sub-model is used to receive the human action rhythm feature; the input end of the second long short-term memory sub-model is used to receive the music rhythm feature; the output end of the first long short-term memory sub-model and the output end of the second long short-term memory sub-model are both connected to the input end of the feature subtraction module; the output end of the feature subtraction module is connected to the input end of the attention module; the output end of the attention module is used to output the action music expression score.

[0067] After initially constructing the above-mentioned preset action music expression evaluation model, it is trained. The goal of the training is to make the results obtained by the model as close to the labels as possible. The labels are the scores given by world-class referees to the music expression (Interpretation of the Music) of the actions of world-class athletes in world-class competitions. The training of the model updates the parameters of the model in a gradient descent manner, automatically extracting action and music features until the scoring results are close to the labels and the error is within the preset error range.

[0068] S600: Determine a final movement music expressiveness score corresponding to the target figure skating video data according to the plurality of movement music expressiveness scores, specifically using the following formula for calculation.

[0069] .

[0070] Among them, G represents the final action music performance score, Gi Indicates the performance score of action music, L i It should be noted that the output of the preset action music expression evaluation model is generally between 0 and 1, but the actual judges' scores are between 0 and 10, so a multiplier of 10 needs to be added to the formula to make the final action music expression score consistent with the actual score.

[0071] The present invention is only aimed at the situation of single skating, and has not yet considered the situation of pair skating. It is also aimed at the short program of 1.5 minutes and the free skating content of 3-4 minutes. The video images and the music played during the figure skating competition are used to evaluate the musical expression of the movements. The preset movement music expression evaluation model is used to output the score of the degree of conformity between the movement and the music, which simulates the "Interpretation of the Music" scoring of the referee in the figure skating competition.

[0072] In one embodiment, a computer device is provided. The computer device may be a database, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store pending transactions. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data processing method is implemented.

[0073] In one embodiment, a computer device is also provided, including a memory and a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the above-mentioned method for evaluating the musical expressiveness of figure skating movements when executing the computer program.

[0074] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method for evaluating the musical expressiveness of figure skating movements are implemented.

[0075] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps in the above-mentioned method for evaluating the musical expressiveness of figure skating movements.

[0076] It should be noted that the object information (including but not limited to object device information, object personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the object or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0077] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0078] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0079] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A method for evaluating the musical expressiveness of figure skating movements, characterized in that: Methods include: Obtain target figure skating video data; The target figure skating video data includes a set of picture frames and corresponding audio soundtracks; For any picture frame in the picture frame set, human body joint extraction and human body joint change rate calculation are performed in sequence to obtain corresponding human body motion rhythm features; Based on the audio soundtrack, determining a corresponding music beat sequence; Based on the music beat sequence, segmenting the target figure skating video data, and determining the action music rhythm feature corresponding to each figure skating video segment; The action music rhythm features include human action rhythm features and music rhythm features; the music rhythm features are determined based on the music beat sequence; Inputting the action music rhythm features corresponding to each figure skating segment video data into a preset action music expression evaluation model to obtain a corresponding action music expression score; A final movement music expressiveness score corresponding to the target figure skating video data is determined according to the plurality of movement music expressiveness scores.

2. The method for evaluating the musical expression of figure skating movements according to claim 1, characterized in that: The step of calculating the human joint change rate specifically includes: Obtaining a set of human body joints extracted from any of the image frames; Calculating the angle of each human joint according to the human joint set; Based on the angles of each human joint in adjacent image frames, the change rate of the human joints is calculated.

3. The method for evaluating the musical expression of figure skating movements according to claim 2, characterized in that: The calculation formula of the angle of each human joint is: ; Where p represents the angle of any human joint, represents the vector from human joint O to human joint A, represents a vector from human joint O to human joint B, where human joint A and human joint B are another human joint adjacent to the human joint O; The calculation formula of the human joint change rate is: ; ; in, Indicates the change rate of human joints in the picture frame at time t; Represents the change data of the angle of each human joint in the picture frame at time t, Represents the change data of the angle of each human joint in the picture frame at time t-1; represents the angle of the vth human joint in the picture frame at time t, represents the angle of the vth human joint in the picture frame at time t-1; I represents the indicative function.

4. The method for evaluating the musical expression of figure skating movements according to claim 1, characterized in that: Based on the audio soundtrack, determining a corresponding music beat sequence specifically includes: Based on the audio score, calculating the envelope of each note; Based on the envelopes of the multiple notes, the audio soundtrack is divided into multiple music sections; the music rhythm in each music section is consistent; For any of the music passages, an autocorrelation coefficient algorithm is used to obtain a corresponding music rhythm; A dynamic programming algorithm is used to determine the music beat according to the music rhythm and the envelope of each note in the music segment; a plurality of the music beats constitute a music beat sequence.

5. The method for evaluating the musical expression of figure skating movements according to claim 1, characterized in that: The preset action music expression evaluation model includes a first long short-term memory sub-model, a second long short-term memory sub-model, a feature subtraction module and an attention module; The input end of the first long short-term memory sub-model is used to receive the human body movement rhythm feature; The input end of the second long short-term memory sub-model is used to receive the music rhythm feature; The output end of the first long short-term memory sub-model and the output end of the second long short-term memory sub-model are both connected to the input end of the feature subtraction module; the output end of the feature subtraction module is connected to the input end of the attention module; the output end of the attention module is used to output the action music expression score.

6. The method for evaluating the musical expression of figure skating movements according to claim 4, characterized in that: Based on the audio score, the envelope of each note is calculated, specifically including: Sampling the audio soundtrack to obtain a plurality of audio samples; Performing short-time Fourier transform on each of the audio samples to obtain a linear frequency spectrum; Convert the linear frequency spectrum within a preset frequency band into a Mel spectrum; Performing a first-order difference on each frequency band in the Mel spectrum along the time axis, and setting negative values ​​in the difference results to zero and accumulating positive values ​​to obtain a final result; The final result is subjected to high-pass filtering and Gaussian filtering in sequence to obtain the envelope of each note.

7. The method for evaluating the musical expression of figure skating movements according to claim 4, characterized in that: The dynamic programming algorithm is used to determine the music beat according to the music rhythm and the envelope of each note in the music segment, specifically including: Define the following dynamic programming objective function: ; Among them, C({t i }) represents the beat sequence {t i }, the beat sequence corresponding to the maximum target value is {t i } is the music rhythm of the music segment; N represents the number of music segments; O(t i ) represents the envelope of each note in the music passage; α is the preset weight ratio; F(t i -t i-1 , τ p ) means {t i } and {t i-1 The time interval between them is determined by the musical rhythm τ p A function of the consistency between the corresponding ideal beat spacing.

Citation Information

Patent Citations

  • Scoring method and device for human body posture

    CN108509924A

  • Method and device for detecting motion accuracy and intelligent wearing device

    CN109446914A

  • Music-driven human skeleton dancing action generation system

    CN112700521A

  • Method and device for detecting user action based on music beats

    CN115346553A

  • Apparatus for recognizing dancing motion based music and method for operating the same

    KR101840014B1