CN110740215A - Method and device for reminding user of amount of exercise, storage medium and terminal equipment - Google Patents

Method and device for reminding user of amount of exercise, storage medium and terminal equipment Download PDF

Info

Publication number
CN110740215A
CN110740215A CN201911033275.4A CN201911033275A CN110740215A CN 110740215 A CN110740215 A CN 110740215A CN 201911033275 A CN201911033275 A CN 201911033275A CN 110740215 A CN110740215 A CN 110740215A
Authority
CN
China
Prior art keywords
user
beautification
image
preset
motion
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.)
Granted
Application number
CN201911033275.4A
Other languages
Chinese (zh)
Other versions
CN110740215B (en
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201911033275.4A priority Critical patent/CN110740215B/en
Publication of CN110740215A publication Critical patent/CN110740215A/en
Application granted granted Critical
Publication of CN110740215B publication Critical patent/CN110740215B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/30ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to physical therapies or activities, e.g. physiotherapy, acupressure or exercising
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Biophysics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Epidemiology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The disclosure relates to the technical field of electronic information, in particular to motion amount reminding methods, devices, storage media and terminal equipment, which are used for detecting whether the terminal equipment is in a motion mode or not, acquiring a user image acquired by the terminal equipment in the motion mode when the terminal equipment is in the motion mode, taking the user image as a to-be-processed image, determining a relation between an actual motion parameter and a preset motion parameter within preset time, processing the to-be-processed image according to the relation to obtain a target image and displaying the target image, wherein the target image is used for representing the appearance of a user corresponding to the actual motion parameter, displaying the appearance of the user corresponding to the actual motion parameter for the user in real time, and effectively reminding and exciting the user to move.

Description

Method and device for reminding user of amount of exercise, storage medium and terminal equipment
Technical Field
The present disclosure relates to the field of electronic information technologies, and in particular, to motion amount reminding methods and apparatuses, a storage medium, and a terminal device.
Background
As mobile smart devices such as cell phones and tablets have evolved, the mobile smart device is widely used in daily life of people, for example, the mobile smart device may record the amount of motion of its user and friends of the user and present the motion to the user in a ranked form.
However, with the continuous development of science and technology, people prefer to play games or watch videos on the internet in idle time, and do not like activities, so that the physical health status of many people gradually decreases, people have exercise awareness, but the user motion cannot be effectively stimulated only in a ranking mode, and therefore most users have difficulty in making a decision on physical exercise.
Disclosure of Invention
In order to solve the above problems, the present disclosure provides exercise amount reminding methods, apparatuses, storage media, and terminal devices, which reflect a shape corresponding to an actual exercise amount of a user in an intuitive form, such as an image, based on an actual exercise parameter and a preset exercise parameter of the user, and are used to stimulate the user to exercise.
, motion quantity reminding methods are applied to terminal equipment, and the method comprises the following steps:
detecting whether the terminal equipment is in a motion mode;
when the terminal equipment is in a motion mode, acquiring a user image acquired by the terminal equipment in the motion mode, and taking the user image as an image to be processed;
determining the relation between the actual motion parameters and the preset motion parameters within the preset time;
and processing the image to be processed according to the relation to obtain a target image and displaying the target image, wherein the target image is used for representing the appearance of the user corresponding to the actual motion parameter.
Optionally, in the method for reminding the amount of exercise, the method further includes, when the terminal device is not in the exercise mode, acquiring at least user images stored in a memory of the terminal device, and taking the user images as images to be processed.
Optionally, in the method for reminding the amount of exercise, the actual exercise parameter is obtained in the following manner:
acquiring actual motion parameters received by the terminal equipment within preset time;
or, obtaining the actual motion parameters in the preset time collected by the motion parameter collector in the terminal equipment.
Optionally, in the method for reminding the amount of exercise, when the relationship is a proportional relationship, the step of processing the image to be processed according to the relationship to obtain the target image includes:
when the proportional relation is that the ratio between the actual motion parameter and the preset motion parameter is larger than 1, obtaining beautification base numbers according to the actual motion parameter and the preset motion parameter, and carrying out beautification processing on the image to be processed according to the beautification base numbers to obtain a target image;
and when the proportional relation is that the ratio between the actual motion parameter and the preset motion parameter is less than 1, obtaining a pharming base according to the actual motion parameter and the preset motion parameter, and performing pharming processing on the image to be processed according to the pharming base to obtain a target image.
Optionally, in the above method for reminding the amount of exercise, the beautification base number is obtained by the following calculation method:
R2=(S1-S2)/S2*I2,
wherein R2 is the beautification base number, S1 is the actual movement parameter, S2 is the preset movement parameter, I2 is a maximum beautification coefficient, the beautification base number is at least of a body beautification base number and a skin beautification base number, and when the beautification base number includes the body beautification base number, the maximum beautification coefficient includes a maximum body beautification coefficient, and when the beautification base number includes the skin beautification base number, the maximum beautification coefficient includes a maximum skin beautification coefficient.
Optionally, in the above method for reminding the amount of exercise, the pharming cardinality is obtained by the following calculation method:
R1=(1-S1/S2)*I1,
wherein, R1 is the ugly cardinalization base, S1 is the actual motion parameter, S2 is the preset motion parameter, I1 is a maximum ugly coefficient, the ugly cardinalization base is at least of body type ugly cardinalization base and skin ugly cardinalization base, and when the ugly cardinalization base includes body type ugly cardinalization base, the maximum ugly coefficient includes a maximum body type ugly coefficient, when the ugly cardinalization base includes skin ugly cardinalization base, the maximum ugly coefficient includes a maximum skin ugly coefficient.
Optionally, in the method for reminding exercise amount, when the relationship is a proportional relationship, the method further includes:
and when the proportional relation is that the ratio of the actual motion parameter to the preset motion parameter is smaller than 1, disabling a normal photographing mode of the terminal equipment, wherein the proportion between the user image acquired in the normal photographing mode and the user actual image is the same.
In a second aspect, the present disclosure provides types of exercise amount reminding devices, the devices comprising:
the detection module is used for detecting whether the terminal equipment is in a motion mode;
the acquisition module is used for acquiring a user image acquired by the terminal equipment in a motion mode when the terminal equipment is in the motion mode, and taking the user image as an image to be processed;
the determining module is used for determining the relation between the actual motion parameters and the preset motion parameters within the preset time;
and the processing module is used for processing the image to be processed according to the relation to obtain a target image and displaying the target image, wherein the target image is used for representing the appearance of the user corresponding to the actual motion parameter.
In a third aspect, the present disclosure provides storage media storing computer programs executable by or more processors, and operable to implement the exercise amount reminding method as described above.
In a fourth aspect, the present disclosure provides terminal devices, including a memory and a processor, wherein the memory stores a computer program, and the computer program is executed by the processor to execute the above-mentioned motion amount reminding method.
Compared with the prior art, or more embodiments in the above scheme can have the following advantages or beneficial effects:
according to the exercise amount reminding method, the device, the storage medium and the terminal device, the user images collected in the exercise mode are processed based on the actual exercise parameters and the preset exercise parameters to obtain the target images, in this way, the appearance of the user corresponding to the actual exercise parameters is displayed for the user immediately when the user starts the exercise mode of the terminal device, so that the user can know the appearance state corresponding to the exercise amount finished within the preset time from the target images immediately and intuitively, the user is effectively reminded and stimulated to exercise, and the body of the user is ensured to keep healthy states.
Drawings
The present disclosure will be described in more detail below based on embodiments and with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of exercise amount reminding methods provided in embodiment of the present disclosure.
Fig. 2 is another flowchart of exercise amount reminding methods provided in embodiment of the present disclosure.
Fig. 3 is another flowchart of exercise amount reminding methods provided in embodiment of the present disclosure.
Fig. 4 is another flowchart of exercise amount reminding methods provided in embodiment of the present disclosure.
Fig. 5 is a schematic diagram of a exercise amount reminding device provided in embodiment of the present disclosure.
In the drawings, like parts are designated with like reference numerals, and the drawings are not drawn to scale.
Detailed Description
Embodiments of the present disclosure will be described in detail with reference to the accompanying drawings and examples, so that how to apply technical means to solve technical problems and achieve the corresponding technical effects can be fully understood and implemented. The embodiments and the features of the embodiments of the present disclosure can be combined with each other without conflict, and the formed technical solutions are all within the protection scope of the present disclosure.
Example
Referring to fig. 1, the present disclosure provides methods for reminding the amount of exercise of a terminal device such as a mobile phone, a computer, or a tablet computer, where the method, when applied to the terminal device, performs the following steps S110, S1201, S130, and S140:
step S110: detecting whether the terminal equipment is in a motion mode.
In this embodiment, the motion mode of the terminal device may be started by a user, and when the terminal device is in the motion mode, the image acquired in the motion mode may be processed based on a relationship between the actual motion parameter and the preset motion parameter.
The terminal device further includes a normal photographing mode, when the terminal device is in the normal photographing mode, no processing is performed on the acquired user image, and the ratio between the acquired user image in the normal photographing mode and the user actual image is the same (appearance of the user in the normal state).
Step S1201: when the terminal equipment is in a motion mode, acquiring a user image acquired by the terminal equipment in the motion mode, and taking the user image as an image to be processed;
in this embodiment, when the terminal device is in the motion mode, the camera of the terminal device instantly acquires a user image of the current user, the user image reflects the current appearance of the user, and in the motion mode, the user image is taken as an image to be processed.
Step S130: and determining the relation between the actual motion parameters and the preset motion parameters in the preset time.
In this embodiment, the actual motion parameter and the preset motion parameter within the preset time are obtained, and the relationship between the two is determined according to the obtained actual motion parameter and the preset motion parameter, where the relationship may be a magnitude relationship or a proportional relationship, and is not limited herein.
In this embodiment, the actual motion parameter may be an actual motion parameter received by the terminal device within a preset time. For example, taking the actual exercise parameter as the actual exercise step number as an example, the terminal device may receive the step number manually input by the user or the step number detected by the wearable device, the step number manually input by the user may be transmitted to the terminal device through a manual recording entry preset by the terminal device, and the step number detected by the wearable device may be transmitted to the terminal device through bluetooth or may be transmitted to the terminal device through wireless WiFi, which is not limited herein.
Still taking the example that the actual motion parameter is the actual motion step number of the user, the actual motion parameter may also be the actual motion step number within the preset time acquired by a motion parameter acquirer in the terminal device, and the motion parameter acquirer may be a sensor built in the terminal device, and the sensor may be a vibration sensor or a gyroscope, which is not limited herein.
Still taking the example that the actual motion parameter is the actual motion step number of the user, correspondingly, the preset motion parameter is the preset motion step number, and the preset motion step number may be specified by the terminal device or preset by the user, and the preset motion step number may be changed according to the requirement of the user, which is not limited herein.
The preset time may be the latest time (for example, days, weeks or months) of the user, the preset time may be specified by the terminal device, or may be preset by the user, and the preset time may be modified according to the user's needs, which is not limited herein.
And determining the relationship between the actual motion parameter and the preset motion parameter according to the actual motion parameter and the preset motion parameter, wherein the relationship can be a magnitude relationship or a proportional relationship. Still taking the example that the actual exercise parameter is the actual exercise step number, correspondingly, the preset exercise parameter is the preset exercise step number, when the actual exercise step number is 30000 and the preset exercise step number is 15000, and when the relationship is a magnitude relationship, the magnitude relationship between the determined actual exercise step number and the preset exercise step number is: and when the relation is a proportional relation, the determined proportional relation between the actual movement step number and the preset movement step number is 2.
Step S140: and processing the image to be processed according to the relation to obtain a target image and displaying the target image, wherein the target image is used for representing the appearance of the user corresponding to the actual motion parameter.
In this embodiment, the image to be processed is processed according to the relationship, where the processing refers to beautifying or defaulting processing on the basis of the current appearance of the user, the image to be processed is processed to obtain a target image, and the target image is displayed on an interactive interface between the terminal device and the user in real time, where the interactive interface is a real-time picture taken by a camera in a motion mode, and the target image is used to represent the appearance of the user corresponding to the actual motion parameter.
In this embodiment, in the motion mode in which the user opens the terminal device, the user appearance corresponding to the actual motion parameter of the user is displayed to the user in real time, so that the user can immediately and intuitively know the appearance state corresponding to the completed motion amount from the target image, thereby effectively reminding and motivating the user to perform motion, and ensuring that the body of the user maintains healthy states.
Referring to fig. 2, in another implementation manners of the method for reminding exercise amounts provided by the present disclosure, the method includes, in addition to the above steps S110, S130, and S140, step S1202:
and step S1202, when the terminal equipment is not in the motion mode, acquiring at least user images saved in a memory of the terminal equipment, and taking the user images as images to be processed.
In this embodiment, when the terminal device is not in the motion mode, user images are obtained from the memory at the time set by the terminal device or the time preset by the user, and the user images are used as the images to be processed, wherein the time set by the terminal device may be 12:00 per day, or the time set by the user may be 20:00 per day, which is not limited herein.
In this embodiment, in a motion mode in which a user does not open a terminal device, embodiments of displaying a processed target image may be that user images are obtained from a memory of the terminal device at a time set by the terminal device or at a time preset by the user, the target image is obtained after processing an image to be processed according to the relationship, the target image is displayed on a screen interface of the terminal device in a pop-up window manner after the time set by the terminal device or the time preset by the user and when the user wakes up the terminal device, the display time may be set by the terminal device or the user without any limitation.
In this embodiment, when the user does not open the motion mode of the terminal device, user images can be obtained from the memory of the terminal device at the time set by the terminal device or the time preset by the user, and are used as the images to be processed, and the relationship between the actual motion parameters and the preset motion parameters is determined to process the images to be processed to obtain the target image, so that the user can also have the reminding function without opening the motion mode of the terminal device, the appearance of the user corresponding to the actual motion parameters is displayed for the user, the user can instantly and intuitively know the appearance state corresponding to the completed motion amount from the target image, the user is effectively reminded and stimulated to move, and the body of the user is ensured to keep healthy states.
Referring to fig. 3, in another implementation manners of the method for reminding amounts of exercise according to the present disclosure, taking an example that when a terminal device is in a motion mode, an image to be processed is a user image collected by the terminal device in the motion mode, the method includes, in addition to the above step S110, step S1201, and step S130, and when the relationship is a proportional relationship, the step of processing the image to be processed according to the relationship to obtain a target image includes step S1400, step S1401, and step S1402:
step S1400: and judging whether the ratio of the actual motion parameter to the preset motion parameter is greater than 1.
In this embodiment, when the relationship between the actual motion parameter and the preset motion parameter is a proportional relationship, the beautification or defaulting process of the image to be processed is determined according to the ratio by judging the ratio between the actual motion parameter and the preset motion parameter.
And S1401, when the ratio of the actual motion parameter to the preset motion parameter is larger than 1, obtaining a beautification base number according to the actual motion parameter and the preset motion parameter, and beautifying the image to be processed according to the beautification base number to obtain a target image.
In this embodiment, when it is determined that the ratio between the actual motion parameter and the preset motion parameter is greater than 1, that is, the actual motion parameter is greater than the preset motion parameter, a beautifying base is obtained according to the actual motion parameter and the preset motion parameter, and the image to be processed is beautified according to the obtained beautifying base to obtain the target image, still taking the actual motion parameter as the actual motion step number, correspondingly, the preset motion parameter is the preset motion step number, the actual motion step number is 30000, the preset motion step number is 15000, the ratio between the actual motion step number and the preset motion step number is 2, and then a beautifying coefficient is determined according to the value 30000 and the value 15000, and the image to be processed is beautified based on the beautifying coefficient, wherein the beautifying processing refers to beautifying the current appearance of the user on the basis of the current appearance (e.g., body type, skin, etc.) of the user.
Wherein, embodiments of obtaining beautification base numbers according to the actual motion parameters and the preset motion parameters may be:
R2=(S1-S2)/S2*I2(1)
wherein, R2 is the beautification base number, S1 is the actual motion parameter, S2 is the preset motion parameter, and I2 is a maximum beautification coefficient, wherein the maximum beautification coefficient may be set by a terminal or a user, and is not limited herein.
Still take the actual motion parameter as the actual motion step number, the preset motion parameter as the preset motion step number, the actual motion step number is 30000, the preset motion step number is 15000, and the maximum beautification coefficient preset by the terminal or set by the user is 2 as an example, when the relation is a proportional relation, the beautification base number is calculated according to the above (1) and is the maximum beautification coefficient value, and the beautification base number is used for beautifying the current looks of the user, wherein, the beautification treatment at least comprises types of body beautification and skin beautification.
When the beautification processing is directed at the body type, correspondingly, the beautification base number is the body beautification base number, the maximum beautification coefficient is the maximum body beautification base number, and the calculated maximum body beautification base number is 2 as an example, the beautification (for example, face slimming and body slimming) processing is performed on the face and the body of the user in the current appearance by the maximum body beautification coefficient, so as to obtain a target image, and at this time, the target image displays the appearance that the face and the body of the user in the normal state (in the current appearance) are twice as thin as the user.
When the beautification processing is directed at the skin, correspondingly, the beautification base number is the skin beautification base number, the maximum beautification coefficient is the maximum skin beautification base number, and the calculated maximum skin beautification base number is 2 as an example, the beautification (e.g., skin grinding) processing is performed on the skin of the current appearance of the user by the maximum skin beautification coefficient, so as to obtain an beautified target image, and at this time, the target image shows a double-time appearance of the skin ground of the face of the user in a normal state (current appearance).
And S1402, when the proportional relation is that the ratio between the actual motion parameter and the preset motion parameter is less than 1, obtaining a pharming base according to the actual motion parameter and the preset motion parameter, and performing pharming processing on the image to be processed according to the pharming base to obtain a target image.
In this embodiment, when it is determined that the ratio between the actual motion parameter and the preset motion parameter is less than 1, that is, the actual motion parameter is less than the preset motion parameter, defaulting cardinality is obtained according to the actual motion parameter and the preset motion parameter, and defaulting is performed on the image to be processed according to the obtained defaulting cardinality to obtain the target image, for example, taking the actual motion parameter as the actual motion step number, the preset motion parameter as the preset motion step number, the actual motion step number is 7500, the preset motion step number is 15000, for example, the ratio between the actual motion step number and the preset motion step number is 0.5, and then determining defaulting coefficient according to the value 7500 and the value 15000, and performing defaulting on the image to be processed based on the defaulting coefficient, wherein defaulting refers to defaulting the current appearance of the user on the basis of the current appearance (e.g., body type, skin, etc.) of the user.
Wherein, implementation manners of obtaining ugly cardinalization cardinality according to the actual motion parameter and the preset motion parameter may be:
R1=(1-S1/S2)*I1 (2)
wherein, R1 is the pharming base, S1 is the actual motion parameter, S2 is the preset motion parameter, and I2 is a maximum pharming coefficient, wherein the maximum pharming coefficient may be set by a terminal or a user, and is not limited herein.
Still take the actual motion parameter as the actual motion step number, the preset motion parameter as the preset motion step number, the actual motion step number is 7500, the preset motion step number is 15000, the maximum pharming coefficient preset by the terminal or set by the user is 2 as an example, when the relation is a proportional relation, 1/2 with the pharming cardinal number as the maximum pharming coefficient value is obtained by calculation according to the above (2), namely, the pharming cardinal number is 1, and the pharming processing is performed on the current appearance of the user by using the pharming cardinal number, wherein, the pharming processing at least comprises of body type pharming and skin pharming.
When the defaulting processing is performed on the body type, correspondingly, the defaulting cardinal number is the body type defaulting cardinal number, the maximum defaulting coefficient is the maximum body type defaulting cardinal number, and when the calculated maximum body type defaulting cardinal number is 1, defaulting (for example, face type increasing and body increasing) is performed on the face and the body of the current appearance of the user by the maximum body type defaulting coefficient, and then a target image is obtained, wherein the target image shows the appearance that the face and the body of the user in a normal state (the current appearance) are times thicker.
When the defaulting processing is performed on skin, correspondingly, the defaulting cardinality is a skin defaulting cardinality, the maximum defaulting coefficient is a maximum skin defaulting cardinality, and the calculated maximum skin defaulting cardinality is still taken as 1 for example, defaulting processing is performed on the skin with the maximum skin defaulting coefficient on the current appearance of the user, an intermediate state of a worst skin state and a normal skin state of the user preset by a terminal device is taken as a skin state of the processed user, the skin state of the processed user and the normal face of the user are synthesized, and then a target image is obtained, at the moment, the target image shows a times-defaulting face of the normal state (current appearance) of the user, namely, the skin state displayed by the target image is an intermediate state of the worst skin state and the normal skin state of the user.
In addition, when the terminal device is not in the motion mode and the to-be-processed image is the user image acquired in the memory of the terminal device, the implementation manner is similar to that described above with reference to the case where the terminal device is in the motion mode and the to-be-processed image is the user image acquired by the terminal device in the motion mode, and details are not repeated here.
In this embodiment, the image to be processed is processed according to the proportional relationship between the actual motion parameter and the preset motion parameter, so that the user can see the image that the user gets fat or ugly due to no motion or the image that the user gets beautiful due to motion, the user can be effectively urged to exercise every day, and the body of the user is ensured to be kept in healthy states.
Referring to fig. 4, in another implementation manners of the method for reminding exercise amounts according to the present disclosure, the method further includes, in addition to the steps S110 and S130, a step S150:
and S150, when the ratio relation is that the ratio of the actual motion parameter to the preset motion parameter is less than 1, forbidding a normal photographing mode of the terminal equipment, wherein the ratio between the user image acquired in the normal photographing mode and the actual user image is the same.
In this embodiment, according to the proportional relationship, when the proportional relationship is that the ratio between the actual motion parameter and the preset motion parameter is less than 1, the normal photographing mode of the terminal device is disabled, that is, the user cannot use the normal photographing mode of the terminal device to photograph.
Under the condition that the motion mode and the relation of the terminal equipment opened by the user are in a proportional relation, the actual motion parameter is the actual motion step number, the preset motion parameter is the preset motion step number, the actual motion step number is 7500, the preset motion step number is 15000, for example, the ratio of the actual motion step number to the preset motion step number is 0.5, under the condition, the normal photographing mode of the terminal equipment is forbidden, so that the user cannot use the normal photographing mode of the terminal equipment to photograph under the condition that the user does not finish the preset motion step number, the user is prompted to photograph in the motion mode of the terminal equipment, the user can immediately and intuitively know the appearance state corresponding to the finished motion amount from the target image, the user is effectively reminded and stimulated to move, and the body of the user is ensured to keep healthy states.
According to the proportional relation, when the proportional relation is that the ratio between the actual motion parameter and the preset motion parameter is greater than 1, the normal photographing mode of the terminal device is not disabled, and the user can use the normal mode of the terminal device to photograph, that is, the user can see the image caused by the actual physiognomy proportion .
Under the condition that the motion mode and the relation of the terminal equipment started by the user are in a proportional relation, the actual motion parameter is the actual motion step number, the preset motion parameter is the preset motion step number, the actual motion step number is 30000, and the preset motion step number is 15000, for example, when the relation is in the proportional relation, the ratio of the actual motion step number to the preset motion step number is 2, under the condition, the normal photographing mode of the terminal equipment cannot be forbidden, the user is ensured to photograph in the normal photographing mode of the terminal equipment under the condition that the preset motion step number is completed or excessively completed, and the requirement that the user does not want to beautify and photograph is met.
In this embodiment, when the user has started the motion mode of the terminal device and the proportional relationship is that the ratio between the actual motion parameter and the preset motion parameter is less than 1, the normal photographing mode of the terminal device is disabled, and if the user wants to use the normal photographing mode of the terminal device to photograph, the user may manually turn off the motion mode of the terminal device, so that the normal photographing mode of the terminal device is switched from the disabled state to the available state, at this time, the user may use the camera to photograph in the normal photographing mode of the terminal device, but because the user has not finished setting the motion amount of the preset motion parameter, the user manually turns off the motion mode, and when the user turns on the motion mode for times, the preset motion parameter needs to be higher than the preset motion parameter set for times.
Still taking the actual motion parameter as the actual motion step number, the preset motion parameter as the preset motion step number, the actual motion step number is 7500, the preset motion step number is 15000 as an example, and the ratio between the actual motion step number and the preset motion step number is 0.5, in this case, the normal photographing mode of the terminal device is disabled, if the user manually turns off the motion mode, the normal photographing mode of the terminal device is changed from the disabled state to the available state, that is, the user can photograph by using the camera in the normal photographing mode of the terminal device, and when the user turns on the motion mode again, the preset motion parameter needs to be greater than the preset motion step number set in the last times (the preset motion parameter set in the last times is 15000).
In this embodiment, when the ratio between the actual motion parameter and the preset motion parameter is less than 1, the normal photographing mode of the terminal device is disabled, so that the user is prompted to photograph in the motion mode of the terminal device, so that the user can immediately and intuitively know the physiognomic state corresponding to the completed motion amount from the target image, the user is effectively reminded and stimulated to exercise, and the body of the user is ensured to keep healthy states.
Example two
Based on the concept disclosed in , an embodiment of the of the present disclosure provides exercise amount reminding devices, please refer to fig. 5, fig. 5 is a schematic diagram of exercise amount reminding devices provided in an embodiment of the present disclosure , as shown in fig. 5, the device includes:
the detection module 501: for detecting whether the terminal device is in a motion mode.
The implementation principle of the detection module 501 is similar to that in step S110, and thus, for specific description of the detection module 501, reference may be made to embodiment , which is not described herein again.
The obtaining module 502: the terminal equipment is used for acquiring a user image acquired by the terminal equipment in a motion mode when the terminal equipment is in the motion mode, and taking the user image as an image to be processed;
the implementation principle of the obtaining module 502 is similar to that in step S1201, and thus specific description about the obtaining module 502 may refer to embodiment , which is not described herein again.
The determination module 503: the method is used for determining the relation between the actual motion parameters and the preset motion parameters in the preset time.
The implementation principle of the determining module 503 is similar to that of step S130, and thus, for specific description of the determining module 503, reference may be made to embodiment , which is not described herein again.
And the processing module 504 is configured to process the image to be processed according to the relationship to obtain a target image, and display the target image, where the target image is used to represent an appearance of the user corresponding to the actual motion parameter.
The implementation principle of the processing module 504 is similar to that of step S140, and thus, for specific description of the processing module 504, reference may be made to embodiment , which is not described herein again.
For the device embodiment, since it is basically similar to the method embodiment described above, the specific embodiment process of the device described above can be referred to as embodiment , and the detailed description of this embodiment is not repeated herein.
EXAMPLE III
Based on the same concept disclosed in , embodiments of the present disclosure also provide storage media, such as flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), Random Access Memory (RAM), Static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, server, App, etc., on which a computer program is stored, which when executed by a processor can implement the following method steps:
step S110: detecting whether the terminal equipment is in a motion mode;
step S1201: when the terminal equipment is in a motion mode, acquiring a user image acquired by the terminal equipment in the motion mode, and taking the user image as an image to be processed;
step S130: determining the relation between the actual motion parameters and the preset motion parameters within the preset time;
step S140: and processing the image to be processed according to the relation to obtain a target image and displaying the target image, wherein the target image is used for representing the appearance of the user corresponding to the actual motion parameter.
The specific implementation process of the above method steps can be found in implementation , and this implementation is not repeated herein.
Example four
Based on the concept disclosed in , the disclosed embodiments provide terminal devices, which may be mobile phones, computers, tablet computers, etc., and include a memory and a processor, wherein the memory stores a computer program thereon, and the computer program, when executed by the processor, implements the exercise amount reminding method as described in embodiment .
The memory is used for storing various types of data, which can comprise instructions of any application program or method in the terminal device and application program-related data, for example.
The Processor may be an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Array (FPGA), a controller, a microcontroller, a microprocessor, or other electronic components, and is configured to perform the method for reminding the user of the movement amount according to embodiment .
The Memory may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk.
The multimedia component may comprise a screen, which may be a touch screen.
The I/O interface provides an interface between the processor and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons.
The wireless Communication module comprises a Wi-Fi module, a Bluetooth module, a NFC module, a 2G, a 3G or a 4G module, or or a combination of the two, so that the corresponding Communication module can comprise the Wi-Fi module, the Bluetooth module and the NFC module.
In summary, the exercise amount reminding method, device and terminal device provided by the present disclosure display the user's appearance corresponding to the user's actual exercise parameters to the user in real time in the exercise mode in which the user opens the terminal device, so that the user can know the appearance state corresponding to the exercise amount completed by the user from the target image in real time and intuitively, effectively remind and stimulate the user to exercise, and ensure that the user's body maintains healthy states, and also have the reminding function in the exercise mode in which the user does not open the terminal device, effectively remind and stimulate the user to exercise, and ensure that the user's body maintains healthy states.
In the several embodiments provided in the embodiments of the present disclosure, it should be understood that the disclosed system and method may be implemented in other manners. The system and method embodiments described above are merely illustrative.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises an series of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although the embodiments disclosed in the present disclosure are described above, the descriptions are only for the convenience of understanding the present disclosure, and are not intended to limit the present disclosure. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims.

Claims (10)

1, kinds of quantity of exercise reminding method, apply to the terminal equipment, characterized by that, the said method includes:
detecting whether the terminal equipment is in a motion mode;
when the terminal equipment is in a motion mode, acquiring a user image acquired by the terminal equipment in the motion mode, and taking the user image as an image to be processed;
determining the relation between the actual motion parameters and the preset motion parameters within the preset time;
and processing the image to be processed according to the relation to obtain a target image and displaying the target image, wherein the target image is used for representing the appearance of the user corresponding to the actual motion parameter.
2. The method of claim 1, wherein the method further comprises:
and when the terminal equipment is not in the motion mode, acquiring at least user images saved in a memory of the terminal equipment, and taking the user images as images to be processed.
3. The method of claim 1, wherein the actual motion parameters are obtained by:
acquiring actual motion parameters received by the terminal equipment within preset time;
or, obtaining the actual motion parameters in the preset time collected by the motion parameter collector in the terminal equipment.
4. The method of any of claims 1-3, wherein when the relationship is a proportional relationship, the step of processing the image to be processed according to the relationship to obtain the target image comprises:
when the proportional relation is that the ratio between the actual motion parameter and the preset motion parameter is larger than 1, obtaining beautification base numbers according to the actual motion parameter and the preset motion parameter, and carrying out beautification processing on the image to be processed according to the beautification base numbers to obtain a target image;
and when the proportional relation is that the ratio between the actual motion parameter and the preset motion parameter is less than 1, obtaining a pharming base according to the actual motion parameter and the preset motion parameter, and performing pharming processing on the image to be processed according to the pharming base to obtain a target image.
5. The method of claim 4, wherein the beautification base is obtained by calculating:
R2=(S1-S2)/S2*I2,
wherein R2 is the beautification base number, S1 is the actual movement parameter, S2 is the preset movement parameter, I2 is a maximum beautification coefficient, the beautification base number is at least of a body beautification base number and a skin beautification base number, and when the beautification base number includes the body beautification base number, the maximum beautification coefficient includes a maximum body beautification coefficient, and when the beautification base number includes the skin beautification base number, the maximum beautification coefficient includes a maximum skin beautification coefficient.
6. The method of claim 4, wherein the ugly cardinality is obtained by calculating:
R1=(1-S1/S2)*I1,
wherein, R1 is the ugly cardinalization base, S1 is the actual motion parameter, S2 is the preset motion parameter, I1 is a maximum ugly coefficient, the ugly cardinalization base is at least of body type ugly cardinalization base and skin ugly cardinalization base, and when the ugly cardinalization base includes body type ugly cardinalization base, the maximum ugly coefficient includes a maximum body type ugly coefficient, when the ugly cardinalization base includes skin ugly cardinalization base, the maximum ugly coefficient includes a maximum skin ugly coefficient.
7. The method of claim 1, wherein when the relationship is a proportional relationship, the method further comprises:
and when the proportional relation is that the ratio of the actual motion parameter to the preset motion parameter is smaller than 1, disabling a normal photographing mode of the terminal equipment, wherein the proportion between the user image acquired in the normal photographing mode and the user actual image is the same.
8, an exercise amount reminder, comprising:
the detection module is used for detecting whether the terminal equipment is in a motion mode;
the acquisition module is used for acquiring a user image acquired by the terminal equipment in a motion mode when the terminal equipment is in the motion mode, and taking the user image as an image to be processed;
the determining module is used for determining the relation between the actual motion parameters and the preset motion parameters within the preset time;
and the processing module is used for processing the image to be processed according to the relation to obtain a target image and displaying the target image, wherein the target image is used for representing the appearance of the user corresponding to the actual motion parameter.
A storage medium of , wherein the storage medium stores a computer program executable by or more processors for implementing the method of any of of claims 1-7.
Terminal device of the kind , comprising a memory and a processor, the memory having stored thereon a computer program that, when executed by the processor, performs the method of any of claims 1-7 to .
CN201911033275.4A 2019-10-28 2019-10-28 Method and device for reminding user of amount of exercise, storage medium and terminal equipment Active CN110740215B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911033275.4A CN110740215B (en) 2019-10-28 2019-10-28 Method and device for reminding user of amount of exercise, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911033275.4A CN110740215B (en) 2019-10-28 2019-10-28 Method and device for reminding user of amount of exercise, storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN110740215A true CN110740215A (en) 2020-01-31
CN110740215B CN110740215B (en) 2020-11-03

Family

ID=69271809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911033275.4A Active CN110740215B (en) 2019-10-28 2019-10-28 Method and device for reminding user of amount of exercise, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN110740215B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486653A (en) * 2014-11-12 2015-04-01 南京魔迅信息科技有限公司 Network interaction-based video somatosensory body-building system and method
CN104857692A (en) * 2015-05-25 2015-08-26 惠州Tcl移动通信有限公司 User motion state processing method and system and mobile device
KR20180100753A (en) * 2017-03-02 2018-09-12 김민철 Management and encourage platform system for combined exercise using mobile device
CN108877890A (en) * 2018-08-01 2018-11-23 深圳云天励飞技术有限公司 Amount of exercise monitoring method, equipment and computer readable storage medium
CN108962352A (en) * 2018-08-10 2018-12-07 湖南简成信息技术有限公司 Weight-reducing moulding motivational techniques, device, terminal, server and storage medium
CN109102861A (en) * 2018-11-01 2018-12-28 京东方科技集团股份有限公司 A kind of diet monitoring method and device based on intelligent terminal
CN109126055A (en) * 2018-08-28 2019-01-04 深圳市赛亿科技开发有限公司 A kind of exercise guide method and system
CN109461488A (en) * 2018-10-31 2019-03-12 上海掌门科技有限公司 Portable stimulus movement apparatus control method and its equipment, terminal and server
CN110223747A (en) * 2019-05-30 2019-09-10 努比亚技术有限公司 Motion image display method, wearable device and computer readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486653A (en) * 2014-11-12 2015-04-01 南京魔迅信息科技有限公司 Network interaction-based video somatosensory body-building system and method
CN104857692A (en) * 2015-05-25 2015-08-26 惠州Tcl移动通信有限公司 User motion state processing method and system and mobile device
KR20180100753A (en) * 2017-03-02 2018-09-12 김민철 Management and encourage platform system for combined exercise using mobile device
CN108877890A (en) * 2018-08-01 2018-11-23 深圳云天励飞技术有限公司 Amount of exercise monitoring method, equipment and computer readable storage medium
CN108962352A (en) * 2018-08-10 2018-12-07 湖南简成信息技术有限公司 Weight-reducing moulding motivational techniques, device, terminal, server and storage medium
CN109126055A (en) * 2018-08-28 2019-01-04 深圳市赛亿科技开发有限公司 A kind of exercise guide method and system
CN109461488A (en) * 2018-10-31 2019-03-12 上海掌门科技有限公司 Portable stimulus movement apparatus control method and its equipment, terminal and server
CN109102861A (en) * 2018-11-01 2018-12-28 京东方科技集团股份有限公司 A kind of diet monitoring method and device based on intelligent terminal
CN110223747A (en) * 2019-05-30 2019-09-10 努比亚技术有限公司 Motion image display method, wearable device and computer readable storage medium

Also Published As

Publication number Publication date
CN110740215B (en) 2020-11-03

Similar Documents

Publication Publication Date Title
KR102345579B1 (en) Method, storage medium and apparatus for providing service associated with images
US10977491B2 (en) Device for providing information related to object in image
KR102545768B1 (en) Method and apparatus for processing metadata
EP3104590A1 (en) Electronic device and method for displaying image therein
KR102277178B1 (en) Electronic Device Including The Camera Module And Method For Processing Image Of the Same
EP3337160B1 (en) Method for providing image, electronic device, and storage medium
CN106201390A (en) Method and the electronic installation of support the method for output screen
KR20170019823A (en) Method for processing image and electronic device supporting the same
KR102272108B1 (en) Image processing apparatus and method
KR20170097860A (en) Device for capturing image using display and method for the same
KR20170019040A (en) Organism condition information providing method and electronic device supporting the same
CN110460909B (en) Content interaction method, device, server, terminal and storage medium
KR20160048072A (en) Information processing device, information processing method, and information processing system
KR20160097974A (en) Method and electronic device for converting color of image
KR20170053513A (en) Electronic device comprising multiple displays and method for controlling thereof
CN107390967A (en) For showing the method and its electronic installation of application
US10511765B2 (en) Electronic apparatus and method of extracting still images
KR102411281B1 (en) Electronic device and image file generating method
KR20150057307A (en) Effect display method of electronic apparatus and electronic appparatus thereof
CN113010126A (en) Display control method, display control device, electronic device, and medium
KR20180109217A (en) Method for enhancing face image and electronic device for the same
CN106454005A (en) Electronic device and image encoding method of electronic device
CN111143590A (en) Image filtering method, system, device and machine readable medium
CN107872573B (en) Alarm clock setting method and terminal
CN111599298A (en) Color temperature adjusting method, wearable device and storage 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
GR01 Patent grant
GR01 Patent grant