CN115761071A - Fitness result display method, device, terminal and storage medium based on AR technology - Google Patents

Fitness result display method, device, terminal and storage medium based on AR technology Download PDF

Info

Publication number
CN115761071A
CN115761071A CN202211375211.4A CN202211375211A CN115761071A CN 115761071 A CN115761071 A CN 115761071A CN 202211375211 A CN202211375211 A CN 202211375211A CN 115761071 A CN115761071 A CN 115761071A
Authority
CN
China
Prior art keywords
fitness
user
actual
information
completion degree
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211375211.4A
Other languages
Chinese (zh)
Inventor
闫俊涛
吴伟
黄新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianyi Telecom Terminals Co Ltd
Original Assignee
Tianyi Telecom Terminals Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianyi Telecom Terminals Co Ltd filed Critical Tianyi Telecom Terminals Co Ltd
Priority to CN202211375211.4A priority Critical patent/CN115761071A/en
Publication of CN115761071A publication Critical patent/CN115761071A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention provides a fitness result display method, a fitness result display device, a fitness result display terminal and a storage medium based on AR technology, wherein the method comprises the following steps: acquiring image information of a user, and generating an AR virtual image according to the image information; acquiring a fitness project of a user, determining an exercise area according to the fitness project, and determining a result display area on the AR virtual image according to the exercise area; acquiring expected fitness information and actual fitness information of a user, calculating fitness completion degree according to the expected fitness information and the actual fitness information, and adjusting the display state of a result display area according to the fitness completion degree; and when the fitness completion degree is greater than a preset completion degree threshold value, generating a sharing link according to the AR virtual image, and sending the sharing link to the personal terminal of the user. The fitness result display method, the fitness result display device, the fitness result display terminal and the fitness result display storage medium based on the AR technology can improve the visibility of the fitness result of a user and bring convenience for the user to know and display the fitness result.

Description

Fitness result display method and device based on AR technology, terminal and storage medium
Technical Field
The invention belongs to the technical field of new-generation information, and particularly relates to a fitness result display method, device, terminal and storage medium based on AR technology.
Background
Along with the continuous promotion of the standard of living, more and more people like to utilize amateur time to carry out the body-building activity, can not only improve the fitness of fitness person through the body-building activity, can also carry out the moulding to the stature to make the fitness person obtain perfect stature curve.
In prior art, for the convenience monitors the process of body-building, the user can monitor the sign data (such as heartbeat, blood pressure etc.) of self through wearable smart machine (such as motion bracelet etc.) to the change through sign data reflects the health in the motion process, thereby avoids taking place the motion damage. After the exercise is finished, the existing intelligent equipment can generate a statistical chart according to the physical sign data and the exercise duration of the user, so that the fitness result is displayed. However, the traditional statistical chart cannot visually display the body shaping result of the user, and especially when the body curve of the user is not significantly changed in the initial stage of the body-building exercise, the user may lose the desire to build the body due to the inability to know the body shaping result, thereby preventing the exercise and the body-building from being continuously performed in the process.
Disclosure of Invention
In view of this, the present invention provides a method, an apparatus, a terminal and a storage medium for displaying a fitness result based on an AR technology, so as to achieve the purpose of improving the visibility of the fitness result.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a fitness result display method based on an AR technology, including:
acquiring image information of a user, and generating an AR virtual image according to the image information;
acquiring a fitness project of a user, determining an exercise area according to the fitness project, and determining a result display area on the AR virtual image according to the exercise area;
acquiring expected fitness information and actual fitness information of a user, calculating fitness completion according to the expected fitness information and the actual fitness information, and adjusting the display state of a result display area according to the fitness completion;
and when the fitness completion degree is greater than a preset completion degree threshold value, generating a sharing link according to the AR virtual image, and sending the sharing link to a personal terminal of a user.
Further, the image information of the user is obtained, which comprises the face image information and the body parameter information of the user;
the generating of the AR avatar according to the avatar information includes:
and generating a face image of the AR avatar according to the face image information of the user, and generating a body image of the AR avatar according to the body parameter information of the user.
Further, the acquiring the fitness items of the user comprises:
the method comprises the steps of obtaining a real-time body-building image of a user, comparing the real-time body-building image with the existing body-building image in a cloud database, and determining a body-building item corresponding to the existing body-building image with the highest image similarity as the body-building item of the current user.
The determining an exercise area from the fitness item includes:
and searching in the cloud database according to the fitness items, and determining the exercise area corresponding to the fitness items.
Further, the expected fitness information includes:
expected exercise times and expected single exercise durations;
the actual fitness information comprises:
actual fitness times and actual single fitness duration;
the calculating of the fitness completion degree according to the expected fitness information and the actual fitness information comprises the following steps:
calculating the expected fitness duration according to the product of the expected fitness times and the expected single fitness duration;
calculating the actual fitness duration according to the product of the actual fitness times and the actual single fitness duration;
and calculating the fitness completion degree according to the ratio of the actual fitness time length to the expected fitness time length.
Further, the adjusting the display state of the achievement display area according to the fitness completion degree includes:
adjusting the display brightness of the achievement display area according to the fitness completion degree, wherein the higher the fitness completion degree is, the higher the display brightness of the achievement display area is;
and/or the presence of a gas in the atmosphere,
and adjusting the pattern filling definition of the achievement display area according to the fitness completion degree, wherein the higher the fitness completion degree is, the higher the pattern filling definition of the achievement display area is.
Further, before the adjusting the display state of the achievement exhibition area according to the fitness achievement degree, the fitness achievement exhibition method based on the AR technology includes:
the method comprises the steps of obtaining actual motion parameters of a user, determining a correction coefficient according to the ratio of the actual motion parameters to preset motion parameters, and correcting the fitness completion degree according to the correction coefficient.
Further, the acquiring of the actual motion parameter of the user, determining a correction coefficient according to a ratio of the actual motion parameter to a preset motion parameter, and correcting the fitness completion according to the correction coefficient includes at least one of the following:
acquiring the actual action frequency of a user, determining a frequency correction coefficient according to the ratio of the actual action frequency to the preset action frequency, and correcting the fitness completion degree according to the frequency correction coefficient;
acquiring the actual action amplitude of a user, determining an amplitude correction coefficient according to the ratio of the actual action amplitude to the preset action amplitude, and correcting the fitness completion degree according to the amplitude correction coefficient;
the method comprises the steps of obtaining the actual weight of the sports equipment of a user, determining a weight correction coefficient according to the ratio of the actual weight of the sports equipment to the preset weight of the sports equipment, and correcting the fitness completion degree according to the weight correction coefficient.
In a second aspect, an embodiment of the present invention further provides a fitness result display apparatus based on AR technology, including:
the generating module is used for acquiring image information of a user and generating an AR virtual image according to the image information;
the determining module is used for acquiring the fitness item information of the user, determining an exercise area according to the fitness item information, and determining a result display area on the AR virtual image according to the exercise area;
the calculation adjustment module is used for acquiring fitness plan information and actual fitness information of a user, calculating fitness completion degree according to the fitness plan information and the actual fitness information, and adjusting the display state of the achievement display area according to the fitness completion degree;
and the sharing module is used for generating a sharing link according to the AR virtual image when the fitness completion degree is greater than a preset completion degree threshold value, and sending the sharing link to the personal terminal of the user.
In a third aspect, an embodiment of the present invention further provides a terminal, including:
one or more processors;
storage means for storing one or more programs;
the image acquisition device is used for acquiring images;
display means for displaying an AR avatar;
the sensor is used for acquiring action frequency and action amplitude;
when executed by the one or more processors, the one or more programs cause the one or more processors to implement the AR technology-based fitness product presentation methods provided by the embodiments described above.
In a fourth aspect, embodiments of the present invention further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are used to perform the method for demonstrating exercise achievement based on AR technology, as provided in the above embodiments.
Compared with the prior art, the body building result display method, the body building result display device, the body building result display terminal and the body building result display storage medium based on the AR technology have the following advantages:
the invention creates the fitness result display method, the fitness result display device, the fitness result display terminal and the storage medium based on the AR technology, which can generate the AR virtual image according to the image information of the user and can determine the result display area on the AR virtual image according to the exercise area corresponding to the fitness project. After the user finishes the fitness exercise, the display state of the achievement display area can be adjusted according to the fitness achievement degree of the user, so that the visibility of the fitness achievement is improved, the user can conveniently and visually know the fitness achievement, and the continuous fitness desire of the user is further stimulated.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation of the invention. In the drawings:
fig. 1 is a flowchart of a method for displaying a fitness result based on AR technology according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a method for displaying exercise results based on AR technology according to the second embodiment of the present invention;
FIG. 3 is a flowchart of a fitness result display method based on AR technology according to the third embodiment of the present invention;
fig. 4 is a flowchart of a fitness result display method based on AR technology according to the fourth embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an AR technology-based exercise result display device according to the fifth embodiment of the present invention;
fig. 6 is a structural diagram of a terminal according to a sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a fitness achievement display method based on the AR technology according to an embodiment of the present invention, and as shown in the drawing, the fitness achievement display method based on the AR technology specifically includes the following steps:
and step 110, acquiring the image information of the user, and generating the AR virtual image according to the image information.
In order to improve the visibility of the fitness result of the user and facilitate the user to visually and vividly know the self-exercise result, the fitness result is displayed through the AR virtual image. It should be noted that the AR avatar is a character model generated based on Augmented Reality (AR for short), and in an initial state, all the AR avatars have the same basic facial features and basic body features, and a software developer may preset various additional facial features and additional body features in a database.
In addition, in order to improve the similarity between the AR avatar and the user itself and further improve the user experience, the embodiment may acquire the user image information and generate the exclusive AR avatar according to the user image information before the user starts using the AR avatar.
Optionally, in this embodiment, the avatar information of the user may include face image information and body parameter information of the user. The facial image information can be obtained through pictures or video data provided by the user, and the user can be captured by a camera device arranged in the body-building area of the user, so that the facial image information of the user is obtained. The body parameter information may require user input before the user begins exercising, including but not limited to the user's height, weight, arm extension, waist circumference, and other parameters. After the face image information and the body parameter information of the user are obtained, the face image of the AR virtual image can be generated according to the face image information of the user, so that the similarity between the AR virtual image and the user is improved, meanwhile, the body image of the AR virtual image can be generated according to the body parameter information of the user, the body proportion of the AR virtual image is closer to that of the user, and the reality degree of fitness result display is improved.
And step 120, acquiring a fitness item of the user, determining an exercise area according to the fitness item, and determining a result display area on the AR avatar according to the exercise area.
Since different fitness items will have different effects on the body of the user, the embodiment will acquire the fitness items of the user after generating the AR avatar, so as to adjust the effect of the achievement display of the AR avatar for the fitness items. Specifically, after a fitness item is determined, the body area to be exercised by the item may be determined based on the fitness item, and this area may be set as an exercise area. And then, an achievement display area on the AR virtual image can be determined according to the exercise area, and the fitness achievement display is carried out in the achievement display area, so that the display visibility of the fitness achievement is improved, and a user can know the self fitness progress in time conveniently. Meanwhile, the achievement display area corresponds to the exercise area of the fitness project, so that other people can quickly know the exercise direction of the current user through the position of the achievement display area, and the user can conveniently share the exercise direction in a social mode.
Illustratively, when the user performs a fitness project of "sit-up", the waist and abdomen part of the user is an exercise area, and at this time, the waist and abdomen part on the AR avatar may be determined as an achievement display area, so that the sit-up exercise achievement of the user is represented by the display state of the achievement display area.
And step 130, obtaining expected fitness information and actual fitness information of the user, calculating fitness completion according to the expected fitness information and the actual fitness information, and adjusting the display state of the achievement display area according to the fitness completion.
During the actual fitness exercise, the user's fitness efforts are typically correlated with their fitness progress, i.e., the higher the user's fitness progress, the more significant the user's fitness efforts. In order to conveniently evaluate the fitness result of the user and enable the display state of the result display area to correspond to the fitness progress, the expected fitness information and the actual fitness information of the user are obtained, and the fitness completion degree is calculated according to the expected fitness information and the actual fitness information. Specifically, the expected fitness information refers to a fitness plan made by the user before starting fitness, for example: the number of times of body-building, the length of body-building, the strength of body-building, etc. the actual body-building information refers to the body-building activities actually completed by the user after starting to build the body, for example: actual number of exercises, actual length of exercise, and actual intensity of exercise. When the fitness completion degree is calculated, the ratio between the actual fitness information and the preset fitness information can be calculated, the larger the ratio is, the higher the fitness completion degree is proved, and the corresponding achievement display area is displayed in a more obvious mode.
And 140, when the fitness completion degree is greater than a preset completion degree threshold value, generating a sharing link according to the AR virtual image, and sending the sharing link to a personal terminal of the user.
Before the fitness is carried out, the user can set a preset completion threshold value according to the personal preference or the type of fitness items, when the fitness completion of the user is larger than the preset completion threshold value, the fitness activity of the user can be represented to obtain a stage result, the sharing link can be generated according to the AR virtual image at the moment, and the sharing link is sent to the personal terminal of the user, so that the user can conveniently share the fitness results. Because the AR avatar has the achievement display area related to the fitness project, and the display state of the achievement display area is related to the fitness completion degree of the user, the social attribute of the fitness activity can be improved in the process that the user shares and popularizes the AR avatar, and the desire of the user for the fitness activity is further improved.
The embodiment can generate the AR avatar according to the avatar information of the user, and can determine the result display area on the AR avatar according to the exercise area corresponding to the fitness item. After the user finishes the fitness exercise, the display state of the achievement display area can be adjusted according to the fitness achievement degree of the user, so that the visibility of the fitness achievement is improved, the user can visually know the fitness achievement conveniently, the user can share and popularize the fitness achievement conveniently, and the continuous fitness desire of the user is further stimulated.
Example two
Fig. 2 is a flowchart of a fitness result display method based on AR technology according to a second embodiment of the present invention. In this embodiment, the obtaining of the fitness items of the user is specifically optimized as follows:
the method comprises the steps of obtaining a real-time body-building image of a user, comparing the real-time body-building image with the existing body-building image in a cloud database, and determining a body-building item corresponding to the existing body-building image with the highest image similarity as the body-building item of the current user.
And determining the exercise area according to the fitness item, specifically optimizing as follows:
and searching in the cloud database according to the fitness items, and determining the exercise area corresponding to the fitness items.
Correspondingly, the method for displaying the fitness result based on the AR technology provided by the embodiment specifically includes:
and step 210, acquiring the image information of the user, and generating an AR virtual image according to the image information.
Step 220, acquiring a real-time body-building image of the user, comparing the real-time body-building image with the existing body-building image in the cloud database, and determining a body-building item corresponding to the existing body-building image with the highest image similarity as the body-building item of the current user; and searching in the cloud database according to the fitness items, determining an exercise area corresponding to the fitness items, and determining a result display area on the AR virtual image according to the exercise area.
In the actual process of body-building exercise, the user may lack professional guidance, so most users cannot clearly determine the body-building items performed by themselves, and accordingly, the body-building items cannot be accurately corresponded to the body parts actually exercised. Therefore, the position of the result display area on the AR virtual image is deviated, and the effect of the fitness result display is influenced. In order to solve the problem, in the embodiment, when the user performs fitness exercise, the exercise implementation image of the user is obtained, the real-time exercise implementation image is compared with the existing exercise image in the cloud database, and the similarity between the user action in the exercise implementation image and the action of the person in the existing exercise image is calculated. The similarity degree between the fitness items currently performed by the user and the fitness items corresponding to the existing fitness images can be judged through the similarity between the user actions and the character actions, namely, the higher the similarity between the user actions and the character actions, the more similar the fitness items currently performed by the user and the fitness items corresponding to the existing fitness images. At the moment, the fitness item corresponding to the existing fitness image with the highest similarity can be determined as the fitness item of the current user, so that the user can clearly determine the fitness item on the premise of lacking professional guidance.
Accordingly, after the fitness items are determined, the user may not be able to determine the exercise area corresponding to the fitness items, and at this time, the embodiment searches in the cloud database according to the fitness items so as to determine the exercise area. In addition, in order to improve the accuracy of the corresponding relation between the exercise area and the fitness items, a software developer can hire a professional fitness coach to match and correspond common fitness items and the exercise area in the cloud data in advance, and therefore the accuracy of the search result of the cloud database is improved.
Step 230, obtaining expected fitness information and actual fitness information of the user, calculating fitness completion according to the expected fitness information and the actual fitness information, and adjusting the display state of the achievement display area according to the fitness completion;
and 240, when the fitness completion degree is larger than a preset completion degree threshold value, generating a sharing link according to the AR virtual image, and sending the sharing link to the personal terminal of the user.
The embodiment specifically optimizes the acquisition of the fitness items of the user as follows: the method comprises the steps of obtaining a real-time body-building image of a user, comparing the real-time body-building image with the existing body-building image in a cloud database, and determining a body-building item corresponding to the existing body-building image with the highest image similarity as the body-building item of the current user. And determining the exercise area according to the fitness item, specifically optimizing as follows: and searching in the cloud database according to the fitness items, and determining the exercise area corresponding to the fitness items. The fitness items and the exercise areas corresponding to the fitness items can be determined by combining the data in the cloud database on the premise that the user lacks professional fitness guidance, so that the positions of the achievement display areas are more accurate.
EXAMPLE III
Fig. 3 is a flowchart of a fitness result display method based on AR technology according to a third embodiment of the present invention. In this embodiment, the display state of the achievement display area is adjusted according to the fitness completion degree, and specifically optimized as follows:
adjusting the display brightness of the achievement display area according to the fitness completion degree, wherein the higher the fitness completion degree is, the higher the display brightness of the achievement display area is;
and/or the presence of a gas in the gas,
and adjusting the pattern filling definition of the achievement display area according to the fitness completion degree, wherein the higher the fitness completion degree is, the higher the pattern filling definition of the achievement display area is.
Correspondingly, the method for displaying the fitness result based on the AR technology provided by the embodiment specifically includes:
and 310, acquiring the image information of the user, and generating the AR virtual image according to the image information.
And step 320, acquiring a fitness project of the user, determining an exercise area according to the fitness project, and determining a result display area on the AR avatar according to the exercise area.
Step 330, obtaining expected fitness information and actual fitness information of the user, calculating fitness completion according to the expected fitness information and the actual fitness information, and adjusting the display brightness of the achievement display area according to the fitness completion, wherein the higher the fitness completion, the higher the display brightness of the achievement display area is; and/or adjusting the pattern filling definition of the achievement display area according to the fitness completion degree, wherein the higher the fitness completion degree is, the higher the pattern filling definition of the achievement display area is.
In order to conveniently display the fitness achievement of the user in combination with the fitness achievement degree, the display brightness and/or pattern filling definition of the achievement display area can be adjusted according to the fitness achievement degree. Because the display brightness and/or pattern filling definition of the achievement display area can influence the conspicuousness of the achievement display area, when the fitness achievement degree is higher, the display brightness and/or pattern filling definition of the achievement display area are correspondingly improved, and therefore the user can conveniently conduct straight pipe connection on the fitness achievement of the user through the display brightness and/or pattern filling definition of the achievement display area.
Illustratively, when the fitness completion degree of the user is embodied through the pattern filling definition of the achievement display area, the achievement display area of the AR avatar can be filled with the floral patterns. If the fitness item performed by the user is 'sit-up', the waist and abdomen parts of the AR virtual image are filled with patterns, and the patterns of the waist and abdomen parts become clear gradually along with the improvement of the fitness completion degree of the user. Correspondingly, the user can adjust the content of the filling pattern according to the preference of the user, so that the actual state of the achievement display area corresponds to the preference of the user.
As an optional implementation manner of this embodiment, in order to facilitate the calculation of the fitness completion of the user, the expected fitness information described in this embodiment may include an expected fitness number and an expected single fitness duration, and the actual fitness information may include an actual fitness number and an actual single fitness duration. Correspondingly, when the fitness completion degree is calculated according to the expected fitness information and the actual fitness information, the expected fitness duration is calculated according to the product of the expected fitness times and the expected single fitness duration, the actual fitness duration is calculated according to the product of the actual fitness times and the actual single fitness duration, and the fitness completion degree is calculated according to the ratio of the actual fitness duration to the expected fitness duration.
And 340, when the fitness completion degree is larger than a preset completion degree threshold value, generating a sharing link according to the AR virtual image, and sending the sharing link to the personal terminal of the user.
In this embodiment, the display state of the achievement display area is adjusted according to the fitness achievement degree, and the display state is specifically optimized as follows: adjusting the display brightness of the achievement display area according to the fitness completion degree, wherein the higher the fitness completion degree is, the higher the display brightness of the achievement display area is; and/or adjusting the pattern filling definition of the achievement display area according to the fitness completion degree, wherein the higher the fitness completion degree is, the higher the pattern filling definition of the achievement display area is. The fitness completion degree of the user can be embodied by means of the display brightness and/or pattern filling definition of the achievement display area on the AR virtual image, so that the fitness achievement of the user is reflected visually.
Example four
Fig. 4 is a flowchart of a fitness result display method based on AR technology according to a fourth embodiment of the present invention. In this embodiment, before the display state of the achievement exhibition area is adjusted according to the fitness completion level, the following steps are added:
acquiring the actual motion parameters of a user, determining a correction coefficient according to the ratio of the actual motion parameters to the preset motion parameters, and correcting the fitness completion degree according to the correction coefficient.
Correspondingly, the method for displaying the fitness achievement based on the AR technology provided by the embodiment specifically includes:
and step 410, acquiring the image information of the user, and generating the AR virtual image according to the image information.
And step 420, acquiring a fitness project of the user, determining an exercise area according to the fitness project, and determining a result display area on the AR avatar according to the exercise area.
And 430, acquiring expected fitness information and actual fitness information of the user, and calculating fitness completion according to the expected fitness information and the actual fitness information.
And 440, acquiring the actual motion parameter of the user, determining a correction coefficient according to the ratio of the actual motion parameter to the preset motion parameter, and correcting the fitness completion degree according to the correction coefficient.
In the process of actual body-building exercise, the action quality of the user can influence the body-building result, and if the finishing quality of the body-building action of the user is low, the user cannot receive the corresponding body-building result when the corresponding body-building finishing degree is reached. Therefore, in order to improve the accuracy of adjusting the display state of the result display area, the embodiment can obtain the actual exercise parameters of the user after calculating the exercise completion degree according to the expected exercise information and the actual exercise information, and set the values of the preset exercise parameters before starting the exercise, so as to reflect the action quality corresponding to the standard action by means of the preset exercise parameters. After the actual exercise parameters are obtained, the ratio of the actual exercise parameters to the preset exercise parameters is calculated, so that correction coefficients are obtained, then the product of the correction coefficients and the fitness completion degree is calculated, and the fitness completion degree is corrected by means of the correction coefficients, so that the corrected fitness completion degree accurately reflects the fitness effect of the user.
It should be noted that if the correction coefficient is less than 1, it is proved that the quality of the exercise completion of the user is low, and the exercise completion degree after correction is less than the exercise completion degree in the initial state, so the adjustment degree of the display state of the achievement exhibition area will be low. If the correction coefficient is larger than 1, the user is proved to finish the corresponding action with high quality, and the fitness completion degree after correction is larger than that of the initial state, so that the adjustment degree of the display state of the achievement display area is increased.
Optionally, in this embodiment, the actual exercise parameter of the user may be obtained, the correction coefficient may be determined according to a ratio of the actual exercise parameter to a preset exercise parameter, and the fitness completion level may be corrected according to the correction coefficient, which is specifically optimized as at least one of the following:
the method comprises the steps of obtaining the actual action frequency of a user, determining a frequency correction coefficient according to the ratio of the actual action frequency to the preset action frequency, and correcting the fitness completion degree according to the frequency correction coefficient.
When a fitness project with high requirement on the action frequency, such as 'lifting legs in situ', is carried out, the actual action frequency of a user can have a decisive influence on the fitness result. At the moment, the actual action frequency of the user can be detected through the wearable intelligent device carried by the user, and the frequency correction coefficient is determined according to the ratio of the actual action frequency to the preset action frequency, so that the fitness completion degree can be corrected conveniently through the frequency correction coefficient.
The method comprises the steps of obtaining the actual action amplitude of a user, determining an amplitude correction coefficient according to the ratio of the actual action amplitude to the preset action amplitude, and correcting the fitness completion degree according to the amplitude correction coefficient.
When a body-building project with high requirements on the action amplitude, such as 'push-up', is carried out, the actual action amplitude of a user can have a decisive influence on the body-building result. At the moment, the actual action frequency of the user can be detected through the wearable intelligent device carried by the user, and the amplitude correction coefficient is determined according to the ratio of the actual action amplitude to the preset action frequency, so that the fitness completion degree can be corrected conveniently through the amplitude correction coefficient.
The method comprises the steps of obtaining the actual weight of the sports equipment of a user, determining a weight correction coefficient according to the ratio of the actual weight of the sports equipment to the preset weight of the sports equipment, and correcting the fitness completion degree according to the weight correction coefficient.
In the course of performing the exercise, the user may use the exercise equipment such as the dumbbell, and thus the weight of the exercise equipment will have a decisive influence on the exercise result. At the moment, the user can input the weight of the actual sports equipment before starting the fitness exercise, and the weight correction coefficient is determined according to the ratio of the weight of the actual sports equipment to the weight of the preset sports equipment, so that the fitness completion degree can be corrected conveniently through the weight correction coefficient.
And step 450, adjusting the display state of the achievement display area according to the fitness completion degree.
And 460, when the fitness completion degree is larger than a preset completion degree threshold value, generating a sharing link according to the AR virtual image, and sending the sharing link to the personal terminal of the user.
In this embodiment, before the display status of the achievement exhibition area is adjusted according to the fitness completion level, the following steps are added: the method comprises the steps of obtaining actual motion parameters of a user, determining a correction coefficient according to the ratio of the actual motion parameters to preset motion parameters, and correcting the fitness completion degree according to the correction coefficient. The correction coefficient can be determined by combining with the actual motion parameters of the user, and the fitness completion degree is corrected and adjusted through the correction coefficient, so that the fitness completion degree is corrected according to the action quality of the user, and the adjustment accuracy of the display state of the achievement display area is improved.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an exercise result display apparatus based on AR technology according to a fifth embodiment of the present invention, as shown in fig. 5, the apparatus includes:
a generating module 510, configured to obtain image information of a user, and generate an AR avatar according to the image information;
a determining module 520, configured to obtain fitness item information of the user, determine an exercise area according to the fitness item information, and determine a result display area on the AR avatar according to the exercise area;
the calculation and adjustment module 530 is used for acquiring the fitness plan information and the actual fitness information of the user, calculating the fitness completion degree according to the fitness plan information and the actual fitness information, and adjusting the display state of the achievement display area according to the fitness completion degree;
and the sharing module 540 is used for generating a sharing link according to the AR virtual image when the fitness completion degree is greater than a preset completion degree threshold value, and sending the sharing link to the personal terminal of the user.
The fitness result display device based on the AR technology provided by the embodiment can generate the AR virtual image through the generation module, and determine the result display area on the AR virtual image through the determination module, so that the fitness result of the user can be conveniently displayed through the AR virtual image. Secondly, the device can also calculate the fitness completion degree of the user through the calculation and adjustment module, and adjust the display state of the achievement display area according to the fitness completion degree, so that the display state of the achievement display area corresponds to the fitness completion degree of the user. In addition, this device can also share the link according to AR avatar generation through sharing the module to will share the link and send to user's personal terminal on, thereby be convenient for the user to carry out the body-building achievement and share, further arouse user's body-building desire.
On the basis of the above embodiment, the generating module includes:
a face generation unit for acquiring face image information of a user and generating a face image of the AR avatar according to the face image information;
and the body generating unit is used for acquiring the body parameter information of the user and generating the body image of the AR virtual image according to the body parameter information of the user.
On the basis of the above embodiment, the determining module includes:
the fitness item determining unit is used for acquiring a real-time fitness image of the user, comparing the real-time fitness image with the existing fitness image in the cloud database, and determining the fitness item corresponding to the existing fitness image with the highest image similarity as the fitness item of the current user;
and the exercise area determining unit is used for searching in the cloud database according to the fitness items and determining the exercise area corresponding to the fitness items.
On the basis of the above embodiment, the calculation adjustment module includes:
the expected fitness time length calculating unit is used for calculating expected fitness time length according to the product of the expected fitness times and the expected single fitness time length;
the actual fitness time length calculating unit is used for calculating the actual fitness time length according to the product of the actual fitness times and the actual single fitness time length;
and the fitness completion degree calculating unit is used for calculating the fitness completion degree according to the ratio of the actual fitness time length to the expected fitness time length.
On the basis of the above embodiment, the calculation adjustment module includes:
the display brightness adjusting unit is used for adjusting the display brightness of the achievement display area according to the fitness completion degree, and the higher the fitness completion degree is, the higher the display brightness of the achievement display area is;
and the pattern filling definition adjusting unit is used for adjusting the pattern filling definition of the achievement display area according to the fitness completion degree, and the higher the fitness completion degree is, the higher the pattern filling definition of the achievement display area is.
On the basis of the above embodiment, the apparatus further includes:
and the correction module is used for acquiring the actual motion parameters of the user, determining a correction coefficient according to the ratio of the actual motion parameters to the preset motion parameters, and correcting the fitness completion degree according to the correction coefficient.
On the basis of the above embodiment, the modification module includes:
the frequency correction unit is used for acquiring the actual action frequency of the user, determining a frequency correction coefficient according to the ratio of the actual action frequency to the preset action frequency, and correcting the fitness completion degree according to the frequency correction coefficient;
the amplitude correction unit is used for acquiring the actual action amplitude of the user, determining an amplitude correction coefficient according to the ratio of the actual action amplitude to the preset action amplitude, and correcting the fitness completion degree according to the amplitude correction coefficient;
and the weight correction unit is used for acquiring the actual weight of the sports equipment of the user, determining a weight correction coefficient according to the ratio of the actual weight of the sports equipment to the preset weight of the sports equipment, and correcting the fitness completion degree according to the weight correction coefficient.
The fitness achievement display device based on the AR technology can execute the fitness achievement display method based on the AR technology provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE six
Fig. 6 is a schematic structural diagram of a terminal according to a sixth embodiment of the present invention. Fig. 6 illustrates a block diagram of an exemplary terminal 12 suitable for use in implementing embodiments of the present invention. The terminal 12 shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 6, the terminal 12 is embodied in the form of a general purpose computing device. The components of the terminal 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Terminal 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by terminal 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache 32. The terminal 12 can further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination of which may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of embodiments of the invention as described.
The terminal 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the terminal 12, and/or any devices (e.g., network card, modem, etc.) that enable the terminal 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the terminal 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with the other modules of the terminal 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the terminal 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, to name a few.
In addition, the terminal described in this embodiment should further include an image capturing device, a display device and a sensor (not shown in the figure), wherein the image capturing device can select common image capturing devices such as a camera, the display device can select devices with AR image display functions such as an AR display or AR glasses, and the sensor can select common sensors such as a gyroscope and an acceleration sensor. When the fitness equipment is used, the image acquisition device can acquire images of a user, AR virtual images can be generated conveniently, fitness items can be determined conveniently, the display device can display the AR virtual images of the user, the user can be connected with fitness results visually conveniently, the sensor can acquire action frequency and action amplitude of the user, and actual motion parameters of the user can be reflected conveniently.
The processing unit 16 executes programs stored in the system memory 28 to execute various functional applications and data processing, such as implementing the AR technology-based exercise performance display method provided by the embodiments of the present invention.
EXAMPLE seven
Seventh, an embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for displaying exercise results based on AR technology as described in any one of the embodiments.
Computer storage media for embodiments of the present invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will appreciate that the present invention is not limited to the particular embodiments described herein, and that various obvious changes, rearrangements and substitutions will now be apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A fitness result display method based on AR technology is characterized by comprising the following steps:
acquiring image information of a user, and generating an AR virtual image according to the image information;
acquiring a fitness project of a user, determining an exercise area according to the fitness project, and determining a result display area on the AR virtual image according to the exercise area;
acquiring expected fitness information and actual fitness information of a user, calculating fitness completion degree according to the expected fitness information and the actual fitness information, and adjusting the display state of a result display area according to the fitness completion degree;
and when the fitness completion degree is greater than a preset completion degree threshold value, generating a sharing link according to the AR virtual image, and sending the sharing link to a personal terminal of a user.
2. The AR technology-based fitness result display method of claim 1, wherein: the image information of the user is obtained, and the image information comprises facial image information and body parameter information of the user;
the generating of the AR avatar according to the avatar information includes:
and generating a face image of the AR avatar according to the face image information of the user, and generating a body image of the AR avatar according to the body parameter information of the user.
3. The AR technology-based fitness result display method of claim 1, wherein: the method for acquiring the fitness items of the user comprises the following steps:
the method comprises the steps of obtaining a real-time body-building image of a user, comparing the real-time body-building image with the existing body-building image in a cloud database, and determining a body-building item corresponding to the existing body-building image with the highest image similarity as the body-building item of the current user.
The determining an exercise area from the fitness item includes:
and searching in the cloud database according to the fitness items, and determining the exercise area corresponding to the fitness items.
4. The AR technology-based fitness result display method of claim 1, wherein: the expected fitness information comprises:
expected exercise times and expected individual exercise durations;
the actual fitness information comprises:
actual fitness times and actual single fitness duration;
the calculating of the fitness completion degree according to the expected fitness information and the actual fitness information comprises the following steps:
calculating the expected fitness duration according to the product of the expected fitness times and the expected single fitness duration;
calculating the actual fitness duration according to the product of the actual fitness times and the actual single fitness duration;
and calculating the fitness completion degree according to the ratio of the actual fitness time length to the expected fitness time length.
5. The AR technology-based fitness result display method of claim 1, wherein: adjusting the display state of the achievement display area according to the fitness completion degree, comprising:
adjusting the display brightness of the achievement display area according to the fitness completion degree, wherein the higher the fitness completion degree is, the higher the display brightness of the achievement display area is;
and/or the presence of a gas in the atmosphere,
and adjusting the pattern filling definition of the achievement display area according to the fitness completion degree, wherein the higher the fitness completion degree is, the higher the pattern filling definition of the achievement display area is.
6. The AR technology-based fitness product demonstration method of claim 1, wherein: before the adjusting the display state of the achievement display area according to the fitness completion degree, the fitness achievement display method based on the AR technology comprises the following steps:
the method comprises the steps of obtaining actual motion parameters of a user, determining a correction coefficient according to the ratio of the actual motion parameters to preset motion parameters, and correcting the fitness completion degree according to the correction coefficient.
7. The AR technology-based fitness result display method of claim 6, wherein: the method comprises the following steps of obtaining actual motion parameters of a user, determining a correction coefficient according to the ratio of the actual motion parameters to preset motion parameters, and correcting the fitness completion degree according to the correction coefficient, wherein the correction coefficient comprises at least one of the following:
acquiring the actual action frequency of a user, determining a frequency correction coefficient according to the ratio of the actual action frequency to the preset action frequency, and correcting the fitness completion degree according to the frequency correction coefficient;
acquiring the actual action amplitude of a user, determining an amplitude correction coefficient according to the ratio of the actual action amplitude to the preset action amplitude, and correcting the fitness completion degree according to the amplitude correction coefficient;
the method comprises the steps of obtaining the actual weight of the sports equipment of a user, determining a weight correction coefficient according to the ratio of the actual weight of the sports equipment to the preset weight of the sports equipment, and correcting the fitness completion degree according to the weight correction coefficient.
8. A fitness product display device based on AR technology, characterized by comprising:
the generating module is used for acquiring image information of a user and generating an AR virtual image according to the image information;
the determining module is used for acquiring the fitness item information of the user, determining an exercise area according to the fitness item information, and determining a result display area on the AR virtual image according to the exercise area;
the calculation adjustment module is used for acquiring fitness plan information and actual fitness information of a user, calculating fitness completion degree according to the fitness plan information and the actual fitness information, and adjusting the display state of the achievement display area according to the fitness completion degree;
and the sharing module is used for generating a sharing link according to the AR virtual image when the fitness completion degree is greater than a preset completion degree threshold value, and sending the sharing link to the personal terminal of the user.
9. A terminal, characterized in that the terminal comprises:
one or more processors;
storage means for storing one or more programs;
the image acquisition device is used for acquiring images;
display means for displaying an AR avatar;
the sensor is used for acquiring action frequency and action amplitude;
when executed by the one or more processors, cause the one or more processors to implement the AR technology-based exercise performance display method of any one of claims 1-7.
10. A storage medium containing computer-executable instructions for performing the AR technology-based fitness product demonstration method of any one of claims 1-7 when executed by a computer processor.
CN202211375211.4A 2022-11-04 2022-11-04 Fitness result display method, device, terminal and storage medium based on AR technology Pending CN115761071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211375211.4A CN115761071A (en) 2022-11-04 2022-11-04 Fitness result display method, device, terminal and storage medium based on AR technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211375211.4A CN115761071A (en) 2022-11-04 2022-11-04 Fitness result display method, device, terminal and storage medium based on AR technology

Publications (1)

Publication Number Publication Date
CN115761071A true CN115761071A (en) 2023-03-07

Family

ID=85356454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211375211.4A Pending CN115761071A (en) 2022-11-04 2022-11-04 Fitness result display method, device, terminal and storage medium based on AR technology

Country Status (1)

Country Link
CN (1) CN115761071A (en)

Similar Documents

Publication Publication Date Title
CN109432753B (en) Action correcting method, device, storage medium and electronic equipment
CN108764120B (en) Human body standard action evaluation method
CN112237730A (en) Body-building action correcting method and electronic equipment
CN107930048B (en) Space somatosensory recognition motion analysis system and motion analysis method
KR20220028654A (en) Apparatus and method for providing taekwondo movement coaching service using mirror dispaly
CN109144252B (en) Object determination method, device, equipment and storage medium
WO2022093958A1 (en) Adaptive skeletal joint smoothing
US20150147734A1 (en) Movement assessor
CN110298279A (en) A kind of limb rehabilitation training householder method and system, medium, equipment
US11049321B2 (en) Sensor-based object tracking and monitoring
CN114022512A (en) Exercise assisting method, apparatus and medium
EP3550504A1 (en) Extraction order determining method using computer, and program
CN112766027A (en) Image processing method, device, equipment and storage medium
CN111597975A (en) Personnel action detection method and device and electronic equipment
CN111967407A (en) Action evaluation method, electronic device, and computer-readable storage medium
US20220092300A1 (en) Display apparatus and method for controlling thereof
CN117078976B (en) Action scoring method, action scoring device, computer equipment and storage medium
CN111353345B (en) Method, apparatus, system, electronic device, and storage medium for providing training feedback
CN115761071A (en) Fitness result display method, device, terminal and storage medium based on AR technology
WO2023035725A1 (en) Virtual prop display method and apparatus
CN116099181A (en) Upper limb strength training auxiliary system based on universe and application method thereof
CN114063761B (en) Gaze point display method and related device
CN110866417A (en) Image processing method and device and electronic equipment
CN114067953A (en) Rehabilitation training method, system and computer readable storage medium
CN113723306A (en) Push-up detection method, device and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination