Rating determination method, device, electronic device and storage medium

By collecting user images and matching video images during video playback, and scoring based on the images within the scoring time point, the problem of users being unable to rate quickly is solved, the device power consumption and resource consumption are reduced, and the user experience is improved.

CN114513694BActive Publication Date: 2024-09-20PINGAN INT SMART CITY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210145089.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-17
Publication Date
2024-09-20
Estimated Expiration
2042-02-17

AI Technical Summary

Technical Problem

The existing technology cannot quickly score when the user follows the video actions, causing the user to lose interest. At the same time, the device consumes high power and resources.

Method used

By collecting user images and matching video images during video playback, scoring is performed based on the images within the scoring time point, and the scoring results are displayed to reduce device power consumption and save resources.

Benefits of technology

It realizes the display of scoring results in a short time, increases user interest, reduces device power consumption, and saves image processing resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114513694B
    Figure CN114513694B
Patent Text Reader

Abstract

The embodiment of the present application provides a scoring determination method, device, electronic device and storage medium, including: during the target video segment of the target video is played on the first interface, the target animation matching the target video segment is played on the first interface; the collected user image is displayed on the first interface; the scoring result corresponding to each scoring time point is determined according to the user image collected within the first time range before each scoring time point and the video image matching the user image collected within the first time range, and the scoring result corresponding to each scoring time point is displayed on the first interface when each scoring time point is reached; after the target video is played, the comprehensive scoring result is displayed on the first interface, which can save device resources. The present application relates to blockchain technology, such as the target animation can be written into the blockchain for use in scenarios such as obtaining the target animation matching the target video segment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a scoring determination method, device, electronic device and storage medium. Background Art

[0002] At present, with the development of Internet technology, human-computer interaction is becoming more and more mature. For example, users can make corresponding actions according to the prompt actions in the video, which can help users achieve fitness while exercising. In the process of making corresponding actions following the video, users cannot know the score of their actions in accordance with the prompt actions in the video, which may cause users to lose interest quickly. Therefore, it is necessary to score the user's actions as the user follows the prompt actions, but in the prior art, it is necessary to continuously collect user images and corresponding video images for comparison and scoring. This process requires a large amount of power consumption for the device and requires more resources to process the image. Summary of the invention

[0003] The embodiments of the present application provide a scoring determination method, apparatus, electronic device, and storage medium, which can reduce the power consumption of the device and save resources required for image processing.

[0004] In one aspect, an embodiment of the present application provides a method for determining a score, the method comprising:

[0005] Play the target video on the first interface;

[0006] During the playing of the target video segment of the target video, a target animation matching the target video segment is played on the first interface, the target video segment being any one of the multiple video segments included in the target video, and the target animation being configured with at least one scoring time point;

[0007] During the playback of the target video clip, calling a camera device to capture a user image, and displaying the user image on the first interface; the frame rate of the target video is consistent with the frame rate of the camera device capturing the user image;

[0008] Determine a scoring result corresponding to each scoring time point according to a user image collected within a first time range before each scoring time point and a video image matching the user image collected within the first time range, and display the scoring result corresponding to each scoring time point on the first interface when each scoring time point arrives, wherein the video image is included in the target video segment;

[0009] After the target video is played, a comprehensive scoring result is determined according to the scoring results corresponding to each scoring time point configured for each of the multiple animations corresponding to the target video, and the comprehensive scoring result is displayed on the first interface. The multiple animations corresponding to the target video include animations that match each of the multiple video clips.

[0010] In a second aspect, an embodiment of the present application provides a scoring display device, the device comprising:

[0011] A processing unit, used for playing the target video on the first interface;

[0012] The processing unit is further configured to play a target animation matching the target video segment on the first interface during the playing of the target video segment of the target video, wherein the target video segment is any one of the multiple video segments included in the target video, and the target animation is configured with at least one scoring time point;

[0013] The processing unit is further configured to call a camera device to capture a user image during playback of the target video segment, and display the user image on the first interface;

[0014] The processing unit is further used to determine the scoring result corresponding to each scoring time point according to the user image collected within a first time range before each scoring time point and the video image matching the user image collected within the first time range;

[0015] A display unit, configured to display, on the first interface, a scoring result corresponding to each scoring time point when each scoring time point arrives; the video image is included in the target video segment;

[0016] The processing unit is further configured to determine a comprehensive scoring result after the target video is played, according to the scoring results corresponding to each scoring time point configured for each of the multiple animations corresponding to the target video, wherein the multiple animations corresponding to the target video include animations matching each of the multiple video clips;

[0017] The display unit is also used to display the comprehensive scoring result on the first interface.

[0018] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the processor and the memory are connected to each other, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the above-mentioned scoring determination method.

[0019] On one hand, an embodiment of the present application provides a computer-readable storage medium, in which program instructions are stored. When the program instructions are executed, they are used to implement the above-mentioned scoring determination method.

[0020] On the one hand, an embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. When the computer instructions are executed by a processor of an electronic device, the above-mentioned scoring determination method is executed.

[0021] In an embodiment of the present application, an electronic device can play a target video on a first interface; during the playback of a target video segment of the target video, a target animation matching the target video segment is played on the first interface, the target video segment is any one of a plurality of video segments included in the target video, and the target animation is configured with at least one scoring time point; during the playback of the target video segment, a camera device is called to capture a user image, and the user image is displayed on the first interface; a scoring result corresponding to each scoring time point is determined based on the user image captured within a first time range before each scoring time point and a video image matching the user image captured within the first time range, and when each scoring time point is reached, the scoring result corresponding to each scoring time point is displayed on the first interface; the video image is included in the target video segment; after the playback of the target video ends, a comprehensive scoring result is determined based on the scoring results corresponding to each scoring time point configured for each of the plurality of animations corresponding to the target video, and the comprehensive scoring result is displayed on the first interface, the plurality of animations corresponding to the target video include animations matching each of the plurality of video segments. Through the evaluation determination method provided in the embodiment of the present application, the corresponding scoring result can be displayed when each scoring time point in the animation is reached, and the scoring result can be displayed in a short time to increase the user's interest. At the same time, the user's score within a period of time can be obtained by scoring based on the user image collected within the first time range and the video image matching the user image, without the need to continuously obtain the user image and the video image matching the user image for comparison, which can reduce the power consumption of the device and save the resources required for processing the image. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0023] Figure 1It is a schematic diagram of the architecture of a scoring determination system provided in an embodiment of the present application;

[0024] Figure 2 It is a flowchart of a scoring determination method provided in an embodiment of the present application;

[0025] Figure 3a It is a schematic diagram of a first interface displaying a target video clip and a target animation provided by an embodiment of the present application;

[0026] Figure 3b It is a flow chart of displaying corresponding scoring results at a scoring time point provided by an embodiment of the present application;

[0027] Figure 3c This is a schematic diagram of displaying the next video segment of a target video segment on a first interface provided by an embodiment of the present application;

[0028] Figure 4 is a structural schematic diagram of a scoring determination device provided in an embodiment of the present application;

[0029] Figure 5 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0031] The embodiments of the present application can process user images or video images based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0032] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0033] With the development of Internet technology, human-computer interaction is becoming more and more mature. Users can choose their favorite videos and follow the prompts in the video to make the same movements, so that users can play a role in fitness. However, at present, it is mainly limited to users following the prompts in the video to exercise, and it is impossible to evaluate the user's movements in a short time and display the evaluation results. In view of the shortcomings of the prior art, the embodiment of the present application provides a scoring display scheme, and the general principle of the scoring display scheme is as follows: when the user wants to exercise with the video, first the user can choose the video he likes, and accordingly, the electronic device can detect the trigger operation for the target video and play the target video on the first interface. Then during the target video segment of the target video, the target animation matching the target video segment can be played simultaneously in the first interface, and the target animation is configured with at least one scoring time point. The target animation can be used to control the scoring time point for scoring the user's action, and at the same time, the target animation can also be used to control the display of the scoring result and the perfect card point of the sound effect of the scoring result at the scoring time point. Then when playing the target video segment, the user can follow the prompt action in the target video segment to exercise, and at this time, the camera device can collect the user image of the user and display the collected user image in the first interface. While collecting the user image, the electronic device can obtain the video image displayed in the first interface. Optionally, the target video frame rate and the frame rate at which the camera collects the user image can be dynamically configured to achieve that the collected user image and the video image matching the user image are at the same time point, which helps to determine the scoring result of the user action at the same time point based on the user image and video image obtained at the same time point, and obtain a more accurate scoring result.

[0034] Then, before any scoring time point arrives, the electronic device can analyze the user image and the displayed video image collected in the first time range before any scoring time point, determine the user's scoring result within the first time range, and display the scoring result corresponding to any scoring time point on the first interface when any scoring time point arrives. Among them, the process of analyzing the user image and the displayed video image collected in the first time range before any scoring time point is: analyzing the user posture of the user according to the user image and the displayed video image collected at each time point in the first time range. After the target video segment is played, the next video segment of the target video segment can be played in the first interface and the animation matching the next video segment can be played until the target video is played. After the target video is played, the comprehensive scoring result is displayed on the first interface or the second interface. The comprehensive scoring result is determined according to the scoring results corresponding to each scoring time point configured for each animation in the multiple animations, and each animation matches any video segment in the multiple video segments.

[0035] The scoring display scheme provided by the embodiment of the present application has the following beneficial effects: (1) Every time a video clip is played, when the scoring time of the animation configuration corresponding to the video clip arrives, the scoring result can be displayed at the scoring time point, realizing the short-time display of the scoring result, ensuring that the user can know his / her own scoring result and avoiding the user from paying attention to his / her own score all the time. (2) Scoring based on the user image collected within the first time range and the video image matching the user image can also obtain the user's scoring result within a period of time, without the need to continuously obtain the user image and the video image matching the user image for comparison, which can reduce the power consumption of the device and save the resources required for image processing. (3) The frame rate of the target video is consistent with the frame rate of the user image collected by the camera device, solving the problem of the different frame rates of the video frame rate and the frame rate of the collected user image, which can help the user image collected within the first time range and the displayed video image to correspond to a time point, making the scoring result determined by the user image collected within the first time range and the displayed image more accurate. At the same time, when the processing time of the camera device for the user image is reduced as much as possible, the video image played at the scoring time point can be visually synchronized with the displayed user image. Among them, reducing the image processing time can reduce the saturation and color processing time of the image.

[0036] Based on the rating display scheme, the present application embodiment provides a rating display system, see Figure 1, the scoring display system may include at least one terminal device 101 and at least one server 102. The terminal device 101 is equipped with a camera device, through which the user image can be collected. The camera device can be a camera component of the terminal device. In this case, the terminal device 101 is also equipped with a camera. Optionally, the terminal device 101 can provide a video playback interface for the user, and the video playback interface can play various types of videos including multiple video clips, and simultaneously play the animation corresponding to each video clip in the video playback interface. The terminal device 101 can display the collected user image in the video playback interface, and display the scoring result at each scoring time point. The server 102 can store various types of videos, each video can include multiple video clips and the animation corresponding to each video clip, the scoring result, etc. Among them, the terminal device 101 and the server 102 can be directly or indirectly connected via wired or wireless communication. The terminal device 101 can be a smart device such as a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile internet device (MID), a wearable device, etc. The above-mentioned server 102 may include multiple servers (also referred to as nodes), which may be independent physical servers or cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), as well as big data and artificial intelligence platforms.

[0037] Based on the above rating display scheme, see Figure 2 , Figure 2 A schematic flow chart of a scoring determination method provided in an embodiment of the present application, the scoring determination method may be executed by an electronic device, the electronic device may be the terminal device 101 or the server 102 in the above-mentioned scoring display system, and the scoring determination method may include the following steps S201-S205:

[0038] S201: Play a target video on the first interface, wherein the target video may be a dance video, a fitness video, etc.; the target video may include multiple video clips.

[0039] In one embodiment, the electronic device may provide a video play selection interface, which may be an interface that can select a video to play when the electronic device is provided; or different types of applications are running on the electronic device, and the video play selection interface may be a video play selection interface in a target application, wherein the target application may be a fitness APP (application), a dance APP, etc. Multiple videos are displayed in the video play selection interface. The user may select a target video that he / she likes in the video play selection interface. When the electronic device detects that a target video among multiple videos is selected, the target video is played in the first interface. The user may select a target video that he / she likes in the video play selection interface by single-clicking, double-clicking, or voice, etc. For example, when the user inputs "play target video" by voice, the electronic device may perform semantic analysis on the "play target video" input by voice, and select the target video based on the voice analysis result. The first interface may be a video play selection interface or the first interface may be another video play interface. When the first interface is another video play interface, when the electronic device detects that a target video among multiple videos is selected, the electronic device may switch from the video play selection interface to the first interface, and play the target video in the first interface.

[0040] In one embodiment, the video play selection interface includes multiple videos with corresponding rating results. After entering the video play selection interface, the electronic device can automatically select the target video with the highest rating and play the target video on the first interface. Playing the target video with the highest rating can help users challenge the target video with the highest rating, which increases the fun.

[0041] S202: During the playback of the target video segment of the target video, a target animation matching the target video segment is played on the first interface, the target video segment is any one of the multiple video segments included in the target video, the target animation is configured with at least one scoring time point, and each video segment corresponds to an animation. The target video segment includes a standard prompt action, and the target video segment is used to prompt the user to follow the standard prompt action to perform an exercise.

[0042] In a specific implementation, each video can be divided into multiple video clips. After executing step S201, the first interface includes a shooting button. When the user clicks the shooting button, the electronic device can play multiple video clips of the target video in chronological order when detecting the click operation on the shooting button. When the target video clip of the target video is played, the target animation matching the target video clip can be obtained from the local storage space. Alternatively, the user can select the target video clip to be played from multiple video clips. When the electronic device detects that the target video clip among the multiple video clips is selected, the target animation matching the target video clip can be obtained; and during the playing of the target video clip of the target video, the target animation is played on the first interface.

[0043] In one embodiment, the target video clip may be played at a first position in the first interface, and the first position may be any position in the first interface; for example, Figure 3a In the example, the target video clip is played at the upper left corner. The target animation can be played at the second position in the first interface, and the second position can be any position of the first interface, such as the upper left corner, the middle position, the right position, etc. of the first interface. Figure 3a The target animation plays at the bottom of the first interface.

[0044] In one embodiment, the electronic device may evenly divide the target video into multiple video segments according to the play time of the target video, and the play time of each video segment is the same. Alternatively, the electronic device may randomly divide the target video into multiple video segments according to the play time of the target video; or, if the target video includes multiple standard prompt actions, the electronic device may divide the target video into multiple video segments according to the multiple standard prompt actions in the target video, and each video segment includes one standard prompt action.

[0045] After dividing the target video segment into multiple video segments, the electronic device can display a second interface, which can include multiple video segments of the target video. In response to the animation configuration operation of the target video segment in the multiple video segments, a third interface can be displayed, which includes a candidate animation set; wherein the candidate animation set can include one or more animations. The target video segment corresponds to an animation configuration button, and the animation configuration operation can be an operation such as single-clicking or double-clicking the animation configuration button, or the animation configuration of each video segment will correspond to a fixed gesture, and the animation configuration operation can be an operation of inputting a corresponding gesture, such as an M gesture, an OK gesture, etc. Then the user inputs the corresponding gesture, and the electronic device can respond to the animation configuration operation of the target video segment in the multiple video segments. When the animation selection operation for the candidate animation set is detected, the selected animation is determined as the target animation, and in response to the scoring time configuration operation for the target animation, at least one scoring time point is configured for the target animation. Among them, the animation selection operation can be single-clicking or double-clicking a certain animation. Each animation corresponds to a scoring time configuration button, and the scoring time configuration operation of the target animation can be single-clicking or double-clicking the scoring time configuration button. The playback duration of the target animation can be consistent with the playback duration of the target video clip, that is, the playback life cycle of the target animation is the same as the playback life cycle of the target video clip. Specifically, at least one scoring time point can be configured in the target animation according to the scoring requirements, and the scoring results can be displayed at each scoring time point later. Then, when it is detected that multiple video clips have completed the configuration of the corresponding animation, each video clip and the corresponding animation can be associated and stored, and saved to the local storage space of the electronic device, or each video clip and the corresponding animation can be associated and stored and saved to the blockchain network. Setting a corresponding animation for any video clip in multiple video clips can be implemented according to the specific implementation method of setting a corresponding target animation for the target video clip. At this time, the animation content in the target animation can be a standard prompt action in the target video clip; or the animation content in the target animation can be scenery, animals, etc.

[0046] In one embodiment, when an animation selection operation for a candidate animation set is detected, a specific implementation method of determining the selected animation as the target animation may be: when an animation selection operation for a candidate animation set is detected, the animation selection operation may be used to select a corresponding animation from the candidate animation set, and the selected animation may be determined as the target animation. The animations included in the candidate animation set may include playback duration and animation content, and the animation selection operation may be generated based on the playback duration and animation content of the target video segment. That is, when selecting a corresponding animation for a target video segment, the playback duration and animation content of the target video segment will be considered.

[0047] In one embodiment, a second interface is displayed, which includes multiple video clips of the target video; in response to an animation configuration operation on a target video clip among the multiple video clips, a standard user action (i.e., a standard prompt action) in the target video clip is identified, and a corresponding target animation is configured for the target video clip based on the standard user action; in response to a scoring time configuration operation on the target animation, at least one scoring time point is configured for the target animation.

[0048] Among them, in response to the scoring time configuration operation for the target animation, configuring at least one scoring time point for the target animation can be: in response to the scoring time configuration operation for the target animation, one or more scoring time points are randomly set according to the play time of the target animation, or one or more scoring time points can be set on average according to the play time of the target animation. For example, if the play time of the target animation is 1 minute, the 5th second and the 10th second can be set as the scoring time point; or a scoring time point can be directly set, that is, 30 seconds can be set as the scoring time point, or the 60th second can be set as the scoring time point, and so on. In one embodiment, each video clip corresponds to an animation, and at least one scoring time point set for each animation can be the same or different. It should be noted that the play time of each video clip can be understood as the play life cycle of the video clip. When the play life cycle of any video clip ends, it means that the next video clip can be played.

[0049] S203: During the playback of the target video segment, calling a camera device to capture a user image, and displaying the user image on the first interface.

[0050] In one embodiment, the frame rate of the target video can be dynamically adjusted to be consistent with the frame rate of the user image collected by the camera device, so as to solve the problem that the frame rate of the video frame rate and the frame rate of the user image collected are different, which can be conducive to the user image collected within the first time range and the video image matching the user image collected within the first time range corresponding to a time point, so that the user image collected within the first time range and the video image determined by the image are more accurate, and at the same time, when the processing time of the camera device for the user image is reduced as much as possible, the video image played at the scoring time point can be visually synchronized with the displayed user image. Among them, the frame rate of the target video refers to the playback frame rate of the target video, that is, the playback frame rate refers to the number of frames displayed per second, and the frame rate of the user image collected by the camera device refers to the number of frames collected by the camera device per second. If the camera device collects 30 frames in 1 second, the frame rate of collecting the user image can be 33 milliseconds to collect 1 frame, etc. Optionally, for different types of camera devices, the camera device may collect different frame rates of user images. In this case, the frame rate of the target video will also change with the frame rate of the user image collected by the camera device. The target video clip can be composed of multiple frames of user images.

[0051] In one embodiment, the electronic device determines the time required from capturing the first user image to displaying the first user image, and then automatically adjusts the internal parameters of the camera device according to the required time. By adjusting the internal parameters, the processing time of the camera device for image saturation, color, image de-shaking, denoising, etc. can be reduced, thereby shortening the processing time of the captured user image, and effectively ensuring that the user image currently displayed on the first interface and the displayed video image matching the user image are consistent in time and vision.

[0052] In one embodiment, if the target video is played at 1 frame per second, the target video segment of the target video is also played at 1 frame per second. Assuming that the user image captured at the 4th second needs to be compared with the video image displayed at the 4th second, at this time, it is necessary to obtain the video image displayed at the 4th second, and use the camera device to capture the user's image at the 4th second, and then compare the displayed video image with the captured user image before scoring. But it is obvious that if the target video has a playback frame rate of 1 frame per second, it cannot match the frame rate of the camera (30 frames per second). The video image displayed at the 4th second and the captured user image cannot correspond to each other. At the same time, the standard prompt action in the target video clip will also look visually inconsistent with the scoring animation and sound effects when the scoring result is displayed. Therefore, the best way to solve this problem is to make the playback progress callback time granularity of the video player more detailed, and set the frame rate of the target video to the frame rate of the camera device. For example, if the camera device has 30 frames per second, that is, it captures one frame in 33 milliseconds, then the frame rate of the target video is also set to capture one frame in 33 milliseconds. This ensures that the displayed video image is compared with the user image captured by the camera device under the premise of only 1 frame (33 milliseconds) difference each time, and a more accurate comparison result can be obtained. At the same time, it can also ensure that the standard prompt action in the user image and the user image action are the same action visually, and the synchronization of scoring and sound effects can also be ensured to improve the experience. In the specific implementation, the frame rate of the target video will be adjusted according to the frame rate of the user image captured by different types of camera devices. Before the target video is played on the first interface, the electronic device can dynamically adjust the frame rate of the target video to the frame rate of the user image captured by the camera. Specifically, before the target video is played on the first interface, a configuration request for the frame rate of the target video can be received, and the electronic device obtains the initial frame rate of the target video and the frame rate of the user image captured by the camera based on the configuration request; then, it is determined whether the initial frame rate of the target video is consistent with the frame rate of the user image captured by the camera; when it is determined that the initial frame rate of the target video is inconsistent with the frame rate of the user image captured by the camera, the electronic device updates the initial frame rate of the target video to the frame rate of the user image captured by the camera, and obtains the updated frame rate of the target video; and determines the updated frame rate of the target video as the frame rate of the target video. When it is determined that the initial frame rate of the target video is consistent with the frame rate of the user image captured by the camera, there is no need to modify the initial frame rate of the target video.

[0053] In one embodiment, the user can make corresponding actions according to the standard prompt actions in the target video clip, and the electronic device can call the camera device to capture the user image, and the user image includes the user posture of the user following the standard prompt actions to make corresponding actions. The camera device can be a camera component of the electronic device, such as a camera, a camera, etc.; or the camera device is a camera device dedicated to filming, such as a video camera. After capturing the user image, the electronic device can display the user image at a target position in the first interface. The target position can be any position in the first interface. For example, the target position can be the middle position of the first interface, the lower position, etc.; for another example, the target position can be Figure 3a In one embodiment, the electronic device can collect the user image of the user in real time during the playback of the target time segment, and display the user image of the user in the first interface once each time the user image of the user is collected. Optionally, the joint points included in the user image can also be displayed, such as Figure 3a As shown in the black dots in the user image. In one embodiment, when displaying the user image, multiple joints included in the first user image, as well as the lines between the joints and the first angle between adjacent lines can be displayed; at the same time, multiple joints included in the video image matching the first user image, the lines between the joints, and the second angle between adjacent lines can be displayed; by comparing the first angle and the second angle, the gap between the standard prompt action in the target video clip can be intuitively known through angle matching. If the first angle is different from the second angle, the user can quickly adjust his action according to the second angle. For example, the hip joint point and the foot joint point in the user image form a line 1; the hip joint point and the shoulder joint point form a line 2, and the first angle between the line 1 and the line 2; the hip joint point and the foot joint point in the video image matching the user image form a line 3; the hip joint point and the shoulder joint point form a line 4, and the second angle between the line 3 and the line 4. Then determine whether the first angle and the second angle are the same. If they are different, the user can adjust the action.

[0054] In one embodiment, before executing step S204, the target animation may be paused due to external influences. It is understandable that: when the target animation is paused, the target video clip playback will also be paused. Among them, the external influence refers to artificial playback pause or video caching, etc. At this time, when the animation interruption signal is received, the target animation is paused, and the target animation playback time is recorded; when the animation start signal is received, the playback position is determined based on the playback time, and the target animation is continued to be played with the playback position as the starting point.

[0055] S204: Determine the scoring result corresponding to each scoring time point according to the user image collected within the first time range before each scoring time point and the video image matching the user image collected within the first time range, and display the scoring result corresponding to each scoring time point on the first interface when each scoring time point arrives; the video image is included in the target video segment, that is, the target video segment can be composed of multiple frames of video images. Among them, the match in the video image matching the user image collected within the first time range here can refer to the match in time point or the match in action. For example, in terms of time match, the user image is collected in the 4th second, and the video image matching the user image can be the video image displayed in the 4th second; for another example, in terms of action match, the user image collected in the first time range includes a squatting action, and the video image matching the user image also includes a squatting action. In one embodiment, the user image collected by the camera device at each time point and the video image displayed on the first interface at the first time point can also be a match.

[0056] In a specific implementation, user posture analysis is performed based on the user images collected within the first time range before each scoring time point and the video images matching the user images collected within the first time range to obtain the scoring results corresponding to each scoring time point. Then the electronic device can continuously obtain the current playback time of the target animation and determine whether the current playback time is any of the at least one scoring time point. If the current playback time is any of the at least one scoring time point, the scoring result corresponding to the any scoring time point is displayed on the first interface. The scoring results can be displayed at any position on the first interface. For example, Figure 3b As shown, when the little man in the target animation moves from the right to the left, the electronic device can continuously determine whether the current playback time is any scoring time point in at least one scoring time point, and when it is determined that the current playback time is any scoring time point in at least one scoring time point (when the current playback time reaches Figure 3b The score is shown at the scoring time point), and 95 points are displayed in the first interface.

[0057] In one embodiment, the target video clip is composed of multiple frames of video images, and playing the target video clip can be understood as displaying each frame of video image on the first interface. Before each scoring time point (such as the target scoring time point) arrives, the electronic device can first determine the scoring result corresponding to each scoring time point (such as the target scoring time point) based on the user image collected within the first time range and the video image matching the user image collected within the first time range, and then display the scoring result corresponding to each scoring time point (such as the target scoring time point) on the first interface. Among them, the first time range can be between the scoring time point (such as the target scoring time point) and the previous scoring time point of the scoring time point (such as the target scoring time point). It can be understood that the first time range before each scoring time point can be a partial time range or the entire time range between each scoring time point (such as the target scoring time point) and the previous scoring time point of each scoring time point (such as the target scoring time point). For example, the scoring time point is the 4th second, and the previous scoring time point of the scoring time point is the 1st second. The first time range can be 3 seconds (i.e., the 2nd second or the 3rd second), or the first time range can be any 1 second between the 1st second and the 4th second, and so on.

[0058] In one embodiment, since the user image collected within the first time range and the video image matching the user image collected within the first time range may be due to different time points or the user action included in the user image and the standard prompt action included in the video image are not the same action, the determined scoring result may be unreasonable. In order to ensure that the scoring result displayed at each scoring time point is relatively accurate, for the target scoring time point in at least one scoring time point, the first scoring result corresponding to the target scoring time point is determined according to the user image collected within the first time range before the target scoring time point and the video image matching the user image collected within the first time range; and it is determined whether the first scoring result is greater than or equal to the scoring result threshold. If it is determined that the first scoring result is less than the scoring result threshold, the user image collected within the second time range before the target scoring time point and the video image matching the user image collected within the second time range are obtained to determine the second scoring result corresponding to the target scoring time point, wherein the second time range includes the first time range; and then the scoring result corresponding to the target scoring time point is determined based on the second scoring result and the first scoring result. If it is determined that the first scoring result is greater than or equal to the scoring result threshold, the first scoring result is used as the scoring result corresponding to the target time scoring point. The target scoring time point is any one of the at least one scoring time point.

[0059] In one embodiment, after determining the second scoring result, the difference between the first scoring result and the second scoring result can be determined. If the difference between the first scoring result and the second scoring result is greater than the difference threshold, it means that the first scoring result and the second scoring result may be due to different time points or the user action included in the first user image and the standard prompt action included in the first video image are not the same action. At this time, the electronic device can redefine the first time range and the second time range as a new time range, and determine the scoring result corresponding to the scoring time point based on the first user image collected within the new time range and the first video image matching the first user image. In this way, the accuracy of the scoring results can be effectively improved. If the difference between the first scoring result and the second scoring result is less than or equal to the difference threshold, there is no need to determine a new time range.

[0060] Among them, the second time range includes the first time range means that the second time range may include the first time range. It can be understood that when the first scoring result is lower than the scoring result threshold, the second time range obtains K time points before or after the first time range. For example, the scoring time point is the 5th second, the first time range is the 1st second, the 2nd second, and the 3rd second, and the second time range can take 1 time point before, that is, the 4th second. Then the electronic device can determine the scoring result corresponding to the scoring time point based on the second scoring result and the first scoring result. Specifically, the first scoring result and the second scoring result can be summed to obtain the scoring result corresponding to the scoring time point. By evaluating the first time scoring result and the second scoring time result, the accuracy of the scoring result corresponding to the target scoring time point can be effectively improved. Or taking the largest scoring result from the first scoring result and the second scoring result as the scoring result corresponding to the target scoring time point can improve the enthusiasm of the user.

[0061] Among them, since the specific implementation method of determining the second scoring result corresponding to the target scoring time point based on the user image collected within the second time range before the target scoring time point and the video image matching the user image collected within the second time range can be the same as the specific implementation method of determining the first scoring result corresponding to the target scoring time point based on the user image collected within the first time range before the target scoring time point and the video image matching the user image collected within the first time range, the first scoring result corresponding to the target scoring time point is determined based on the user image collected within the first time range before the target scoring time point and the video image matching the user image collected within the first time range.

[0062] The specific implementation method in which the electronic device can determine the first scoring result corresponding to the target scoring time point according to the user image collected within the first time range before the target scoring time point and the video image matching the user image collected within the first time range may include s11-s13:

[0063] s11: Perform human joint point detection on the user image collected within the first time range to obtain a first human joint point detection result of the user image collected within the first time range, perform human joint point detection on the video image matching the user image collected within the first time range to obtain a second human joint point detection result of the video image matching the user image collected within the first time range. Since the camera device collects the user image of the user, human joint point detection can be performed on the user image.

[0064] In a specific implementation, the electronic device preprocesses the user image collected within the first time range to obtain the preprocessed user image, and then uses a preset joint point recognition model to detect human joint points on the preprocessed user image to obtain the first human joint point detection result of the user image collected within the first time range, wherein the preset joint point recognition model is trained based on multiple training user images and joint point labels corresponding to each training user image; the preprocessing may include: denoising the target frame image and unifying the size of the target frame image. Among them, the preset joint point recognition model can be openpose for human posture estimation. OpenPose can detect all the joint points of the user in the user image.

[0065] It should be noted that the above-mentioned specific implementation method of performing human joint point detection on the video image matching the user image collected within the first time range to obtain the second human joint point detection result of the video image matching the user image collected within the first time range can be referred to the specific implementation method of performing human joint point detection on the user image collected within the first time range to obtain the first human joint point detection result of the user image collected within the first time range, which will not be repeated here.

[0066] s12: constructing a user posture evaluation parameter set according to the first human joint point detection result and the second human joint point detection result, wherein the user posture evaluation parameter set includes at least one posture evaluation parameter.

[0067] In one embodiment, the user image captured within the first time range may include a target user image, and the video image matching the target user image includes a target video image. Among them, the first time range includes one or more time points. The target time point is any time point among the one or more time points. The first human joint point detection result may include multiple first joint points in the target user image and the position information of each first joint point, which can be understood as: the camera device captures a user image of a certain user, and the multiple first joint points may belong to the user. The second human joint point detection result includes multiple second joint points in the target video image and the position information of each second joint point. The multiple second joint points belong to the user in the target video image. The specific implementation method of the electronic device constructing the user posture evaluation parameter set according to the first human joint point detection result and the second human joint point detection result can be: counting the number of multiple first joint points and the number of multiple second joint points; the number of multiple first joint points and the number of multiple second joint points can be compared to obtain a first comparison result, and the first comparison result indicates the matching degree between the number of multiple first joint points and the number of multiple second joint points; specifically, the electronic device can determine whether the number of multiple first joint points is the same as the number of multiple second joint points. If the number of multiple first joint points is the same as the number of multiple second joint points, it means that the user posture of the user in the target user image and the user in the target video image matches, and then the matching degree between the number of multiple first joint points and the number of multiple second joint points is determined to be a first preset value; if the number of multiple first joint points is not the same as the number of multiple second joint points, it means that the user posture of the user in the target user image and the user in the target video image is different, and then the matching degree between the number of multiple first joint points and the number of multiple second joint points is determined to be a second preset value. Among them, the reason why the number of multiple first joint points is different from the number of multiple second joint points may be that the user action of the user is not standard, resulting in a small number of joint points that cannot be recognized. For example, the user image is captured at the 5th second; the video image that matches the user image is the video image displayed at the 5th second, but the user image captured at the 5th second includes a bending action, and the video image displayed at the 5th second includes a stretching action. At this time, the user images all include 3 joint points, and the video image displayed at the 5th second may include 6 joint points. It can be seen that the user action is not standard compared with the standard prompt action in the video image. The first preset and the second preset value can be set as required. Optionally, the first preset value, the second preset value, the third preset value, and the like can be set for the matching degree between the number of the multiple first joint points and the number of the multiple second joint points according to the difference in number between the number of the multiple first joint points and the number of the multiple second joint points.For example, if the quantity difference is 1, the matching degree between the number of the multiple first joint points and the number of the multiple second joint points is the first preset value; if the quantity difference is 2, the matching degree between the number of the multiple first joint points and the number of the multiple second joint points is the second preset value; if the quantity difference is 3, the matching degree between the number of the multiple first joint points and the number of the multiple second joint points is the third preset value.

[0068] The electronic device may compare the position information of each first joint point with the position information of the second joint point corresponding to each first joint point to obtain a second comparison result, and the second comparison result indicates the matching degree between the positions of the first joint point and the second joint point corresponding to the first joint point; in a specific implementation, the position information may include position coordinates, and for a target joint point among multiple first joint points, the electronic device may compare the position coordinates of the target joint point with the position coordinates of the second joint point corresponding to the target joint point to obtain a second comparison result. Wherein, the second joint point corresponding to the target joint point means that the target joint point and the second joint point belong to the same type of joint point. For example, the target joint point is a wrist joint point, and the second joint point corresponding to the target joint point is also a wrist joint point. The position coordinates of the target joint point are compared with the position coordinates of the second joint point corresponding to the target joint point. If the two position coordinates are the same, it means that the positions of the target joint point and the second joint point corresponding to the target joint point are the same, and the matching degree of the target joint point and the second joint point corresponding to the target joint point is determined as a fourth preset value. If the two position coordinates are not the same, it means that the position between the target joint point and the second joint point corresponding to the target joint point is not the same; then the matching degree between the target joint point and the second joint point corresponding to the target joint point is determined as the fifth preset value. Optionally, the target distance can be calculated based on the two position coordinates. The smaller the distance, the higher the matching degree between the target joint point and the second joint point corresponding to the target joint point. According to the corresponding relationship between the reference matching degree and the reference distance, the matching degree corresponding to the target distance is determined, that is, the matching degree between the target joint point and the second joint point corresponding to the target joint point is obtained. It should be noted that any first joint point can refer to the above-mentioned target joint point to calculate the matching degree between the target joint point and the corresponding second joint point. When the matching degree between all first joint points and the corresponding second joint points is obtained, the matching degree between all first joint points and the corresponding second joint points can be averaged or weighted averaged to obtain a second comparison result.

[0069] After determining the first comparison result and the second comparison result, determine the user posture standard according to the first comparison result and the second comparison result. The first comparison result may include the matching degree between the number of multiple first joint points and the number of multiple second joint points; the second comparison result may include the matching degree between each joint point and the corresponding second joint point position; as an implementation method, the electronic device may calculate the average value according to the first comparison result and the second comparison result to obtain the user posture standard. As another implementation method, the electronic device may perform weighted summation on the first comparison result to obtain a first weighted value; and perform weighted summation on the second comparison result to obtain a second weighted value. The first weighted value and the second weighted value are averaged to obtain the user posture standard, and then a user posture evaluation parameter set including the user posture standard is constructed.

[0070] In one embodiment, the user images collected within the first time range include multiple user images, and the video images matched with the user images collected within the first time range include multiple frames of video images. For example, the multiple user images are collected at multiple time points within the first time range, and the multiple frames of video images are also displayed at multiple time points within the same first time range. Each user image can be matched in the multiple frames of video images. For example, the first time range is "5th second to 6th second", and two user images are collected by calling the camera device at the 5th second and the 6th second in the first time range, respectively, and the two frames of video images are displayed at the 5th second and the 6th second in the first time range, respectively. It can be understood that the video image displayed at the 5th second matches the user image collected by the camera device at the 5th second; and the video image displayed at the 6th second matches the user image collected by the camera device at the 6th second. The specific implementation method in which the electronic device can construct a user posture evaluation parameter set based on the first human joint point detection result and the second human joint point detection result can be: drawing a first motion trajectory of each of the multiple joint points based on the first human joint point detection result of each user image in the multiple user images; and drawing a second motion trajectory of each of the multiple joint points in the multiple frames of video images based on the second human joint point detection result of each frame of video images in the multiple frames of video images; matching the first motion trajectory of each of the multiple joint points in each frame of user image with the second motion trajectory of each of the multiple joint points in each frame of video image to obtain motion trajectory similarity, and determining the user posture beauty based on the motion trajectory similarity; constructing a posture evaluation parameter set including the user posture beauty; wherein the first human joint point detection result includes the position coordinates of the multiple joint points.

[0071] As an implementation method, the number of user images and video frame images between the multiple joint points in the multiple user images and the multiple joint points in the multiple video frames is the same, and the types of joint points are the same. For example, there are 2 user images, which are the user images collected at the 5th second and the user images collected at the 6th second; there are 2 video images, which are the video images displayed at the 5th second and the video images displayed at the 6th second. The multiple joint points included in the user image collected at the 5th second and the multiple joint points included in the video image displayed at the 5th second are the same in number and type. In this case, for the target joint points in the multiple joint points in the multiple user images, the computer can connect the position coordinates of the target joint points in each user image to obtain the first motion trajectory of the target joint points. Similarly, the second motion trajectory of the target joint points in the multiple joint points can be drawn according to the second human body joint point detection result of each video frame in the multiple video frames. That is, the position coordinates of the target joint points in the user image collected at the 5th second and the user image collected at the 6th second are connected to obtain the first motion trajectory of the target joint points; the position coordinates of the target joint points in the video image displayed at the 5th second and the video image displayed at the 6th second are connected to obtain the second motion trajectory of the target joint points. According to the above method, the first motion trajectory and the second motion trajectory of each joint point can be obtained. The first motion trajectory of each joint point can be used to see whether there is any discontinuity when the user performs an action, and the user posture elegance of the user can be determined.

[0072] As another implementation, the number of user images and video images between the multiple joint points in multiple user images and the multiple joint points in multiple frames of video images is the same, but the types of joint points are different. This situation may be caused by the inconsistency between the user action included in the user image and the standard prompt action in the video image. For example, there are 2 user images, namely the user image collected at the 5th second and the user image collected at the 6th second; there are 2 video images, namely the video image displayed at the 5th second and the video image displayed at the 6th second, but the user image collected at the 5th second and the user image collected at the 6th second both include bending actions, and the user image displayed at the 5th second includes bending actions, and the user image displayed at the 6th second includes stretching actions. At this time, the user images all include 3 types of joint points, the video image displayed at the 5th second may include 3 types of joint points, and the video image displayed at the 6th second includes 6 types of joint points, wherein the 3 types of joint points belong to the 6 types of joint points. At this time, the electronic device can refer to the above method to obtain the first motion trajectory of each of the three joint points included in the user image, and can generate the second motion trajectory of each of the three joint points according to the video image. The remaining three joint points cannot form corresponding motion trajectories, and the similarity can be directly set to 0. It should be noted that in the embodiment of the present application, when the types of joint points included in the user images and the user images in multiple user images can be different or the same, at this time, multiple user images are required to connect the position coordinates of each joint point involved. Similarly, in multiple frames of video images, the position coordinates of each joint point involved can be connected.

[0073] Then, the electronic device matches the first motion trajectory of each of the multiple joint points in each frame of the user image with the second motion trajectory of each of the multiple joint points in each frame of the video image, and obtains the specific implementation method of the motion trajectory similarity: the electronic device can determine the user's posture beauty according to the motion trajectory similarity between the first motion trajectory of each joint point in each user image and the second motion trajectory of the multiple joint points in each frame of the video image. Specifically, the electronic device can calculate the reference motion trajectory similarity between the first motion trajectory of each joint point and the second motion trajectory, and the motion trajectory similarity can be determined based on the reference motion trajectory similarity obtained for each joint point. Specifically, the reference motion trajectory similarity obtained for each joint point can be averaged to obtain the motion trajectory similarity; or, the reference motion trajectory similarity obtained for each joint point is weighted and then averaged to obtain the motion trajectory similarity. In one embodiment, the electronic device can use a similarity algorithm to calculate the motion trajectory similarity between the first motion trajectory of each joint point and the second motion trajectory of the joint point, and the similarity algorithm can be LCSS, DTW, etc. Then, the specific implementation method of determining the reference user posture beauty of each joint point based on the motion trajectory similarity of each joint point can be: set the corresponding relationship between the user posture beauty and the similarity, for example, the similarity is 10-29, the user posture beauty is 20; the similarity is 30-49, the user posture beauty is 60, etc. The electronic device can determine the user posture beauty from the corresponding relationship between the user posture beauty and the similarity according to the motion trajectory similarity. Then, a posture evaluation parameter set including the user posture beauty is constructed.

[0074] It should be noted that the way in which any video clip is played on the first interface, the way in which the animation matched by any video clip is played, the scoring result corresponding to each scoring time point in any video clip, etc., can all be referred to the specific implementation methods involved in the above-mentioned target video clip, and will not be repeated here.

[0075] In one embodiment, Figure 3c As shown, after the target video segment is played, the electronic device can display the next video segment of the target video segment on the first interface, and during the playback of the next video segment, obtain a matching animation that matches the next video segment, and play the matching animation on the first interface; when each scoring time point in at least one scoring time point included in the matching animation arrives, the scoring result corresponding to the scoring time point is displayed on the first interface. The next video segment here can be a video segment played in chronological order, or the next video segment can also be selected by the user.

[0076] s13: generating a first scoring result corresponding to the target scoring time point according to the posture evaluation parameter set, wherein the user posture evaluation parameter set may include at least one of the following: user posture standard degree, user skill mastery degree, and user posture elegance degree.

[0077] After the user posture evaluation parameter set is constructed, the electronic device may generate the first scoring result corresponding to the target scoring time point according to the posture evaluation parameter set by: averaging at least one posture evaluation parameter included in the posture evaluation parameter set to obtain the first scoring result corresponding to the target scoring time point. Specifically, a posture evaluation parameter set is constructed for the target time scoring point. The electronic device averages the values ​​of the posture evaluation parameters in the posture evaluation parameter set constructed at the target scoring time point to obtain the first scoring result corresponding to the target scoring time point. Among them, the target scoring time point is any one of the at least one scoring time point. For example, the posture evaluation parameter set constructed at the scoring time point 1 includes the user posture beauty (such as the value of the user posture beauty is 95) and the user posture standard (such as the value of the user posture standard is 95). The electronic device can average the user posture beauty and the user posture standard to obtain the first scoring result corresponding to the scoring time point 1, that is, (95+95) / 2=95. Optionally, the electronic device generates a first scoring result corresponding to a target scoring time point based on a posture evaluation parameter set by weighting at least one posture evaluation parameter included in the posture evaluation parameter set and performing an averaging operation after weighting to obtain the first scoring result corresponding to the target scoring time point.

[0078] S205: After the target video is played, a comprehensive scoring result is determined according to the scoring results corresponding to each scoring time point configured for each of the multiple animations corresponding to the target video; the comprehensive scoring result is displayed on the first interface, and the multiple animations corresponding to the target video include animations that match each of the multiple video clips.

[0079] In one embodiment, as can be seen from the foregoing, the target video includes multiple video clips, each of which has a matching animation. Therefore, after the target video is played, the electronic device can determine the comprehensive scoring result of the user following the target video according to the scoring results corresponding to each scoring time point of each animation configuration in the multiple animations. As an implementation method, the electronic device can average the scoring results corresponding to each scoring time point of each animation configuration to obtain a comprehensive scoring result. As another implementation method, the electronic device can perform weighted processing on the scoring results corresponding to each scoring time point of each animation configuration, and average the weighted processing results to obtain a comprehensive scoring result.

[0080] After obtaining the comprehensive scoring result, the electronic device may display the comprehensive scoring result on the first interface or the second interface. When displaying the comprehensive scoring result on the first interface, the comprehensive scoring result may be displayed at any position in the first interface. For example, it may be displayed in the middle of the first interface. Alternatively, the electronic device may display the comprehensive scoring result in a floating window in the first interface. When displaying the comprehensive scoring result on the second interface, after obtaining the comprehensive scoring result, the electronic device switches from the first interface to the second interface, and then displays the comprehensive scoring result in the second interface. The comprehensive scoring result is displayed at any position in the second interface; alternatively, the electronic device may display the comprehensive scoring result in a floating window in the second interface.

[0081] In this embodiment, the electronic device can play a target video on a first interface; during the playback of a target video segment of the target video, a target animation matching the target video segment is played on the first interface, the target video segment is any one of a plurality of video segments included in the target video, and the target animation is configured with at least one scoring time point; during the playback of the target video segment, a camera device is called to capture a user image, and the user image is displayed on the first interface; a scoring result corresponding to each scoring time point is determined based on the user image captured within a first time range before each scoring time point and a video image matching the user image captured within the first time range, and when each scoring time point is reached, the scoring result corresponding to each scoring time point is displayed on the first interface; the video image is included in the target video segment; after the playback of the target video is finished, a comprehensive scoring result is determined based on the scoring results corresponding to each scoring time point configured for each of the plurality of animations corresponding to the target video, and the comprehensive scoring result is displayed on the first interface. Through the evaluation determination method provided in the embodiment of the present application, the corresponding scoring result can be displayed when each scoring time point in the animation is reached, and the scoring result can be displayed in a short time to increase the user's interest. At the same time, the user's score within a period of time can be obtained by scoring based on the user image collected within the first time range and the video image matching the user image, without the need to continuously obtain the user image and the video image matching the user image for comparison, which can reduce the power consumption of the device and save the resources required for processing the image.

[0082] Based on the description of the above-mentioned score determination method embodiment, the present application embodiment also discloses a score determination device, which can be a computer program (including program code) running in the above-mentioned electronic device. The score determination device can execute Figure 2 See the method shown in Figure 4 , the score determination device may run the following units:

[0083] Processing unit 401, used to play the target video on the first interface;

[0084] The processing unit 401 is further configured to play a target animation matching the target video segment on the first interface during the playing of the target video segment of the target video, wherein the target video segment is any one of the multiple video segments included in the target video, and the target animation is configured with at least one scoring time point;

[0085] The processing unit 401 is further configured to call a camera device to capture a user image during playback of the target video segment, and display the user image on the first interface;

[0086] The processing unit 401 is further configured to determine a scoring result corresponding to each scoring time point according to a user image collected within a first time range before each scoring time point and a video image matching the user image collected within the first time range;

[0087] The display unit 402 is used to display the scoring result corresponding to each scoring time point on the first interface when each scoring time point is reached; the video image is included in the target video segment;

[0088] The processing unit 401 is further configured to determine a comprehensive scoring result after the target video is played, according to the scoring results corresponding to each scoring time point configured for each of the multiple animations corresponding to the target video; the multiple animations corresponding to the target video include animations matching each of the multiple video clips;

[0089] The display unit 402 is further configured to display the comprehensive scoring result on the first interface.

[0090] In one embodiment, when the processing unit 401 determines the scoring result corresponding to each scoring time point according to the user image collected within the first time range before each scoring time point and the video image matching the user image collected within the first time range, it can be specifically used to:

[0091] For a target scoring time point among the at least one scoring time point, determining a first scoring result corresponding to the target scoring time point according to a user image collected within a first time range before the target scoring time point and a video image matching the user image collected within the first time range;

[0092] If the first scoring result is less than or equal to the scoring result threshold, determining a second scoring result corresponding to the target scoring time point according to user images collected within a second time range before the target scoring time point and video images matching the user images collected within the second time range, wherein the second time range includes the first time range;

[0093] A scoring result corresponding to the target scoring time point is determined based on the second scoring result and the first scoring result.

[0094] In one embodiment, before playing the target video on the first interface, the processing unit 401 is further configured to:

[0095] Obtaining an initial frame rate of the target video and a frame rate at which the camera device captures user images;

[0096] When the initial frame rate of the target video is inconsistent with the frame rate at which the camera device collects the user image, updating the initial frame rate of the target video to the frame rate at which the camera device collects the user image, to obtain an updated frame rate of the target video;

[0097] The updated frame rate of the target video is determined as the frame rate of the target video.

[0098] In one embodiment, when the processing unit 401 determines, for a target scoring time point among the at least one scoring time point, a first scoring result corresponding to the target scoring time point according to a user image collected within a first time range before the target scoring time point and a video image matching the user image collected within the first time range, it can be specifically used to:

[0099] For a target scoring time point among the at least one scoring time point, performing human joint point detection on a user image collected within a first time range before the target scoring time point to obtain a first human joint point detection result of the user image;

[0100] Performing human joint point detection on the video image matching the user image collected within the first time range to obtain a second human joint point detection result of the video image matching the user image collected within the first time range;

[0101] Constructing a user posture evaluation parameter set according to the first human joint point detection result and the second human joint point detection result, wherein the user posture evaluation parameter set includes at least one posture evaluation parameter;

[0102] A first scoring result corresponding to the target scoring time point is generated according to the posture evaluation parameter set.

[0103] In one embodiment, the user image collected within the first time range includes a target user image, and the video image matched with the user image collected within the first time range includes a target video image matched with the target user image; the first human joint point detection result includes a plurality of first joint points in the target user image and position information of each first joint point, and the second human joint point detection result includes a plurality of second joint points in the target video image and position information of each second joint point. When constructing a user posture evaluation parameter set according to the first human joint point detection result and the second human joint point detection result, the processing unit 401 can be specifically used to:

[0104] Counting the number of the plurality of first joint points and the number of the plurality of second joint points;

[0105] Comparing the number of the plurality of first joint points with the number of the plurality of second joint points to obtain a first comparison result, the first comparison result indicating a matching degree between the number of the plurality of first joint points and the number of the plurality of second joint points;

[0106] Comparing the position information of each of the first joint points with the position information of the second joint point corresponding to the first joint point to obtain a second comparison result, wherein the second comparison result indicates a matching degree between the positions of the first joint point and the second joint point corresponding to the first joint point;

[0107] Determining a user posture standard degree according to the first comparison result and the second comparison result;

[0108] A user posture evaluation parameter set including the user posture standard is constructed.

[0109] In an embodiment, the user images collected within the first time range include multiple user images, and the video images matching the user images collected within the first time range include multiple frames of video images. When the processing unit 401 constructs the user posture evaluation parameter set according to the first human joint point detection result and the second human joint point detection result, it can be specifically used to:

[0110] Draw a first motion trajectory of each of the multiple joint points in the multiple user images according to a first human joint point detection result of each user image in the multiple user images;

[0111] Draw a second motion trajectory of each of the multiple joint points in the multiple frames of video images according to the second human joint point detection result of each frame of video images in the multiple frames of video images;

[0112] Matching a first motion trajectory of each of the multiple joint points in each user image with a second motion trajectory of each of the multiple joint points in each frame of the video image to obtain a motion trajectory similarity;

[0113] Determining the user's posture elegance according to the motion trajectory similarity;

[0114] A posture evaluation parameter set including the beauty of the user's posture is constructed.

[0115] In one embodiment, the display unit 402 is further configured to: display a second interface, the second interface including multiple video clips of the target video; in response to an animation configuration operation on a target video clip among the multiple video clips, display a fourth interface, the fourth interface including a candidate animation set;

[0116] The processing unit 401 is further configured to, when an animation selection operation for the candidate animation set is detected, determine the selected animation as a target animation; and in response to a scoring time configuration operation for the target animation, configure at least one scoring time point for the target animation.

[0117] In one embodiment, when each of the at least one scoring time point arrives, before the first interface displays the scoring result corresponding to each scoring time point, the processing unit 401 is further configured to:

[0118] When an animation interruption signal is received, the target animation is paused and the playing time of the target animation is recorded;

[0119] When an animation start signal is received, the playback position is determined based on the playback duration, and the target animation continues to be played with the playback position as the starting point.

[0120] It can be understood that the functional units of the scoring determination device of this embodiment can be based on the above method embodiment. Figure 2 The specific implementation process of the method in the embodiment can refer to the above method embodiment Figure 2 The relevant description will not be repeated here.

[0121] For further information, see Figure 5 , Figure 5 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 2 The electronic device in the corresponding embodiment can be Figure 5 The electronic equipment shown. Figure 5As shown, the electronic device may include: a processor 501 and a memory 504. Optionally, the electronic device may also include an input device 502 and an output device 503. Optionally, the electronic device may also include a camera. The processor 501, the input device 502, the output device 503 and the memory 504 are connected via a bus 505. The memory 504 is used to store a computer program, and the computer program includes program instructions. The processor 501 is used to execute the program instructions stored in the memory 504.

[0122] In the embodiment of the present application, the processor 501 performs the following operations by running the executable program code in the memory 504:

[0123] Play the target video on the first interface;

[0124] During the playing of the target video segment of the target video, a target animation matching the target video segment is played on the first interface, the target video segment being any one of the multiple video segments included in the target video, and the target animation being configured with at least one scoring time point;

[0125] During the playback of the target video clip, calling a camera device to capture a user image, and displaying the user image on the first interface; the frame rate of the target video is consistent with the frame rate of the camera device capturing the user image;

[0126] Determine a scoring result corresponding to each scoring time point according to a user image collected within a first time range before each scoring time point and a video image matching the user image collected within the first time range, and display the scoring result corresponding to each scoring time point on the first interface when each scoring time point arrives; the video image is included in the target video clip;

[0127] After the target video is played, a comprehensive scoring result is determined according to the scoring results corresponding to each scoring time point configured for each of the multiple animations corresponding to the target video, and the comprehensive scoring result is displayed on the first interface. The multiple animations corresponding to the target video include animations that match each of the multiple video clips.

[0128] In one embodiment, when the processor 501 determines the scoring result corresponding to each scoring time point according to the user image collected within the first time range before each scoring time point and the video image matching the user image collected within the first time range, it can be specifically used to:

[0129] For a target scoring time point among the at least one scoring time point, determining a first scoring result corresponding to the target scoring time point according to a user image collected within a first time range before the target scoring time point and a video image matching the user image collected within the first time range;

[0130] If the first scoring result is less than or equal to the scoring result threshold, determining a second scoring result corresponding to the target scoring time point according to user images collected within a second time range before the target scoring time point and video images matching the user images collected within the second time range, wherein the second time range includes the first time range;

[0131] A scoring result corresponding to the target scoring time point is determined based on the second scoring result and the first scoring result.

[0132] In one embodiment, before playing the target video on the first interface, the processor 501 is further configured to:

[0133] Obtaining an initial frame rate of the target video and a frame rate at which the camera device captures user images;

[0134] When the initial frame rate of the target video is inconsistent with the frame rate at which the camera device collects the user image, updating the initial frame rate of the target video to the frame rate at which the camera device collects the user image, to obtain an updated frame rate of the target video;

[0135] The updated frame rate of the target video is determined as the frame rate of the target video.

[0136] In one embodiment, the processor 501, when determining, for a target scoring time point among the at least one scoring time point, a first scoring result corresponding to the target scoring time point according to a user image collected within a first time range before the target scoring time point and a video image matching the user image collected within the first time range, can be specifically used to:

[0137] For a target scoring time point among the at least one scoring time point, performing human joint point detection on user images collected within a first time range before the target scoring time point, to obtain a first human joint point detection result of the user images collected within the first time range;

[0138] Performing human joint point detection on the video image matching the user image collected within the first time range to obtain a second human joint point detection result of the video image matching the user image collected within the first time range;

[0139] Constructing a user posture evaluation parameter set according to the first human joint point detection result and the second human joint point detection result, wherein the user posture evaluation parameter set includes at least one posture evaluation parameter;

[0140] A first scoring result corresponding to the target scoring time point is generated according to the posture evaluation parameter set.

[0141] In one embodiment, the user image collected within the first time range includes a target user image, and the video image matched with the user image collected within the first time range includes a target video image matched with the target user image; the first human joint point detection result includes multiple first joint points in the target user image and position information of each first joint point, and the second human joint point detection result includes multiple second joint points in the target video image and position information of each second joint point. When constructing a user posture evaluation parameter set according to the first human joint point detection result and the second human joint point detection result, the processor 501 can be specifically used to:

[0142] Counting the number of the plurality of first joint points and the number of the plurality of second joint points;

[0143] Comparing the number of the plurality of first joint points with the number of the plurality of second joint points to obtain a first comparison result, the first comparison result indicating a matching degree between the number of the plurality of first joint points and the number of the plurality of second joint points;

[0144] Comparing the position information of each of the first joint points with the position information of the second joint point corresponding to the first joint point to obtain a second comparison result, wherein the second comparison result indicates a matching degree between the positions of the first joint point and the second joint point corresponding to the first joint point;

[0145] Determining a user posture standard degree according to the first comparison result and the second comparison result;

[0146] A user posture evaluation parameter set including the user posture standard is constructed.

[0147] In an embodiment, the user images collected within the first time range include multiple user images, and the video images matching the user images collected within the first time range include multiple frames of video images. When the processor 501 constructs the user posture evaluation parameter set according to the first human joint point detection result and the second human joint point detection result, it can be specifically used to:

[0148] Draw a first motion trajectory of each of the multiple joint points in the multiple user images according to a first human joint point detection result of each user image in the multiple user images;

[0149] Draw a second motion trajectory of each of the multiple joint points in the multiple frames of video images according to the second human joint point detection result of each frame of video images in the multiple frames of video images;

[0150] Matching a first motion trajectory of each of the multiple joint points in each user image with a second motion trajectory of each of the multiple joint points in each frame of the video image to obtain a motion trajectory similarity;

[0151] Determining the user's posture elegance according to the motion trajectory similarity;

[0152] A posture evaluation parameter set including the beauty of the user's posture is constructed.

[0153] In one embodiment, the processor 501 is further configured to:

[0154] Displaying a second interface, wherein the second interface includes a plurality of video clips of the target video;

[0155] In response to an animation configuration operation on a target video segment among the multiple video segments, displaying a fourth interface, the fourth interface including a candidate animation set;

[0156] When an animation selection operation for the candidate animation set is detected, the selected animation is determined as a target animation;

[0157] In response to the scoring time configuration operation for the target animation, at least one scoring time point is configured for the target animation.

[0158] In one embodiment, when each of the at least one scoring time point arrives, before the first interface displays the scoring result corresponding to each scoring time point, the processor is further configured to:

[0159] When an animation interruption signal is received, the target animation is paused and the playing time of the target animation is recorded;

[0160] When an animation start signal is received, the playback position is determined based on the playback duration, and the target animation continues to be played with the playback position as the starting point.

[0161] It should be understood that in the embodiment of the present application, the processor 501 may be a central processing unit (CPU), and the processor 501 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0162] The memory 504 may include a read-only memory and a random access memory, and provides instructions and data to the processor 501. A portion of the memory 504 may also include a nonvolatile random access memory.

[0163] In a specific implementation, the processor 501, input device 502, output device 503 and memory 504 described in the embodiments of the present application can execute the implementation methods described in all the above embodiments, and can also execute the implementation methods described in the above apparatus, which will not be repeated here.

[0164] In an embodiment of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the steps performed in all the above embodiments can be executed.

[0165] An embodiment of the present application also provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. When the computer instructions are executed by a processor of an electronic device, the methods in all the above embodiments are executed.

[0166] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc. It should be emphasized that in order to further ensure the privacy and security of the above-mentioned data, the scoring results involved can also be stored in a node of a blockchain. Among them, the blockchain referred to in this application is a new application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods, each of which contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, the platform product service layer, and the application service layer.

[0167] What is disclosed above is only a preferred embodiment of the present application, and it certainly cannot be used to limit the scope of rights of the present application. Ordinary technicians in this field can understand that all or part of the processes of the above embodiment and equivalent changes made according to the claims of the present application are still within the scope of the invention.

Claims

1. A scoring determination method, characterized in that: include: Determine the time required from calling a camera device to capture a first user image to displaying the first user image, and adjust internal parameters in the camera device according to the time required; Play the target video on the first interface; During the playing of the target video segment of the target video, a target animation matching the target video segment is played on the first interface, the target video segment being any one of the multiple video segments included in the target video, and the target animation being configured with at least one scoring time point; During the playback of the target video clip, calling the camera device with adjusted internal parameters to capture a user image, and displaying the user image on the first interface; For a target scoring time point among the at least one scoring time point, determining a first scoring result corresponding to the target scoring time point according to a user image collected within a first time range before the target scoring time point and a video image matching the user image collected within the first time range; If the first scoring result is less than or equal to the scoring result threshold, determining a second scoring result corresponding to the target scoring time point according to user images collected within a second time range before the target scoring time point and video images matching the user images collected within the second time range, wherein the second time range includes the first time range; Determine the scoring result corresponding to the target scoring time point based on the second scoring result and the first scoring result; When each scoring time point arrives, the scoring result corresponding to each scoring time point is displayed on the first interface, and the video image is included in the target video segment; After the target video is played, a comprehensive scoring result is determined according to the scoring results corresponding to each scoring time point configured for each of the multiple animations corresponding to the target video, and the comprehensive scoring result is displayed on the first interface, wherein the multiple animations corresponding to the target video include animations matching each of the multiple video clips; Among them, for a target scoring time point among the at least one scoring time point, determining a first scoring result corresponding to the target scoring time point according to a user image collected within a first time range before the target scoring time point and a video image matching the user image collected within the first time range includes: For a target scoring time point among the at least one scoring time point, performing human joint point detection on user images collected within a first time range before the target scoring time point, to obtain a first human joint point detection result for the user images collected within the first time range; Performing human joint point detection on the video image matching the user image collected within the first time range to obtain a second human joint point detection result of the video image matching the user image collected within the first time range; Constructing a user posture evaluation parameter set according to the first human joint point detection result and the second human joint point detection result, wherein the user posture evaluation parameter set includes at least one posture evaluation parameter; Generating a first scoring result corresponding to the target scoring time point according to the posture evaluation parameter set; The user images collected within the first time range include multiple user images, the video images matching the user images collected within the first time range include multiple frames of video images, and a user posture evaluation parameter set is constructed according to the first human joint point detection result and the second human joint point detection result, including: Draw a first motion trajectory of each of the multiple joint points in the multiple user images according to a first human joint point detection result of each user image in the multiple user images; Draw a second motion trajectory of each of the multiple joint points in the multiple frames of video images according to the second human joint point detection result of each frame of video images in the multiple frames of video images; Matching a first motion trajectory of each of the multiple joint points in each user image with a second motion trajectory of each of the multiple joint points in each frame of the video image to obtain a motion trajectory similarity; Determining the user's posture elegance according to the motion trajectory similarity; A posture evaluation parameter set including the beauty of the user's posture is constructed.

2. The method according to claim 1, characterized in that Before playing the target video on the first interface, the method further includes: Obtaining an initial frame rate of the target video and a frame rate at which the camera device captures user images; When the initial frame rate of the target video is inconsistent with the frame rate at which the camera device collects the user image, updating the initial frame rate of the target video to the frame rate at which the camera device collects the user image, to obtain an updated frame rate of the target video; The updated frame rate of the target video is determined as the frame rate of the target video.

3. The method according to claim 1, characterized in that: The user images collected within the first time range include a target user image, and the video images matching the user images collected within the first time range include a target video image matching the target user image; The first human joint point detection result includes multiple first joint points in the target user image and position information of each first joint point, the second human joint point detection result includes multiple second joint points in the target video image and position information of each second joint point, and constructing a user posture evaluation parameter set according to the first human joint point detection result and the second human joint point detection result includes: Counting the number of the plurality of first joint points and the number of the plurality of second joint points; Comparing the number of the plurality of first joint points with the number of the plurality of second joint points to obtain a first comparison result, the first comparison result indicating a matching degree between the number of the plurality of first joint points and the number of the plurality of second joint points; Comparing the position information of each of the first joint points with the position information of the second joint point corresponding to the first joint point to obtain a second comparison result, wherein the second comparison result indicates a matching degree between the positions of the first joint point and the second joint point corresponding to the first joint point; Determining a user posture standard degree according to the first comparison result and the second comparison result; A user posture evaluation parameter set including the user posture standard is constructed.

4. The method according to claim 1, characterized in that: The method further comprises: Displaying a second interface, wherein the second interface includes a plurality of video clips of the target video; In response to an animation configuration operation on a target video segment among the multiple video segments, displaying a fourth interface, the fourth interface including a candidate animation set; When an animation selection operation for the candidate animation set is detected, the selected animation is determined as a target animation; In response to the scoring time configuration operation for the target animation, at least one scoring time point is configured for the target animation.

5. A scoring determination device, characterized in that: include: A processing unit determines a time required from calling a camera device to capture a first user image to displaying the first user image, and adjusts internal parameters in the camera device according to the time required; The processing unit is further used to play the target video on the first interface; The processing unit is further configured to play a target animation matching the target video segment on the first interface during the playing of the target video segment of the target video, wherein the target video segment is any one of the multiple video segments included in the target video, and the target animation is configured with at least one scoring time point; The processing unit is further configured to call the camera device with adjusted internal parameters to capture a user image during playback of the target video clip, and display the user image on the first interface; The processing unit is further configured to determine, for a target scoring time point among the at least one scoring time point, a first scoring result corresponding to the target scoring time point according to a user image collected within a first time range before the target scoring time point and a video image matching the user image collected within the first time range; The processing unit is further configured to determine, if the first scoring result is less than or equal to a scoring result threshold, a second scoring result corresponding to the target scoring time point based on user images collected within a second time range before the target scoring time point and video images matching the user images collected within the second time range, wherein the second time range includes the first time range; Determine the scoring result corresponding to the target scoring time point based on the second scoring result and the first scoring result; A display unit, configured to display, on the first interface, a scoring result corresponding to each scoring time point when each scoring time point arrives; the video image is included in the target video segment; The processing unit is further configured to determine a comprehensive scoring result after the target video is played, according to the scoring results corresponding to each scoring time point configured for each of the multiple animations corresponding to the target video, wherein the multiple animations corresponding to the target video include animations matching each of the multiple video clips; The display unit is further used to display the comprehensive scoring result on the first interface; Wherein, when the processing unit determines, for a target scoring time point among the at least one scoring time point, a first scoring result corresponding to the target scoring time point according to a user image collected within a first time range before the target scoring time point and a video image matching the user image collected within the first time range, the processing unit is specifically configured to: For a target scoring time point among the at least one scoring time point, performing human joint point detection on user images collected within a first time range before the target scoring time point, to obtain a first human joint point detection result for the user images collected within the first time range; Performing human joint point detection on the video image matching the user image collected within the first time range to obtain a second human joint point detection result of the video image matching the user image collected within the first time range; Constructing a user posture evaluation parameter set according to the first human joint point detection result and the second human joint point detection result, wherein the user posture evaluation parameter set includes at least one posture evaluation parameter; Generating a first scoring result corresponding to the target scoring time point according to the posture evaluation parameter set; The user images collected within the first time range include multiple user images, the video images matching the user images collected within the first time range include multiple frames of video images, and the processing unit constructs the user posture evaluation parameter set according to the first human joint point detection result and the second human joint point detection result, specifically for: Draw a first motion trajectory of each of the multiple joint points in the multiple user images according to a first human joint point detection result of each user image in the multiple user images; Draw a second motion trajectory of each of the multiple joint points in the multiple frames of video images according to the second human joint point detection result of each frame of video images in the multiple frames of video images; Matching a first motion trajectory of each of the multiple joint points in each user image with a second motion trajectory of each of the multiple joint points in each frame of the video image to obtain a motion trajectory similarity; Determining the user's posture elegance according to the motion trajectory similarity; A posture evaluation parameter set including the beauty of the user's posture is constructed.

6. An electronic device, characterized in that: include: Memory for storing computer programs; The processor calls the computer program in the memory to execute the scoring determination method according to any one of claims 1 to 4.

7. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and the computer program includes program instructions. When the program instructions are executed by a processor, the scoring determination method according to any one of claims 1 to 4 is executed.