CN-115376207-B - Fitness interaction method and device, electronic equipment and computer readable storage medium
Abstract
The embodiment of the application discloses a body-building interaction method, a body-building interaction device, electronic equipment and a computer readable storage medium, wherein the method comprises the steps of displaying a screen-throwing video of a user through a screen throwing of opposite-end equipment in a terminal interface; the method comprises the steps of determining the video type of a screen-throwing video according to the content of the screen-throwing video, starting a body-building instruction mode when the video type describes that the screen-throwing video is a body-building video, and performing body-building interaction with a user according to the body-building instruction mode. The user can show different body-building videos based on different demands, so that the diversity of the body-building videos is enriched, and the body-building experience is improved. The video type can be automatically identified through analysis of the video content, identification or screening of the video type is not needed at the opposite terminal equipment, the operation complexity at one side of the opposite terminal equipment is reduced, and the user experience is improved.
Inventors
- ZOU ZHIPENG
Assignees
- 深圳市雷鸟网络传媒有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20220808
Claims (9)
- 1. A method of fitness interaction comprising: displaying a screen-throwing video of a user through a screen throwing of opposite terminal equipment in a terminal interface; Determining the video type of the screen-casting video according to the content of the screen-casting video; when the video type describes that the screen-throwing video is a body-building video, starting a body-building instruction mode; Performing exercise interaction with the user according to the exercise guidance mode; the determining the video type of the screen-casting video according to the content of the screen-casting video comprises the following steps: Selecting a plurality of video images from the plurality of video images as reference video images according to the time sequence of the plurality of video images in the screen-throwing video; And determining the video type of the screen-casting video through an action recognition model according to a plurality of reference video images.
- 2. The method according to claim 1, wherein the displaying, in the terminal interface, the screen-casting video of the user screen-casting through the peer device includes: Receiving a screen-casting video sent by a user through opposite-end equipment, wherein the screen-casting video is obtained by locally selecting the opposite-end equipment by the user; And displaying the screen-throwing video on a local terminal interface.
- 3. The method of claim 1, wherein said determining the video type of the video-on-screen by an action recognition model from a number of the reference video images comprises: Respectively inputting each reference video image into the action recognition model to obtain a picture background and a figure skeleton diagram corresponding to each reference video image; when the picture background of each reference video image is consistent, taking a character skeleton map corresponding to a reference video image with skeleton proportion reaching a preset proportion threshold value in a plurality of reference video images as a reference skeleton map, wherein the skeleton proportion comprises the size proportion of the character skeleton map of the reference video image to the reference video image; when the comparison result of the reference skeleton diagrams adjacent in time sequence describes the existence rule of the character action, counting the number of the reference skeleton diagrams with the existence rule; And when the number meets a preset number threshold, taking the body-building type as the video type of the screen-throwing video.
- 4. The method of claim 1, wherein when the video type describes that the video-on-screen video is a workout video, initiating a workout guide mode comprises: Pushing a start confirmation button of a fitness instruction mode to the user in the terminal interface when the video type describes that the screen-casting video is a fitness video; And when the user triggers the start confirmation button, starting the body-building guidance mode.
- 5. The method of claim 1, wherein the exercising interaction with the user according to the exercise coaching mode comprises: collecting action images formed by simulating the content of the screen-throwing video by a user; and displaying the action image on the terminal interface while the screen-throwing video is played.
- 6. The method of claim 5, wherein the action image is presented after the terminal interface while the on-screen video is being played, the method further comprising: Scoring the body-building action of the user according to the screen projection video and the deflection angle of the human skeleton in the action image to obtain an action scoring result; And displaying the action scoring result on the terminal interface.
- 7. A fitness interactive device, comprising: The display module is used for displaying a screen-throwing video of a user through the screen throwing of the opposite terminal equipment in the terminal interface; The determining module is used for determining the video type of the screen-throwing video according to the content of the screen-throwing video; The starting module is used for starting a body-building instruction mode when the video type describes that the screen-throwing video is a body-building video; The interaction module is used for carrying out body-building interaction with the user according to the body-building instruction mode; the determining the video type of the screen-casting video according to the content of the screen-casting video comprises the following steps: Selecting a plurality of video images from the plurality of video images as reference video images according to the time sequence of the plurality of video images in the screen-throwing video; And determining the video type of the screen-casting video through an action recognition model according to a plurality of reference video images.
- 8. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the fitness interaction method according to any one of claims 1-6 when the computer program is executed.
- 9. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the fitness interaction method according to any one of claims 1-6.
Description
Fitness interaction method and device, electronic equipment and computer readable storage medium Technical Field The embodiment of the application relates to the technical field of computers, in particular to a body-building interaction method, a body-building interaction device, electronic equipment and a computer readable storage medium. Background Along with the improvement of life quality, the user imitates the video action in the interface to perform body-building exercise to be normal, but at present, the video in the interface is less in variety and low in updating speed, so that the body-building experience of the user is not facilitated. Disclosure of Invention The embodiment of the application provides a body-building interaction method, a body-building interaction device, electronic equipment and a computer readable storage medium, which can assist a user in movement and realize guidance of the user action. In a first aspect, an embodiment of the present application provides a method for fitness interaction, including: displaying a screen-throwing video of a user through a screen throwing of opposite terminal equipment in a terminal interface; Determining the video type of the screen-casting video according to the content of the screen-casting video; when the video type describes that the screen-throwing video is a body-building video, starting a body-building instruction mode; And performing body-building interaction with the user according to the body-building instruction mode. In a second aspect, an embodiment of the present application further provides a fitness interaction device, including: The display module is used for displaying a screen-throwing video of a user through the screen throwing of the opposite terminal equipment in the terminal interface; The determining module is used for determining the video type of the screen-throwing video according to the content of the screen-throwing video; The starting module is used for starting a body-building instruction mode when the video type describes that the screen-throwing video is a body-building video; and the interaction module is used for carrying out body-building interaction with the user according to the body-building instruction mode. Wherein, in some embodiments of the application, the display module comprises: the receiving unit is used for receiving a screen-throwing video sent by a user through opposite-end equipment, wherein the screen-throwing video is obtained by locally selecting the opposite-end equipment by the user; and the display unit is used for displaying the screen-throwing video on a local terminal interface. Wherein, in some embodiments of the application, the determining module comprises: The selecting unit is used for selecting a plurality of video images from the video images as reference video images according to the time sequence of the video images in the screen-throwing video; and the determining unit is used for determining the video type of the screen-throwing video through the moving recognition model according to the plurality of reference video images. Wherein, in some embodiments of the application, the determining unit comprises: the input subunit is used for respectively inputting each reference video image into the action recognition model to obtain a picture background and a figure skeleton diagram corresponding to each reference video image; The screening subunit is used for taking a person skeleton map corresponding to a reference video image with skeleton proportion reaching a preset proportion threshold value in a plurality of reference video images as a reference skeleton map when the picture backgrounds of the reference video images are consistent, wherein the skeleton proportion comprises the proportion of the person skeleton map of the reference video image to the size of the reference video image; The statistics subunit is used for counting the number of the reference skeleton graphs of the existence rule when the comparison result of the reference skeleton graphs adjacent to the time sequence describes the existence rule of the character action; and the determining subunit is used for taking the body-building type as the video type of the screen-throwing video when the number meets a preset number threshold value. Wherein, in some embodiments of the application, the starting module comprises: The pushing unit is used for pushing a start confirmation button of a fitness instruction mode to the user in the terminal interface when the video type describes that the screen-cast video is a fitness video; and the starting unit is used for starting the body-building guidance mode when the user triggers the starting confirmation button. Wherein, in some embodiments of the present application, the interaction module includes: the acquisition unit is used for acquiring action images formed by simulating the content of the screen-throwing video by a user; And the playing unit is used for displaying t