WO2024082908A1 - Body shape measurement and analysis method and electronic device - Google Patents

Body shape measurement and analysis method and electronic device Download PDF

Info

Publication number
WO2024082908A1
WO2024082908A1 PCT/CN2023/120169 CN2023120169W WO2024082908A1 WO 2024082908 A1 WO2024082908 A1 WO 2024082908A1 CN 2023120169 W CN2023120169 W CN 2023120169W WO 2024082908 A1 WO2024082908 A1 WO 2024082908A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
user
body shape
electronic device
parameters
Prior art date
Application number
PCT/CN2023/120169
Other languages
French (fr)
Chinese (zh)
Inventor
张子曰
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2024082908A1 publication Critical patent/WO2024082908A1/en

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/107Measuring physical dimensions, e.g. size of the entire body or parts thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • 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
    • 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/60ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to nutrition control, e.g. diets
    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Definitions

  • the present application relates to the field of electronic technology, and in particular to a body shape measurement and analysis method and an electronic device.
  • the purpose of the present application is to provide a body shape measurement and analysis method and an electronic device for accurately measuring and analyzing the body shape of a user.
  • a body measurement and analysis method which is applied to electronic devices.
  • the method includes: detecting a first operation instruction initiated by a user to measure body shape; prompting the user to input basic body parameters, and obtaining the basic body parameters input by the user under the prompt, or reading the basic body parameters pre-stored by the user; sequentially displaying shooting interfaces for guiding the user to shoot various angles of the body, and shooting and obtaining images of the user's body at various angles; constructing a three-dimensional 3D model based on the basic body parameters of the user and the images of the user's body at various angles, and obtaining the body shape analysis result of the user based on the 3D model; displaying the body shape analysis result, and the displayed body shape analysis result includes the first body shape image of the user and various body shape data.
  • this application does not limit the execution order of obtaining basic body parameters and shooting various angles of the body.
  • a 3D model is constructed based on the measured body image data and the obtained basic body parameters, and then the user's body parameters can be obtained based on the 3D model, and then the user's body data can be obtained based on the body parameter analysis, and then the body analysis result is generated. Therefore, the method can reduce the complexity of the user's operation of body measurement analysis, and the accuracy of body measurement can be improved through 3D model processing.
  • the 3D model is constructed based on the basic body parameters of the user and the images of the user's body at various angles, including: inputting the images of the body at various angles into the first model for training to obtain the contour data of the body; and inputting the images of the body at various angles into the second model for training to obtain the skeletal point data of the body; inputting the contour data, the skeletal point data and the basic body parameters into the third model for training to obtain the weight factors corresponding to each body shape parameter; inputting the weight factors of the body shape parameters into the fourth model for training to obtain the 3D model; wherein the fourth model includes various reference body shape parameters, and the various reference body shape parameters are used to multiply with the corresponding weight factors of the body shape parameters to obtain various body shape parameters of the user, and the various body shape parameters of the user are used to obtain the 3D model.
  • the reference body shape parameters may include but are not limited to: size parameters, obesity parameters.
  • the user's body shape can be more accurately obtained based on the 3D model. In this way, the user can obtain a body shape analysis result that is more suitable for his or her body shape.
  • the method before sequentially displaying the shooting interfaces for guiding the user to shoot various angles of the body, the method further includes: displaying a first guide interface for device calibration; the first guide interface is used to guide the user to place the electronic device according to preset placement conditions; and detecting that the placement state of the electronic device in the first guide interface meets the preset placement conditions.
  • the first guide interface displays a first identifier and a second identifier, and the first identifier and the second identifier have a first relative position relationship; on the first guide interface, it is determined that the first identifier and the second identifier change from having the first relative position relationship to having a second relative position relationship, then it can be determined that the placement state of the electronic device in the first guide interface meets the preset placement conditions; the second relative position relationship is used to indicate that the placement state of the electronic device meets the preset placement conditions.
  • the first identifier may be a flower
  • the second identifier may be a branch
  • the first relative position relationship may be a separate flower and branch
  • the second relative position relationship may be a branch of a flower including the flower and the branch.
  • the current posture and target posture of the electronic device are displayed through different identifiers, so that the current posture of the electronic device can be adjusted to the target posture.
  • it is convenient for users to place the device more efficiently, and on the other hand, it can also increase the fun of the body measurement process.
  • the method further includes: displaying a second guidance interface, the second guidance interface including step instructions for guiding the user to shoot various angles of the body.
  • the user can more effectively perform body measurement.
  • the method before sequentially displaying the shooting interface for guiding the user to shoot various angles of the body, the method further includes: displaying a third guide interface for adjusting the volume of the electronic device, detecting that the volume of the electronic device displayed in the third guide interface is adjusted to be greater than or equal to a preset volume value; or determining that the volume of the electronic device is greater than or equal to the preset volume value.
  • displaying the interface for adjusting the volume to the user it is convenient to better guide the user to perform body measurement, thereby improving the efficiency of body measurement.
  • the basic body parameters also include gender parameters; the user's body image corresponds to the gender parameters.
  • the user's gender parameters by obtaining the user's gender parameters, a body image that is more suitable for the user can be displayed to the user, thereby improving the user experience.
  • the user's body image can be displayed through 3D animation, which can not only show the user's body shape more accurately, but also enhance the user experience.
  • the displaying of the body shape analysis result includes: displaying a first interface including the body shape analysis result; wherein the first interface also includes a switch control for switching dates.
  • the electronic device may also display a second interface in response to a second operation instruction for the switch control in the first interface, wherein the second operation instruction is used to select a specified date, and the second interface includes the body shape analysis result obtained on the specified date.
  • the first interface also includes a trigger control for triggering manual calibration of the body shape analysis result; the method further includes: in response to a third operation instruction on the trigger control in the first interface, displaying a third interface, the third interface including a calibration control for manually calibrating the body shape analysis result; in response to a fourth operation instruction on the calibration control, updating the first interface; the updated first interface includes a first body shape image and at least one body shape data calibrated based on the fourth operation instruction.
  • an extended function of manual calibration can be provided to the user, so that a body shape analysis result that better meets the user's requirements can be generated, thereby ensuring the user's experience.
  • the first interface also includes a card of the first body shape data.
  • the method further includes: in response to a fifth operation instruction on the card of the first body shape data, displaying a fourth interface, the fourth interface including preset information related to the first body shape data; wherein the preset information is information obtained from a preset body shape database and based on the first body shape parameter; the first body shape parameter is any one of the various body shape parameters.
  • the images of the body at various angles include: a front view of the body and a side view of the body.
  • the body shape analysis result also includes a second body shape image, which is obtained based on preset body shape parameters; wherein the preset body shape parameters may be target weight parameters, target three-dimensional parameters, etc.
  • the present application can also realize the comparison between the current user body shape image and the predicted user body shape, so that the user can more intuitively obtain the state of body shape change, and the user can carry out a more accurate exercise plan, etc.
  • an embodiment of the present application further provides an electronic device, comprising at least one memory and at least one processor; wherein the at least one memory is used to store computer program code, and the computer program code comprises computer instructions; when the computer instructions are executed by the at least one processor, the electronic device executes a method in any possible design of the above-mentioned first aspect.
  • an embodiment of the present application further provides a body shape measurement and analysis device, which includes a module/unit for executing the method in any possible design of the first aspect.
  • modules/units can be implemented by hardware, or by executing corresponding software implementations by hardware.
  • a computer-readable storage medium which stores a computer program (also referred to as code or instruction).
  • code or instruction When these codes or instructions are run on a computer, the computer executes a method in any possible design of the first aspect above.
  • a computer program product comprising: a computer program (also referred to as code, or instruction), when the computer program is run, the method in any possible design of the above-mentioned first aspect is executed.
  • a graphical user interface on an electronic device having a display screen, one or more memories, and one or more processors, the one or more processors being used to execute one or more computer programs stored in the one or more memories, the graphical user interface including the graphical user interface displayed when the electronic device executes any possible design in the first aspect of the above-mentioned embodiment of the present application.
  • FIG1 is a schematic diagram of a structure of an electronic device provided in an embodiment of the present application.
  • FIG2 is a software architecture diagram of an electronic device provided in an embodiment of the present application.
  • FIG3a is a schematic diagram of an interface for obtaining a user's body shape
  • FIG3 b is a schematic diagram of an interface for customizing a health plan
  • FIG4 is a schematic diagram of an interface of a body scanning process
  • FIG5 is a schematic diagram of a manual calibration interface
  • FIG6 is one of the schematic diagrams of the interface for initiating body shape measurement provided in an embodiment of the present application.
  • FIG7 is a second schematic diagram of an interface for initiating body shape measurement provided in an embodiment of the present application.
  • FIG8 is a schematic diagram of a process for obtaining a human body mesh model provided in an embodiment of the present application.
  • FIG9 is a schematic diagram of an interface of a body shape analysis result provided in an embodiment of the present application.
  • FIG10 is a schematic diagram of a body shape type provided in an embodiment of the present application.
  • FIG11 is a schematic diagram of an interface for manually calibrating body shape analysis results provided in an embodiment of the present application.
  • FIG12 is a schematic diagram of one of the interfaces for displaying body shape analysis results provided in an embodiment of the present application.
  • FIG13 is a second schematic diagram of an interface for displaying body shape analysis results provided in an embodiment of the present application.
  • FIG. 14 is a third schematic diagram of an interface for displaying body shape analysis results provided in an embodiment of the present application.
  • FIG15 is a fourth schematic diagram of an interface for displaying body shape analysis results provided in an embodiment of the present application.
  • FIG16 is one of the interface schematic diagrams of a body shape measurement and analysis method provided in an embodiment of the present application.
  • FIG17 is a second schematic diagram of an interface of a body shape measurement and analysis method provided in an embodiment of the present application.
  • FIG18 is a third schematic diagram of an interface of a body shape measurement and analysis method provided in an embodiment of the present application.
  • FIG19 is a fourth schematic diagram of an interface of a body shape measurement and analysis method provided in an embodiment of the present application.
  • FIG20 is a schematic diagram of a flow chart of a body shape measurement and analysis method provided in an embodiment of the present application.
  • FIG21 is a schematic diagram of a body shape measurement process provided by an embodiment of the present application.
  • FIG22 is a schematic diagram of a process for obtaining body shape analysis results according to an embodiment of the present application.
  • FIG. 23 is a schematic diagram of a flow chart for displaying body shape analysis results provided in an embodiment of the present application.
  • the at least one involved in the embodiments of the present application includes one or more; wherein, more than one means greater than or equal to two.
  • words such as “first” and “second” are only used for the purpose of distinguishing the description, and cannot be understood as expressing or implying relative importance, nor can they be understood as expressing or implying order.
  • the first electronic device and the second electronic device do not represent the importance of the two or the order of the two, but are only for distinguishing the description.
  • "and/or” is only a description of the association relationship, indicating that there can be three relationships.
  • a and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone.
  • the character "/" in this article generally indicates that the objects associated before and after are in an "or” relationship.
  • references to "one embodiment” or “some embodiments” in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of this specification. In one embodiment, “in some embodiments”, “in some other embodiments”, “in yet other embodiments”, etc. do not necessarily refer to the same embodiment, but mean “one or more but not all embodiments” unless otherwise specifically emphasized.
  • the terms “including”, “comprising”, “having” and their variations all mean “including but not limited to”, unless otherwise specifically emphasized.
  • the electronic device can be an electronic device with an image acquisition device (such as a camera); for example, it can be a portable electronic device such as a mobile phone, a tablet computer, a laptop computer, or a wearable device such as a watch or a bracelet; or it can also be a smart home device such as a television.
  • the embodiment of the present application does not limit the specific type of electronic device.
  • the body shape measurement and analysis method provided in the embodiments of the present application may be a function, service or application provided in an electronic device.
  • the application may be an application provided by the electronic device itself, or an application downloaded from the network.
  • the mobile phone may include a sports health application, which has a function integrated therein, and the function may perform body shape measurement and analysis on the user through the body shape measurement and analysis method provided in the embodiments of the present application.
  • the body measurement analysis method provided in the embodiment of the present application can also be applied to a system, which includes a first electronic device and a second electronic device.
  • the first electronic device is connected to the second electronic device, and the embodiment of the present application does not limit the connection method.
  • the wireless method may include but is not limited to: wireless fidelity (Wi-Fi), Bluetooth.
  • the first electronic device may be a device for collecting image data, such as a home camera, etc.
  • the first electronic device may send the collected image data to the second electronic device.
  • the second electronic device may execute the body measurement analysis process provided in the embodiment of the present application based on the image data, and the specific process will be described later.
  • the second electronic device may be any device, for example, it may be a device with strong computing power, such as a mobile phone, a tablet computer, etc.
  • the embodiment of the present application may include multiple steps, wherein the multiple steps may be executed by multiple electronic devices in collaboration, or may be executed by one electronic device alone, and the embodiment of the present application does not limit this.
  • the following embodiments are mainly described by taking one device alone as an example.
  • FIG1 shows a schematic diagram of the structure of an electronic device 100 used in the technical solution of the present application.
  • the electronic device 100 may be a mobile phone, etc.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the sensor module 180 may include a gravity sensor 180A, a gyroscope sensor 180B, a pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc.
  • different processing units may be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions.
  • a memory may also be set in the processor 110 for storing instructions and data.
  • the memory in the processor 110 is a high-speed cache memory.
  • the memory may save instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated access can be avoided, and the waiting time of the processor 110 can be reduced, thereby improving the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (SIM) interface, and/or a universal serial bus (USB) interface, etc.
  • I2C inter-integrated circuit
  • I2S inter-integrated circuit sound
  • PCM pulse code modulation
  • UART universal asynchronous receiver/transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the wireless communication function of the electronic device 100 can be realized through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation
  • the invention is implemented by a modem processor and a baseband processor.
  • Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization rate of the antennas.
  • antenna 1 can be reused as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide solutions for wireless communications including 2G/3G/4G/5G, etc., applied to the electronic device 100.
  • the mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.
  • the mobile communication module 150 may receive electromagnetic waves from the antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 may also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
  • at least some of the functional modules of the mobile communication module 150 may be arranged in the processor 110.
  • at least some of the functional modules of the mobile communication module 150 may be arranged in the same device as at least some of the modules of the processor 110.
  • the wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) and the like applied to the electronic device 100.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared
  • the wireless communication module 160 can be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering processing, and sends the processed signal to the processor 110.
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify the signal, and convert it into electromagnetic waves for radiation through the antenna 2.
  • antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the display screen 194 is used to display the display interface of the application, etc.
  • the display screen 194 includes a display panel.
  • the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • real-time collected image data such as body scan image data
  • measurement analysis results based on the collected image data such as artificial intelligence (AI) body shape, etc. can also be displayed on the display screen 194.
  • AI artificial intelligence
  • the electronic device 100100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor, etc.
  • ISP is used to process the data fed back by camera 193.
  • the internal memory 121 can be used to store computer executable program codes, which include instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121.
  • the internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, and the software code of at least one application program, etc.
  • the data storage area can store data (such as images, videos, etc.) generated during the use of the electronic device 100, etc.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash memory, etc.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as pictures and videos are saved in the external memory card.
  • the electronic device 100 can implement audio functions such as voice control instructions, body scanning guidance voice, etc. through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
  • audio functions such as voice control instructions, body scanning guidance voice, etc. through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
  • the speaker 170A also called a "speaker" is used to convert an audio electrical signal into a sound signal.
  • the electronic device 100100 can listen to a guiding voice, or external scenes such as background music through one or more speakers 170A.
  • the receiver 170B also called a "earpiece" may be one or more and is used to convert an audio electrical signal into a sound signal.
  • the voice can be received by placing the receiver 170B close to the human ear.
  • the microphone 170C also called a “microphone” or “microphone”, is used to convert sound signals into electrical signals.
  • a user can wake up a sports health application through the microphone 170C.
  • the earphone jack 170D is used to connect a wired earphone.
  • the gravity sensor 180A can be made of a cantilever displacement device using an elastic sensitive element, and an energy storage spring made of an elastic sensitive element to drive the electrical contact to complete the conversion from gravity changes to electrical signals.
  • the gravity sensor 180A can be used to determine the electrical The tilt angle of the sub-device 100 relative to the horizontal plane; and, by analyzing the dynamic acceleration through the gravity sensor 180A, the movement mode of the electronic device 100 can be determined and analyzed, for example, it can be applied in some games to enhance the interactive controllability of the electronic device 100.
  • the gyro sensor 180B can be used to determine the motion posture of the electronic device 100.
  • the angular velocity of the electronic device 100 around three axes i.e., x, y, and z axes
  • the gyro sensor 180B can be used for anti-shake shooting.
  • the inclination angle of the electronic device 100 can be determined by the gyro sensor 180B, so that a more accurate body scan result can be obtained.
  • the pressure sensor 180C is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180C can be disposed on the display screen 194 .
  • the magnetic sensor 180D includes a Hall sensor, and the electronic device 100 can detect the opening and closing of the flip leather case by using the magnetic sensor 180D.
  • the acceleration sensor 180E can detect the magnitude of acceleration in various directions (generally three axes) of the electronic device 100. When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected.
  • the distance sensor 180F is used to measure the distance.
  • the electronic device 100 can measure the distance by infrared or laser.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device 100 emits infrared light outward through the light emitting diode.
  • the electronic device 100 uses the photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the sensed brightness of the ambient light.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the temperature sensor 180J is used to detect the temperature.
  • the touch sensor 180K is also called a "touch panel”.
  • the touch sensor 180K can be set on the display screen 194.
  • the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of a human vocal part.
  • the button 190 includes a power button, a volume button, etc.
  • the button 190 can be a mechanical button. It can also be a touch button.
  • the electronic device 100 can receive the button input and generate a key signal input related to the user settings and function control of the electronic device 100.
  • the motor 191 can generate a vibration prompt.
  • the motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc.
  • the SIM card interface 195 is used to connect the SIM card.
  • the SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195.
  • FIG1 do not constitute a specific limitation on the electronic device 100.
  • the electronic device 100 in the embodiment of the present application may include more or fewer components than those in FIG1.
  • the combination/connection relationship between the components in FIG1 may also be adjusted and modified.
  • the operating system (OS) involved in the embodiment of the present application is the most basic system software running on the electronic device 100.
  • the software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture.
  • the embodiment of the present application takes an operating system adopting a layered architecture as an example to illustrate the software system architecture of the electronic device 100.
  • FIG2 is a block diagram of a software system architecture of an electronic device 100 provided in an embodiment of the present application.
  • the software system architecture of the electronic device 100 can be a layered architecture, for example, the software can be divided into several layers, each layer has a clear role and division of labor.
  • the layers communicate with each other through software interfaces.
  • the operating system is divided into five layers, from top to bottom, namely, the application layer, the application framework layer (framework, FWK), the runtime and system library, the kernel layer, and the hardware layer.
  • the application layer may include a series of application packages. As shown in Figure 2, the application layer may include camera, settings, skin module, user interface (UI), third-party applications, etc. Among them, third-party applications may include wireless local area network (WLAN), music, call, Bluetooth, video, memo, notes, etc.
  • WLAN wireless local area network
  • the application layer can be used to implement the presentation of the editing interface.
  • the above editing interface can provide users with editing operations for health apps such as sports health that are focused on in the embodiment of the present application, for example, the body scanning interface involved below.
  • the application can be developed using the Java language and call the application provided by the application framework layer.
  • the application programming interface is used to complete the development of the application framework layer, which is mainly a series of services and management systems of the operating system.
  • the application framework layer provides an application programming interface and a programming framework for the applications in the application layer.
  • the application framework layer includes some predefined functions. As shown in Figure 2, the application framework layer may include an activity manager, a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, etc.
  • the activity manager is used to manage the life cycle of each application and provide common navigation back functions, providing an interactive interface for all program windows.
  • the window manager is used to manage window programs.
  • the window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
  • the content provider is used to store and obtain data and make the data accessible to applications.
  • the data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying images, etc.
  • the view system can be used to build applications.
  • a display interface can be composed of one or more views.
  • a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
  • the phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
  • the resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
  • the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction.
  • the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in the status bar, a prompt sound is emitted, the electronic device 100 vibrates, an indicator light flashes, etc.
  • the runtime includes the core library and the virtual machine.
  • the runtime is responsible for the scheduling and management of the operating system.
  • the core library consists of two parts: one is the function that the Java language needs to call, and the other is the core library of the operating system.
  • the application layer and the application framework layer run in the virtual machine.
  • the virtual machine executes the Java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules, such as surface manager, media framework, three-dimensional graphics processing library (such as OpenGL ES), two-dimensional graphics engine (such as SGL), etc.
  • functional modules such as surface manager, media framework, three-dimensional graphics processing library (such as OpenGL ES), two-dimensional graphics engine (such as SGL), etc.
  • the surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
  • the media framework supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc.
  • the media framework can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the three-dimensional graphics processing library is used to implement three-dimensional graphics drawing, image rendering, compositing, and layer processing.
  • a 2D graphics engine is a drawing engine for 2D drawings.
  • the three-dimensional graphics processing library can be used to draw the motion trajectory image of the three-dimensional
  • the two-dimensional graphics engine can be used to draw the two-dimensional motion trajectory image.
  • the relevant data of the AI body shape can be measured and analyzed.
  • the relevant data of the AI body shape can be processed by the three-dimensional graphics processing library, so as to obtain the three-dimensional model of the AI body shape.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
  • the hardware layer can include various types of sensors, such as accelerometers, gravity sensors, touch sensors, etc.
  • the electronic device 100 can run multiple applications at the same time.
  • one application can correspond to one process, and in a more complex case, one application can correspond to multiple processes.
  • Each process has a process number (process ID).
  • the hardware structure of the electronic device 100 can be as shown in Figure 1, and the software system architecture can be as shown in Figure 2, wherein the software programs and/or modules corresponding to the software system architecture in the electronic device 100 can be stored in the internal memory 121, and the processor 110 can run the software programs and applications stored in the internal memory 121 to execute the process of a body shape measurement analysis method provided in an embodiment of the present application.
  • FIG3a is a schematic diagram of an interface for obtaining a user's body shape.
  • the electronic device displays an interface 31 to the user, in which the user can select a gender parameter; wherein the electronic device can assist the user in selecting the gender parameter by displaying a virtual character image to the user.
  • the electronic device can continue to display an interface 32 to the user, in which the user can select an age parameter.
  • the electronic device can continue to display an interface 33 to the user, in which the user can select a height parameter and a weight parameter; wherein the electronic device can synchronously adjust the current virtual body shape of the virtual character image in response to the height parameter or weight parameter selected by the user.
  • the electronic device can continue to display an interface 34 to the user, in which the user can select a target weight parameter; and the electronic device can also display a comparison between the user's current virtual body shape and the target virtual body shape in the interface 34 in response to the target weight parameter selected by the user.
  • the electronic device can also continue to expand the function of customizing a health plan for the user.
  • FIG. 3b is a schematic diagram of an interface for customizing a health plan.
  • the electronic device can continue to display interface 35 to the user, in which the user can select some daily habits, such as daily activity level, eating habits, and degree of procrastination.
  • the electronic device can also continue to display interface 36 to the user, in which the user can plan to select key parts for training, for example, the chest, abdomen, and buttocks can be selected.
  • the electronic device can continue to display interface 37 to the user, in which a matching health plan can be displayed, such as one or a combination of an exercise plan and a diet plan, or another example of a fat loss speed plan, etc.; in addition, in interface 37, the user can also manually adjust the health plan.
  • the electronic device can generate a target health plan, as shown in interface 38, and can be displayed in the home page of the APP and other interfaces.
  • the APP generates a virtual body shape based on the basic parameters manually input by the user. Although this can improve the liveliness of health APPs, the virtual body shape is single and cannot accurately reflect the user's real body shape.
  • body data can be obtained by combining manual recording and body scanning, and body data measurement and analysis can be performed.
  • FIG4 is a schematic diagram of an interface of a body scanning process.
  • the electronic device can display interface 41 to the user, in which the user can enter height parameters and weight parameters. After obtaining the height parameters and weight parameters entered by the user, the electronic device can continue to display interface 42 to the user, in which the user can adjust the volume of the guide voice. Then, the electronic device can continue to display interfaces 43 to 45 to the user, in which interfaces 43 to 45 can display the guide page of the body scanning process to the user.
  • a guide page on how to dress is displayed; in interface 44, a guide page on how to place the electronic device is displayed; in interface 45, a guide page on how to stand is displayed.
  • the electronic device can continue to display interfaces 46 to 48 to the user, and the basic image data of the body can be collected in interfaces 46 to 48.
  • a calibration prompt for placing the electronic device can be displayed to place the electronic device in a suitable position; in interface 47, the real-time collected frontal body image data and the finally obtained frontal body image frame can be displayed; in interface 48, the real-time collected side body image data and the finally obtained side body image frame can be displayed.
  • FIG. 5 is a schematic diagram of a manual calibration interface.
  • the electronic device can continue to acquire the local part shooting images that need to be manually calibrated according to the preset local acquisition conditions, such as displaying interfaces 49 to 51 to the user.
  • the preset local acquisition conditions such as displaying interfaces 49 to 51 to the user.
  • the user is guided to continue to collect the local shooting image of the front ankle; in interface 50, the user is guided to continue to collect the local shooting image of the back knee; and in interface 51, the user is guided to continue to collect the local shooting image of the right waist.
  • the electronic device can generate the user's analysis results, and display the interface containing the data display results to the user, for example, interface 52a displays the data display results for men, and interface 52b displays the data display results for women.
  • this implementation method can improve the accuracy of the analysis of body data, it can be seen from FIG. 5 that this implementation method still requires a large number of manual calibration operations, and the data display results obtained by this implementation method are displayed in 2D, which cannot reflect the user's body shape.
  • an embodiment of the present application provides a body shape measurement and analysis method. Based on the collected user data, the method performs deep learning through a deep network model to obtain a human body mesh model; wherein the collected user data may include but is not limited to: basic body parameters, body scan image data. Then, based on the human body mesh model, the user's body shape can be analyzed to output an AI body shape that better reflects the user's real body shape. Therefore, this method can realize the modeling of the user's body shape, which can provide more accurate On the other hand, the AI body measurements can also reduce the complexity of user operations, thereby improving the user experience.
  • the method provided in the embodiments of the present application can be applied to any APP in any health management scenario, so that users can perform health checks through the corresponding APP; or, it can also be applied to APPs in shopping scenarios, so that users can try on clothes through the corresponding APP and get a better shopping experience; or, it can also be applied to other scenarios that require body measurement.
  • the present application does not limit the specific application scenarios of the method.
  • the user can implement the body measurement method provided in the embodiment of the present application through a health APP.
  • a health APP as an example, an entrance for triggering body measurement can be configured in multiple display interfaces of the sports health APP, for example, a body measurement entrance can be configured in a weight management interface, a home page interface, an exercise plan interface, etc.; wherein the body measurement entrance can be implemented by, but not limited to, cards, shortcuts, icons, user voice commands, etc.
  • the user may also implement the method provided in this application through a dedicated body measurement APP or other types of APPs, such as camera APPs, shopping APPs, etc.
  • the body measurement analysis method provided in the embodiment of the present application can be divided into but not limited to the following stages: body measurement initiation stage, body measurement preparation stage, body measurement stage, and body analysis stage. These stages are introduced below:
  • FIG6 is a schematic diagram of an interface for initiating body measurement provided in an embodiment of the present application.
  • the weight management interface may also include a service card 610 for indicating the entrance to body measurement. If the mobile phone detects a user operation on the service card 610 in interface 61, in response to the user operation, an interface about the preparation stage of body measurement, such as interface 62, is displayed.
  • the user operation on the service card 610 may be, for example, a click operation, a double-click operation, a long press operation, or a voice command, and the embodiment of the present application does not limit the specific implementation method of the user operation.
  • the mobile phone can first obtain some basic body parameters of the user; for example, it can read from pre-stored data or other data sources, or guide the user to input, etc.
  • basic body parameters can be stored in the sports health APP, and the electronic device can be directly reused in the process of body measurement.
  • the mobile phone may guide the user to click the "manual input" control 620 in the interface 61 to jump to the display interface for manually inputting the weight parameter.
  • the basic body parameters of the user stored in the mobile phone can be manually input by the user.
  • the mobile phone may display at least one basic body parameter input interface to the user, and the user may manually input the height parameter and/or weight parameter in the at least one input interface.
  • the mobile phone may instruct the user to input the height parameter in one input interface and instruct the user to input the weight parameter in another input interface, or for example, the mobile phone may also instruct the user to input the height parameter and the weight parameter separately in one input interface.
  • the mobile phone can also guide the user to click the "measure weight” control 630 in the interface 61 to jump to the display interface for selecting other APPs or connected smart scales to request synchronization of weight parameters, or jump to the display interface for prompting the user to "Please weigh".
  • a synchronization control may be included; wherein the synchronization control is used to request synchronization of weight parameters from an associated weight APP or a connected smart scale.
  • the mobile phone in addition to obtaining weight parameters from a smart scale, can also obtain other basic body parameters such as height parameters stored by the user from the smart scale.
  • the embodiment of the present application does not limit the source of the basic body parameters of each user stored in the mobile phone. It should be understood that the basic body parameters of the user may include multiple parameters, and the sources of different parameters may be different.
  • the height parameter may be manually entered by the user, and the weight parameter may be obtained through a smart body fat scale.
  • the introduction of the embodiment of the present application is based on first acquiring the basic body parameters of the user, it should be understood that the process of acquiring the basic body parameters and the process of displaying the body measurement guidance interface and the process of adjusting the volume described below belong to different body measurement preparations, and the execution order of these preparations is not limited when the present application is implemented.
  • the body measurement guidance interface can be displayed first, and then the process of acquiring the basic body parameters can be executed.
  • Interface 62 may include step instructions for instructing the user on how to photograph the body; some step instructions may also be introduced in combination with example diagrams, for example, the step instructions and example diagrams of some steps shown in interface 62 may include:
  • Step 1 Keep your whole body uncovered, wear close-fitting clothing, and tie your hair up.
  • Step 2 The device is kept at a preset distance from the body; the device height is at a preset height position.
  • the preset record may be 2 meters (m), and the preset height position may be a position near the waist.
  • an example diagram corresponding to step 2 may also be displayed to facilitate the user to more intuitively determine the specific operation of performing body measurement.
  • Step 3 Place your body in the human-shaped frame and take front and side photos of yourself according to the voice prompts. As shown in interface 62, a sample image corresponding to step 3 may also be displayed.
  • the mobile phone can display the body measurement guide page according to a preset display mode.
  • the preset display mode may include but is not limited to the following modes:
  • Method A The body measurement guidance interface is displayed when the user performs AI body analysis for the preset number of times. For example, when the user uses the AI body analysis function for the first three times, the body measurement guidance interface is displayed to the user, and starting from the fourth time, the guidance interface is no longer displayed.
  • Mode B During the first AI body shape analysis in each preset period, the body shape measurement guidance interface is displayed. For example, during the first AI body shape analysis in each month, the body shape measurement guidance interface is displayed.
  • Method C When the mobile phone displays the body measurement guidance interface, it asks the user whether to continue to remind him/her in the future. If the user chooses not to remind him/her again, the body measurement guidance interface will not be displayed next time the user performs AI body analysis.
  • the mobile phone determines not to display the body measurement guidance interface, it can also display a control for viewing the body measurement guidance interface in any interface during the AI body analysis process. In this way, if the user needs to view the body measurement guidance interface again, the user can click the control to display the body measurement guidance interface.
  • the next preparation process of the body measurement preparation stage can be performed, for example, the volume adjustment process, which is displayed as the interface 63 in FIG. 6 .
  • a volume adjustment progress bar can be displayed in interface 63, and the user can be reminded in text that "the recommended volume is ⁇ 50%".
  • the mobile phone can also ask the user "whether to adjust the volume automatically" by displaying a pop-up window. If it is detected that the user selects "yes”, in response to the user's selection, the volume of the mobile phone is automatically adjusted to a preset volume value, such as 75%.
  • the volume adjustment method displayed in interface 63 is manually adjustable by the user, when the present application is implemented, the mobile phone can also detect the user's preset settings for the AI body shape analysis function.
  • the preset settings may include an automatic volume adjustment function, in which case the mobile phone can directly adjust the volume to the preset volume value without displaying interface 63 to the user; and the preset volume value can only take effect during the AI body shape analysis process, and the original volume value can be restored after the AI body shape analysis process is detected to be completed.
  • the mobile phone detects that the mobile phone is connected to an audio playback device such as headphones or speakers, it can be defaulted that no volume adjustment is required.
  • the mobile phone detects the user operation on the "next step" control 650 in the interface 63, and can continue to execute the device calibration process in the body measurement preparation stage, which is displayed as the interface 64 in FIG6.
  • the mobile phone can detect the current posture of the mobile phone through sensors such as the gravity sensor 180A and the gyroscope sensor 180B.
  • the mobile phone can display the first logo in the interface 64 according to the current posture of the mobile phone, and display the second logo according to the target posture of the mobile phone; through the relative position relationship between the first logo and the second logo, it is determined that the mobile phone is placed in a suitable posture; it can be understood that if the relative position relationship between the first logo and the second logo is displayed as a preset relationship, it can be determined that the mobile phone is placed in a suitable posture.
  • the first logo can be displayed as a flower
  • the second logo can be displayed as a branch, such as the text prompt in the interface 64 "Placing the device upright for more accurate shooting, please adjust the device angle to make the small flowers complete".
  • the embodiment of the present application does not limit the display mode of the first logo and the second logo.
  • the first logo can also be a small ball and the second logo can be a shark.
  • the small ball falls into the shark's mouth in the interface 64, so that the device can be adjusted to the preset position. In this way, by setting up signs to guide users to adjust the device, the fun can be increased.
  • the device calibration can be achieved through 2-axis calibration.
  • the mobile phone detects the current posture of the mobile phone through sensors such as gravity sensor 180A and gyroscope sensor 180B; then, the pitch angle posture and left-right angle deviation of the current posture relative to the target posture (such as the posture of the mobile phone in a vertical state) are determined.
  • the mobile phone detects that the current posture of the mobile phone meets the placement conditions, for example, the pitch angle deviation is less than or equal to ( ⁇ ) the preset pitch angle deviation threshold, and the left-right angle deviation is ⁇ the preset left-right angle deviation threshold, then it can be determined that the mobile phone is calibrated within the target posture range; wherein, the preset pitch angle deviation threshold can be 10°, and the preset left-right angle deviation threshold can also be 10°.
  • the mobile phone can also guide the user to make adjustments through voice commands, such as voice guidance.
  • Guidance instructions may include: “rotate the phone a little to the left”, “rotate the phone a little to the right”, “rotate the phone a little backward”, or “rotate the phone a little forward, etc.” It is understood that the phone can generate corresponding voice guidance instructions based on the pitch angle posture and left and right angle deviation of the current posture of the device relative to the target posture.
  • the body measurement can be entered.
  • the user can be guided to adjust the device position to a device posture that meets the placement conditions, for example, it can be displayed as an interface 64' as shown in Figure 7.
  • the mobile phone detects that the current posture of the mobile phone meets the placement conditions, it can automatically jump to the shooting page; in addition, optionally, before jumping to the shooting page, the mobile phone can prompt the user through a pop-up window 660 that the placement of the mobile phone has met the placement conditions.
  • the user in the body measurement stage, can be guided to scan the front body image frame (hereinafter referred to as "front view”) and the side body image frame (hereinafter referred to as "side view”) through multiple shooting pages.
  • the mobile phone can jump from interface 64' to interface 65a; wherein interface 65a is used to guide the user to take a front view.
  • interface 65a a text guide of "place the whole body front view in the human frame” can be included, and a reference outline of the front view can also be included, and a "switch front and rear cameras" control 670 can also be included.
  • the voice guidance instruction can include: "Stand in the front, keep the body in the human frame", “Stand closer to the screen, keep the body in the human frame” or “Stand farther from the screen, keep the body in the human frame”.
  • the mobile phone can collect image data in real time through camera 193, and display and detect the image data.
  • the mobile phone can detect whether the currently collected image data meets the frontal photo shooting requirement by comparing the person in the image data with the frontal photo reference profile in the interface 65a.
  • the frontal photo shooting requirement can be a preset configuration, and the deviation between the portrait profile in the image data and the frontal photo reference profile is less than or equal to a preset deviation threshold.
  • the mobile phone if it detects that the requirements for frontal photo shooting are met, it can continue to automatically jump to the display interface for shooting side photos, for example, it can display the interface 65b and interface 65c in Figure 7 to the user in sequence.
  • interface 65b can be used to prompt the user that the frontal photo is being obtained, and while displaying interface 65b, it can prompt the user that the recognition is in progress through voice prompts, for example, the voice guidance instructions can include: "Recognition in progress, keep the current posture still" and "Voice countdown: 3, 2, 1".
  • Interface 65c can be used to prompt the user that the frontal photo recognition is successful, and while displaying interface 65c, it can prompt the user that the recognition is completed through voice prompts, for example, the voice guidance instructions can include "Front photo recognition is successful". It can be understood that after interface 65c is displayed for a certain preset time, it can automatically jump to interface 67a for shooting side photos.
  • the mobile phone detects that the mobile phone is unbalanced, the user can be guided to readjust the device, and after the device is adjusted to meet the preset placement conditions, the shooting process can be continued.
  • the mobile phone after the mobile phone has taken a frontal photo, the mobile phone is unbalanced during the side photo shooting process, and the interface 66 can be displayed before the display interface 67a.
  • the interface 66 can display at least one mark for the user to calibrate, such as the first mark indicating the current posture and the second mark indicating the target posture introduced in the above text.
  • the style of the display mark in the interface 66 can refer to the display method of the interface 64, or the interface 66 can also be displayed in a different manner from the interface 64, for example, the first mark can be a small circle, and the second mark can be a large circle including a cross calibration line.
  • the voice guidance instruction can include "please adjust the device angle so that the dot position is located within the cross circle".
  • the mobile phone can jump from interface 65c to interface 67a, or can also jump from interface 66 to interface 67a, which can be determined according to the actual scene. Similar to the frontal photo shooting process, interface 67a is used to guide the user to shoot a side photo. For example, in interface 67a, a text guide of "place the whole body side in the human-shaped frame" can be included, and a side-photo reference outline can also be included, and a "switch front and rear cameras" control 670 can also be included.
  • the voice guidance instruction can include: "Stand sideways, keep the body in the human-shaped frame", “Stand closer to the screen, keep the body in the human-shaped frame” or “Stand farther from the screen, keep the body in the human-shaped frame".
  • the mobile phone can collect image data in real time through camera 193, and display and detect the image data.
  • the mobile phone can detect whether the currently collected image data meets the side photo shooting requirements by comparing the characters in the image data with the side-photo reference outline in interface 67a.
  • the side view shooting requirement may be a preset configuration, and may be that the deviation between the portrait contour in the image data and the side view reference contour is less than or equal to a preset deviation threshold.
  • the mobile phone when it detects that the side view shooting requirement is met, it can display the interface 67b and the interface 67c shown in FIG7 to the user in sequence.
  • the interface 67b can be used to prompt the user that the side view is being acquired, and while displaying the interface 67b, the user can be prompted by voice prompts that the recognition is in progress.
  • the voice guidance instruction may include: "Recognition in progress, keep the current posture unchanged" and "voice countdown: 3, 2, 1".
  • Interface 67c may be used to prompt the user that the side view recognition is successful, and while displaying interface 67c, the user may be prompted by voice prompts that the recognition is complete, for example, the voice guidance instruction may include "side view recognition is successful".
  • FIG8 is a flow chart of obtaining a human body mesh model provided in an embodiment of the present application.
  • the mobile phone can obtain the contour data of the body using the portrait segmentation network model 801 according to the front view and the side view; and can also obtain the 2D bone point data using the human body bone point detection model 802 according to the front view and the side view. Then, the mobile phone can use the contour data output by the portrait segmentation network model 801, the 2D bone point data output by the human body bone point detection model 802, and the basic body parameters obtained in the body measurement preparation stage as the input of the body parameter deep network model 803; and, using the body parameter deep network model 803, the weight factors of multiple body parameters can be output.
  • the mobile phone can use the weight factors of multiple body parameters as the input of a human body model (skinned multi-person linear model, SMPL) 804; wherein, the SMPL human body model 804 includes multiple different categories of reference body parameters, for example, including but not limited to: size parameters, obesity parameters.
  • the mobile phone can process and estimate the weight factor of the body parameter and the reference body parameter through the SMPL human body model 804, and obtain the body parameter of the user; wherein, based on the body parameter of the user, a 3D human body mesh model of the user as shown in FIG8 can be constructed.
  • the body parameter may include but is not limited to: three measurements (chest circumference, waist circumference and hip circumference), limb dimensions (thigh circumference, calf circumference, upper arm circumference and head circumference), and limb length (leg length, wall length and shoulder width).
  • the electronic device can further read the user's body parameters based on the 3D human body mesh model, so as to analyze the user's body parameters and obtain the user's body analysis results, so that the body analysis results can be displayed to the user through the display interface.
  • the body analysis results can be displayed in a variety of ways, for example, the body analysis results can include but are not limited to: AI body loading (loading) image, AI body data.
  • the body analysis results may include direct results based on the user's body parameters, and may also include indirect results calculated or interpreted based on the user's body parameters.
  • the direct results based on the body parameters can be displayed to the user as AI body data;
  • the indirect results may include but are not limited to: AI body loading image, other body data in AI body data except body parameters, and may also include AI body result interpretation, and improvement plan for AI body.
  • FIG9 is a schematic diagram of an interface of a body shape analysis result provided in an embodiment of the present application.
  • the mobile phone may first display an interface including a reference AI body shape according to the user's gender parameter, for example, interface 68a in FIG9 displays the reference AI body shape corresponding to females, and interface 68b displays the reference AI body shape corresponding to males; and the mobile phone may also prompt the user through text content and/or voice commands that the mobile phone is performing body shape measurement and analysis, such as text content that may be displayed as "measure your body shape" and "please wait, we are analyzing photos and measuring your body shape".
  • the mobile phone may switch to display interface 69 in FIG9.
  • interface 69 from top to bottom, but not limited to, the loading image of AI body shape, AI body shape data, result interpretation, and improvement plan may be displayed in sequence.
  • the loading image of the AI body shape can be used to display the user's body shape, so that the user can more intuitively perceive the body shape.
  • the loading image of the AI body shape can be obtained by adjusting and rendering the reference AI body shape shown in interface 68a based on a 3D human mesh model.
  • the reference AI body shape is adaptively adjusted according to the body shape parameters such as the measurements, limb dimensions, and limb lengths, and the adaptively adjusted reference AI body shape is color rendered to obtain the user's AI body shape.
  • the loading image of the AI body shape in interface 69 is adjusting and rendering the reference AI body shape shown in interface 68a based on a 3D human mesh model.
  • the reference AI body shape is adaptively adjusted according to the body shape parameters such as the measurements, limb dimensions, and limb lengths
  • the adaptively adjusted reference AI body shape is color rendered to obtain the user's AI body shape.
  • the embodiments of the present application do not limit the display mode of the reference AI body type, the switching display mode from the reference AI body type to the user AI body type, and the display mode of the user AI body type.
  • the switching display mode from the reference AI body type to the user AI body type may cover the reference AI body type from top to bottom in sequence; for another example, the display mode of the user AI body type may also include a 360° rotation of the user AI body type to achieve an all-round display, etc., and the corresponding display mode may be preset and configured during specific implementation.
  • the mobile phone may also rotate and display the loading image of the AI body type in response to the user's sliding operation on the loading image of the AI body type.
  • AI body shape data can be used to display the user's body shape in more detail, so that the user can more accurately obtain the body shape status.
  • AI body shape data may include body shape parameters, such as waist circumference of 81 cm, chest circumference of 97 cm, hip circumference of 95 cm, upper arm circumference of 30 cm, forearm circumference of 20 cm and thigh circumference of 45 cm; AI body shape data may also include other body shape data indirectly obtained based on body shape parameters, such as a pear-shaped body shape and a waist-to-hip ratio of 0.85.
  • the mobile phone can indirectly obtain other body shape data by searching for target data matching the body shape parameters from a pre-stored body shape database based on the body shape parameters; taking body shape as an example, the mobile phone searches the pre-stored body shape database based on the user's body shape parameters and finds that the user's target body shape is the pear shape shown in interface 69.
  • the pre-stored body shape database may include but is not limited to the following body shapes: Pear-shaped, symmetrical, apple-shaped, pepper-shaped, triangular, and hourglass-shaped.
  • FIG10 is a schematic diagram of each body shape type introduced in Table 1 provided in the embodiment of the present application; as can be seen from FIG10, the characteristic of the pear-shaped body shape is that the hip circumference parameter is large.
  • Result interpretation can be used to display the evaluation of body shape analysis results, so that users can determine the direction of improvement.
  • the pre-stored body shape database may also store result interpretations for various types of body shape data.
  • the result interpretation corresponding to the pear-shaped body shape may be “The pear-shaped body is mainly composed of peripheral subcutaneous fat, especially fat accumulation in the buttocks and thighs. The formation of the pear-shaped body is related to the large secretion of estrogen, which helps prevent diabetes and is more likely to prolong life.”; the result interpretation corresponding to the waist-to-hip ratio may be “high”; the result interpretation corresponding to the waist circumference may be “high”; and the result interpretations of other types of body shape data shown in interface 69 are not introduced one by one here.
  • the user can also display a more detailed interpretation of the results by performing user operations on the card displayed by the body shape data.
  • the mobile phone responds to the user operation on the waist-to-hip ratio card in interface 69 of FIG. 9 and switches to interface 691; wherein, in interface 691, a more detailed interpretation of the results about the waist-to-hip ratio is displayed, such as the basis for judging the waist-to-hip ratio and the data interpretation, etc.
  • the specific interpretation of the results can be referred to interface 691, which will not be described in detail here.
  • the user operation on the body shape data display card can be, for example, a click operation, a long press operation, a double-click operation, a gesture operation or a voice command.
  • the mobile phone in response to the user operation on the waist-to-hip ratio card in interface 69 of FIG. 9, can display it in a pop-up window, a picture-in-picture, or other display modes in addition to switching to the display mode of interface 691.
  • the improvement plan can be used to more accurately determine the user's improvement direction, allowing the user to manage their body more effectively.
  • the pre-stored body shape database may store improvement plans for various types of body shape data.
  • a possible improvement plan is shown in the following Table 1:
  • the mobile phone can display the corresponding improvement plan to the user.
  • the mobile phone can display a loading image with improvement plan logos, for example, the loading image includes: logos indicating that the exercise parts of the pear-shaped body shape are the abdomen, buttocks and legs, and a logo recommending that the exercise type is mainly aerobic exercise.
  • ⁇ data for example, in the interface 69 of FIG. 9 , in addition to the data content described in the above-mentioned embodiment, it may also include but is not limited to the following: a sliding bar 1010 for switching the body shape analysis results of different dates, a control 1011 for manually calibrating the body shape analysis results, and a control 1012 for obtaining a more detailed improvement plan.
  • the sliding bar 1010 can be used to switch the display of body shape analysis results of different dates in the interface 69.
  • the body shape analysis results of September 24 are currently displayed in the interface 69.
  • the mobile phone can also switch to display the body shape analysis results of September 20. It should be understood that the body shape analysis results of September 20 are compared with the body shape analysis results of September 24, and the AI body shape loading, AI body shape data, result interpretation, and improvement plan are switched accordingly.
  • the user can switch the display by sliding the horizontal bar 1010; if the body shape analysis results of the corresponding date are not stored, the user can be prompted that there is no body shape data for the date by, for example, a pop-up window or a display interface when switching the display.
  • different date labels can be indicated to the user through different display states; for example, in interface 69, the display state of the label corresponding to the date with stored body shape analysis results is bold and underlined, and the display state of the label corresponding to the date without stored body shape analysis results is not bold and not underlined.
  • Control 1011 can be used to manually calibrate the body shape parameters in the body shape data included in interface 69.
  • FIG. 11 is a schematic diagram of an interface for manually calibrating the body shape analysis results provided by an embodiment of the present application.
  • the user can manually adjust body shape parameters such as chest circumference, waist circumference, arm circumference, and upper arm circumference.
  • the mobile phone responds to the user in interface 70.
  • the body shape analysis results are updated and displayed as interface 69a in FIG11 after multiple manual calibration operations and save operations are performed.
  • the loading image of the user's AI body shape is adaptively adjusted, and the AI body shape data, result interpretation, and improvement plan are updated accordingly. In this way, through the automatic measurement of the mobile phone and the manual calibration of the user, AI body shape measurement analysis can be achieved more accurately.
  • Control 1012 can be used to obtain a more detailed improvement plan.
  • the more detailed improvement plan may include, for example, a planned exercise time, a planned exercise cycle, a planned exercise part, and a planned exercise method, etc. The specific implementation method will be described in detail later and will not be described here.
  • the embodiments of the present application may also include the following scenarios:
  • the body shape analysis results can have a variety of display scenes.
  • it can be displayed after the AI body shape measurement process ends, such as the display scenes of interfaces 61 to 69 in the aforementioned embodiments.
  • the body shape analysis results can also be displayed in multiple display interfaces of the sports health APP, such as the weight management interface, the home page interface, the exercise plan interface, etc.
  • the body shape analysis results can also be displayed in association with the body shape measurement entrance.
  • historical body shape analysis results can be included, such as the display shown in interface 69 by sliding the horizontal bar 1010.
  • a body shape measurement entrance can also be included, such as the "AI body shape analysis" control 1203 included in the interface 12b in Figure 12 to be introduced in the following embodiments.
  • the body shape analysis results in different display scenes, it is convenient for users to check the body shape analysis results more conveniently.
  • the multiple body analysis results can also be displayed in different display modes.
  • the display mode may include but is not limited to the daily view display, the weekly, monthly and annual view display.
  • the following still takes the display of body analysis results in the weight management interface as an example, which may include the following display modes:
  • FIG. 12 is a schematic diagram of an interface for displaying body shape analysis results provided in an embodiment of the present application.
  • the body shape analysis results related to the current date may also be included, such as the content displayed by the card 1200 in the interface 12a; wherein the body composition data may be data obtained from the smart body fat scale, and may include body score, BMI, fat rate, bone weight and other data.
  • the body shape analysis results may be displayed in a preset folded state, for example, part of the AI body shape data may be displayed.
  • the mobile phone may also respond to the user operation of unfolding the body shape analysis results, and display the interface 12b in FIG. 12; wherein, in the interface 12b, the card displaying the body shape analysis results may be in an unfolded state, and may include more detailed analysis results.
  • the specific content included in the body shape analysis results may refer to the introduction to the interface 69, which will not be repeated here.
  • the user operation for expanding the body shape analysis result may be, for example, a click operation, a long press operation, or a voice command on the control 1201 for displaying more analysis results in the interface 12a.
  • the body composition data may also include, but is not limited to, data such as visceral fat level, body shape, and waist-to-hip ratio.
  • data such as visceral fat level, body shape, and waist-to-hip ratio.
  • the same type of data may also be merged and calibrated so that the same numerical value can be displayed. It can be understood that the implementation methods for obtaining the body composition data and the body shape analysis results are different in the embodiments of the present application. Therefore, if the body composition data and the body shape analysis results include the same type of data, there may be deviations in the numerical results.
  • the numerical results included in the body shape analysis results can be synchronized to the body composition data; and for the second preset type of data, the numerical results included in the body composition data can be synchronized to the body shape analysis results.
  • the first preset type of data is used to indicate that the confidence of the numerical result obtained based on the AI body shape measurement analysis is greater than the data of the numerical result obtained based on the intelligent body fat scale, such as the waist-to-hip ratio, body shape and other body shape related data;
  • the second preset type of data is used to indicate that the confidence of the numerical result obtained based on the AI body shape measurement analysis is less than or equal to the numerical result obtained based on the intelligent body fat scale, such as the body composition related data such as fat rate and BMI.
  • the mobile phone can also indicate to the user that the data is the data of the body composition data and the body shape analysis result combined and calibrated through prompt information in the form of control 1202; for example, in interface 12b, the body shape and waist-to-hip ratio display control 1202 included in both the body composition data and the AI body shape data, after the user clicks the control 1202, a prompt pop-up window 1203 can be displayed, and the content included in the prompt pop-up window can be, for example, "This data is the result of the body shape analysis result and the body composition data combined and calibrated".
  • the mobile phone can switch to display the weight management interface of other dates in response to the user operation of the switch control.
  • the weight management interface of each date displays the body composition data and/or body shape analysis results obtained on the corresponding date. It can also be understood that for any date, body composition data or body shape analysis results may be stored. The present application does not limit this; the different display effects under different dates can be found in FIG12, and the present application will not describe this in detail.
  • FIG. 13 is another interface schematic diagram for displaying the body shape analysis results provided in an embodiment of the present application.
  • the difference from mode A is that the display of various data in mode B is determined according to the time window; wherein the time window can be, for example, a week, a month, or a year.
  • interfaces 13a and 13b of FIG. 13 are introduced using the time window of a week as an example, and the display method of the body shape analysis results can refer to the introduction in mode A; the difference is that each data item of the body shape analysis results displayed in interfaces 13a and 13b of FIG.
  • the loading image of the AI body shape displayed in interface 13b can be calculated based on the daily average body shape parameters, and the AI body shape data, result interpretation, etc. can be displayed based on the daily average data results.
  • the mobile phone can display interface 13a and interface 13b according to the daily average data, or it can display interface 13a and interface 13b according to the weekly average data; if the time window is a year, the mobile phone can display interface 13a and interface 13b according to the daily average data, or it can display interface 13a and interface 13b according to the weekly average data, or it can display interface 13a and interface 13b according to the monthly average data.
  • This application does not limit this.
  • a sliding control 1300 can also be displayed to the user; wherein the sliding control 1300 allows the user to switch to display the AI body images corresponding to different weeks. In this way, it is convenient for the user to intuitively view the changes in body shape.
  • Figure 14 is another interface schematic diagram for displaying body shape analysis results provided by an embodiment of the present application.
  • the mobile phone can display interface 12c in response to the user operation of the card displaying the waist-to-hip ratio included in interface 12a; wherein interface 12c includes more detailed data about the waist-to-hip ratio, for example, it can include judgment criteria, data trends for waist-to-hip ratio data determined in combination with historical body shape analysis results, and interpretation of the results obtained for the waist-to-hip ratio data, improvement plans, or ideal waist-to-hip ratio, etc.
  • interface 12c includes more detailed data about the waist-to-hip ratio, for example, it can include judgment criteria, data trends for waist-to-hip ratio data determined in combination with historical body shape analysis results, and interpretation of the results obtained for the waist-to-hip ratio data, improvement plans, or ideal waist-to-hip ratio, etc.
  • the present application does not limit the specific content of the more detailed data displayed.
  • interface 12c and interface 691 introduced in the aforementioned embodiment may be different display modes for body shape analysis results in different display scenarios, and interface 12c and interface 691 may be interchangeable; or, they may be displayed as the same interface in different display scenarios, for example, after the user clicks on the card displaying waist-to-hip ratio in interface 69, interface 12c may also be displayed.
  • a body shape parameter label can also be displayed in the loading image displaying AI body shape to display the predicted AI body shape for a certain body shape parameter.
  • Figure 15 is another interface schematic diagram of the display body shape analysis structure provided in the embodiment of the present application.
  • a label 1511a for displaying weight data can be included. If the mobile phone detects a user operation on the label 1511a, it can switch to the display of the interface 15b1. Among them, the difference between interface 15b1 and interface 15a1 lies in the different prompt cards 1510 displayed.
  • the prompt card 1510 of interface 15a1 is used to indicate that the current interface displays the current AI body type
  • the prompt card 1510 of interface 15b1 is used to indicate that the current interface displays the predicted AI body type
  • a sliding bar 1512 can also be included.
  • the sliding bar 1512 can be used to select different target weights to achieve the loading image of the AI body type to be adjusted accordingly according to the selected target weight, so that it can be displayed as a predicted AI body type; in addition, in the sliding bar 1512, the user's current weight can also be indicated by a black dot, so that the user can intuitively determine the comparison between the current weight and the target weight.
  • Another optional implementation method of displaying interface 15b1 can also be that the mobile phone responds to the user operation of the "predicted body type" control included in the prompt card 1510 in interface 15a2 of Figure 15.
  • interface 15b1 in FIG. 15 around the loading image of the AI body type, there can also be included a label for displaying the three measurements, such as a label 1511b for displaying the chest measurement data. If the mobile phone detects a user operation on the label 1511b, it can be switched to interface 15c. Wherein, interface 15c is different from interface 15b1 in that the displayed prompt card 1510 is different.
  • the prompt card 1510 of interface 15c is used to indicate that the current interface displays the predicted three measurements
  • a sliding bar 1513 which can be used to select different target three measurements, so that the three measurements of the loading image of the AI body type are adjusted accordingly according to the selected target three measurements, so that it can be displayed as the predicted three measurements
  • the user's current three measurements can also be indicated by a black dot, so that the user can intuitively determine the comparison between the current three measurements and the target three measurements
  • different three measurements can correspond to different sliding bars 1513, for example, the sliding bar corresponding to the chest measurement is displayed in interface 15c.
  • the display interface 15c may be implemented by the mobile phone responding to a user operation on a “predicted measurements” control included in the prompt card 1510 in the interface 15b2 of FIG. 15 .
  • the slidable range of the sliding bar 1512 or the sliding bar 1513 may be pre-configured, and may be a value range obtained based on basic physical parameters of the user, such as a minimum weight and a maximum weight.
  • FIG. 16 is a schematic diagram of an interface of a body measurement analysis method provided in an embodiment of the present application. Based on the introduction in the aforementioned embodiment, the body analysis result obtained in the embodiment of the present application may include an improvement plan.
  • interface 1601 in FIG. 16 is a display interface of a body analysis result, and interface 1601 includes a "get improvement plan" control 1012; wherein control 1012 can be used to determine a more detailed improvement plan.
  • the mobile phone displays interface 1602 in response to the user operation of control 1012; wherein interface 1602 includes a more detailed improvement plan, for example, it may include but is not limited to one or a combination of the following plans: "recommend your weight loss parts”, “recommend weekly exercise days”, “whether other sports courses need to be added to the plan” and “set training day reminder time”, and the specific plan content can refer to the content shown in interface 1602.
  • the content displayed in interface 1602 may be a reference improvement plan generated by the mobile phone based on the body shape analysis results and the body shape database, and the mobile phone may also receive the user's modification of any improvement plan.
  • the mobile phone displays interface 1603 in response to the user's operation on the card displaying "recommended weight loss parts”; wherein interface 1603 is used to modify the plan of "recommended weight loss parts", for example, it may include the whole body parts of the human body, and the user may realize the attention or cancellation of the part by the user operation on a certain part. For example, it can be seen from interface 1602 that the automatically generated plan focuses on the abdomen and back.
  • interface 1603 the user can click the "abdomen” control to cancel the attention on the abdomen.
  • the mobile phone displays interface 1604 in response to the user operation on interface 1603 for confirming the modification plan; wherein interface 1604 is the final generated user body shape improvement plan, and the specific improvement plan can be referred to as shown in interface 1604, which will not be repeated.
  • interface 1604 may also display content indicating the predicted body shape analysis results, for example, a comparison between the loading image of the current AI body shape and the loading image of the predicted AI body shape, predicted AI body shape data, and predicted results.
  • an improvement plan in addition to generating an improvement plan based on the weight loss parts in interface 1603, an improvement plan can also be generated based on other factors or in combination with other factors.
  • Other factors may be, for example, exercise type (including but not limited to fat loss, body shaping, and muscle gain).
  • FIG17 is a schematic diagram of an interface of a body shape measurement analysis method provided in an embodiment of the present application.
  • the method provided in the present application can also be applied to an application scenario of assisting in determining or adjusting an improvement plan.
  • the interface 1701 shown in FIG17 is a setting interface for a user to generate an improvement plan
  • the interface 1701 may include a "directly generate” control 1711 and an "AI body shape analysis” control 1712.
  • the control 1711 is used to indicate that an improvement plan can be directly generated based on the setting of the interface 1701
  • the control 1712 is used to indicate that in the scenario of generating an improvement plan, the setting of the interface 1701 and the results of the AI body shape measurement analysis can be combined to obtain an improvement plan. It can be understood that by combining the AI body shape measurement analysis, the accuracy of generating an improvement plan can be improved.
  • the mobile phone in response to the user operation on the control 1712, can display an interface for starting the AI body shape measurement analysis process, such as the interface 62 introduced in the above embodiment.
  • the interface 1601 for displaying the body shape analysis result can be obtained.
  • the mobile phone in response to the user operation on the control 1012 on the interface 1601, the mobile phone can generate an improvement plan, or if the mobile phone has a historical improvement plan stored, the improvement plan can be changed.
  • the implementation process of generating the improvement plan can refer to the content introduced in Figure 16, which will not be repeated here.
  • FIG. 18 is a schematic diagram of an interface of a body shape measurement and analysis method provided in an embodiment of the present application.
  • the mobile phone responds to a user operation on a "set target" control 1810 included in interface 1801, and displays interface 1802; wherein interface 1802 is used to indicate a setting interface for a target weight, for example, the setting interface may include but is not limited to the following: weight management type (such as weight loss, weight gain, and weight maintenance), target weight value, and expected completion date.
  • weight management type such as weight loss, weight gain, and weight maintenance
  • the mobile phone responds to a user operation in interface 1802 for indicating that the setting is completed, and displays interface 1803; wherein interface 1803 may be used to display the weight management progress generated according to the set target weight, and may also include a card 610 for triggering AI body shape measurement and analysis.
  • the mobile phone may execute an AI body shape measurement and analysis process, and the process may refer to the contents shown in interfaces 62 to 67c introduced in the aforementioned embodiment, which will not be repeated here.
  • the mobile phone responds to the event that the side photo collection is completed and continues to display interface 1804; wherein, the difference between interface 1804 and interface 69 in the previous text is that, in the scenario of target weight management, the comparison between the loading image of the current AI body shape and the loading image of the predicted AI body shape can be displayed, and the predicted AI body shape data, the interpretation of the predicted results, and the predicted improvement plan can be displayed.
  • the estimated completion date is set to October 31, so the loading image of the predicted AI body shape, the predicted AI body shape data, the interpretation of the predicted results, and the predicted improvement plan on October 31 can be included in interface 1804.
  • FIG. 19 is another interface schematic diagram of a body shape measurement and analysis method provided in an embodiment of the present application.
  • the target weight can also be managed in this scenario.
  • the mobile phone can display interface 1902 in response to a user operation on a "manage target" control 1910 included in interface 1901.
  • interface 1902 is used to indicate the progress of weight management obtained according to the target weight, for example, it can include but not be limited to the progress of the target duration, the progress of cumulative weight loss, the curve chart of weight data, and the comparison between the current AI body shape and the predicted AI body shape.
  • the progress data of weight management dated October 15th is updated accordingly in interface 1903 compared with interface 1902, and the comparison of AI body shape can be the comparison between the latest AI body shape stored in the mobile phone and the predicted AI body shape, for example, the latest AI body shape can be the AI body shape measured on October 15th. Therefore, through the visualization of the progress tracking of AI body shape, it is convenient for users to view the changes in body shape more intuitively, so that they can adjust the current goal or set a new goal in time.
  • target body shape parameters may also be set, for example, a target waist circumference, a target chest circumference, a target hip circumference, etc. may be set.
  • the method provided in this application can improve the accuracy of body shape measurement, thereby generating more accurate body shape analysis results, which can better fit the user's actual body shape.
  • Figure 20 is a flow chart of the body shape measurement and analysis method provided in an embodiment of the present application. It is a summary of the specific embodiments shown in Figures 6 to 19 above. In the following description, a possible interaction process of the embodiment of the present application is described in conjunction with the user interface.
  • the mobile phone detects that the user initiates a body measurement operation instruction.
  • the mobile phone determines whether there are basic physical parameters of the user within a preset time limit. If it is determined that there are no basic physical parameters of the user within a preset time limit, S2003' is executed; if it is determined that there are basic physical parameters of the user within a preset time limit, S2003 is continued to be executed.
  • the preset time limit range may be a default configuration, or may be manually set by the user, for example, 30 days.
  • the basic physical parameters of the user may include, but are not limited to, height parameters, weight parameters, etc.
  • the mobile phone obtains the basic physical parameters of the user.
  • the mobile phone displays a body measurement guidance interface to the user. This step is optional.
  • the mobile phone determines whether the volume is greater than or equal to ( ⁇ ) a preset volume threshold. If so, execute S2006; if not, execute S2006'.
  • the mobile phone adjusts the volume to a level greater than or equal to a preset volume threshold, and then executes S2006.
  • the mobile phone performs device calibration.
  • the mobile phone prompts the user to scan the body image, and obtains multiple body images of the user.
  • the specific implementation process of this step can be referred to as shown in FIG21, which is a schematic diagram of a body measurement process provided by an embodiment of the present application.
  • the body image scanning process of the mobile phone may include the following process:
  • the mobile phone detects that a preset measurement condition is met and enters the shooting mode.
  • the preset measurement condition may be that based on S2006, it is determined that the device is calibrated to a device posture that meets the placement condition, and then the mobile phone automatically jumps to the shooting mode.
  • S20072 The mobile phone detects whether it meets the requirements for front-facing photo shooting. If it is detected that it does not meet the requirements, execute S20073'; if it is detected that it meets the requirements, continue to execute S20073.
  • the mobile phone determines the user's movement deviation, performs calibration guidance, and then returns to execute S20072 to determine whether the user can meet the requirements for frontal photo shooting after guiding the user to make standing adjustments.
  • S20073 the mobile phone detects whether it meets the requirements for side-view photography. If it is detected that it does not meet the requirements, execute S20074'; if it is detected that it meets the requirements, continue to execute S20074.
  • the mobile phone determines the user's movement deviation, performs calibration guidance, and then returns to execute S20073 to determine whether the side view shooting requirement can be met after guiding the user to make standing adjustments.
  • S20074 The mobile phone determines that the recognition is successful and obtains the front and side photos. It can be understood that after the mobile phone obtains the front and side photos, it can continue to process the body shape analysis stage to obtain the body shape analysis result of the user.
  • the mobile phone can generate a human mesh model based on basic body parameters and multiple body images.
  • the mobile phone can obtain contour data through the portrait segmentation network model 801 based on multiple body images, and obtain 2D bone point data through the human bone point detection model 802; then the mobile phone can use the basic body parameters, contour data and 2D bone point data as inputs to the body parameter deep network model 803 to obtain the weight factors of the body parameters; then the mobile phone can input the weight factors of the body parameters into the SMPL human model 804, so as to output the human mesh model.
  • the mobile phone outputs the body shape analysis result based on the human body mesh model.
  • the acquisition and display method of the body shape analysis result can refer to the introduction of each scene shown in Figures 9 to 19 above.
  • FIG. 22 is an embodiment of the present application.
  • a schematic diagram of a process for obtaining a body shape analysis result is provided. The process may include the following steps:
  • the mobile phone calculates and generates a body shape analysis result of this AI body shape measurement analysis.
  • S2202 The mobile phone determines whether there is any historical body measurement record locally. If it is determined that there is no historical body measurement record, S2203a is executed; if it is determined that there is, S2203b is continued to be executed.
  • the mobile phone generates the current body shape analysis result.
  • the mobile phone can display the body shape analysis result obtained by the current body shape measurement. For example, assuming that the current body shape measurement is performed on September 24, the body shape analysis result obtained on September 24 can be displayed in the interface 69.
  • the mobile phone generates the current and historical body shape analysis results.
  • the mobile phone can not only display the body shape analysis results obtained from the current body shape measurement, but also display the body shape analysis results obtained from each historical body shape measurement.
  • the user can slide the horizontal bar 1010 to switch the display of the body shape analysis results obtained from each body shape measurement.
  • the mobile phone detects a manual calibration operation.
  • the mobile phone calibration operation may be a user operation on the control 1011 included in the interface 69, and the user operation may be, for example, a click operation, a long press operation, a gesture operation, or a voice command.
  • the mobile phone generates a new body shape analysis result in response to the manual calibration operation.
  • the mobile phone can adaptively adjust the loading image of the AI body shape, the display of the AI body shape data, etc. according to the body shape data manually input by the user.
  • a schematic diagram of the process of displaying the body shape analysis result provided in an embodiment of the present application can include the following process:
  • the mobile phone obtains the body shape analysis result of the current date.
  • the mobile phone may store the body shape analysis result after each AI body shape measurement analysis.
  • the mobile phone may call the stored body shape analysis result in response to the user operation of viewing the weight management interface for display.
  • S2302 The mobile phone determines whether there is body composition data for the current date. If it is determined that there is no body composition data, S2303a is executed; if it is determined that there is, S2303b is continued.
  • the mobile phone presents the current body shape analysis result.
  • the mobile phone can directly display the body shape analysis result of the current date.
  • the mobile phone combines and calibrates the body composition data and the body shape analysis results, and presents the calibrated body composition data and the body shape analysis results.
  • the mobile phone can determine the calibration method according to information such as the data type. For example, for body composition-related data such as fat percentage and BMI, the mobile phone can calibrate the body shape analysis results according to the body composition data. For another example, for body shape-related data such as waist-to-hip ratio and body shape, the mobile phone can also calibrate the body composition data according to the body shape analysis results.
  • the method provided in the embodiments of the present application can obtain a human body mesh model based on the measured body image data and the obtained basic body parameters by using the model processing, so as to analyze and obtain the user's body shape data and generate a body shape analysis result. Therefore, the method can reduce the operation complexity of the user's body shape measurement and analysis, and can improve the accuracy of body shape measurement through model processing.
  • the present application also provides an electronic device, which includes multiple functional modules; the multiple functional modules interact with each other to implement the functions performed by the electronic device in each method described in the embodiments of the present application.
  • the multiple functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the multiple functional modules can be arbitrarily combined or divided based on specific implementations. For example, steps 2001 to 2009 performed by the electronic device in the embodiment shown in Figure 20 are executed. Or steps 20071 to 20074 performed by the electronic device in the embodiment shown in Figure 21 are executed. Another example is steps 2201 to 2005 performed by the electronic device in the embodiment shown in Figure 22. Or steps 2301 to 2303a, or steps 2301 to 2303b performed by the electronic device in the embodiment shown in Figure 23 are executed.
  • the present application also provides an electronic device, which includes at least one processor and at least one memory, wherein the at least one memory stores computer program instructions, and when the electronic device is running, the at least one processor performs the functions performed by the electronic device in each method described in the embodiments of the present application. For example, steps 2001 to 2009 performed by the electronic device in the embodiment shown in Figure 20 are performed. Or steps 20071 to 20074 performed by the electronic device in the embodiment shown in Figure 21 are performed. For example, steps 2201 to 2005 performed by the electronic device in the embodiment shown in Figure 22 are performed. Or steps 2301 to 2303a, or steps 2301 to 2303b performed by the electronic device in the embodiment shown in Figure 23 are performed.
  • the present application also provides a computer program product, which includes: a computer program (also referred to as code, or instruction), when the computer program is run, the methods described in the embodiments of the present application are executed.
  • a computer program also referred to as code, or instruction
  • the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program (also referred to as code or instruction).
  • a computer program also referred to as code or instruction
  • the computer executes the present application.
  • the present application further provides a chip, which is used to read a computer program stored in a memory to implement the methods described in the embodiments of the present application.
  • the present application provides a chip system, which includes a processor for supporting a computer device to implement the methods described in the embodiments of the present application.
  • the chip system also includes a memory, which is used to store the necessary programs and data of the computer device.
  • the chip system can be composed of a chip, or it can include a chip and other discrete devices.
  • the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware.
  • the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • the term “when" or “after" may be interpreted to mean “if" or “after" or “in response to determining" or “in response to detecting", depending on the context.
  • the phrase “upon determining" or “if (the stated condition or event) is detected” may be interpreted to mean “if determining" or “in response to determining" or “upon detecting (the stated condition or event)” or “in response to detecting (the stated condition or event)", depending on the context.
  • These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
  • These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Medical Informatics (AREA)
  • Public Health (AREA)
  • Biophysics (AREA)
  • General Physics & Mathematics (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Geometry (AREA)
  • Molecular Biology (AREA)
  • Veterinary Medicine (AREA)
  • Primary Health Care (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Epidemiology (AREA)
  • Biomedical Technology (AREA)
  • Pathology (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Physical Education & Sports Medicine (AREA)
  • General Engineering & Computer Science (AREA)
  • Dentistry (AREA)
  • Nutrition Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

A body shape measurement and analysis method and an electronic device, for use in accurately measuring and analyzing a body shape state of a user. The method comprises: an electronic device detecting a first operation instruction of a user for initiating body shape measurement; prompting the user to input basic body parameters, and acquiring the basic body parameters input by the user under the prompt; or reading basic body parameters pre-stored by the user; sequentially displaying photographing interfaces used for guiding the user to photograph the body at different angles, and photographing images of the body of the user at the different angles; constructing a three-dimensional (3D) model according to the basic body parameters of the user and the images of the body of the user at the different angles, and obtaining a body shape analysis result of the user according to the 3D model; and displaying the body shape analysis result, the displayed body shape analysis result comprising a first body shape image and various body shape data of the user.

Description

一种体型测量分析方法与电子设备A body shape measurement and analysis method and electronic device
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求在2022年10月19日提交中华人民共和国知识产权局、申请号为202211282051.9、发明名称为“一种体型测量分析方法与电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the Intellectual Property Office of the People's Republic of China on October 19, 2022, with application number 202211282051.9 and invention name "A body shape measurement and analysis method and electronic device", the entire contents of which are incorporated by reference in this application.
技术领域Technical Field
本申请涉及电子技术领域,尤其涉及一种体型测量分析方法与电子设备。The present application relates to the field of electronic technology, and in particular to a body shape measurement and analysis method and an electronic device.
背景技术Background technique
当前,随着技术的发展,与用户健康相关的应用和服务越来越丰富,例如,与运动、减脂等相关的应用(application,APP)有很多。这种应用上的创新和发展为促进用户的身体健康创造了便利的条件。At present, with the development of technology, applications and services related to user health are becoming more and more abundant. For example, there are many applications (APPs) related to exercise, fat loss, etc. This innovation and development in applications has created convenient conditions for promoting the physical health of users.
然而,这类应用一般需要用户手动测量,并将测量结果输入到相关APP中。例如,在运动健康APP中,用户输入手动测量的身体相关的围度信息、长度信息等。这种方式不能准确的反应用户的体型情况,难以满足用户对体型参数的精准管控。However, such applications generally require users to measure manually and input the measurement results into the relevant APP. For example, in a sports health APP, users input manually measured body circumference information, length information, etc. This method cannot accurately reflect the user's body shape and it is difficult to meet the user's precise control of body shape parameters.
发明内容Summary of the invention
本申请的目的在于提供了一种体型测量分析方法与电子设备,用以准确地测量分析用户的体型状态。The purpose of the present application is to provide a body shape measurement and analysis method and an electronic device for accurately measuring and analyzing the body shape of a user.
第一方面,提供一种体型测量分析方法,应用于电子设备。该方法包括:检测到用户发起体型测量的第一操作指令;提示所述用户输入基本身体参数,以及获取所述用户在所述提示下输入的基本身体参数,或者读取所述用户预先存储的所述基本身体参数;依次显示用于引导所述用户拍摄身体的各个角度的拍摄界面,并拍摄得到所述用户的身体各个角度的图像;根据所述用户的基本身体参数,和所述用户的身体各个角度的图像构造三维3D模型,以及根据所述3D模型得到所述用户的体型分析结果;显示所述体型分析结果,显示的所述体型分析结果包括所述用户的第一体型图像和各项体型数据。其中,本申请不限定获取基本身体参数和拍摄身体的各个角度的执行顺序。In a first aspect, a body measurement and analysis method is provided, which is applied to electronic devices. The method includes: detecting a first operation instruction initiated by a user to measure body shape; prompting the user to input basic body parameters, and obtaining the basic body parameters input by the user under the prompt, or reading the basic body parameters pre-stored by the user; sequentially displaying shooting interfaces for guiding the user to shoot various angles of the body, and shooting and obtaining images of the user's body at various angles; constructing a three-dimensional 3D model based on the basic body parameters of the user and the images of the user's body at various angles, and obtaining the body shape analysis result of the user based on the 3D model; displaying the body shape analysis result, and the displayed body shape analysis result includes the first body shape image of the user and various body shape data. Among them, this application does not limit the execution order of obtaining basic body parameters and shooting various angles of the body.
通过申请实施例提供的方法,基于测量的身体图像数据和获取的基本身体参数,构造3D模型,进而可以基于3D模型得到用户的体型参数,从而可以基于体型参数分析得到用户体型数据等,进而生成体型分析结果。因此,该方法可以降低用户进行体型测量分析的操作复杂度,而且通过3D模型处理可以提高体型测量的准确度。Through the method provided in the application embodiment, a 3D model is constructed based on the measured body image data and the obtained basic body parameters, and then the user's body parameters can be obtained based on the 3D model, and then the user's body data can be obtained based on the body parameter analysis, and then the body analysis result is generated. Therefore, the method can reduce the complexity of the user's operation of body measurement analysis, and the accuracy of body measurement can be improved through 3D model processing.
在一种可能的设计中,所述根据所述用户的基本身体参数,和所述用户的身体各个角度的图像构造3D模型,包括:将所述身体各个角度的图像输入到第一模型中进行训练得到所述身体的轮廓数据;以及,将所述身体各个角度的图像输入到第二模型中进行训练得到所述身体的骨骼点数据;将所述轮廓数据、所述骨骼点数据和所述基本身体参数输入到第三模型中进行训练得到各项体型参数对应的权重因子;将所述体型参数的权重因子输入到第四模型中进行训练得到3D模型;其中,所述第四模型包括各项参考体型参数,所述各项参考体型参数用于与对应的所述体型参数的权重因子相乘得到所述用户的各项体型参数,所述用户的各项体型参数用于得到所述3D模型。所述参考体型参数可以包括但不限于:尺寸参数、肥胖参数。In a possible design, the 3D model is constructed based on the basic body parameters of the user and the images of the user's body at various angles, including: inputting the images of the body at various angles into the first model for training to obtain the contour data of the body; and inputting the images of the body at various angles into the second model for training to obtain the skeletal point data of the body; inputting the contour data, the skeletal point data and the basic body parameters into the third model for training to obtain the weight factors corresponding to each body shape parameter; inputting the weight factors of the body shape parameters into the fourth model for training to obtain the 3D model; wherein the fourth model includes various reference body shape parameters, and the various reference body shape parameters are used to multiply with the corresponding weight factors of the body shape parameters to obtain various body shape parameters of the user, and the various body shape parameters of the user are used to obtain the 3D model. The reference body shape parameters may include but are not limited to: size parameters, obesity parameters.
该设计中,通过构造3D模型,可以基于3D模型更准确地得到用户的体型状态。这样,用户可以获取到更贴合自身体型的体型分析结果。In this design, by constructing a 3D model, the user's body shape can be more accurately obtained based on the 3D model. In this way, the user can obtain a body shape analysis result that is more suitable for his or her body shape.
在一种可能的设计中,所述依次显示用于引导所述用户拍摄身体的各个角度的拍摄界面之前,所述方法还包括:显示用于进行设备校准的第一引导界面;所述第一引导界面用于根据预设放置条件引导用户放置所述电子设备;检测到在所述第一引导界面中所述电子设备的放置状态满足所述预设放置条件。一种可能的场景中,所述第一引导界面显示有第一标识和第二标识,所述第一标识和所述第二标识具有第一相对位置关系;在所述第一引导界面上,确定所述第一标识和所述第二标识从具有所述第一相对位置关系变更到具有第二相对位置关系,则可以确定检测到在所述第一引导界面中所述电子设备的放置状态满足所述预设放置条件;所述第二相对位置关系用于指示所述电子设备的放置状态满足所述预设放置 条件。例如,第一标识可以为花朵,第二标识可以为枝干,第一相对位置关系可以为分离的花朵和枝干,第二相对位置关系可以为一枝包括花朵和枝干的花。In a possible design, before sequentially displaying the shooting interfaces for guiding the user to shoot various angles of the body, the method further includes: displaying a first guide interface for device calibration; the first guide interface is used to guide the user to place the electronic device according to preset placement conditions; and detecting that the placement state of the electronic device in the first guide interface meets the preset placement conditions. In a possible scenario, the first guide interface displays a first identifier and a second identifier, and the first identifier and the second identifier have a first relative position relationship; on the first guide interface, it is determined that the first identifier and the second identifier change from having the first relative position relationship to having a second relative position relationship, then it can be determined that the placement state of the electronic device in the first guide interface meets the preset placement conditions; the second relative position relationship is used to indicate that the placement state of the electronic device meets the preset placement conditions. For example, the first identifier may be a flower, the second identifier may be a branch, the first relative position relationship may be a separate flower and branch, and the second relative position relationship may be a branch of a flower including the flower and the branch.
该设计中,通过将电子设备的当前姿态和目标姿态通过不同标识来展示,从而可以确定电子设备的当前姿态调整到目标姿态。这样,一方面可以便于用户更有效率的放置设备,另一方面还可以增加体型测量过程中的趣味性。In this design, the current posture and target posture of the electronic device are displayed through different identifiers, so that the current posture of the electronic device can be adjusted to the target posture. In this way, on the one hand, it is convenient for users to place the device more efficiently, and on the other hand, it can also increase the fun of the body measurement process.
在一种可能的设计中,所述检测到用户发起体型测量的第一操作指令之后,且在所述依次显示用于引导所述用户拍摄身体的各个角度的拍摄界面之前,所述方法还包括:显示第二引导界面,所述第二引导界面包括用于引导所述用户拍摄身体的各个角度的步骤说明。该设计中,通过向用户展示拍摄身体的引导步骤说明,可以便于用户更有效地进行体型测量。In a possible design, after the first operation instruction of the user initiating body measurement is detected, and before the shooting interface for guiding the user to shoot various angles of the body is sequentially displayed, the method further includes: displaying a second guidance interface, the second guidance interface including step instructions for guiding the user to shoot various angles of the body. In this design, by showing the user the guidance step instructions for shooting the body, the user can more effectively perform body measurement.
在一种可能的设计中,所述依次显示用于引导所述用户拍摄身体的各个角度的拍摄界面之前,所述方法还包括:显示用于对所述电子设备进行音量调节的第三引导界面,检测到在所述第三引导界面中显示所述电子设备的音量被调整到大于或等于预设音量值;或者,确定所述电子设备的音量大于或等于所述预设音量值。该设计中,通过向用户展示用于调节音量的界面,可以便于更好地引导用户进行体型测量,从而可以提高体型测量的效率。In a possible design, before sequentially displaying the shooting interface for guiding the user to shoot various angles of the body, the method further includes: displaying a third guide interface for adjusting the volume of the electronic device, detecting that the volume of the electronic device displayed in the third guide interface is adjusted to be greater than or equal to a preset volume value; or determining that the volume of the electronic device is greater than or equal to the preset volume value. In this design, by displaying the interface for adjusting the volume to the user, it is convenient to better guide the user to perform body measurement, thereby improving the efficiency of body measurement.
在一种可能的设计中,所述基本身体参数还包括性别参数;所述用户的体型图像对应于所述性别参数。该设计中,通过获取用户的性别参数,可以向用户展示更贴合用户的体型图像,从而可以提升用户体验。In a possible design, the basic body parameters also include gender parameters; the user's body image corresponds to the gender parameters. In this design, by obtaining the user's gender parameters, a body image that is more suitable for the user can be displayed to the user, thereby improving the user experience.
其中,用户的体型图像可以通过3D动画展示,不仅可以更准确地展示用户的体型状态,还可以提升用户使用体验。Among them, the user's body image can be displayed through 3D animation, which can not only show the user's body shape more accurately, but also enhance the user experience.
在一种可能的设计中,所述显示所述体型分析结果,包括:显示包括所述体型分析结果的第一界面;其中,所述第一界面中还包括用于切换日期的切换控件。电子设备还可响应于在所述第一界面中对所述切换控件的第二操作指令,显示第二界面,所述第二操作指令用于选择指定日期,所述第二界面包括在所述指定日期得到的体型分析结果。该设计中,通过显示切换控件,可以便于用户查看不同日期内的体型状态,从而可以便于用户感知体型的变化情况。In a possible design, the displaying of the body shape analysis result includes: displaying a first interface including the body shape analysis result; wherein the first interface also includes a switch control for switching dates. The electronic device may also display a second interface in response to a second operation instruction for the switch control in the first interface, wherein the second operation instruction is used to select a specified date, and the second interface includes the body shape analysis result obtained on the specified date. In this design, by displaying the switch control, it is convenient for the user to view the body shape status on different dates, thereby making it convenient for the user to perceive changes in body shape.
在一种可能的设计中,所述第一界面中还包括用于触发手动校准所述体型分析结果的触发控件;所述方法还包括:响应于在所述第一界面中对所述触发控件的第三操作指令,显示第三界面,所述第三界面包括用于对所述体型分析结果进行手动校准的校准控件;响应于对所述校准控件的第四操作指令,更新所述第一界面;更新之后的第一界面包括基于所述第四操作指令进行校准后的第一体型图像和至少一项体型数据。该设计中,可以向用户提供手动校准的拓展功能,从而可以生成更符合用户要求的体型分析结果,保障用户的使用体验。In a possible design, the first interface also includes a trigger control for triggering manual calibration of the body shape analysis result; the method further includes: in response to a third operation instruction on the trigger control in the first interface, displaying a third interface, the third interface including a calibration control for manually calibrating the body shape analysis result; in response to a fourth operation instruction on the calibration control, updating the first interface; the updated first interface includes a first body shape image and at least one body shape data calibrated based on the fourth operation instruction. In this design, an extended function of manual calibration can be provided to the user, so that a body shape analysis result that better meets the user's requirements can be generated, thereby ensuring the user's experience.
在一种可能的设计中,所述第一界面中还包括第一体型数据的卡片。所述方法还包括:响应于对所述第一体型数据的卡片的第五操作指令,显示第四界面,所述第四界面包括与所述第一体型数据相关的预设信息;其中,所述预设信息为从预设体型数据库中、且基于所述第一体型参数获取的信息;所述第一体型参数为所述各项体型参数中的任意一项体型参数。该设计中,通过拓展体型数据的详细信息,可以向用户提供更详细的体型数据,便于用户更好地了解体型状态。In a possible design, the first interface also includes a card of the first body shape data. The method further includes: in response to a fifth operation instruction on the card of the first body shape data, displaying a fourth interface, the fourth interface including preset information related to the first body shape data; wherein the preset information is information obtained from a preset body shape database and based on the first body shape parameter; the first body shape parameter is any one of the various body shape parameters. In this design, by expanding the detailed information of the body shape data, more detailed body shape data can be provided to the user, so that the user can better understand the body shape status.
在一种可能的设计中,所述身体各个角度的图像包括:身体的正面图和身体的侧面图。In a possible design, the images of the body at various angles include: a front view of the body and a side view of the body.
在一种可能的设计中,所述体型分析结果还包括第二体型图像,所述第二体型图像为基于预设体型参数得到的;其中,预设体型参数可以为目标体重参数、目标三围参数等。该设计中,本申请还可以实现当前用户体型图像与预测用户体型的对比,从而可以便于用户更直观地获取体型变化状态,便于用户进行更精准的锻炼计划等。In a possible design, the body shape analysis result also includes a second body shape image, which is obtained based on preset body shape parameters; wherein the preset body shape parameters may be target weight parameters, target three-dimensional parameters, etc. In this design, the present application can also realize the comparison between the current user body shape image and the predicted user body shape, so that the user can more intuitively obtain the state of body shape change, and the user can carry out a more accurate exercise plan, etc.
第二方面,本申请实施例还提供一种电子设备,所述电子设备包括至少一个存储器和至少一个处理器;其中,所述至少一个存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令;当所述计算机指令被所述至少一个处理器执行时,使得所述电子设备执行上述第一方面中任一种可能的设计中的方法。In a second aspect, an embodiment of the present application further provides an electronic device, comprising at least one memory and at least one processor; wherein the at least one memory is used to store computer program code, and the computer program code comprises computer instructions; when the computer instructions are executed by the at least one processor, the electronic device executes a method in any possible design of the above-mentioned first aspect.
第三方面,本申请实施例还提供一种体型测量分析装置,该体型测量分析装置包括执行上述第一方面中任一种可能的设计中的方法的模块/单元。这些模块/单元可以通过硬件实现,也可以通过硬件执行相应的软件实现。 In a third aspect, an embodiment of the present application further provides a body shape measurement and analysis device, which includes a module/unit for executing the method in any possible design of the first aspect. These modules/units can be implemented by hardware, or by executing corresponding software implementations by hardware.
第四方面,提供了一种计算机可读存储介质,计算机可读介质存储有计算机程序(也可以称为代码,或指令),当这些代码或指令在计算机上运行时,使得计算机执行上述第一方面中任一种可能的设计中的方法。In a fourth aspect, a computer-readable storage medium is provided, which stores a computer program (also referred to as code or instruction). When these codes or instructions are run on a computer, the computer executes a method in any possible design of the first aspect above.
第五方面,提供了一种计算机程序产品,计算机程序产品包括:计算机程序(也可以称为代码,或指令),当计算机程序被运行时,使得上述第一方面中任一种可能的设计中的方法被执行。In a fifth aspect, a computer program product is provided, the computer program product comprising: a computer program (also referred to as code, or instruction), when the computer program is run, the method in any possible design of the above-mentioned first aspect is executed.
第六方面,还提供一种电子设备上的图形用户界面,该电子设备具有显示屏、一个或多个存储器、以及一个或多个处理器,所述一个或多个处理器用于执行存储在所述一个或多个存储器中的一个或多个计算机程序,所述图形用户界面包括所述电子设备执行上述本申请实施例第一方面中的任一可能的设计时所显示的图形用户界面。In the sixth aspect, a graphical user interface on an electronic device is also provided, the electronic device having a display screen, one or more memories, and one or more processors, the one or more processors being used to execute one or more computer programs stored in the one or more memories, the graphical user interface including the graphical user interface displayed when the electronic device executes any possible design in the first aspect of the above-mentioned embodiment of the present application.
需要说明的是,本申请实施例第二方面至第六方面提供的电子设备的各个设计的有益效果请参考上述第一方面中任一种可能的设计的有益效果,此处不再赘述。It should be noted that for the beneficial effects of various designs of the electronic devices provided in the second to sixth aspects of the embodiments of the present application, please refer to the beneficial effects of any possible design in the first aspect above, and will not be repeated here.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请实施例提供的电子设备的一种结构示意图;FIG1 is a schematic diagram of a structure of an electronic device provided in an embodiment of the present application;
图2为本申请实施例提供的电子设备的一种软件架构图;FIG2 is a software architecture diagram of an electronic device provided in an embodiment of the present application;
图3a为一种得到用户体型的界面示意图;FIG3a is a schematic diagram of an interface for obtaining a user's body shape;
图3b为一种定制健康计划的界面示意图;FIG3 b is a schematic diagram of an interface for customizing a health plan;
图4为一种身体扫描过程的界面示意图;FIG4 is a schematic diagram of an interface of a body scanning process;
图5为一种手动校准的界面示意图;FIG5 is a schematic diagram of a manual calibration interface;
图6为本申请实施例提供的发起体型测量的界面示意图之一;FIG6 is one of the schematic diagrams of the interface for initiating body shape measurement provided in an embodiment of the present application;
图7为本申请实施例提供的发起体型测量的界面示意图之二;FIG7 is a second schematic diagram of an interface for initiating body shape measurement provided in an embodiment of the present application;
图8为本申请实施例提供的得到人体mesh模型的流程示意图;FIG8 is a schematic diagram of a process for obtaining a human body mesh model provided in an embodiment of the present application;
图9为本申请实施例提供的体型分析结果的一种界面示意图;FIG9 is a schematic diagram of an interface of a body shape analysis result provided in an embodiment of the present application;
图10为本申请实施例提供的身体形态类型的一种示意图;FIG10 is a schematic diagram of a body shape type provided in an embodiment of the present application;
图11为本申请实施例提供的对体型分析结果进行手动校准的界面示意图;FIG11 is a schematic diagram of an interface for manually calibrating body shape analysis results provided in an embodiment of the present application;
图12为本申请实施例提供的显示体型分析结果的界面示意图之一;FIG12 is a schematic diagram of one of the interfaces for displaying body shape analysis results provided in an embodiment of the present application;
图13为本申请实施例提供的显示体型分析结果的界面示意图之二;FIG13 is a second schematic diagram of an interface for displaying body shape analysis results provided in an embodiment of the present application;
图14为本申请实施例提供的显示体型分析结果的界面示意图之三;FIG. 14 is a third schematic diagram of an interface for displaying body shape analysis results provided in an embodiment of the present application;
图15为本申请实施例提供的显示体型分析结果的界面示意图之四;FIG15 is a fourth schematic diagram of an interface for displaying body shape analysis results provided in an embodiment of the present application;
图16为本申请实施例提供的一种体型测量分析方法的界面示意图之一;FIG16 is one of the interface schematic diagrams of a body shape measurement and analysis method provided in an embodiment of the present application;
图17为本申请实施例提供的一种体型测量分析方法的界面示意图之二;FIG17 is a second schematic diagram of an interface of a body shape measurement and analysis method provided in an embodiment of the present application;
图18为本申请实施例提供的一种体型测量分析方法的界面示意图之三;FIG18 is a third schematic diagram of an interface of a body shape measurement and analysis method provided in an embodiment of the present application;
图19为本申请实施例提供的一种体型测量分析方法的界面示意图之四;FIG19 is a fourth schematic diagram of an interface of a body shape measurement and analysis method provided in an embodiment of the present application;
图20为本申请实施例提供的一种体型测量分析方法的流程示意图;FIG20 is a schematic diagram of a flow chart of a body shape measurement and analysis method provided in an embodiment of the present application;
图21为本申请实施例提供的一种体型测量的流程示意图;FIG21 is a schematic diagram of a body shape measurement process provided by an embodiment of the present application;
图22为本申请实施例提供的得到体型分析结果的流程示意图;FIG22 is a schematic diagram of a process for obtaining body shape analysis results according to an embodiment of the present application;
图23为本申请实施例提供的显示体型分析结果的流程示意图。FIG. 23 is a schematic diagram of a flow chart for displaying body shape analysis results provided in an embodiment of the present application.
具体实施方式Detailed ways
以下,对本申请实施例中的部分用语进行解释说明,以便于本领域技术人员理解。Below, some terms in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.
本申请实施例涉及的至少一个,包括一个或者多个;其中,多个是指大于或者等于两个。另外,需要理解的是,在本说明书的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为明示或暗示相对重要性,也不能理解为明示或暗示顺序。例如,第一电子设备和第二电子设备并不代表二者的重要程度或者代表二者的顺序,仅仅是为了区分描述。在本申请实施例中,“和/或”,仅仅是描述关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。The at least one involved in the embodiments of the present application includes one or more; wherein, more than one means greater than or equal to two. In addition, it should be understood that in the description of this specification, words such as "first" and "second" are only used for the purpose of distinguishing the description, and cannot be understood as expressing or implying relative importance, nor can they be understood as expressing or implying order. For example, the first electronic device and the second electronic device do not represent the importance of the two or the order of the two, but are only for distinguishing the description. In the embodiments of the present application, "and/or" is only a description of the association relationship, indicating that there can be three relationships. For example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character "/" in this article generally indicates that the objects associated before and after are in an "or" relationship.
在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本说明书的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在 一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of this specification. In one embodiment, "in some embodiments", "in some other embodiments", "in yet other embodiments", etc. do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments" unless otherwise specifically emphasized. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
本申请实施例提供的体型测量分析方法适用于电子设备。示例性的,电子设备可以是具有图像采集装置(例如摄像头)的电子设备;例如可以为手机、平板电脑、笔记本电脑等便捷式电子设备;或者,还可以是手表、手环等可穿戴设备;或者,还可以是电视机等智能家居设备,总之本申请实施例不限定电子设备的具体类型。The body shape measurement and analysis method provided in the embodiment of the present application is applicable to electronic devices. For example, the electronic device can be an electronic device with an image acquisition device (such as a camera); for example, it can be a portable electronic device such as a mobile phone, a tablet computer, a laptop computer, or a wearable device such as a watch or a bracelet; or it can also be a smart home device such as a television. In short, the embodiment of the present application does not limit the specific type of electronic device.
在一些示例中,本申请实施例提供的体型测量分析方法可以是电子设备中具备的一项功能、服务或应用。所述应用可以是电子设备自带的应用,或者从网络下载的应用。以手机为例,手机中可以包括运动健康应用,该应用中集成有一项功能,该功能就可以通过本申请实施例提供的体型测量分析方法对用户进行体型测量分析。In some examples, the body shape measurement and analysis method provided in the embodiments of the present application may be a function, service or application provided in an electronic device. The application may be an application provided by the electronic device itself, or an application downloaded from the network. Taking a mobile phone as an example, the mobile phone may include a sports health application, which has a function integrated therein, and the function may perform body shape measurement and analysis on the user through the body shape measurement and analysis method provided in the embodiments of the present application.
本申请实施例提供的体型测量分析方法还可以适用于系统,系统中包括第一电子设备和第二电子设备。第一电子设备与第二电子设备连接,本申请实施例不限定连接方式,例如可以通过有线、或无线方式连接,其中无线方式可以包括但不限于:无线保真(wireless fidelity,Wi-Fi)、蓝牙。第一电子设备可以是用于采集图像数据的设备,例如家用摄像头等。第一电子设备可以将采集的图像数据发送给第二电子设备。第二电子设备可以基于图像数据执行本申请实施例提供的体型测量分析流程,具体流程将在后文介绍。示例性的,第二电子设备可以是任意设备,例如可以是具有较强计算能力的设备,例如手机、平板电脑等。可以理解,本申请实施例可以包括多个步骤,其中多个步骤可以由多个电子设备协同执行,也可以由一个电子设备单独执行,本申请实施例对此不作限定。为便于理解,以下实施例中主要以由一个设备单独完成作为示例进行说明。The body measurement analysis method provided in the embodiment of the present application can also be applied to a system, which includes a first electronic device and a second electronic device. The first electronic device is connected to the second electronic device, and the embodiment of the present application does not limit the connection method. For example, it can be connected by wired or wireless means, wherein the wireless method may include but is not limited to: wireless fidelity (Wi-Fi), Bluetooth. The first electronic device may be a device for collecting image data, such as a home camera, etc. The first electronic device may send the collected image data to the second electronic device. The second electronic device may execute the body measurement analysis process provided in the embodiment of the present application based on the image data, and the specific process will be described later. Exemplarily, the second electronic device may be any device, for example, it may be a device with strong computing power, such as a mobile phone, a tablet computer, etc. It can be understood that the embodiment of the present application may include multiple steps, wherein the multiple steps may be executed by multiple electronic devices in collaboration, or may be executed by one electronic device alone, and the embodiment of the present application does not limit this. For ease of understanding, the following embodiments are mainly described by taking one device alone as an example.
图1示出了本申请技术方案所应用的一种电子设备100的结构示意图。所述电子设备100可以是手机等。如图1所示,电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括重力传感器180A,陀螺仪传感器180B,压力传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。FIG1 shows a schematic diagram of the structure of an electronic device 100 used in the technical solution of the present application. The electronic device 100 may be a mobile phone, etc. As shown in FIG1 , the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a gravity sensor 180A, a gyroscope sensor 180B, a pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。可避免重复存取,减少处理器110的等待时间,因而可提高系统的效率。The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors. Among them, the controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. A memory may also be set in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a high-speed cache memory. The memory may save instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated access can be avoided, and the waiting time of the processor 110 can be reduced, thereby improving the efficiency of the system.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (SIM) interface, and/or a universal serial bus (USB) interface, etc.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调 制解调处理器以及基带处理器等实现。天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The wireless communication function of the electronic device 100 can be realized through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation The invention is implemented by a modem processor and a baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization rate of the antennas. For example, antenna 1 can be reused as a diversity antenna of a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide solutions for wireless communications including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be arranged in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be arranged in the same device as at least some of the modules of the processor 110.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) and the like applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering processing, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify the signal, and convert it into electromagnetic waves for radiation through the antenna 2.
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 100 can communicate with the network and other devices through wireless communication technology.
显示屏194用于显示应用的显示界面等。显示屏194包括显示面板。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。例如,本申请实施例中,可以通过显示屏194显示实时采集的图像数据,例如身体扫描图像数据;以及,还可以通过显示屏194显示基于采集的图像数据得到测量分析结果,例如人工智能(artificial intelligence,AI)体型等。The display screen 194 is used to display the display interface of the application, etc. The display screen 194 includes a display panel. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1. For example, in an embodiment of the present application, real-time collected image data, such as body scan image data, can be displayed on the display screen 194; and measurement analysis results based on the collected image data, such as artificial intelligence (AI) body shape, etc. can also be displayed on the display screen 194.
电子设备100100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。其中,ISP用于处理摄像头193反馈的数据。The electronic device 100100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor, etc. Among them, ISP is used to process the data fed back by camera 193.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,以及至少一个应用程序的软件代码等。存储数据区可存储电子设备100使用过程中所产生的数据(例如图像、视频等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器等。The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, and the software code of at least one application program, etc. The data storage area can store data (such as images, videos, etc.) generated during the use of the electronic device 100, etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash memory, etc.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将图片,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as pictures and videos are saved in the external memory card.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如语音控制指令,身体扫描引导语音等。The electronic device 100 can implement audio functions such as voice control instructions, body scanning guidance voice, etc. through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100100可以通过一个或多个扬声器170A收听引导语音,或背景音乐等外放场景。The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100100 can listen to a guiding voice, or external scenes such as background music through one or more speakers 170A.
受话器170B,也称“听筒”,可以是一个或多个,用于将音频电信号转换成声音信号。当电子设备100100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The receiver 170B, also called a "earpiece", may be one or more and is used to convert an audio electrical signal into a sound signal. When the electronic device 100100 receives a call or a voice message, the voice can be received by placing the receiver 170B close to the human ear.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。本申请实施例中,例如用户可以通过麦克风170C唤醒运动健康应用等。The microphone 170C, also called a "microphone" or "microphone", is used to convert sound signals into electrical signals. In the embodiment of the present application, for example, a user can wake up a sports health application through the microphone 170C.
耳机接口170D用于连接有线耳机。The earphone jack 170D is used to connect a wired earphone.
重力传感器180A可采用弹性敏感元件制成悬臂式位移器,与采用弹性敏感元件制成的储能弹簧来驱动电触点,完成从重力变化到电信号的转换。在一些实施例中,可以通过重力传感器180A确定出电 子设备100相对于水平面的倾斜角度;以及,通过重力传感器180A分析动态加速度,进而可以确定分析出电子设备100移动的方式,例如可以应用于一些游戏中,以提升电子设备100的交互控制性。The gravity sensor 180A can be made of a cantilever displacement device using an elastic sensitive element, and an energy storage spring made of an elastic sensitive element to drive the electrical contact to complete the conversion from gravity changes to electrical signals. In some embodiments, the gravity sensor 180A can be used to determine the electrical The tilt angle of the sub-device 100 relative to the horizontal plane; and, by analyzing the dynamic acceleration through the gravity sensor 180A, the movement mode of the electronic device 100 can be determined and analyzed, for example, it can be applied in some games to enhance the interactive controllability of the electronic device 100.
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。本申请实施例中,可以通过陀螺仪传感器180B确定电子设备100的倾角,从而可以得到更准确地身体扫描结果。The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. In an embodiment of the present application, the inclination angle of the electronic device 100 can be determined by the gyro sensor 180B, so that a more accurate body scan result can be obtained.
压力传感器180C用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180C可以设置于显示屏194。The pressure sensor 180C is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180C can be disposed on the display screen 194 .
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。The magnetic sensor 180D includes a Hall sensor, and the electronic device 100 can detect the opening and closing of the flip leather case by using the magnetic sensor 180D.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。The acceleration sensor 180E can detect the magnitude of acceleration in various directions (generally three axes) of the electronic device 100. When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected.
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser.
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses the photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100.
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。The ambient light sensor 180L is used to sense the brightness of the ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the sensed brightness of the ambient light.
指纹传感器180H用于采集指纹。The fingerprint sensor 180H is used to collect fingerprints.
温度传感器180J用于检测温度。The temperature sensor 180J is used to detect the temperature.
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of a human vocal part.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。The button 190 includes a power button, a volume button, etc. The button 190 can be a mechanical button. It can also be a touch button. The electronic device 100 can receive the button input and generate a key signal input related to the user settings and function control of the electronic device 100. The motor 191 can generate a vibration prompt. The motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect the SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195.
可以理解的是,图1所示的部件并不构成对电子设备100的具体限定。本申请实施例中的电子设备100可以包括比图1中更多或更少的部件。此外,图1中的部件之间的组合/连接关系也是可以调整修改的。It is understood that the components shown in FIG1 do not constitute a specific limitation on the electronic device 100. The electronic device 100 in the embodiment of the present application may include more or fewer components than those in FIG1. In addition, the combination/connection relationship between the components in FIG1 may also be adjusted and modified.
本申请实施例涉及的操作系统(operating system,OS),是运行在电子设备100上的最基本的系统软件。电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以采用分层架构的操作系统为例,示例性说明电子设备100的软件系统架构。The operating system (OS) involved in the embodiment of the present application is the most basic system software running on the electronic device 100. The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes an operating system adopting a layered architecture as an example to illustrate the software system architecture of the electronic device 100.
图2为本申请实施例提供的一种电子设备100的软件系统架构框图。如图2所示,电子设备100的软件系统架构可以是分层架构,例如可以将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将操作系统分为五层,从上至下分别为应用程序层,应用程序框架层(framework,FWK),运行时和系统库,内核层,以及硬件层。FIG2 is a block diagram of a software system architecture of an electronic device 100 provided in an embodiment of the present application. As shown in FIG2, the software system architecture of the electronic device 100 can be a layered architecture, for example, the software can be divided into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the operating system is divided into five layers, from top to bottom, namely, the application layer, the application framework layer (framework, FWK), the runtime and system library, the kernel layer, and the hardware layer.
应用程序层可以包括一系列应用程序包。如图2所示,应用程序层可以包括相机、设置、皮肤模块、用户界面(user interface,UI)、第三方应用程序等。其中,第三方应用程序可以包括无线局域网(wireless local area network,WLAN)、音乐、通话、蓝牙、视频、备忘录、便签等。The application layer may include a series of application packages. As shown in Figure 2, the application layer may include camera, settings, skin module, user interface (UI), third-party applications, etc. Among them, third-party applications may include wireless local area network (WLAN), music, call, Bluetooth, video, memo, notes, etc.
在本申请实施例中,应用程序层可以用于实现编辑界面的呈现。上述编辑界面可以为用户提供用于实现本申请实施例中重点关注的如运动健康等健康类APP的编辑操作,例如可以为下文中涉及的身体扫描界面。In the embodiment of the present application, the application layer can be used to implement the presentation of the editing interface. The above editing interface can provide users with editing operations for health apps such as sports health that are focused on in the embodiment of the present application, for example, the body scanning interface involved below.
一种可能的实现方式中,应用程序可以使用java语言开发,通过调用应用程序框架层所提供的应 用程序编程接口(application programming interface,API)来完成,开发者可以通过应用程序框架层来与操作系统的底层(例如硬件层、内核层等)进行交互,开发自己的应用程序。该应用程序框架层主要是操作系统的一系列的服务和管理系统。In a possible implementation, the application can be developed using the Java language and call the application provided by the application framework layer. The application programming interface (API) is used to complete the development of the application framework layer, which is mainly a series of services and management systems of the operating system.
应用程序框架层为应用程序层的应用程序提供应用编程接口和编程框架。应用程序框架层包括一些预定义函数。如图2所示,应用程序框架层可以包括活动管理器,窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。The application framework layer provides an application programming interface and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions. As shown in Figure 2, the application framework layer may include an activity manager, a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, etc.
活动管理器用于管理各个应用程序生命周期并提供常用的导航回退功能,为所有程序的窗口提供交互的接口。The activity manager is used to manage the life cycle of each application and provide common navigation back functions, providing an interactive interface for all program windows.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc. The content provider is used to store and obtain data and make the data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备100振动,指示灯闪烁等。The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in the status bar, a prompt sound is emitted, the electronic device 100 vibrates, an indicator light flashes, etc.
运行时包括核心库和虚拟机。运行时负责操作系统的调度和管理。The runtime includes the core library and the virtual machine. The runtime is responsible for the scheduling and management of the operating system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是操作系统的核心库。应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The core library consists of two parts: one is the function that the Java language needs to call, and the other is the core library of the operating system. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体框架(media framework),三围图形处理库(例如:OpenGL ES),二维图形引擎(例如:SGL)等。The system library can include multiple functional modules, such as surface manager, media framework, three-dimensional graphics processing library (such as OpenGL ES), two-dimensional graphics engine (such as SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了二维和3D图层的融合。The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
媒体框架支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体框架可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media framework supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media framework can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三围图形处理库用于实现三围图形绘图,图像渲染,合成,和图层处理等。The three-dimensional graphics processing library is used to implement three-dimensional graphics drawing, image rendering, compositing, and layer processing.
二维图形引擎是二维绘图的绘图引擎。A 2D graphics engine is a drawing engine for 2D drawings.
在一些实施例中,三围图形处理库可以用于绘制三围的运动轨迹图像,二维图形引擎可以用于绘制二维的运动轨迹图像。本申请实施例中,基于采集的用户图像数据,可以测量分析得到AI体型的相关数据。示例性的,可以通过三围图形处理库对AI体型的相关数据进行处理,从而可以得到AI体型的三围模型。In some embodiments, the three-dimensional graphics processing library can be used to draw the motion trajectory image of the three-dimensional, and the two-dimensional graphics engine can be used to draw the two-dimensional motion trajectory image. In the embodiment of the present application, based on the collected user image data, the relevant data of the AI body shape can be measured and analyzed. Exemplarily, the relevant data of the AI body shape can be processed by the three-dimensional graphics processing library, so as to obtain the three-dimensional model of the AI body shape.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
硬件层可以包括各类传感器,例如加速度传感器、重力传感器、触摸传感器等。The hardware layer can include various types of sensors, such as accelerometers, gravity sensors, touch sensors, etc.
通常电子设备100可以同时运行多个应用程序。较为简单的,一个应用程序可以对应一个进程,较为复杂的,一个应用程序可以对应多个进程。每个进程具备一个进程号(进程ID)。Usually, the electronic device 100 can run multiple applications at the same time. In a simpler case, one application can correspond to one process, and in a more complex case, one application can correspond to multiple processes. Each process has a process number (process ID).
应理解,电子设备100的硬件结构可以如图1所示,软件系统架构可以如图2所示,其中,电子设备100中的软件系统架构对应的软件程序和/或模块可以存储在内部存储器121中,处理器110可以运行内部存储器121中存储的软件程序和应用,以执行本申请实施例提供的一种体型测量分析方法的流程。It should be understood that the hardware structure of the electronic device 100 can be as shown in Figure 1, and the software system architecture can be as shown in Figure 2, wherein the software programs and/or modules corresponding to the software system architecture in the electronic device 100 can be stored in the internal memory 121, and the processor 110 can run the software programs and applications stored in the internal memory 121 to execute the process of a body shape measurement analysis method provided in an embodiment of the present application.
为了便于理解本申请提供的体型测量分析方法,以下结合图3a至图19所示的内容,对采用本申请提供的方法的实现过程进行介绍。In order to facilitate understanding of the body shape measurement and analysis method provided by the present application, the implementation process of the method provided by the present application is introduced below in combination with the contents shown in Figures 3a to 19.
一种可能的实现方式中,在一些健康类APP中,可以通过用户手动向APP输入基本身体参数,比如身高参数、体重参数、性别参数等等;然后,电子设备可根据该基本的身体参数生成虚拟体型。例如, 图3a为一种得到用户体型的界面示意图。示例性的,电子设备向用户显示界面31,在界面31中用户可选择性别参数;其中,电子设备可以通过向用户显示虚拟人物形象来协助用户选择性别参数。电子设备在获取到用户选择的性别参数后,可向用户继续显示界面32,在界面32中用户可选择年龄参数。电子设备在获取到用户选择的年龄参数后,可向用户继续显示界面33,在界面33中用户可选择身高参数和体重参数;其中,电子设备可以响应于用户选择的身高参数或体重参数,同步调整虚拟人物形象的当前虚拟体型。电子设备在获取到用户选择的身高参数和体重参数后,可向用户继续显示界面34,在界面34中用户可选择目标体重参数;并且,电子设备还可响应于用户选择的目标体重参数,在界面34中显示用户的当前虚拟体型与目标虚拟体型的对比。In one possible implementation, in some health apps, users can manually input basic body parameters, such as height, weight, gender, etc., into the app; then, the electronic device can generate a virtual body shape based on the basic body parameters. FIG3a is a schematic diagram of an interface for obtaining a user's body shape. Exemplarily, the electronic device displays an interface 31 to the user, in which the user can select a gender parameter; wherein the electronic device can assist the user in selecting the gender parameter by displaying a virtual character image to the user. After obtaining the gender parameter selected by the user, the electronic device can continue to display an interface 32 to the user, in which the user can select an age parameter. After obtaining the age parameter selected by the user, the electronic device can continue to display an interface 33 to the user, in which the user can select a height parameter and a weight parameter; wherein the electronic device can synchronously adjust the current virtual body shape of the virtual character image in response to the height parameter or weight parameter selected by the user. After obtaining the height parameter and weight parameter selected by the user, the electronic device can continue to display an interface 34 to the user, in which the user can select a target weight parameter; and the electronic device can also display a comparison between the user's current virtual body shape and the target virtual body shape in the interface 34 in response to the target weight parameter selected by the user.
另外,基于图3a示出的实现方式,电子设备还可以继续为用户拓展定制健康计划的功能。例如,图3b为一种定制健康计划的界面示意图。示例性的,电子设备在获取到用户的当前基本的身体参数和目标体重参数之后,可向用户继续显示界面35,在界面35中用户可选择一些日常小习惯,例如日常活动水平、饮食习惯、拖延程度等日常小习惯。在用户在界面35中进行相应选择后,例如选择的日常活动水平为“偶尔运动”、选择的饮食习惯为“只吃到不饿”、以及选择的拖延程度为“偶尔拖延”;电子设备还可向用户继续显示界面36,在界面36中用户可有计划地选择重点部位进行训练,例如可以选择胸部、腹部和臀部等重点部位。电子设备在获取到用户选择的日常小习惯和重点部位后,可向用户继续显示界面37,在界面37中可显示匹配的健康计划,例如运动计划、饮食计划中的一种或组合,或者又例如减脂速度计划等;另外,在界面37中,用户还可对健康计划进行手动调整。最后,电子设备可以生成目标健康计划,如界面38所示,并可显示在APP的首页等界面中。In addition, based on the implementation shown in FIG. 3a, the electronic device can also continue to expand the function of customizing a health plan for the user. For example, FIG. 3b is a schematic diagram of an interface for customizing a health plan. Exemplarily, after obtaining the user's current basic physical parameters and target weight parameters, the electronic device can continue to display interface 35 to the user, in which the user can select some daily habits, such as daily activity level, eating habits, and degree of procrastination. After the user makes corresponding selections in interface 35, for example, the selected daily activity level is "occasionally exercise", the selected eating habits are "only eat until not hungry", and the selected degree of procrastination is "occasionally procrastinate"; the electronic device can also continue to display interface 36 to the user, in which the user can plan to select key parts for training, for example, the chest, abdomen, and buttocks can be selected. After obtaining the daily habits and key parts selected by the user, the electronic device can continue to display interface 37 to the user, in which a matching health plan can be displayed, such as one or a combination of an exercise plan and a diet plan, or another example of a fat loss speed plan, etc.; in addition, in interface 37, the user can also manually adjust the health plan. Finally, the electronic device can generate a target health plan, as shown in interface 38, and can be displayed in the home page of the APP and other interfaces.
然而,在该实现方式中,APP基于用户手动输入的基本参数,进行虚拟体型的生成,虽然可以提升健康类APP的生动性,但虚拟体型形象单一,无法准确地体现用户的真实体型。However, in this implementation, the APP generates a virtual body shape based on the basic parameters manually input by the user. Although this can improve the liveliness of health APPs, the virtual body shape is single and cannot accurately reflect the user's real body shape.
另一种可能的实现方式中,在另一些健康类APP中,还可以通过手动记录和身体扫描结合的方式得到身体数据,并进行身体数据的测量分析。例如,图4为一种身体扫描过程的界面示意图。示例性的,电子设备可向用户显示界面41,在界面41中用户可输入身高参数和体重参数。电子设备在获取到用户输入的身高参数和体重参数之后,可向用户继续显示界面42,在界面42中用户可对引导语音的音量大小进行调整。然后,电子设备可继续向用户显示界面43至界面45,在界面43至界面45中可向用户显示身体扫描过程的引导页面。例如,在界面43中显示关于如何穿着的引导页面;在界面44中显示关于电子设备放置方式的引导页面;在界面45中显示关于如何站立的引导页面。电子设备在检测到用户确定阅读完引导页面的操作指令后,可继续向用户显示界面46至48,在界面46至界面48中可实现采集身体基础图像数据。例如,在界面46中可显示放置设备的校准提示,用以将电子设备放置到合适位置;在界面47中可显示实时采集的正面身体图像数据以及最终获取的正面身体图像帧;在界面48中可显示实时采集的侧面身体图像数据以及最终获取的侧面身体图像帧。从该实现方式可以看出,一方面每次采集过程用户需要手动调整音量,存在操作繁琐的问题;另一方面,该实现方式仅做了单方面校准,可能会造成图像数据采集的不便等。In another possible implementation, in other health apps, body data can be obtained by combining manual recording and body scanning, and body data measurement and analysis can be performed. For example, FIG4 is a schematic diagram of an interface of a body scanning process. Exemplarily, the electronic device can display interface 41 to the user, in which the user can enter height parameters and weight parameters. After obtaining the height parameters and weight parameters entered by the user, the electronic device can continue to display interface 42 to the user, in which the user can adjust the volume of the guide voice. Then, the electronic device can continue to display interfaces 43 to 45 to the user, in which interfaces 43 to 45 can display the guide page of the body scanning process to the user. For example, in interface 43, a guide page on how to dress is displayed; in interface 44, a guide page on how to place the electronic device is displayed; in interface 45, a guide page on how to stand is displayed. After detecting that the user has determined to read the operation instructions of the guide page, the electronic device can continue to display interfaces 46 to 48 to the user, and the basic image data of the body can be collected in interfaces 46 to 48. For example, in interface 46, a calibration prompt for placing the electronic device can be displayed to place the electronic device in a suitable position; in interface 47, the real-time collected frontal body image data and the finally obtained frontal body image frame can be displayed; in interface 48, the real-time collected side body image data and the finally obtained side body image frame can be displayed. It can be seen from this implementation that, on the one hand, the user needs to manually adjust the volume during each acquisition process, which is cumbersome to operate; on the other hand, this implementation only performs unilateral calibration, which may cause inconvenience in image data acquisition.
另外,基于图4示出的实现方式,电子设备还需要继续对身体的细节参数进行手动校准。例如,图5为一种手动校准的界面示意图。示例性的,电子设备在获取到正面身体图像帧和侧面身体图像帧之后,根据预设局部采集条件可以继续获取需要手动校准的局部部位拍摄图,例如向用户显示界面49至界面51。其中,在界面49中引导用户继续采集前脚踝的局部拍摄图像;在界面50中引导用户继续采集后膝的局部拍摄图像;及在界面51中引导用户继续采集右裤腰的局部拍摄图像。电子设备基于获取的正面身体图像帧、侧面身体图像帧以及多张局部拍摄图像数据,可以生成用户的分析结果,并向用户显示包含数据展示结果的界面,例如界面52a显示的为男性的数据展示结果,界面52b显示的为女性的数据展示结果。虽然该实现方式可以提升对身体数据的分析准确性,然而从图5可以看出,该实现方式仍然需要大量手动校准操作,而且通过该实现方式得到的数据展示结果通过2D方式进行显示,无法反映用户体型。In addition, based on the implementation shown in FIG. 4 , the electronic device also needs to continue to manually calibrate the detailed parameters of the body. For example, FIG. 5 is a schematic diagram of a manual calibration interface. Exemplarily, after acquiring the front body image frame and the side body image frame, the electronic device can continue to acquire the local part shooting images that need to be manually calibrated according to the preset local acquisition conditions, such as displaying interfaces 49 to 51 to the user. Among them, in interface 49, the user is guided to continue to collect the local shooting image of the front ankle; in interface 50, the user is guided to continue to collect the local shooting image of the back knee; and in interface 51, the user is guided to continue to collect the local shooting image of the right waist. Based on the acquired front body image frame, side body image frame and multiple local shooting image data, the electronic device can generate the user's analysis results, and display the interface containing the data display results to the user, for example, interface 52a displays the data display results for men, and interface 52b displays the data display results for women. Although this implementation method can improve the accuracy of the analysis of body data, it can be seen from FIG. 5 that this implementation method still requires a large number of manual calibration operations, and the data display results obtained by this implementation method are displayed in 2D, which cannot reflect the user's body shape.
有鉴于此,本申请实施例提供一种体型测量分析方法。该方法基于采集的用户数据,通过深度网络模型进行深度学习,可得到人体网格(mesh)模型;其中,采集的用户数据可以包括但不限于:基本身体参数、身体扫描图像数据。然后,基于人体mesh模型,可以进行用户体型的分析,以输出更能反映用户真实体型的AI体型。因此,该方法可以实现对用户体型的三围建模,一方面可以提供更准确的 三围AI体型,另一方面还可以降低用户的操作复杂度,从而可以提升用户体验。In view of this, an embodiment of the present application provides a body shape measurement and analysis method. Based on the collected user data, the method performs deep learning through a deep network model to obtain a human body mesh model; wherein the collected user data may include but is not limited to: basic body parameters, body scan image data. Then, based on the human body mesh model, the user's body shape can be analyzed to output an AI body shape that better reflects the user's real body shape. Therefore, this method can realize the modeling of the user's body shape, which can provide more accurate On the other hand, the AI body measurements can also reduce the complexity of user operations, thereby improving the user experience.
本申请实施例提供的方法可以应用于任何健康管理场景的APP中,以便于用户通过相应APP进行健康检测;或者,还可应用于购物等场景的APP中,以便于用户通过相应APP进行试穿行为,得到更好的购物体验;或者,还可应用于其他需要进行体型测量的场景中,本申请不限制该方法的具体应用场景。The method provided in the embodiments of the present application can be applied to any APP in any health management scenario, so that users can perform health checks through the corresponding APP; or, it can also be applied to APPs in shopping scenarios, so that users can try on clothes through the corresponding APP and get a better shopping experience; or, it can also be applied to other scenarios that require body measurement. The present application does not limit the specific application scenarios of the method.
示例性的,用户可以通过健康类APP实现本申请实施例提供的体型测量方法。以运动健康APP作为示例,可以在该运动健康APP的多个显示界面中配置用于触发进行体型测量的入口,例如可以在体重管理界面、首页界面、运动计划界面等中配置体型测量入口;其中,体型测量入口可以通过但不限于如卡片、快捷方式、图标、用户语音指令等方式实现。Exemplarily, the user can implement the body measurement method provided in the embodiment of the present application through a health APP. Taking a sports health APP as an example, an entrance for triggering body measurement can be configured in multiple display interfaces of the sports health APP, for example, a body measurement entrance can be configured in a weight management interface, a home page interface, an exercise plan interface, etc.; wherein the body measurement entrance can be implemented by, but not limited to, cards, shortcuts, icons, user voice commands, etc.
另一示例性的,用户还可以通过专门的体型测量APP、或其他类别APP实现本申请提供的方法。其中,其他类别APP例如相机APP、购物APP等。In another exemplary embodiment, the user may also implement the method provided in this application through a dedicated body measurement APP or other types of APPs, such as camera APPs, shopping APPs, etc.
下面以电子设备是手机、应用在健康管理场景中为例,结合附图对本申请的技术方案进行说明。示例性的,本申请实施例提供的体型测量分析方法可以划分但不限于以下阶段:体型测量发起阶段、体型测量准备阶段、体型测量阶段、体型分析阶段。下文分别对这几个阶段进行介绍:The following uses the electronic device as a mobile phone and its application in a health management scenario as an example, and describes the technical solution of the present application in conjunction with the accompanying drawings. For example, the body measurement analysis method provided in the embodiment of the present application can be divided into but not limited to the following stages: body measurement initiation stage, body measurement preparation stage, body measurement stage, and body analysis stage. These stages are introduced below:
(一)体型测量发起阶段1. Body measurement initiation stage
示例性的,图6为本申请实施例提供的一种发起体型测量的界面示意图。以运动健康APP中包括的体重管理界面作为示例,如图6中的界面61所示,在体重管理界面中除了包括体重数据、体重管理工具等体重管理类数据,还可以包括用于指示体型测量入口的服务卡片610。若手机检测到在界面61中对服务卡片610的用户操作,响应于该用户操作,显示关于体型测量准备阶段的界面,如界面62。其中,对服务卡片610的用户操作例如可以为点击操作、双击操作、长按操作或者语音指令等,本申请实施例不限制该用户操作的具体实现方式。Exemplarily, FIG6 is a schematic diagram of an interface for initiating body measurement provided in an embodiment of the present application. Taking the weight management interface included in the sports health APP as an example, as shown in interface 61 in FIG6 , in addition to weight management data such as weight data and weight management tools, the weight management interface may also include a service card 610 for indicating the entrance to body measurement. If the mobile phone detects a user operation on the service card 610 in interface 61, in response to the user operation, an interface about the preparation stage of body measurement, such as interface 62, is displayed. Among them, the user operation on the service card 610 may be, for example, a click operation, a double-click operation, a long press operation, or a voice command, and the embodiment of the present application does not limit the specific implementation method of the user operation.
(二)体型测量准备阶段(II) Preparation stage for body measurement
为了保证得到更准确的体型测量结果,通常需要进行一些用于协助实现体型测量的准备工作,例如以下实施例中涉及的获取用户基本身体参数、显示体型测量引导界面、进行音量调节以及调整设备放置方式等。通过进行体型测量的准备,可以提升体型测量的效率以及准确度。示例性的,手机可以首先获取用户的一些基本身体参数;例如可以从预先存储的数据或其他数据来源中读取,也可以引导用户进行输入等。比如运动健康APP中可以存储有基本身体参数,则电子设备可以直接复用于进行体型测量的流程中。In order to ensure more accurate body measurement results, it is usually necessary to perform some preparatory work to assist in the body measurement, such as obtaining the user's basic body parameters, displaying the body measurement guidance interface, adjusting the volume, and adjusting the device placement method involved in the following embodiments. By preparing for body measurement, the efficiency and accuracy of body measurement can be improved. Exemplarily, the mobile phone can first obtain some basic body parameters of the user; for example, it can read from pre-stored data or other data sources, or guide the user to input, etc. For example, basic body parameters can be stored in the sports health APP, and the electronic device can be directly reused in the process of body measurement.
一种可能的实施例中,手机可在界面61中引导用户点击“手动输入”控件620,以跳转到用于手动输入体重参数的显示界面手机存有的用户基本身体参数可以为用户手动输入的。可选的,手机可向用户显示至少一张基本身体参数输入界面,用户可在该至少一张输入界面中手动输入身高参数和/或体重参数,例如手机可以在一张输入界面中指示用户输入身高参数,在另一张输入界面中指示用户输入体重参数,或例如手机还可以在一张输入界面中指示用户分别输入身高参数和体重参数。In a possible embodiment, the mobile phone may guide the user to click the "manual input" control 620 in the interface 61 to jump to the display interface for manually inputting the weight parameter. The basic body parameters of the user stored in the mobile phone can be manually input by the user. Optionally, the mobile phone may display at least one basic body parameter input interface to the user, and the user may manually input the height parameter and/or weight parameter in the at least one input interface. For example, the mobile phone may instruct the user to input the height parameter in one input interface and instruct the user to input the weight parameter in another input interface, or for example, the mobile phone may also instruct the user to input the height parameter and the weight parameter separately in one input interface.
另一种可能的实施例中,手机还可在界面61中引导用户点击“测量体重”控件630,以跳转到选择其他APP或连接的智能体重秤等中请求同步体重参数的显示界面,或者跳转到用于提示用户“请上称”的显示界面。可选的,在跳转之后的显示界面中,可以包括同步控件;其中,该同步控件用于从关联的体重类APP、或连接的智能体重秤中请求同步体重参数。另外,手机除了可以从智能体重秤中获取到体重参数之外,也可从智能体重秤中获取到用户存储的身高参数等其他基本身体参数,本申请实施例不限定手机中存有的各用户基本身体参数的来源。应理解的是,用户基本身体参数可以包括多种参数,不同参数的来源可以不同,例如身高参数可以为用户手动输入的,体重参数可以为通过智能体脂称获取的。In another possible embodiment, the mobile phone can also guide the user to click the "measure weight" control 630 in the interface 61 to jump to the display interface for selecting other APPs or connected smart scales to request synchronization of weight parameters, or jump to the display interface for prompting the user to "Please weigh". Optionally, in the display interface after the jump, a synchronization control may be included; wherein the synchronization control is used to request synchronization of weight parameters from an associated weight APP or a connected smart scale. In addition, in addition to obtaining weight parameters from a smart scale, the mobile phone can also obtain other basic body parameters such as height parameters stored by the user from the smart scale. The embodiment of the present application does not limit the source of the basic body parameters of each user stored in the mobile phone. It should be understood that the basic body parameters of the user may include multiple parameters, and the sources of different parameters may be different. For example, the height parameter may be manually entered by the user, and the weight parameter may be obtained through a smart body fat scale.
需要说明的是,尽管本申请实施例的介绍内容中,以首先获取用户的基本身体参数进行介绍,应理解的是,获取基本身体参数的流程与下文中介绍的显示体型测量引导界面的流程、进行音量调节的流程属于不同的体型测量准备工作,本申请实施时,不限定这几项准备工作的执行顺序。例如还可以先执行显示体型测量引导界面,再执行获取基本身体参数的流程。It should be noted that, although the introduction of the embodiment of the present application is based on first acquiring the basic body parameters of the user, it should be understood that the process of acquiring the basic body parameters and the process of displaying the body measurement guidance interface and the process of adjusting the volume described below belong to different body measurement preparations, and the execution order of these preparations is not limited when the present application is implemented. For example, the body measurement guidance interface can be displayed first, and then the process of acquiring the basic body parameters can be executed.
示例性的,手机在基于界面61获取到用户的基本身体参数之后,可继续向用户显示如图6中的界 面62。在界面62中可以包括用于指示用户如何进行拍摄身体的步骤说明;其中,部分步骤说明中还可以结合示例图进行介绍,例如界面62中示出的步骤说明以及部分步骤的示例图可以包括:For example, after obtaining the basic physical parameters of the user based on interface 61, the mobile phone may continue to display the interface shown in FIG. Interface 62 may include step instructions for instructing the user on how to photograph the body; some step instructions may also be introduced in combination with example diagrams, for example, the step instructions and example diagrams of some steps shown in interface 62 may include:
步骤一、保持全身无遮挡,穿着贴身衣物,头发挽起。Step 1: Keep your whole body uncovered, wear close-fitting clothing, and tie your hair up.
步骤二、设备与身体保持预设距离;设备高度位于预设高度位置。例如,预设记录可以为2米(m),预设高度位置可以为腰部附近位置。其中,如界面62中所示,还可以显示步骤二对应的示例图,以便于用户更直观地确定进行体型测量的具体操作。Step 2: The device is kept at a preset distance from the body; the device height is at a preset height position. For example, the preset record may be 2 meters (m), and the preset height position may be a position near the waist. As shown in interface 62, an example diagram corresponding to step 2 may also be displayed to facilitate the user to more intuitively determine the specific operation of performing body measurement.
步骤三、请将身体置于人形框内,并根据语音提示,拍摄你的正面、侧面照。其中,如界面62所示,还可以显示步骤三对应的示例图。Step 3: Place your body in the human-shaped frame and take front and side photos of yourself according to the voice prompts. As shown in interface 62, a sample image corresponding to step 3 may also be displayed.
需要说明的是,手机可以根据预设显示方式进行体型测量引导页面的显示。示例性的,预设显示方式可以包括但不限于以下方式:It should be noted that the mobile phone can display the body measurement guide page according to a preset display mode. Exemplarily, the preset display mode may include but is not limited to the following modes:
方式A、用户在前预设次数进行AI体型分析的过程中,显示体型测量引导界面。例如,用户在前3次使用AI体型分析功能时,向用户显示体型测量引导界面,而从第4次使用开始,不再显示该引导界面。Method A: The body measurement guidance interface is displayed when the user performs AI body analysis for the preset number of times. For example, when the user uses the AI body analysis function for the first three times, the body measurement guidance interface is displayed to the user, and starting from the fourth time, the guidance interface is no longer displayed.
方式B、每个预设周期内第1次进行AI体型分析的过程中,显示体型测量引导界面。例如,每月中第1次进行AI体型分析的过程中,显示体型测量引导界面。Mode B: During the first AI body shape analysis in each preset period, the body shape measurement guidance interface is displayed. For example, during the first AI body shape analysis in each month, the body shape measurement guidance interface is displayed.
方式C、手机在显示体型测量引导界面时,向用户询问以后是否继续提醒,若用户选择不再提醒,则用户下次进行AI体型分析的过程中,不再显示体型测量引导界面。Method C: When the mobile phone displays the body measurement guidance interface, it asks the user whether to continue to remind him/her in the future. If the user chooses not to remind him/her again, the body measurement guidance interface will not be displayed next time the user performs AI body analysis.
这样,通过对体型测量引导界面采用预设显示方式进行显示,可以降低用户多次进行AI体型分析的操作复杂度。另外,手机在确定不显示体型测量引导界面的场景下,还可以在进行AI体型分析过程中的任意界面中显示用于查阅体型测量引导界面的控件。这样,若用户需要再次查看体型测量引导界面,可以通过点击该控件,以显示体型测量引导界面。In this way, by displaying the body measurement guidance interface in a preset display mode, the complexity of the user's multiple AI body analysis operations can be reduced. In addition, when the mobile phone determines not to display the body measurement guidance interface, it can also display a control for viewing the body measurement guidance interface in any interface during the AI body analysis process. In this way, if the user needs to view the body measurement guidance interface again, the user can click the control to display the body measurement guidance interface.
手机在检测到在界面62中对“开始拍摄”控件640的点击操作之后,响应于该点击操作,可以进行体型测量准备阶段的下一准备流程,例如可以为调节音量流程,显示为图6中的界面63。After the mobile phone detects a click operation on the "start shooting" control 640 in the interface 62, in response to the click operation, the next preparation process of the body measurement preparation stage can be performed, for example, the volume adjustment process, which is displayed as the interface 63 in FIG. 6 .
示例性的,在界面63中,若手机检测到音量为30%,此时可以在界面63中可以显示音量调节进度条,并通过文字方式提醒用户“推荐音量≥50%”。或者,手机还可以通过显示弹窗向用户询问“是否自动调节音量”,若检测到用户选择“是”,响应于用户的选择,自动调节手机的音量为预设音量值,例如75%等。另外,尽管界面63中显示的音量调节方式为用户可以手动调节,本申请实施时,手机还可以检测用户对AI体型分析功能的预设设置。其中,预设设置中可以包括音量自动调节功能,此时手机可以无需向用户显示界面63,直接将音量调节到预设音量值;并且,预设音量值可以仅在AI体型分析过程中生效,在检测到AI体型分析过程完成之后,恢复原始音量值。或者,另一种可能的场景中,若手机检测到手机连接有耳机、音箱等音频播放类设备,此时可默认无需进行音量调节。Exemplarily, in interface 63, if the mobile phone detects that the volume is 30%, a volume adjustment progress bar can be displayed in interface 63, and the user can be reminded in text that "the recommended volume is ≥ 50%". Alternatively, the mobile phone can also ask the user "whether to adjust the volume automatically" by displaying a pop-up window. If it is detected that the user selects "yes", in response to the user's selection, the volume of the mobile phone is automatically adjusted to a preset volume value, such as 75%. In addition, although the volume adjustment method displayed in interface 63 is manually adjustable by the user, when the present application is implemented, the mobile phone can also detect the user's preset settings for the AI body shape analysis function. Among them, the preset settings may include an automatic volume adjustment function, in which case the mobile phone can directly adjust the volume to the preset volume value without displaying interface 63 to the user; and the preset volume value can only take effect during the AI body shape analysis process, and the original volume value can be restored after the AI body shape analysis process is detected to be completed. Alternatively, in another possible scenario, if the mobile phone detects that the mobile phone is connected to an audio playback device such as headphones or speakers, it can be defaulted that no volume adjustment is required.
手机在界面63中检测到对“下一步”控件650的用户操作,可以继续执行体型测量准备阶段的设备校准流程,显示为图6中的界面64。可选的,手机可以通过如重力传感器180A和陀螺仪传感器180B等传感器检测手机的当前姿态。然后,手机可以根据手机的当前姿态,在界面64中显示第一标识,以及根据手机的目标姿态显示第二标识;通过第一标识和第二标识的相对位置关系,确定手机放置到合适姿态;可以理解,若第一标识和第二标识的相对位置关系显示为预设关系,则可以确定手机放置到合适姿态。如图6中的界面64所示,第一标识可以显示为花朵,第二标识可以显示为枝干,如界面64中的文字提示“直立放置设备拍摄更准确,请调整设备角度,使小花拼接完整”。应理解的是,本申请实施例不限定第一标识和第二标识的显示方式,例如第一标识还可以为小球、第二标识为鲨鱼,通过调整设备姿态,以在界面64中使小球落入鲨鱼口中,从而可以实现调整设备到预设位置。这样,通过设置标识,来引导用户调整设备,可以增加趣味性。The mobile phone detects the user operation on the "next step" control 650 in the interface 63, and can continue to execute the device calibration process in the body measurement preparation stage, which is displayed as the interface 64 in FIG6. Optionally, the mobile phone can detect the current posture of the mobile phone through sensors such as the gravity sensor 180A and the gyroscope sensor 180B. Then, the mobile phone can display the first logo in the interface 64 according to the current posture of the mobile phone, and display the second logo according to the target posture of the mobile phone; through the relative position relationship between the first logo and the second logo, it is determined that the mobile phone is placed in a suitable posture; it can be understood that if the relative position relationship between the first logo and the second logo is displayed as a preset relationship, it can be determined that the mobile phone is placed in a suitable posture. As shown in the interface 64 in FIG6, the first logo can be displayed as a flower, and the second logo can be displayed as a branch, such as the text prompt in the interface 64 "Placing the device upright for more accurate shooting, please adjust the device angle to make the small flowers complete". It should be understood that the embodiment of the present application does not limit the display mode of the first logo and the second logo. For example, the first logo can also be a small ball and the second logo can be a shark. By adjusting the posture of the device, the small ball falls into the shark's mouth in the interface 64, so that the device can be adjusted to the preset position. In this way, by setting up signs to guide users to adjust the device, the fun can be increased.
本申请实施例中,手机进行设备校准时,可以通过2轴校准实现设备校准。示例性的,手机通过如重力传感器180A和陀螺仪传感器180B等传感器,检测手机的当前姿态;然后,确定当前姿态相对于目标姿态(如手机处于竖直状态时的姿态)俯仰角姿态和左右角度偏差。若手机检测到手机的当前姿态符合放置条件,例如俯仰角偏差小于或等于(≤)预设俯仰角偏差阈值,左右角度偏差≤预设左右角度偏差阈值,则可以确定手机校准到目标姿态范围内;其中,预设俯仰角偏差阈值可以为10°,预设左右角度偏差阈值也可以为10°。In an embodiment of the present application, when the mobile phone performs device calibration, the device calibration can be achieved through 2-axis calibration. Exemplarily, the mobile phone detects the current posture of the mobile phone through sensors such as gravity sensor 180A and gyroscope sensor 180B; then, the pitch angle posture and left-right angle deviation of the current posture relative to the target posture (such as the posture of the mobile phone in a vertical state) are determined. If the mobile phone detects that the current posture of the mobile phone meets the placement conditions, for example, the pitch angle deviation is less than or equal to (≤) the preset pitch angle deviation threshold, and the left-right angle deviation is ≤ the preset left-right angle deviation threshold, then it can be determined that the mobile phone is calibrated within the target posture range; wherein, the preset pitch angle deviation threshold can be 10°, and the preset left-right angle deviation threshold can also be 10°.
另外,在用户调整设备放置位置的过程中,手机也可通过语音指令引导用户进行调整,例如语音引 导指令可以包括:“手机向左旋转一点”、“手机向右旋转一点”、“手机向后旋转一点”或者“手机向前旋转一点等”。可以理解,手机可以根据设备的当前姿态相对于目标姿态的俯仰角姿态和左右角度偏差,生成相对应的语音引导指令。In addition, when the user adjusts the placement of the device, the mobile phone can also guide the user to make adjustments through voice commands, such as voice guidance. Guidance instructions may include: "rotate the phone a little to the left", "rotate the phone a little to the right", "rotate the phone a little backward", or "rotate the phone a little forward, etc." It is understood that the phone can generate corresponding voice guidance instructions based on the pitch angle posture and left and right angle deviation of the current posture of the device relative to the target posture.
(三)体型测量阶段(III) Body shape measurement stage
基于体型测量准备阶段的多种准备工作,在确定各种体型测量的需求场景设置完成之后,可以进入体型测量。基于设备放置调整界面64的引导,可以引导用户对设备位置进行调整,调整到符合放置条件的设备姿态,例如可显示为如图7中所示的界面64’。在界面64’中,若手机检测到手机的当前姿态符合放置条件,可以自动跳转至拍摄页;另外,可选的,在跳转至拍摄页之前,手机可以通过提示弹窗660来提示用户手机的放置已经满足放置条件。Based on the various preparatory work in the body measurement preparation stage, after the required scenarios for various body measurements are determined and set, the body measurement can be entered. Based on the guidance of the device placement adjustment interface 64, the user can be guided to adjust the device position to a device posture that meets the placement conditions, for example, it can be displayed as an interface 64' as shown in Figure 7. In the interface 64', if the mobile phone detects that the current posture of the mobile phone meets the placement conditions, it can automatically jump to the shooting page; in addition, optionally, before jumping to the shooting page, the mobile phone can prompt the user through a pop-up window 660 that the placement of the mobile phone has met the placement conditions.
示例性的,在体型测量阶段可以通过多张拍摄页引导用户进行正面身体图像帧(下文中也可简称“正面照”)和侧面身体图像帧(下文中也可简称“侧面照”)的扫描。如图7所示,手机可以从界面64’跳转到界面65a;其中,界面65a用于引导用户拍摄正面照。例如,在界面65a中,可以包括“将全身正面置于人形框内”的文字引导,还可以包括正面照参考轮廓,以及还可以包括“切换前后摄像头”控件670。以及,在显示界面65a的同时,可以通过语音引导方式引导用户正面站立,例如语音引导指令可以包括:“正面站立,保持身体在人形框内”、“离屏幕近一点,保持身体在人形框中”或者“离屏幕远一点,保持身体在人形框中”。这样,一方面用户可以根据界面65a的引导进行正面站立,另一方面手机可以通过摄像头193实时采集图像数据,并对图像数据进行显示以及检测。可选的,手机可以通过对比图像数据中的人物和界面65a中的正面照参考轮廓,以检测当前采集的图像数据是否满足正面照拍摄要求。应理解,正面照拍摄要求可以是预设配置的,且可以为图像数据中的人像轮廓与正面照参考轮廓的偏差小于或等于预设偏差阈值。Exemplarily, in the body measurement stage, the user can be guided to scan the front body image frame (hereinafter referred to as "front view") and the side body image frame (hereinafter referred to as "side view") through multiple shooting pages. As shown in FIG7 , the mobile phone can jump from interface 64' to interface 65a; wherein interface 65a is used to guide the user to take a front view. For example, in interface 65a, a text guide of "place the whole body front view in the human frame" can be included, and a reference outline of the front view can also be included, and a "switch front and rear cameras" control 670 can also be included. In addition, while displaying interface 65a, the user can be guided to stand in the front through voice guidance, for example, the voice guidance instruction can include: "Stand in the front, keep the body in the human frame", "Stand closer to the screen, keep the body in the human frame" or "Stand farther from the screen, keep the body in the human frame". In this way, on the one hand, the user can stand in the front according to the guidance of interface 65a, and on the other hand, the mobile phone can collect image data in real time through camera 193, and display and detect the image data. Optionally, the mobile phone can detect whether the currently collected image data meets the frontal photo shooting requirement by comparing the person in the image data with the frontal photo reference profile in the interface 65a. It should be understood that the frontal photo shooting requirement can be a preset configuration, and the deviation between the portrait profile in the image data and the frontal photo reference profile is less than or equal to a preset deviation threshold.
另一示例性的,若手机检测到符合正面照拍摄要求,则可继续自动跳转到拍摄侧面照的显示界面,例如可依次向用户显示如图7中的界面65b和界面65c。其中,界面65b可用于提示用户正在获取正面照,以及显示界面65b的同时,可以通过语音提示方式提示用户正在识别,例如语音引导指令可以包括:“识别中,保持当前姿势不动”并“语音倒计时:3、2、1”。界面65c可用于提示用户正面照识别成功,以及显示界面65c的同时,可以通过语音提示方式提示用户识别完成,例如语音引导指令可以包括“正面照识别成功”。可以理解,在界面65c显示一定预设时长后,可自动跳转至拍摄侧面照的界面67a。In another exemplary embodiment, if the mobile phone detects that the requirements for frontal photo shooting are met, it can continue to automatically jump to the display interface for shooting side photos, for example, it can display the interface 65b and interface 65c in Figure 7 to the user in sequence. Among them, interface 65b can be used to prompt the user that the frontal photo is being obtained, and while displaying interface 65b, it can prompt the user that the recognition is in progress through voice prompts, for example, the voice guidance instructions can include: "Recognition in progress, keep the current posture still" and "Voice countdown: 3, 2, 1". Interface 65c can be used to prompt the user that the frontal photo recognition is successful, and while displaying interface 65c, it can prompt the user that the recognition is completed through voice prompts, for example, the voice guidance instructions can include "Front photo recognition is successful". It can be understood that after interface 65c is displayed for a certain preset time, it can automatically jump to interface 67a for shooting side photos.
另外,在进行拍摄流程中,若手机检测到发生手机失衡,可引导用户重新进行设备调整,且在设备调整到符合预设放置条件之后,继续拍摄流程。一种可能的场景中,以手机在拍摄完正面照之后,拍摄侧面照过程中发生手机失衡,可以显示在显示界面67a之前,显示界面66。其中,界面66可显示用户进行校准的至少一个标识,例如前文中介绍到的指示当前姿态的第一标识和指示目标姿态的第二标识。此外,界面66中显示标识的样式可参阅界面64的显示方式,或者界面66也可与界面64中不同的显示方式,例如第一标识可以为小圆圈,第二标识可以为包括十字校准线的大圆圈。以及,在手机失衡时,也可以结合语音提示方式提示用户重新调整设备放置角度,例如语音引导指令可以包括“请调整设备角度,使圆点位置位于十字圆圈内”。In addition, during the shooting process, if the mobile phone detects that the mobile phone is unbalanced, the user can be guided to readjust the device, and after the device is adjusted to meet the preset placement conditions, the shooting process can be continued. In a possible scenario, after the mobile phone has taken a frontal photo, the mobile phone is unbalanced during the side photo shooting process, and the interface 66 can be displayed before the display interface 67a. Among them, the interface 66 can display at least one mark for the user to calibrate, such as the first mark indicating the current posture and the second mark indicating the target posture introduced in the above text. In addition, the style of the display mark in the interface 66 can refer to the display method of the interface 64, or the interface 66 can also be displayed in a different manner from the interface 64, for example, the first mark can be a small circle, and the second mark can be a large circle including a cross calibration line. And, when the mobile phone is unbalanced, the user can also be prompted to readjust the device placement angle in combination with a voice prompt, for example, the voice guidance instruction can include "please adjust the device angle so that the dot position is located within the cross circle".
可以理解,如图7所示,手机可以从界面65c跳转到界面67a,或者也可以从界面66跳转到界面67a,可以根据实际场景确定。与正面照拍摄流程类似,界面67a用于引导用户拍摄侧面照。例如,在界面67a中,可以包括“将全身侧面置于人形框内”的文字引导,还可以包括侧面照参考轮廓,以及也可以包括“切换前后摄像头”控件670。以及,在显示界面67a的同时,可以通过语音引导方式引导用户侧面站立,例如语音引导指令可以包括:“侧面站立,保持身体在人形框内”、“离屏幕近一点,保持身体在人形框中”或者“离屏幕远一点,保持身体在人形框中”。这样,一方面用户可以根据界面67a的引导进行侧面站立,另一方面手机可以通过摄像头193实时采集图像数据,并对图像数据进行显示以及检测。可选的,手机可以通过对比图像数据中的人物和界面67a中的侧面照参考轮廓,以检测当前采集的图像数据是否满足侧面照拍摄要求。应理解,侧面照拍摄要求可以是预设配置的,且可以为图像数据中的人像轮廓与侧面照参考轮廓的偏差小于或等于预设偏差阈值。It can be understood that, as shown in FIG. 7 , the mobile phone can jump from interface 65c to interface 67a, or can also jump from interface 66 to interface 67a, which can be determined according to the actual scene. Similar to the frontal photo shooting process, interface 67a is used to guide the user to shoot a side photo. For example, in interface 67a, a text guide of "place the whole body side in the human-shaped frame" can be included, and a side-photo reference outline can also be included, and a "switch front and rear cameras" control 670 can also be included. In addition, while displaying interface 67a, the user can be guided to stand sideways by voice guidance, for example, the voice guidance instruction can include: "Stand sideways, keep the body in the human-shaped frame", "Stand closer to the screen, keep the body in the human-shaped frame" or "Stand farther from the screen, keep the body in the human-shaped frame". In this way, on the one hand, the user can stand sideways according to the guidance of interface 67a, and on the other hand, the mobile phone can collect image data in real time through camera 193, and display and detect the image data. Optionally, the mobile phone can detect whether the currently collected image data meets the side photo shooting requirements by comparing the characters in the image data with the side-photo reference outline in interface 67a. It should be understood that the side view shooting requirement may be a preset configuration, and may be that the deviation between the portrait contour in the image data and the side view reference contour is less than or equal to a preset deviation threshold.
示例性的,手机检测到符合侧面照拍摄要求时,可依次向用户显示如图7中的界面67b和界面67c。其中,界面67b可用于提示用户正在获取侧面照,以及显示界面67b的同时,可以通过语音提示方式提示用户正在识别,例如语音引导指令可以包括:“识别中,保持当前姿势不动”并“语音倒计时:3、2、 1”。界面67c可用于提示用户侧面照识别成功,以及显示界面67c的同时,可以通过语音提示方式提示用户识别完成,例如语音引导指令可以包括“侧面照识别成功”。For example, when the mobile phone detects that the side view shooting requirement is met, it can display the interface 67b and the interface 67c shown in FIG7 to the user in sequence. Among them, the interface 67b can be used to prompt the user that the side view is being acquired, and while displaying the interface 67b, the user can be prompted by voice prompts that the recognition is in progress. For example, the voice guidance instruction may include: "Recognition in progress, keep the current posture unchanged" and "voice countdown: 3, 2, 1". Interface 67c may be used to prompt the user that the side view recognition is successful, and while displaying interface 67c, the user may be prompted by voice prompts that the recognition is complete, for example, the voice guidance instruction may include "side view recognition is successful".
(四)体型分析阶段(IV) Body shape analysis stage
示例性的,图8为本申请实施例提供的得到人体mesh模型的流程示意图。本申请实施例中,手机可以根据正面照和侧面照,采用人像分割网络模型801得到身体的轮廓数据;以及还可以根据正面照和侧面照,采用人体骨骼点检测模型802得到2D骨骼点数据。然后,手机可以将人像分割网络模型801输出的轮廓数据、人体骨骼点检测模型802输出的2D骨骼点数据、以及在体型测量准备阶段中获取到的基本身体参数作为体型参数深度网络模型803的输入;并且,采用体型参数深度网络模型803,可以输出多项体型参数的权重因子。再然后,手机可以将多项体型参数的权重因子作为一种人体模型(skinned multi-person linear model,SMPL)804的输入;其中,SMPL人体模型804中包括多种不同类别的参考体型参数,例如可以包括但不限于:尺寸参数,肥胖参数。最后,手机可以通过SMPL人体模型804,对体型参数的权重因子和参考体型参数进行处理预算,可以得到用户的体型参数;其中,基于用户的体型参数可以构造如图8所示的用户的3D的人体mesh模型。其中,体型参数可以包括但不限于:三围(胸围、腰围和臀围)、四肢维度(大腿围、小腿围、大臂围和头围)、四肢长度(腿长、壁长和肩宽)。Exemplarily, FIG8 is a flow chart of obtaining a human body mesh model provided in an embodiment of the present application. In the embodiment of the present application, the mobile phone can obtain the contour data of the body using the portrait segmentation network model 801 according to the front view and the side view; and can also obtain the 2D bone point data using the human body bone point detection model 802 according to the front view and the side view. Then, the mobile phone can use the contour data output by the portrait segmentation network model 801, the 2D bone point data output by the human body bone point detection model 802, and the basic body parameters obtained in the body measurement preparation stage as the input of the body parameter deep network model 803; and, using the body parameter deep network model 803, the weight factors of multiple body parameters can be output. Then, the mobile phone can use the weight factors of multiple body parameters as the input of a human body model (skinned multi-person linear model, SMPL) 804; wherein, the SMPL human body model 804 includes multiple different categories of reference body parameters, for example, including but not limited to: size parameters, obesity parameters. Finally, the mobile phone can process and estimate the weight factor of the body parameter and the reference body parameter through the SMPL human body model 804, and obtain the body parameter of the user; wherein, based on the body parameter of the user, a 3D human body mesh model of the user as shown in FIG8 can be constructed. The body parameter may include but is not limited to: three measurements (chest circumference, waist circumference and hip circumference), limb dimensions (thigh circumference, calf circumference, upper arm circumference and head circumference), and limb length (leg length, wall length and shoulder width).
示例性的,电子设备可以进一步基于3D的人体mesh模型读取得到的用户的体型参数,从而可以对用户的体型参数进行分析,得到用户的体型分析结果,以可以将体型分析结果通过显示界面展示给用户。其中,体型分析结果可以通过多种方式进行展示,例如体型分析结果可以包括但不限于:AI体型的加载(loading)形象、AI体型数据。另外,该体型分析结果可以包括基于用户的体型参数的直接结果、以及还可以包括基于用户的体型参数进行计算或解读得到的间接结果。可以理解,基于体型参数的直接结果可以作为AI体型数据展示给用户;间接结果例如可以包括但不限于:AI体型的loading形象、AI体型数据中除体型参数之外的其他体型数据、以及还可以包括AI体型的结果解读、对AI体型的改进计划。Exemplarily, the electronic device can further read the user's body parameters based on the 3D human body mesh model, so as to analyze the user's body parameters and obtain the user's body analysis results, so that the body analysis results can be displayed to the user through the display interface. Among them, the body analysis results can be displayed in a variety of ways, for example, the body analysis results can include but are not limited to: AI body loading (loading) image, AI body data. In addition, the body analysis results may include direct results based on the user's body parameters, and may also include indirect results calculated or interpreted based on the user's body parameters. It can be understood that the direct results based on the body parameters can be displayed to the user as AI body data; the indirect results, for example, may include but are not limited to: AI body loading image, other body data in AI body data except body parameters, and may also include AI body result interpretation, and improvement plan for AI body.
例如,图9为本申请实施例提供的一种体型分析结果的界面示意图。一种可能的场景中,在获取到体型分析结果之前,手机可以先根据用户性别参数显示包括参考AI体型的界面,例如图9中界面68a显示的为女性对应的参考AI体型、界面68b显示的为男性对应的参考AI体型;并且,手机还可以通过文本内容和/或语音指令提示用户手机正在进行体型的测量分析,如文本内容可显示为“测量你的体型”和“请稍等,我们正在分析照片和测量你的体型”。以用户性别参数为女性作为示例,手机在获取到体型分析结果之后,可以切换显示为图9中的界面69。在界面69中,从上到下可依次显示但不限于AI体型的loading形象、AI体型数据、结果解读以及改进计划等。For example, FIG9 is a schematic diagram of an interface of a body shape analysis result provided in an embodiment of the present application. In a possible scenario, before obtaining the body shape analysis result, the mobile phone may first display an interface including a reference AI body shape according to the user's gender parameter, for example, interface 68a in FIG9 displays the reference AI body shape corresponding to females, and interface 68b displays the reference AI body shape corresponding to males; and the mobile phone may also prompt the user through text content and/or voice commands that the mobile phone is performing body shape measurement and analysis, such as text content that may be displayed as "measure your body shape" and "please wait, we are analyzing photos and measuring your body shape". Taking the user gender parameter as female as an example, after obtaining the body shape analysis result, the mobile phone may switch to display interface 69 in FIG9. In interface 69, from top to bottom, but not limited to, the loading image of AI body shape, AI body shape data, result interpretation, and improvement plan may be displayed in sequence.
(1)AI体型的loading形象可以用于展示用户的体型情况,便于用户更加直观地感知到身体的体型状态。其中,AI体型的loading形象可以基于3D的人体mesh模型,对如界面68a所示的参考AI体型进行调整和渲染之后得到的。例如根据体型参数中的三围、四肢维度、四肢长度等参数对参考AI体型进行适应性调整,并对适应性调整后的参考AI体型进行色彩渲染等,以得到用户的AI体型。另外,界面69中的AI体型的loading形象。(1) The loading image of the AI body shape can be used to display the user's body shape, so that the user can more intuitively perceive the body shape. Among them, the loading image of the AI body shape can be obtained by adjusting and rendering the reference AI body shape shown in interface 68a based on a 3D human mesh model. For example, the reference AI body shape is adaptively adjusted according to the body shape parameters such as the measurements, limb dimensions, and limb lengths, and the adaptively adjusted reference AI body shape is color rendered to obtain the user's AI body shape. In addition, the loading image of the AI body shape in interface 69.
需要说明的是,本申请实施例不限制参考AI体型的显示方式、由参考AI体型到用户AI体型的切换显示方式、以及用户AI体型的显示方式。例如由参考AI体型到用户AI体型的切换显示方式可以为从上到下依次覆盖参考AI体型;又例如用户AI体型的显示方式还可以包括对用户AI体型进行360°旋转,以实现全方位展示等,具体实现时可对相应显示方式进行预设配置。另外,手机也可以响应于用户对AI体型的loading形象的滑动操作,对AI体型的loading形象进行旋转展示。It should be noted that the embodiments of the present application do not limit the display mode of the reference AI body type, the switching display mode from the reference AI body type to the user AI body type, and the display mode of the user AI body type. For example, the switching display mode from the reference AI body type to the user AI body type may cover the reference AI body type from top to bottom in sequence; for another example, the display mode of the user AI body type may also include a 360° rotation of the user AI body type to achieve an all-round display, etc., and the corresponding display mode may be preset and configured during specific implementation. In addition, the mobile phone may also rotate and display the loading image of the AI body type in response to the user's sliding operation on the loading image of the AI body type.
(2)AI体型数据可以用于展示用户更详细的体型情况,便于用户更准确地获取到身体的体型状态。一种可选的示例中,如图9中的界面69所示,AI体型数据可以包括体型参数,如腰围为81厘米、胸围为97厘米、臀围为95厘米、大臂围为30厘米、小臂围为20厘米以及大腿围为45厘米;AI体型数据还可以包括基于体型参数间接得到的其他体型数据,如身体形态为梨型、腰臀比为0.85。另外,手机间接得到其他体型数据可实施为基于体型参数,从预先存储的体型数据库中,查找该体型参数匹配的目标数据;以身体形态为例,手机根据用户的体型参数,从预先存储的体型数据库中查找到该用户的目标身体形态为界面69中示出的梨型。其中,预先存储的体型数据库中可以包括但不限于以下身体形态: 梨型、匀称型、苹果型、辣椒型、三角型、沙漏型。示例性的,为便于直观地理解各身体形态类型,如图10所示,为本申请实施例提供的表1中介绍的各身体形态类型的示意图;从图10中可以看到,梨形身体形态的特点为臀围参数较大。(2) AI body shape data can be used to display the user's body shape in more detail, so that the user can more accurately obtain the body shape status. In an optional example, as shown in interface 69 in Figure 9, AI body shape data may include body shape parameters, such as waist circumference of 81 cm, chest circumference of 97 cm, hip circumference of 95 cm, upper arm circumference of 30 cm, forearm circumference of 20 cm and thigh circumference of 45 cm; AI body shape data may also include other body shape data indirectly obtained based on body shape parameters, such as a pear-shaped body shape and a waist-to-hip ratio of 0.85. In addition, the mobile phone can indirectly obtain other body shape data by searching for target data matching the body shape parameters from a pre-stored body shape database based on the body shape parameters; taking body shape as an example, the mobile phone searches the pre-stored body shape database based on the user's body shape parameters and finds that the user's target body shape is the pear shape shown in interface 69. The pre-stored body shape database may include but is not limited to the following body shapes: Pear-shaped, symmetrical, apple-shaped, pepper-shaped, triangular, and hourglass-shaped. For example, to facilitate intuitive understanding of each body shape type, FIG10 is a schematic diagram of each body shape type introduced in Table 1 provided in the embodiment of the present application; as can be seen from FIG10, the characteristic of the pear-shaped body shape is that the hip circumference parameter is large.
(3)结果解读可以用于展示对体型分析结果的评价,便于用户确定改进的方向。(3) Result interpretation can be used to display the evaluation of body shape analysis results, so that users can determine the direction of improvement.
可选的,预先存储的体型数据库中还可以存储有针对各类型的体型数据的结果解读。例如图9中的界面69所示,梨型身体形态对应的结果解读可以为“梨型身材以外周皮下脂肪,尤其是臀部、大腿部的脂肪积聚为主。梨型身材的形成与雌激素大量分泌有关,有助于预防糖尿病,更易长寿。”;腰臀比对应的结果解读可以为“偏高”;腰围对应的结果解读可以为“偏高”;以及界面69中示出的其他类型的体型数据的结果解读,在此不再一一介绍。Optionally, the pre-stored body shape database may also store result interpretations for various types of body shape data. For example, as shown in interface 69 in FIG9 , the result interpretation corresponding to the pear-shaped body shape may be “The pear-shaped body is mainly composed of peripheral subcutaneous fat, especially fat accumulation in the buttocks and thighs. The formation of the pear-shaped body is related to the large secretion of estrogen, which helps prevent diabetes and is more likely to prolong life.”; the result interpretation corresponding to the waist-to-hip ratio may be “high”; the result interpretation corresponding to the waist circumference may be “high”; and the result interpretations of other types of body shape data shown in interface 69 are not introduced one by one here.
而且,用户还可以通过对体型数据所显示的卡片进行用户操作,以显示更详细的结果解读。以用户对显示腰臀比所显示的卡片进行用户操作为例,手机响应于在图9的界面69中对腰臀比卡片的用户操作,切换显示为界面691;其中,在界面691中显示关于腰臀比的更详细的结果解读,例如腰臀比的判断依据和数据解读等,具体结果解读可参阅界面691,在此不再详细说明。其中,对体型数据显示卡片的用户操作例如可以为点击操作、长按操作、双击操作、手势操作或语音指令等。另外,手机响应于在图9的界面69中对腰臀比卡片的用户操作,除了切换显示为界面691的显示方式,还可以通过弹窗、画中画等显示方式进行显示。Moreover, the user can also display a more detailed interpretation of the results by performing user operations on the card displayed by the body shape data. Taking the user's operation on the card displayed by the waist-to-hip ratio as an example, the mobile phone responds to the user operation on the waist-to-hip ratio card in interface 69 of FIG. 9 and switches to interface 691; wherein, in interface 691, a more detailed interpretation of the results about the waist-to-hip ratio is displayed, such as the basis for judging the waist-to-hip ratio and the data interpretation, etc. The specific interpretation of the results can be referred to interface 691, which will not be described in detail here. Among them, the user operation on the body shape data display card can be, for example, a click operation, a long press operation, a double-click operation, a gesture operation or a voice command. In addition, in response to the user operation on the waist-to-hip ratio card in interface 69 of FIG. 9, the mobile phone can display it in a pop-up window, a picture-in-picture, or other display modes in addition to switching to the display mode of interface 691.
(4)改进计划可以用于更准确地确定用户的改进方向,便于用户更有效地进行身体管理。(4) The improvement plan can be used to more accurately determine the user's improvement direction, allowing the user to manage their body more effectively.
可以理解,预先存储的体型数据库中可以存储有针对各类型的体型数据的改进计划。例如,一种可能的改进计划如以下表1所示:It can be understood that the pre-stored body shape database may store improvement plans for various types of body shape data. For example, a possible improvement plan is shown in the following Table 1:
表1基于体型数据的改进计划
Table 1 Improvement plan based on body shape data
根据表1介绍的基于体型数据的改进计划,手机可以向用户展示对应的改进计划。示例性的,如图9中的界面69所示,手机可以显示具有改进计划标识的loading形象,例如在loading形象中包括:指示梨型身体形态的锻炼部位为腹部、臀部和腿部的标识、以及运动类型推荐为有氧运动为主的标识。According to the improvement plan based on body shape data introduced in Table 1, the mobile phone can display the corresponding improvement plan to the user. Exemplarily, as shown in interface 69 in FIG9 , the mobile phone can display a loading image with improvement plan logos, for example, the loading image includes: logos indicating that the exercise parts of the pear-shaped body shape are the abdomen, buttocks and legs, and a logo recommending that the exercise type is mainly aerobic exercise.
(5)其他数据。示例性的,在图9的界面69中,除了包括前述实施例中介绍的数据内容之外,还可以包括但不限于以下内容:用于切换不同日期的体型分析结果的滑动横条1010、用于对体型分析结果进行手动校准的控件1011、以及用于获取更详细的改进计划的控件1012。(5) Other data. For example, in the interface 69 of FIG. 9 , in addition to the data content described in the above-mentioned embodiment, it may also include but is not limited to the following: a sliding bar 1010 for switching the body shape analysis results of different dates, a control 1011 for manually calibrating the body shape analysis results, and a control 1012 for obtaining a more detailed improvement plan.
5-1)滑动横条1010可用于在界面69中切换显示不同日期的体型分析结果。例如,界面69中当前显示的为9月24日的体型分析结果,手机响应于用户对滑动横条1010的滑动操作,还可以切换显示为如9月20日的体型分析结果。应理解的是,9月20日的体型分析结果相比于9月24日的体型分析结果,AI体型的loading、AI体型数据、结果解读以及改进计划等进行相应切换。5-1) The sliding bar 1010 can be used to switch the display of body shape analysis results of different dates in the interface 69. For example, the body shape analysis results of September 24 are currently displayed in the interface 69. In response to the user's sliding operation on the sliding bar 1010, the mobile phone can also switch to display the body shape analysis results of September 20. It should be understood that the body shape analysis results of September 20 are compared with the body shape analysis results of September 24, and the AI body shape loading, AI body shape data, result interpretation, and improvement plan are switched accordingly.
可以理解,在手机中存储有相应日期的体型分析结果时,用户可以通过滑动横条1010进行切换显示;若未存储有相应日期的体型分析结果,则切换显示时例如可以通过弹窗、或显示界面来提示用户该日期无体型数据。可选的,为了便于用户直观地确定哪些日期存储有体型分析结果,可以对不同的日期标识通过不同的显示状态来指示用户;例如界面69中,存储有体型分析结果的日期对应的标识的显示状态为加粗且具有下划线,未存储有体型分析结果的日期对应的标识的显示状态为未加粗且不具有下划线。It can be understood that when the body shape analysis results of the corresponding date are stored in the mobile phone, the user can switch the display by sliding the horizontal bar 1010; if the body shape analysis results of the corresponding date are not stored, the user can be prompted that there is no body shape data for the date by, for example, a pop-up window or a display interface when switching the display. Optionally, in order to facilitate the user to intuitively determine which dates have stored body shape analysis results, different date labels can be indicated to the user through different display states; for example, in interface 69, the display state of the label corresponding to the date with stored body shape analysis results is bold and underlined, and the display state of the label corresponding to the date without stored body shape analysis results is not bold and not underlined.
5-2)控件1011可用于对界面69中包括的体型数据中的体型参数进行手动校准。一种可能的场景中,图11为本申请实施例提供的对体型分析结果进行手动校准的界面示意图。在如图11包括的界面70中,用户可以手动进行胸围、腰围、臂围以及大臂围等体型参数的调整。手机响应于用户在界面70 中的多个手动校准操作以及保存操作,更新体型分析结果,并显示为图11中的界面69a。其中,图11中的界面69a相比于图9中的界面69,用户AI体型的loading形象进行适应性调整,并且AI体型数据、结果解读和改进计划进行相应更新。这样,通过手机的自动测量以及用户的手动校准,可以更准确地实现AI体型测量分析。5-2) Control 1011 can be used to manually calibrate the body shape parameters in the body shape data included in interface 69. In a possible scenario, FIG. 11 is a schematic diagram of an interface for manually calibrating the body shape analysis results provided by an embodiment of the present application. In interface 70 as shown in FIG. 11, the user can manually adjust body shape parameters such as chest circumference, waist circumference, arm circumference, and upper arm circumference. The mobile phone responds to the user in interface 70. The body shape analysis results are updated and displayed as interface 69a in FIG11 after multiple manual calibration operations and save operations are performed. Compared with interface 69 in FIG9 , in interface 69a in FIG11 , the loading image of the user's AI body shape is adaptively adjusted, and the AI body shape data, result interpretation, and improvement plan are updated accordingly. In this way, through the automatic measurement of the mobile phone and the manual calibration of the user, AI body shape measurement analysis can be achieved more accurately.
5-3)控件1012可用于获取更详细的改进计划。其中,更详细的改进计划例如可以包括计划锻炼时间、计划锻炼周期、计划锻炼部位以及计划锻炼方式等,具体实现方式在后文中进行详细介绍,在此暂不赘述。5-3) Control 1012 can be used to obtain a more detailed improvement plan. The more detailed improvement plan may include, for example, a planned exercise time, a planned exercise cycle, a planned exercise part, and a planned exercise method, etc. The specific implementation method will be described in detail later and will not be described here.
此外,基于前述实施例中得到的体型分析结果,本申请实施例还可包括以下场景:In addition, based on the body shape analysis results obtained in the above embodiments, the embodiments of the present application may also include the following scenarios:
场景一、体型分析结果的显示。示例性的,体型分析结果可以具有多种显示场景。可选的,可以在AI体型测量流程结束之后进行显示,例如前述实施例中界面61至界面69的显示场景。另一可选的,与体型测量入口的显示场景类似,体型分析结果也可以显示在运动健康APP的多个显示界面中,例如体重管理界面、首页界面、运动计划界面等。并且,体型分析结果还可与体型测量入口进行关联显示。例如在体型测量入口的相关界面中,可以包括历史体型分析结果,如界面69中示出的通过滑动横条1010进行显示。又例如,在体型分析结果的相关界面中,还可以包括体型测量入口,如以下实施例中将介绍到的图12中的界面12b中包括的“AI体型分析”控件1203。这样,通过在不同显示场景中对体型分析结果的展示,可以便于用户更加便携地查阅体型分析结果。Scene 1, display of body shape analysis results. Exemplarily, the body shape analysis results can have a variety of display scenes. Optionally, it can be displayed after the AI body shape measurement process ends, such as the display scenes of interfaces 61 to 69 in the aforementioned embodiments. Another option is that similar to the display scene of the body shape measurement entrance, the body shape analysis results can also be displayed in multiple display interfaces of the sports health APP, such as the weight management interface, the home page interface, the exercise plan interface, etc. In addition, the body shape analysis results can also be displayed in association with the body shape measurement entrance. For example, in the relevant interface of the body shape measurement entrance, historical body shape analysis results can be included, such as the display shown in interface 69 by sliding the horizontal bar 1010. For another example, in the relevant interface of the body shape analysis results, a body shape measurement entrance can also be included, such as the "AI body shape analysis" control 1203 included in the interface 12b in Figure 12 to be introduced in the following embodiments. In this way, by displaying the body shape analysis results in different display scenes, it is convenient for users to check the body shape analysis results more conveniently.
基于手机存储有多次AI体型测量的体型分析结果的场景,本申请实施例中,还可以对多次体型分析结果实现不同显示方式下的显示。例如显示方式可以包括但不限于日视图显示、周月年视图显示。以下仍以在体重管理界面显示体型分析结果作为示例,可以包括以下几种显示方式:Based on the scenario where the mobile phone stores multiple AI body measurement results, in the embodiment of the present application, the multiple body analysis results can also be displayed in different display modes. For example, the display mode may include but is not limited to the daily view display, the weekly, monthly and annual view display. The following still takes the display of body analysis results in the weight management interface as an example, which may include the following display modes:
方式A、日视图显示。例如,图12为本申请实施例提供的显示体型分析结果的界面示意图。在体重管理界面的日视图中,除了包括当前日期相关的体重数据和身体成分数据,还可以包括当前日期相关的体型分析结果,如界面12a中的卡片1200所显示的内容;其中,身体成分数据可以为从智能体脂称中获取到的数据,可以包括身体评分、BMI、脂肪率、骨骼重量等数据。应理解的是,在界面12a中,为了避免影响查看体重管理界面中其他显示内容,体型分析结果可以显示为预设折叠状态,例如可以显示部分AI体型数据。并且,手机还可响应于展开体型分析结果的用户操作,显示为图12中的界面12b;其中,在界面12b中,显示体型分析结果的卡片可以为展开状态,且可以包括更详细的分析结果,体型分析结果包括的具体内容可参阅对界面69的介绍,在此不再赘述。示例性的,对展开体型分析结果的用户操作例如可以为在界面12a中对用于展示更多分析结果的控件1201的点击操作、长按操作或语音指令等。Mode A, daily view display. For example, FIG. 12 is a schematic diagram of an interface for displaying body shape analysis results provided in an embodiment of the present application. In the daily view of the weight management interface, in addition to the weight data and body composition data related to the current date, the body shape analysis results related to the current date may also be included, such as the content displayed by the card 1200 in the interface 12a; wherein the body composition data may be data obtained from the smart body fat scale, and may include body score, BMI, fat rate, bone weight and other data. It should be understood that in the interface 12a, in order to avoid affecting the viewing of other displayed contents in the weight management interface, the body shape analysis results may be displayed in a preset folded state, for example, part of the AI body shape data may be displayed. In addition, the mobile phone may also respond to the user operation of unfolding the body shape analysis results, and display the interface 12b in FIG. 12; wherein, in the interface 12b, the card displaying the body shape analysis results may be in an unfolded state, and may include more detailed analysis results. The specific content included in the body shape analysis results may refer to the introduction to the interface 69, which will not be repeated here. Exemplarily, the user operation for expanding the body shape analysis result may be, for example, a click operation, a long press operation, or a voice command on the control 1201 for displaying more analysis results in the interface 12a.
如界面12b所示,身体成分数据中还可能包括但不限于内脏脂肪等级、身体形态以及腰臀比等数据。示例性的,在身体成分数据与体型分析结果包括相同类型的数据的场景下,例如界面12中包括的身体形态和腰腿比,本申请实施例中,还可以对该相同类型的数据进行合并校准,以可以显示相同的数值。可以理解,本申请实施例中得到身体成分数据和体型分析结果的实现方式不同,因此若身体成分数据和体型分析结果包括相同类型的数据,数值结果可能存在偏差。在此场景下,针对第一预设类型的数据,可以将体型分析结果中包括的数值结果同步给身体成分数据;以及,针对第二预设类型的数据,可以将身体成分数据中包括的数值结果同步给体型分析结果。其中,第一预设类型的数据用于指示基于AI体型测量分析得到的数值结果的置信度大于基于智能体脂称获取的数值结果的数据,例如腰臀比、身体形态等体型相关的数据;第二预设类型的数据用于指示基于AI体型测量分析得到的数值结果的置信度小于或等于基于智能体脂称获取的数值结果的数据,例如脂肪率、BMI等身体成分相关的数据。另外,在界面12b中,手机还可以通过如控件1202等形式的提示信息,来指示用户该数据身体成分数据和体型分析结果合并校准的数据;例如,对界面12b中,身体成分数据和AI体型数据中都包括的身体形态和腰臀比显示控件1202,用户点击控件1202后,可以显示提示弹窗1203,提示弹窗中包括的内容例如可以为“此项数据为体型分析结果与身体成分数据合并校准之后的结果”。As shown in interface 12b, the body composition data may also include, but is not limited to, data such as visceral fat level, body shape, and waist-to-hip ratio. Exemplarily, in a scenario where the body composition data and the body shape analysis results include the same type of data, such as the body shape and waist-to-leg ratio included in interface 12, in an embodiment of the present application, the same type of data may also be merged and calibrated so that the same numerical value can be displayed. It can be understood that the implementation methods for obtaining the body composition data and the body shape analysis results are different in the embodiments of the present application. Therefore, if the body composition data and the body shape analysis results include the same type of data, there may be deviations in the numerical results. In this scenario, for the first preset type of data, the numerical results included in the body shape analysis results can be synchronized to the body composition data; and for the second preset type of data, the numerical results included in the body composition data can be synchronized to the body shape analysis results. Among them, the first preset type of data is used to indicate that the confidence of the numerical result obtained based on the AI body shape measurement analysis is greater than the data of the numerical result obtained based on the intelligent body fat scale, such as the waist-to-hip ratio, body shape and other body shape related data; the second preset type of data is used to indicate that the confidence of the numerical result obtained based on the AI body shape measurement analysis is less than or equal to the numerical result obtained based on the intelligent body fat scale, such as the body composition related data such as fat rate and BMI. In addition, in interface 12b, the mobile phone can also indicate to the user that the data is the data of the body composition data and the body shape analysis result combined and calibrated through prompt information in the form of control 1202; for example, in interface 12b, the body shape and waist-to-hip ratio display control 1202 included in both the body composition data and the AI body shape data, after the user clicks the control 1202, a prompt pop-up window 1203 can be displayed, and the content included in the prompt pop-up window can be, for example, "This data is the result of the body shape analysis result and the body composition data combined and calibrated".
应理解的是,在图12示出的界面12a或界面12b中,还包括用于切换显示前一日的体重管理界面和显示后一日的体重管理界面的切换控件,手机可以响应于对切换控件的用户操作,切换显示其他日期的体重管理界面。其中,每个日期的体重管理界面中,显示相对应的日期获取到的身体成分数据和/或体型分析结果。也可以理解的是,针对任意一个日期,可能存储有身体成分数据、或存储有体型分析结 果、或存储有身体成分数据和体型分析结果、或者还可能身体成分数据和体型分析结果都未存储,本申请对此不进行限定;其中,不同日期下的不同显示效果可参阅图12所示,本申请对此不再详细说明。It should be understood that in the interface 12a or interface 12b shown in FIG. 12, there is also a switch control for switching between displaying the weight management interface of the previous day and displaying the weight management interface of the next day. The mobile phone can switch to display the weight management interface of other dates in response to the user operation of the switch control. Among them, the weight management interface of each date displays the body composition data and/or body shape analysis results obtained on the corresponding date. It can also be understood that for any date, body composition data or body shape analysis results may be stored. The present application does not limit this; the different display effects under different dates can be found in FIG12, and the present application will not describe this in detail.
方式B、周月年视图显示。例如,图13为本申请实施例提供的显示体型分析结果的另一界面示意图。与方式A中的不同之处在于,方式B中对各种数据的展示是根据时间窗口决定的;其中,时间窗口例如可以为一周、一个月或者一年。针对本申请实施例重点关注的体型分析结果,图13的界面13a和界面13b以时间窗口为周作为示例进行介绍,对体型分析结果的显示方式可参阅方式A中的介绍内容;不同之处在于,图13的界面13a和界面13b显示的体型分析结果的每项数据为当前周(如9月18日-9月24日)的日均数据。例如,界面13b中显示的AI体型的loading形象可以为基于日均体型参数计算得到的,以及AI体型数据、结果解读等可以为基于日均数据结果显示的。Mode B, week, month, and year view display. For example, FIG. 13 is another interface schematic diagram for displaying the body shape analysis results provided in an embodiment of the present application. The difference from mode A is that the display of various data in mode B is determined according to the time window; wherein the time window can be, for example, a week, a month, or a year. With respect to the body shape analysis results that are the focus of the embodiment of the present application, interfaces 13a and 13b of FIG. 13 are introduced using the time window of a week as an example, and the display method of the body shape analysis results can refer to the introduction in mode A; the difference is that each data item of the body shape analysis results displayed in interfaces 13a and 13b of FIG. 13 is the daily average data of the current week (such as September 18-September 24). For example, the loading image of the AI body shape displayed in interface 13b can be calculated based on the daily average body shape parameters, and the AI body shape data, result interpretation, etc. can be displayed based on the daily average data results.
此外,若时间窗口为月,则手机可以根据日均数据显示界面13a和界面13b、也可以根据周均数据显示界面13a和界面13b;若时间窗口为年,则手机可以根据日均数据显示界面13a和界面13b、也可以根据周均数据显示界面13a和界面13b、还可以根据月均数据显示界面13a和界面13b,本申请对此不进行限定。In addition, if the time window is a month, the mobile phone can display interface 13a and interface 13b according to the daily average data, or it can display interface 13a and interface 13b according to the weekly average data; if the time window is a year, the mobile phone can display interface 13a and interface 13b according to the daily average data, or it can display interface 13a and interface 13b according to the weekly average data, or it can display interface 13a and interface 13b according to the monthly average data. This application does not limit this.
另外,本申请实施例中,在显示AI体型的loading形象时,还可以向用户显示滑动控件1300;其中,滑动控件1300可用户切换显示对应不同周的AI体型形象。这样,可以便于用户直观地查看体型变化情况。In addition, in the embodiment of the present application, when the AI body loading image is displayed, a sliding control 1300 can also be displayed to the user; wherein the sliding control 1300 allows the user to switch to display the AI body images corresponding to different weeks. In this way, it is convenient for the user to intuitively view the changes in body shape.
基于方式A或方式B介绍的对体型分析结果的显示方式,一种可能的场景中,用户还可以对显示AI体型数据的卡片进行用户操作,以显示更详细的体型数据。以图12介绍的采用日视图的显示方式作为示例,图14为本申请实施例提供的显示体型分析结果的又一界面示意图。示例性的,手机可以响应于对界面12a中包括的显示腰臀比的卡片的用户操作,显示界面12c;其中,界面12c中包括关于腰臀比的更详细数据,例如可以包括判断标准、结合历史体型分析结果确定的针对腰臀比数据的数据趋势、以及针对腰臀比数据得到的结果解读、改进计划、或者包括理想腰臀比等,本申请不限制显示的更详细数据的具体内容。另外,界面12c与前述实施例中介绍到的界面691可以为对体型分析结果的不同显示场景下的不同显示方式,界面12c与界面691可以进行互换;或者,在不同显示场景下可以显示为相同的界面,例如用户在界面69中点击显示腰臀比的卡片之后,也可以显示界面12c。Based on the display method of the body shape analysis results introduced in method A or method B, in a possible scenario, the user can also perform user operations on the card displaying AI body shape data to display more detailed body shape data. Taking the display method using the daily view introduced in Figure 12 as an example, Figure 14 is another interface schematic diagram for displaying body shape analysis results provided by an embodiment of the present application. Exemplarily, the mobile phone can display interface 12c in response to the user operation of the card displaying the waist-to-hip ratio included in interface 12a; wherein interface 12c includes more detailed data about the waist-to-hip ratio, for example, it can include judgment criteria, data trends for waist-to-hip ratio data determined in combination with historical body shape analysis results, and interpretation of the results obtained for the waist-to-hip ratio data, improvement plans, or ideal waist-to-hip ratio, etc. The present application does not limit the specific content of the more detailed data displayed. In addition, interface 12c and interface 691 introduced in the aforementioned embodiment may be different display modes for body shape analysis results in different display scenarios, and interface 12c and interface 691 may be interchangeable; or, they may be displayed as the same interface in different display scenarios, for example, after the user clicks on the card displaying waist-to-hip ratio in interface 69, interface 12c may also be displayed.
另一种可能的场景中,与用户可以对显示AI体型数据的卡片进行用户操作的原理类似,本申请实施例中还可以在显示AI体型的loading形象显示体型参数标签,以显示针对某一项体型参数的预测AI体型。参阅图15,为本申请实施例提供的显示体型分析结构的另一界面示意图。在图15中的界面15a1中,在AI体型的loading形象的周围,可以包括用于显示体重数据的标签1511a,若手机检测到对标签1511a的用户操作,可以切换显示为界面15b1。其中,界面15b1与界面15a1不同之处在于显示的提示卡片1510不同,可以看到界面15a1的提示卡片1510中用于指示当前界面显示的为当前AI体型,而界面15b1的提示卡片1510中用于指示当前界面显示为预测AI体型,并且在界面15b1中,还可以包括滑动横条1512,该滑动横条1512可用于选择不同的目标体重,以实现AI体型的loading形象根据选择的目标体重进行相应调整,从而可以显示为预测AI体型;另外,在滑动横条1512中,还可以通过黑点指示用户当前体重,以便于用户可以直观地确定当前体重与目标体重的对比。另一可选的,显示界面15b1的实现方式还可以为手机响应于对图15的界面15a2中提示卡片1510包括的“预测体型”控件的用户操作。In another possible scenario, similar to the principle that the user can perform user operations on the card displaying AI body shape data, in the embodiment of the present application, a body shape parameter label can also be displayed in the loading image displaying AI body shape to display the predicted AI body shape for a certain body shape parameter. Refer to Figure 15, which is another interface schematic diagram of the display body shape analysis structure provided in the embodiment of the present application. In the interface 15a1 in Figure 15, around the loading image of the AI body shape, a label 1511a for displaying weight data can be included. If the mobile phone detects a user operation on the label 1511a, it can switch to the display of the interface 15b1. Among them, the difference between interface 15b1 and interface 15a1 lies in the different prompt cards 1510 displayed. It can be seen that the prompt card 1510 of interface 15a1 is used to indicate that the current interface displays the current AI body type, while the prompt card 1510 of interface 15b1 is used to indicate that the current interface displays the predicted AI body type, and in interface 15b1, a sliding bar 1512 can also be included. The sliding bar 1512 can be used to select different target weights to achieve the loading image of the AI body type to be adjusted accordingly according to the selected target weight, so that it can be displayed as a predicted AI body type; in addition, in the sliding bar 1512, the user's current weight can also be indicated by a black dot, so that the user can intuitively determine the comparison between the current weight and the target weight. Another optional implementation method of displaying interface 15b1 can also be that the mobile phone responds to the user operation of the "predicted body type" control included in the prompt card 1510 in interface 15a2 of Figure 15.
可以理解,在图15中的界面15b1中,在AI体型的loading形象的周围,还可以包括用于显示三围数据的标签,例如显示胸围数据的标签1511b,若手机检测到对标签1511b的用户操作,可以切换显示为界面15c。其中,界面15c与界面15b1不同之处在于显示的提示卡片1510不同,可以看到界面15c的提示卡片1510中用于指示当前界面显示的为预测三围,并且在界面15c中,也可以包括滑动横条1513,该滑动横条1513可用于选择不同的目标三围,以实现AI体型的loading形象的三围根据选择的目标三围进行相应调整,从而可以显示为预测三围;另外,在滑动横条1513中,还可以通过黑点指示用户当前三围,以便于用户可以直观地确定当前三围与目标三围的对比;并且,不同的三围可以对应不同的滑动横条1513,例如界面15c中显示的为胸围对应的滑动横条。另一可选的,显示界面15c的实现方式还可以为手机响应于对图15的界面15b2中提示卡片1510包括的“预测三围”控件的用户操作。It can be understood that in interface 15b1 in FIG. 15 , around the loading image of the AI body type, there can also be included a label for displaying the three measurements, such as a label 1511b for displaying the chest measurement data. If the mobile phone detects a user operation on the label 1511b, it can be switched to interface 15c. Wherein, interface 15c is different from interface 15b1 in that the displayed prompt card 1510 is different. It can be seen that the prompt card 1510 of interface 15c is used to indicate that the current interface displays the predicted three measurements, and in interface 15c, there can also be included a sliding bar 1513, which can be used to select different target three measurements, so that the three measurements of the loading image of the AI body type are adjusted accordingly according to the selected target three measurements, so that it can be displayed as the predicted three measurements; in addition, in the sliding bar 1513, the user's current three measurements can also be indicated by a black dot, so that the user can intuitively determine the comparison between the current three measurements and the target three measurements; and different three measurements can correspond to different sliding bars 1513, for example, the sliding bar corresponding to the chest measurement is displayed in interface 15c. Alternatively, the display interface 15c may be implemented by the mobile phone responding to a user operation on a “predicted measurements” control included in the prompt card 1510 in the interface 15b2 of FIG. 15 .
其中,滑动横条1512或滑动横条1513的可滑动范围可以为预先配置的,可以为基于用户的基本身体参数得到的取值范围,例如最小体重和最大体重。 The slidable range of the sliding bar 1512 or the sliding bar 1513 may be pre-configured, and may be a value range obtained based on basic physical parameters of the user, such as a minimum weight and a maximum weight.
场景二、体型测量分析与改进计划的结合。一种可能的场景中,图16为本申请实施例提供的一种体型测量分析方法的界面示意图。基于前述实施例中的介绍内容,本申请实施例得到的体型分析结果中可以包括改进计划。例如,图16中的界面1601为一种体型分析结果的展示界面,在界面1601中包括“获取改进计划”控件1012;其中,控件1012可用于确定更详细的改进计划。示例性的,手机响应于对控件1012的用户操作,显示界面1602;其中,界面1602中包括更详细的改进计划,例如可以包括但不限于以下计划中的一种或组合:“推荐你的减重部位”、“推荐每周运动天数”、“是否需要在计划中添加其他运动类课程”以及“设置训练日提醒时间”,具体计划内容可参阅界面1602所示内容。Scenario 2: Combination of body measurement analysis and improvement plan. In a possible scenario, FIG. 16 is a schematic diagram of an interface of a body measurement analysis method provided in an embodiment of the present application. Based on the introduction in the aforementioned embodiment, the body analysis result obtained in the embodiment of the present application may include an improvement plan. For example, interface 1601 in FIG. 16 is a display interface of a body analysis result, and interface 1601 includes a "get improvement plan" control 1012; wherein control 1012 can be used to determine a more detailed improvement plan. Exemplarily, the mobile phone displays interface 1602 in response to the user operation of control 1012; wherein interface 1602 includes a more detailed improvement plan, for example, it may include but is not limited to one or a combination of the following plans: "recommend your weight loss parts", "recommend weekly exercise days", "whether other sports courses need to be added to the plan" and "set training day reminder time", and the specific plan content can refer to the content shown in interface 1602.
可选的,界面1602中显示的内容可以为手机根据体型分析结果和体型数据库生成的参考改进计划,手机还可以接收用户对任意一项改进计划的修改。以用户修改“推荐你的减重部位”的计划作为示例,手机响应于用户对显示“推荐你的减重部位”的卡片的用户操作,显示界面1603;其中,界面1603用于修改“推荐你的减重部位”计划,例如可以包括人体全身部位中,用户可以通过对某个部位的用户操作,以实现对该部位的关注或取消关注。例如,从界面1602中可以看出,自动生成的计划中关注腹部和背部,在界面1603中,用户可以点击“腹部”控件,以取消关注腹部。最后,手机响应于在界面1603上用于确认修改计划的用户操作之后,显示界面1604;其中,界面1604为最终生成的用户体型改进计划,具体改进计划可参阅界面1604所示,不再赘述。可选的,在界面1604中除了可以展示具体改进计划之外,还可以显示用于指示预测体型分析结果的内容,例如,可以包括当前AI体型的loading形象和预测AI体型的loading形象的对比、预测AI体型数据以及预测结果等内容。Optionally, the content displayed in interface 1602 may be a reference improvement plan generated by the mobile phone based on the body shape analysis results and the body shape database, and the mobile phone may also receive the user's modification of any improvement plan. Taking the user modifying the plan of "recommended weight loss parts" as an example, the mobile phone displays interface 1603 in response to the user's operation on the card displaying "recommended weight loss parts"; wherein interface 1603 is used to modify the plan of "recommended weight loss parts", for example, it may include the whole body parts of the human body, and the user may realize the attention or cancellation of the part by the user operation on a certain part. For example, it can be seen from interface 1602 that the automatically generated plan focuses on the abdomen and back. In interface 1603, the user can click the "abdomen" control to cancel the attention on the abdomen. Finally, the mobile phone displays interface 1604 in response to the user operation on interface 1603 for confirming the modification plan; wherein interface 1604 is the final generated user body shape improvement plan, and the specific improvement plan can be referred to as shown in interface 1604, which will not be repeated. Optionally, in addition to displaying the specific improvement plan, interface 1604 may also display content indicating the predicted body shape analysis results, for example, a comparison between the loading image of the current AI body shape and the loading image of the predicted AI body shape, predicted AI body shape data, and predicted results.
此外,本申请实施例中,除了可以根据如界面1603中的减重部位生成改进计划之后,还可以通过其他因素或结合其他因素生成改进计划,其他因素例如可以为运动类型(包括但不限于减脂、塑形和增肌)。In addition, in the embodiment of the present application, in addition to generating an improvement plan based on the weight loss parts in interface 1603, an improvement plan can also be generated based on other factors or in combination with other factors. Other factors may be, for example, exercise type (including but not limited to fat loss, body shaping, and muscle gain).
另一种可能的场景中,图17为本申请实施例提供的一种体型测量分析方法的界面示意图。本申请提供的方法还可应用于协助确定或调整改进计划的应用场景中。例如,图17中示出的界面1701为用户用于生成改进计划的设置界面,在界面1701中可以包括“直接生成”控件1711和“AI体型分析”控件1712。其中,控件1711用于指示可以基于界面1701的设置直接生成改进计划,控件1712用于指示在生成改进计划的场景中,可以结合界面1701的设置以及AI体型测量分析的结果,得到改进计划。可以理解,通过结合AI体型测量分析,可以提升生成改进计划的准确性。In another possible scenario, FIG17 is a schematic diagram of an interface of a body shape measurement analysis method provided in an embodiment of the present application. The method provided in the present application can also be applied to an application scenario of assisting in determining or adjusting an improvement plan. For example, the interface 1701 shown in FIG17 is a setting interface for a user to generate an improvement plan, and the interface 1701 may include a "directly generate" control 1711 and an "AI body shape analysis" control 1712. Among them, the control 1711 is used to indicate that an improvement plan can be directly generated based on the setting of the interface 1701, and the control 1712 is used to indicate that in the scenario of generating an improvement plan, the setting of the interface 1701 and the results of the AI body shape measurement analysis can be combined to obtain an improvement plan. It can be understood that by combining the AI body shape measurement analysis, the accuracy of generating an improvement plan can be improved.
示例性的,手机响应于对控件1712的用户操作,可以显示用于启动AI体型测量分析的流程的界面,如前述实施例中介绍到的界面62,通过界面62至界面69的AI体型测量分析,可以得到用于显示体型分析结果的界面1601。可以理解,手机响应于在界面1601上对控件1012的用户操作,可以生成改进计划,或者若手机中存储有历史改进计划,可以变更改进计划。其中,生成改进计划的实现过程可参阅图16介绍的内容,在此不再赘述。Exemplarily, in response to the user operation on the control 1712, the mobile phone can display an interface for starting the AI body shape measurement analysis process, such as the interface 62 introduced in the above embodiment. Through the AI body shape measurement analysis of the interface 62 to the interface 69, the interface 1601 for displaying the body shape analysis result can be obtained. It can be understood that in response to the user operation on the control 1012 on the interface 1601, the mobile phone can generate an improvement plan, or if the mobile phone has a historical improvement plan stored, the improvement plan can be changed. Among them, the implementation process of generating the improvement plan can refer to the content introduced in Figure 16, which will not be repeated here.
场景三、设置目标体型。一种可能的场景中,图18为本申请实施例提供的一种体型测量分析方法的界面示意图。如图18中的界面1801所示,在用户通过体重管理界面设置目标体重的场景下,手机响应于对界面1801中包括的“设置目标”控件1810的用户操作,显示界面1802;其中,界面1802用于指示目标体重的设置界面,例如设置界面可以包括但不限于以下内容:体重管理类型(如减重、增重和保持体重)、目标体重数值、预计完成日期。然后,手机响应于在界面1802中用于指示设置完成的用户操作,显示界面1803;其中,界面1803可用于展示根据设置的目标体重生成的体重管理进展,还可以包括用于触发进行AI体型测量分析的卡片610。手机响应于对卡片610的用户操作,可以执行AI体型测量分析流程,流程可参阅前述实施例中介绍的界面62至界面67c所示的内容,在此不再赘述。在此场景下,手机响应于侧面照采集完成的事件,继续显示界面1804;其中,界面1804与前文中界面69的不同之处在于,在目标体重管理的场景下,可以显示当前AI体型的loading形象与预测AI体型的loading形象的对比,以及可以显示为预测AI体型数据、预测结果解读以及预测改进计划。例如,在界面1802中,设置的预计完成日期为10月31日,因此在界面1804中可以包括10月31日的预测AI体型的loading形象、预测AI体型数据、预测结果解读以及预测改进计划。Scenario three, setting target body shape. In a possible scenario, FIG. 18 is a schematic diagram of an interface of a body shape measurement and analysis method provided in an embodiment of the present application. As shown in interface 1801 in FIG. 18, in a scenario where a user sets a target weight through a weight management interface, the mobile phone responds to a user operation on a "set target" control 1810 included in interface 1801, and displays interface 1802; wherein interface 1802 is used to indicate a setting interface for a target weight, for example, the setting interface may include but is not limited to the following: weight management type (such as weight loss, weight gain, and weight maintenance), target weight value, and expected completion date. Then, the mobile phone responds to a user operation in interface 1802 for indicating that the setting is completed, and displays interface 1803; wherein interface 1803 may be used to display the weight management progress generated according to the set target weight, and may also include a card 610 for triggering AI body shape measurement and analysis. In response to a user operation on card 610, the mobile phone may execute an AI body shape measurement and analysis process, and the process may refer to the contents shown in interfaces 62 to 67c introduced in the aforementioned embodiment, which will not be repeated here. In this scenario, the mobile phone responds to the event that the side photo collection is completed and continues to display interface 1804; wherein, the difference between interface 1804 and interface 69 in the previous text is that, in the scenario of target weight management, the comparison between the loading image of the current AI body shape and the loading image of the predicted AI body shape can be displayed, and the predicted AI body shape data, the interpretation of the predicted results, and the predicted improvement plan can be displayed. For example, in interface 1802, the estimated completion date is set to October 31, so the loading image of the predicted AI body shape, the predicted AI body shape data, the interpretation of the predicted results, and the predicted improvement plan on October 31 can be included in interface 1804.
另一种可能的场景中,图19为本申请实施例提供的一种体型测量分析方法的另一界面示意图。基于图18所示场景介绍的设置目标体重的场景,该场景中还可以实现对目标体重的管理。如图19中的界面1901所示,手机可以响应于对界面1901中包括的“管理目标”控件1910的用户操作,显示界面1902。 其中,界面1902用于指示根据目标体重得到的体重管理进展,例如可以把包括但不限于目标时长的进度、累计减重的进度、体重数据的曲线图以及当前AI体型与预测AI体型的对比等。可以理解,不同日期查看体重管理进展,可以看到不同的进度,例如,如界面1903示出的为日期为10月15日的体重管理进展,界面1903相比于界面1902,目标时长、累计减重等进度数据具有相应的更新,以及AI体型的对比可以为手机中存储的最新AI体型与预测AI体型的对比,比如最新AI体型可以为10月15日测量得到的AI体型。因此,通过AI体型的进展跟踪可视化,可以便于用户更加直观地查看体型的变化,从而可以及时地调整当前目标或者设置新目标。In another possible scenario, FIG. 19 is another interface schematic diagram of a body shape measurement and analysis method provided in an embodiment of the present application. Based on the scenario of setting a target weight introduced in the scenario shown in FIG. 18, the target weight can also be managed in this scenario. As shown in interface 1901 in FIG. 19, the mobile phone can display interface 1902 in response to a user operation on a "manage target" control 1910 included in interface 1901. Among them, interface 1902 is used to indicate the progress of weight management obtained according to the target weight, for example, it can include but not be limited to the progress of the target duration, the progress of cumulative weight loss, the curve chart of weight data, and the comparison between the current AI body shape and the predicted AI body shape. It can be understood that by viewing the progress of weight management on different dates, different progress can be seen. For example, as shown in interface 1903, the progress data of weight management dated October 15th is updated accordingly in interface 1903 compared with interface 1902, and the comparison of AI body shape can be the comparison between the latest AI body shape stored in the mobile phone and the predicted AI body shape, for example, the latest AI body shape can be the AI body shape measured on October 15th. Therefore, through the visualization of the progress tracking of AI body shape, it is convenient for users to view the changes in body shape more intuitively, so that they can adjust the current goal or set a new goal in time.
此外,本申请实施例中,参照设置目标体重的场景,还可以设置目标体型参数等,例如可以设置目标腰围、目标胸围、目标臀围等。In addition, in the embodiment of the present application, with reference to the scenario of setting the target weight, target body shape parameters may also be set, for example, a target waist circumference, a target chest circumference, a target hip circumference, etc. may be set.
可以理解,上述介绍的各个场景还可以进行相互结合,本申请实施时并不限定于以上各场景。It can be understood that the various scenarios introduced above can also be combined with each other, and the implementation of this application is not limited to the above scenarios.
通过前述实施例中各场景介绍的内容,基于本申请提供的方法可以提高体型测量的准确度,因此可以生成更精准的体型分析结果,从而可以更贴合用户真实的体型情况。Through the contents introduced in each scenario in the foregoing embodiments, the method provided in this application can improve the accuracy of body shape measurement, thereby generating more accurate body shape analysis results, which can better fit the user's actual body shape.
为便于理解,图20为本申请实施例提供的体型测量分析方法的流程示意图。其是对上述图6至图19所示具体实施例的总结,下文介绍中结合用户界面对本申请实施例的一种可能的交互流程进行说明。For ease of understanding, Figure 20 is a flow chart of the body shape measurement and analysis method provided in an embodiment of the present application. It is a summary of the specific embodiments shown in Figures 6 to 19 above. In the following description, a possible interaction process of the embodiment of the present application is described in conjunction with the user interface.
S2001、手机检测到用户发起体型测量的操作指令。S2001. The mobile phone detects that the user initiates a body measurement operation instruction.
S2002、手机确定是否存有预设期限范围内的用户基本身体参数。若确定不存在,执行S2003’;若确定存在,继续执行S2003。其中,预设期限范围可以为默认配置的、或可以是用户手动设置的,例如可以为30天。示例性的,用户基本身体参数例如可以包括但不限于:身高参数、体重参数等。S2002. The mobile phone determines whether there are basic physical parameters of the user within a preset time limit. If it is determined that there are no basic physical parameters of the user within a preset time limit, S2003' is executed; if it is determined that there are basic physical parameters of the user within a preset time limit, S2003 is continued to be executed. The preset time limit range may be a default configuration, or may be manually set by the user, for example, 30 days. Exemplarily, the basic physical parameters of the user may include, but are not limited to, height parameters, weight parameters, etc.
S2003’、手机引导用户输入各项身体参数,然后执行S2003。S2003’, the mobile phone guides the user to input various body parameters, and then executes S2003.
S2003、手机获取到用户的基本身体参数。S2003. The mobile phone obtains the basic physical parameters of the user.
S2004、手机向用户显示体型测量引导界面,该步骤为可选步骤。S2004. The mobile phone displays a body measurement guidance interface to the user. This step is optional.
S2005、手机确定音量是否大于或等于(≥)预设音量阈值,若是执行S2006,若否执行S2006’。S2005. The mobile phone determines whether the volume is greater than or equal to (≥) a preset volume threshold. If so, execute S2006; if not, execute S2006'.
S2006’、手机进行音量调节到大于等于预设音量阈值,然后执行S2006。S2006', the mobile phone adjusts the volume to a level greater than or equal to a preset volume threshold, and then executes S2006.
S2006、手机进行设备校准。S2006. The mobile phone performs device calibration.
S2007、手机提示进行用户进行身体图像的扫描,得到用户的多张身体图像。该步骤的具体实现过程可以参阅图21所示,图21为本申请实施例提供的一种体型测量的流程示意图,手机进行身体图像的扫描过程可以包括以下流程:S2007, the mobile phone prompts the user to scan the body image, and obtains multiple body images of the user. The specific implementation process of this step can be referred to as shown in FIG21, which is a schematic diagram of a body measurement process provided by an embodiment of the present application. The body image scanning process of the mobile phone may include the following process:
S20071、手机检测到满足预设测量条件,进入拍摄。其中,预设测量条件可以为基于S2006确定设备校准到符合放置条件的设备姿态,则可以自动跳转进入拍摄。S20071. The mobile phone detects that a preset measurement condition is met and enters the shooting mode. The preset measurement condition may be that based on S2006, it is determined that the device is calibrated to a device posture that meets the placement condition, and then the mobile phone automatically jumps to the shooting mode.
S20072、手机检测是否符合正面照拍摄要求。若检测到不符合,执行S20073’;若检测到符合,继续执行S20073。S20072: The mobile phone detects whether it meets the requirements for front-facing photo shooting. If it is detected that it does not meet the requirements, execute S20073'; if it is detected that it meets the requirements, continue to execute S20073.
S20073’、手机判断用户动作偏差,进行校准引导,然后返回执行S20072,以确定引导用户进行站立调整之后是否可以符合正面照拍摄要求。S20073', the mobile phone determines the user's movement deviation, performs calibration guidance, and then returns to execute S20072 to determine whether the user can meet the requirements for frontal photo shooting after guiding the user to make standing adjustments.
S20073、手机检测是否符合侧面照拍摄要求。若检测到不符合,执行S20074’;若检测到符合,继续执行S20074。S20073, the mobile phone detects whether it meets the requirements for side-view photography. If it is detected that it does not meet the requirements, execute S20074'; if it is detected that it meets the requirements, continue to execute S20074.
S20074’、手机判断用户动作偏差,进行校准引导,然后返回执行S20073,以确定引导用户进行站立调整之后是否可以符合侧面照拍摄要求。S20074', the mobile phone determines the user's movement deviation, performs calibration guidance, and then returns to execute S20073 to determine whether the side view shooting requirement can be met after guiding the user to make standing adjustments.
S20074、手机确定识别成功,得到正面照和侧面照。可以理解,手机获取到正面照和侧面照之后,可以继续进行体型分析阶段的处理,以得到用户的体型分析结果。S20074: The mobile phone determines that the recognition is successful and obtains the front and side photos. It can be understood that after the mobile phone obtains the front and side photos, it can continue to process the body shape analysis stage to obtain the body shape analysis result of the user.
继续参照图20的S2008、手机可根据基本身体参数和多张身体图像,生成人体mesh模型。如上述图8所示具体实施例的内容,手机可以根据多张身体图像,一方面通过人像分割网络模型801得到轮廓数据,另一方面通过人体骨骼点检测模型802得到2D骨骼点数据;然后手机可以将基本身体参数、轮廓数据和2D骨骼点数据作为体型参数深度网络模型803的输入,得到体型参数的权重因子;再然后手机可以将体型参数的权重因子输入到SMPL人体模型804中,从而可以输出人体mesh模型。Continuing to refer to S2008 of FIG. 20 , the mobile phone can generate a human mesh model based on basic body parameters and multiple body images. As shown in the specific embodiment of FIG. 8 , the mobile phone can obtain contour data through the portrait segmentation network model 801 based on multiple body images, and obtain 2D bone point data through the human bone point detection model 802; then the mobile phone can use the basic body parameters, contour data and 2D bone point data as inputs to the body parameter deep network model 803 to obtain the weight factors of the body parameters; then the mobile phone can input the weight factors of the body parameters into the SMPL human model 804, so as to output the human mesh model.
S2009、手机基于人体mesh模型,输出体型分析结果。其中,体型分析结果的获取以及显示方式可参阅如上述图9至图19所示的各场景的介绍内容。S2009: The mobile phone outputs the body shape analysis result based on the human body mesh model. The acquisition and display method of the body shape analysis result can refer to the introduction of each scene shown in Figures 9 to 19 above.
示例性的,手机输出体型分析结果的一种可能的实现过程可参阅图22所示,图22为本申请实施例 提供的得到体型分析结果的流程示意图。该流程可以包括以下步骤:For example, a possible implementation process of outputting the body shape analysis result by mobile phone can be seen in FIG. 22 , which is an embodiment of the present application. A schematic diagram of a process for obtaining a body shape analysis result is provided. The process may include the following steps:
S2201、手机计算生成本次AI体型测量分析的体型分析结果。S2201. The mobile phone calculates and generates a body shape analysis result of this AI body shape measurement analysis.
S2202、手机确定本地是否有历史体型测量记录。若确定没有,执行S2203a;若确定有,则继续执行S2203b。S2202: The mobile phone determines whether there is any historical body measurement record locally. If it is determined that there is no historical body measurement record, S2203a is executed; if it is determined that there is, S2203b is continued to be executed.
S2203a、手机生成本次体型分析结果。在此场景下,手机可以显示本次体型测量得到的体型分析结果,例如,假设本次体型测量为9月24日进行的,在界面69中可以显示9月24日得到的体型分析结果。S2203a, the mobile phone generates the current body shape analysis result. In this scenario, the mobile phone can display the body shape analysis result obtained by the current body shape measurement. For example, assuming that the current body shape measurement is performed on September 24, the body shape analysis result obtained on September 24 can be displayed in the interface 69.
S2203b、手机生成本次、及历史体型分析结果。相比于S2203a中介绍的场景,该场景下,手机不仅可以显示本次体型测量得到的体型分析结果,还可以显示历史每次体型测量得到的体型分析结果,例如图9中的界面69所示,用户可以通过滑动横条1010,切换显示每次体型测量得到的体型分析结果。S2203b, the mobile phone generates the current and historical body shape analysis results. Compared with the scenario described in S2203a, in this scenario, the mobile phone can not only display the body shape analysis results obtained from the current body shape measurement, but also display the body shape analysis results obtained from each historical body shape measurement. For example, as shown in interface 69 in FIG9 , the user can slide the horizontal bar 1010 to switch the display of the body shape analysis results obtained from each body shape measurement.
S2204、手机检测到手动校准操作。示例性的,手机校准操作可以为对界面69中包括的控件1011的用户操作,该用户操作例如可以为点击操作、长按操作、手势操作或者语音指令等。S2204: The mobile phone detects a manual calibration operation. For example, the mobile phone calibration operation may be a user operation on the control 1011 included in the interface 69, and the user operation may be, for example, a click operation, a long press operation, a gesture operation, or a voice command.
S2205、手机响应于该手动校准操作,生成新的体型分析结果。示例性的,手机可根据用户手动输入的体型数据,适应性调整AI体型的loading形象、AI体型数据的显示等。S2205: The mobile phone generates a new body shape analysis result in response to the manual calibration operation. For example, the mobile phone can adaptively adjust the loading image of the AI body shape, the display of the AI body shape data, etc. according to the body shape data manually input by the user.
另一示例性的,如图12示出的界面12b,手机得到体型分析结果之后,还可以与身体成分数据进行融合。参阅图23,为本申请实施例提供的显示体型分析结果的流程示意图,可以包括以下流程:In another exemplary embodiment, as shown in interface 12b of FIG12 , after the mobile phone obtains the body shape analysis result, it can also be integrated with the body composition data. Referring to FIG23 , a schematic diagram of the process of displaying the body shape analysis result provided in an embodiment of the present application can include the following process:
S2301、手机获取当前日期的体型分析结果。示例性的,手机在每次进行AI体型测量分析之后,可以存储体型分析结果。可选的,手机响应于用户查看体重管理界面的用户操作,可以调用存储的体型分析结果,以便于进行显示。S2301. The mobile phone obtains the body shape analysis result of the current date. Exemplarily, the mobile phone may store the body shape analysis result after each AI body shape measurement analysis. Optionally, the mobile phone may call the stored body shape analysis result in response to the user operation of viewing the weight management interface for display.
S2302、手机确定当前日期是否有身体成分数据。若确定没有,执行S2303a;若确定有,则继续执行S2303b。S2302: The mobile phone determines whether there is body composition data for the current date. If it is determined that there is no body composition data, S2303a is executed; if it is determined that there is, S2303b is continued.
S2303a、手机呈现本次体型分析结果。在此场景下,手机可以对当前日期的体型分析结果进行直接显示。S2303a. The mobile phone presents the current body shape analysis result. In this scenario, the mobile phone can directly display the body shape analysis result of the current date.
S2303b、手机合并校准身体成分数据和体型分析结果,呈现校准之后的身体成分数据和体型分析结果。具体实施时手机可根据数据类型等信息确定校准方式。例如,对于脂肪率、BMI等身体成分相关的数据,手机可以根据身体成分数据对体型分析结果进行校准。又例如,对于腰臀比、身体形态等体型相关的数据,手机也可以根据体型分析结果对身体成分数据进行校准。S2303b. The mobile phone combines and calibrates the body composition data and the body shape analysis results, and presents the calibrated body composition data and the body shape analysis results. In specific implementation, the mobile phone can determine the calibration method according to information such as the data type. For example, for body composition-related data such as fat percentage and BMI, the mobile phone can calibrate the body shape analysis results according to the body composition data. For another example, for body shape-related data such as waist-to-hip ratio and body shape, the mobile phone can also calibrate the body composition data according to the body shape analysis results.
通过前述实施例中介绍的内容,本申请实施例提供的方法,基于测量的身体图像数据和获取的基本身体参数,采用模型的处理,可以得到人体mesh模型,从而可以分析得到用户体型数据,生成体型分析结果。因此,该方法可以降低用户进行体型测量分析的操作复杂度,而且通过模型处理可以提高体型测量的准确度。Through the content introduced in the above embodiments, the method provided in the embodiments of the present application can obtain a human body mesh model based on the measured body image data and the obtained basic body parameters by using the model processing, so as to analyze and obtain the user's body shape data and generate a body shape analysis result. Therefore, the method can reduce the operation complexity of the user's body shape measurement and analysis, and can improve the accuracy of body shape measurement through model processing.
基于以上实施例,本申请还提供一种电子设备,所述电子设备包括多个功能模块;所述多个功能模块相互作用,实现本申请实施例所描述的各方法中电子设备所执行的功能。所述多个功能模块可以基于软件、硬件或软件和硬件的结合实现,且所述多个功能模块可以基于具体实现进行任意组合或分割。如执行图20所示实施例中电子设备执行的步骤2001至2009。或如执行图21所示实施例中电子设备执行的步骤20071至20074。又如执行图22所示实施例中电子设备执行的步骤2201至2005。又或如执行图23所示实施例中电子设备执行的步骤2301至2303a、或步骤2301至2303b。Based on the above embodiments, the present application also provides an electronic device, which includes multiple functional modules; the multiple functional modules interact with each other to implement the functions performed by the electronic device in each method described in the embodiments of the present application. The multiple functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the multiple functional modules can be arbitrarily combined or divided based on specific implementations. For example, steps 2001 to 2009 performed by the electronic device in the embodiment shown in Figure 20 are executed. Or steps 20071 to 20074 performed by the electronic device in the embodiment shown in Figure 21 are executed. Another example is steps 2201 to 2005 performed by the electronic device in the embodiment shown in Figure 22. Or steps 2301 to 2303a, or steps 2301 to 2303b performed by the electronic device in the embodiment shown in Figure 23 are executed.
基于以上实施例,本申请还提供一种电子设备,该电子设备包括至少一个处理器和至少一个存储器,所述至少一个存储器中存储计算机程序指令,所述电子设备运行时,所述至少一个处理器执行本申请实施例所描述的各方法中电子设备所执行的功能。如执行图20所示实施例中电子设备执行的步骤2001至2009。或如执行图21所示实施例中电子设备执行的步骤20071至20074。又如执行图22所示实施例中电子设备执行的步骤2201至2005。又或如执行图23所示实施例中电子设备执行的步骤2301至2303a、或步骤2301至2303b。Based on the above embodiments, the present application also provides an electronic device, which includes at least one processor and at least one memory, wherein the at least one memory stores computer program instructions, and when the electronic device is running, the at least one processor performs the functions performed by the electronic device in each method described in the embodiments of the present application. For example, steps 2001 to 2009 performed by the electronic device in the embodiment shown in Figure 20 are performed. Or steps 20071 to 20074 performed by the electronic device in the embodiment shown in Figure 21 are performed. For example, steps 2201 to 2005 performed by the electronic device in the embodiment shown in Figure 22 are performed. Or steps 2301 to 2303a, or steps 2301 to 2303b performed by the electronic device in the embodiment shown in Figure 23 are performed.
基于以上实施例,本申请还提供一种计算机程序产品,计算机程序产品包括:计算机程序(也可以称为代码,或指令),当计算机程序被运行时,使得本申请实施例所描述的各方法被执行。Based on the above embodiments, the present application also provides a computer program product, which includes: a computer program (also referred to as code, or instruction), when the computer program is run, the methods described in the embodiments of the present application are executed.
基于以上实施例,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序(也可以称为代码,或指令),当这些代码或指令被计算机执行时,使得所述计算机执行本申请 实施例所描述的各方法。Based on the above embodiments, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program (also referred to as code or instruction). When the code or instruction is executed by a computer, the computer executes the present application. The methods described in the examples.
基于以上实施例,本申请还提供了一种芯片,所述芯片用于读取存储器中存储的计算机程序,实现本申请实施例所描述的各方法。Based on the above embodiments, the present application further provides a chip, which is used to read a computer program stored in a memory to implement the methods described in the embodiments of the present application.
基于以上实施例,本申请提供了一种芯片系统,该芯片系统包括处理器,用于支持计算机装置实现本申请实施例所描述的各方法。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器用于保存该计算机装置必要的程序和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Based on the above embodiments, the present application provides a chip system, which includes a processor for supporting a computer device to implement the methods described in the embodiments of the present application. In a possible design, the chip system also includes a memory, which is used to store the necessary programs and data of the computer device. The chip system can be composed of a chip, or it can include a chip and other discrete devices. It should be understood by those skilled in the art that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
以上实施例中所用,根据上下文,术语“当…时”或“当…后”可以被解释为意思是“如果…”或“在…后”或“响应于确定…”或“响应于检测到…”。类似地,根据上下文,短语“在确定…时”或“如果检测到(所陈述的条件或事件)”可以被解释为意思是“如果确定…”或“响应于确定…”或“在检测到(所陈述的条件或事件)时”或“响应于检测到(所陈述的条件或事件)”。As used in the above embodiments, the term "when..." or "after..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrase "upon determining..." or "if (the stated condition or event) is detected" may be interpreted to mean "if determining..." or "in response to determining..." or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)", depending on the context.
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to the flowchart and/or block diagram of the method, device (system), and computer program product according to the present application. It should be understood that each process and/or box in the flowchart and/or block diagram, as well as the combination of the process and/or box in the flowchart and/or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one process or multiple processes in the flowchart and/or one box or multiple boxes in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的保护范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。 Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the protection scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims (14)

  1. 一种体型测量分析方法,其特征在于,应用于电子设备,所述方法包括:A body shape measurement and analysis method, characterized in that it is applied to an electronic device, the method comprising:
    检测到用户发起体型测量的第一操作指令;Detecting a first operation instruction initiated by a user to measure body shape;
    提示所述用户输入基本身体参数,以及获取所述用户在所述提示下输入的基本身体参数;或者,读取所述用户预先存储的所述基本身体参数;Prompting the user to input basic physical parameters, and obtaining the basic physical parameters input by the user under the prompt; or reading the basic physical parameters pre-stored by the user;
    依次显示用于引导所述用户拍摄身体的各个角度的拍摄界面,并拍摄得到所述用户的身体各个角度的图像;sequentially displaying shooting interfaces for guiding the user to shoot images of various angles of the body, and shooting images of the user's body at various angles;
    根据所述用户的基本身体参数,和所述用户的身体各个角度的图像构造三维3D模型,以及根据所述3D模型得到所述用户的体型分析结果;constructing a three-dimensional 3D model according to the basic body parameters of the user and images of the user's body at various angles, and obtaining a body shape analysis result of the user according to the 3D model;
    显示所述体型分析结果,显示的所述体型分析结果包括所述用户的第一体型图像和各项体型数据。The body shape analysis result is displayed, wherein the displayed body shape analysis result includes a first body shape image and various body shape data of the user.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述用户的基本身体参数,和所述用户的身体各个角度的图像构造3D模型,包括:The method according to claim 1, characterized in that the step of constructing a 3D model based on basic body parameters of the user and images of the user's body at various angles comprises:
    将所述身体各个角度的图像输入到第一模型中进行训练得到所述身体的轮廓数据;以及,将所述身体各个角度的图像输入到第二模型中进行训练得到所述身体的骨骼点数据;Inputting the images of the body at various angles into the first model for training to obtain the contour data of the body; and inputting the images of the body at various angles into the second model for training to obtain the skeleton point data of the body;
    将所述轮廓数据、所述骨骼点数据和所述基本身体参数输入到第三模型中进行训练得到各项体型参数对应的权重因子;Inputting the outline data, the skeleton point data and the basic body parameters into a third model for training to obtain weight factors corresponding to various body shape parameters;
    将所述体型参数的权重因子输入到第四模型中进行训练得到所述3D模型;其中,所述第四模型包括各项参考体型参数,所述各项参考体型参数用于与对应的所述体型参数的权重因子相乘得到所述用户的各项体型参数,所述用户的各项体型参数用于得到所述3D模型。The weight factors of the body shape parameters are input into a fourth model for training to obtain the 3D model; wherein the fourth model includes various reference body shape parameters, and the various reference body shape parameters are used to multiply with the corresponding weight factors of the body shape parameters to obtain various body shape parameters of the user, and the various body shape parameters of the user are used to obtain the 3D model.
  3. 根据权利要求1或2所述的方法,其特征在于,所述依次显示用于引导所述用户拍摄身体的各个角度的拍摄界面之前,所述方法还包括:The method according to claim 1 or 2, characterized in that before sequentially displaying the shooting interface for guiding the user to shoot various angles of the body, the method further comprises:
    显示用于进行设备校准的第一引导界面;所述第一引导界面用于根据预设放置条件引导用户放置所述电子设备;Displaying a first guidance interface for device calibration; the first guidance interface is used to guide the user to place the electronic device according to preset placement conditions;
    检测到在所述第一引导界面中所述电子设备的放置状态满足所述预设放置条件。It is detected that the placement state of the electronic device in the first guide interface meets the preset placement condition.
  4. 根据权利要求3所述的方法,其特征在于,所述第一引导界面显示有第一标识和第二标识,所述第一标识和所述第二标识具有第一相对位置关系;The method according to claim 3, characterized in that the first guide interface displays a first identifier and a second identifier, and the first identifier and the second identifier have a first relative position relationship;
    所述检测到在所述第一引导界面中所述电子设备的放置状态满足所述预设放置条件,包括:The detecting that the placement state of the electronic device in the first guide interface meets the preset placement condition includes:
    在所述第一引导界面上,确定所述第一标识和所述第二标识从具有所述第一相对位置关系变更到具有第二相对位置关系;所述第二相对位置关系用于指示所述电子设备的放置状态满足所述预设放置条件。On the first guide interface, it is determined that the first identifier and the second identifier are changed from having the first relative position relationship to having a second relative position relationship; the second relative position relationship is used to indicate that the placement state of the electronic device meets the preset placement condition.
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述检测到用户发起体型测量的第一操作指令之后,且在所述依次显示用于引导所述用户拍摄身体的各个角度的拍摄界面之前,所述方法还包括:The method according to any one of claims 1 to 4, characterized in that after detecting the first operation instruction of the user initiating body measurement and before sequentially displaying the shooting interface for guiding the user to shoot various angles of the body, the method further comprises:
    显示第二引导界面,所述第二引导界面包括用于引导所述用户拍摄身体的各个角度的步骤说明。A second guide interface is displayed, wherein the second guide interface includes step instructions for guiding the user to photograph various angles of the body.
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述依次显示用于引导所述用户拍摄身体的各个角度的拍摄界面之前,所述方法还包括:The method according to any one of claims 1 to 5, characterized in that before sequentially displaying the shooting interface for guiding the user to shoot various angles of the body, the method further comprises:
    显示用于对所述电子设备进行音量调节的第三引导界面,检测到在所述第三引导界面中显示所述电子设备的音量被调整到大于或等于预设音量值;或者,displaying a third guide interface for adjusting the volume of the electronic device, and detecting that the volume of the electronic device displayed in the third guide interface is adjusted to be greater than or equal to a preset volume value; or,
    确定所述电子设备的音量大于或等于所述预设音量值。Determine whether the volume of the electronic device is greater than or equal to the preset volume value.
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,所述显示所述体型分析结果,包括:显示包括所述体型分析结果的第一界面;其中,所述第一界面中还包括用于切换日期的切换控件;The method according to any one of claims 1 to 6, characterized in that displaying the body shape analysis result comprises: displaying a first interface including the body shape analysis result; wherein the first interface also includes a switching control for switching dates;
    所述方法还包括: The method further comprises:
    响应于在所述第一界面中对所述切换控件的第二操作指令,显示第二界面,所述第二操作指令用于选择指定日期,所述第二界面包括在所述指定日期得到的体型分析结果。In response to a second operation instruction on the switching control in the first interface, a second interface is displayed, the second operation instruction is used to select a specified date, and the second interface includes a body shape analysis result obtained on the specified date.
  8. 根据权利要求7所述的方法,其特征在于,所述第一界面中还包括用于触发手动校准所述体型分析结果的触发控件;The method according to claim 7, characterized in that the first interface further comprises a trigger control for triggering manual calibration of the body shape analysis result;
    所述方法还包括:The method further comprises:
    响应于在所述第一界面中对所述触发控件的第三操作指令,显示第三界面,所述第三界面包括用于对所述体型分析结果进行手动校准的校准控件;In response to a third operation instruction on the trigger control in the first interface, displaying a third interface, wherein the third interface includes a calibration control for manually calibrating the body shape analysis result;
    响应于对所述校准控件的第四操作指令,更新所述第一界面;更新之后的第一界面包括基于所述第四操作指令进行校准后的第一体型图像和至少一项体型数据。In response to a fourth operation instruction on the calibration control, the first interface is updated; the updated first interface includes the first body shape image and at least one body shape data after being calibrated based on the fourth operation instruction.
  9. 根据权利要求7或8所述的方法,其特征在于,所述第一界面中还包括第一体型数据的卡片;The method according to claim 7 or 8, characterized in that the first interface further includes a card of the first body shape data;
    所述方法还包括:The method further comprises:
    响应于对所述第一体型数据的卡片的第五操作指令,显示第四界面,所述第四界面包括与所述第一体型数据相关的预设信息;In response to a fifth operation instruction on the card of the first body shape data, displaying a fourth interface, wherein the fourth interface includes preset information related to the first body shape data;
    其中,所述预设信息为从预设体型数据库中、且基于所述第一体型参数获取的信息;所述第一体型参数为所述各项体型参数中的任意一项体型参数。The preset information is information obtained from a preset body shape database based on the first body shape parameter; the first body shape parameter is any one of the various body shape parameters.
  10. 根据权利要求1至9中任一项所述的方法,其特征在于,所述身体各个角度的图像包括:身体的正面图和身体的侧面图。The method according to any one of claims 1 to 9 is characterized in that the images at various angles of the body include: a front view of the body and a side view of the body.
  11. 根据权利要求1至10中任一项所述的方法,其特征在于,所述体型分析结果还包括第二体型图像,所述第二体型图像为基于预设体型参数得到的。The method according to any one of claims 1 to 10, characterized in that the body shape analysis result also includes a second body shape image, and the second body shape image is obtained based on preset body shape parameters.
  12. 一种电子设备,其特征在于,包括至少一个处理器,所述至少一个处理器与至少一个存储器耦合,所述至少一个处理器用于读取并执行所述至少一个存储器所存储的计算机程序,以使如权利要求1至11中任一项所述的方法被执行。An electronic device, characterized in that it comprises at least one processor, wherein the at least one processor is coupled to at least one memory, and the at least one processor is used to read and execute a computer program stored in the at least one memory so that the method as claimed in any one of claims 1 to 11 is executed.
  13. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当所述指令在计算机上运行时,使得所述计算机执行如权利要求1至11中任一项所述的方法。A computer-readable storage medium, characterized in that instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 11.
  14. 一种包含指令的计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1至11中任一项所述的方法。 A computer program product comprising instructions, characterized in that when the computer program product is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 11.
PCT/CN2023/120169 2022-10-19 2023-09-20 Body shape measurement and analysis method and electronic device WO2024082908A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211282051.9A CN117956058A (en) 2022-10-19 2022-10-19 Body type measurement analysis method and electronic equipment
CN202211282051.9 2022-10-19

Publications (1)

Publication Number Publication Date
WO2024082908A1 true WO2024082908A1 (en) 2024-04-25

Family

ID=90736901

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/120169 WO2024082908A1 (en) 2022-10-19 2023-09-20 Body shape measurement and analysis method and electronic device

Country Status (2)

Country Link
CN (1) CN117956058A (en)
WO (1) WO2024082908A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050101884A1 (en) * 2003-11-07 2005-05-12 Unique Solutions Design Limited Apparatus and method for acquiring and processing data regarding physical attributes of a user
US20090099457A1 (en) * 2006-02-27 2009-04-16 Select Research Limited Health Indicator
CN102178530A (en) * 2011-01-24 2011-09-14 天津大学 Method for automatically measuring human body dimensions on basis of three-dimensional point cloud data
CN105493146A (en) * 2013-05-13 2016-04-13 姆波特有限公司 Devices, frameworks and methodologies for enabling user-driven determination of body size and shape information and utilisation of such information across a networked environment
CN106599597A (en) * 2016-12-22 2017-04-26 深圳Tcl数字技术有限公司 Health management method, health management device, health management system based on TV set and TV set
CN107480458A (en) * 2017-08-23 2017-12-15 合肥龙图腾信息技术有限公司 Fitness program commending system and its method based on stature change identification
CN109727675A (en) * 2018-12-24 2019-05-07 深圳创维-Rgb电子有限公司 A kind of health status detection method, system and television set based on television set
CN109889730A (en) * 2019-04-04 2019-06-14 中科创达股份有限公司 Adjust reminding method, device and the electronic equipment of shooting angle

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050101884A1 (en) * 2003-11-07 2005-05-12 Unique Solutions Design Limited Apparatus and method for acquiring and processing data regarding physical attributes of a user
US20090099457A1 (en) * 2006-02-27 2009-04-16 Select Research Limited Health Indicator
CN102178530A (en) * 2011-01-24 2011-09-14 天津大学 Method for automatically measuring human body dimensions on basis of three-dimensional point cloud data
CN105493146A (en) * 2013-05-13 2016-04-13 姆波特有限公司 Devices, frameworks and methodologies for enabling user-driven determination of body size and shape information and utilisation of such information across a networked environment
CN106599597A (en) * 2016-12-22 2017-04-26 深圳Tcl数字技术有限公司 Health management method, health management device, health management system based on TV set and TV set
CN107480458A (en) * 2017-08-23 2017-12-15 合肥龙图腾信息技术有限公司 Fitness program commending system and its method based on stature change identification
CN109727675A (en) * 2018-12-24 2019-05-07 深圳创维-Rgb电子有限公司 A kind of health status detection method, system and television set based on television set
CN109889730A (en) * 2019-04-04 2019-06-14 中科创达股份有限公司 Adjust reminding method, device and the electronic equipment of shooting angle

Also Published As

Publication number Publication date
CN117956058A (en) 2024-04-30

Similar Documents

Publication Publication Date Title
CN109495688B (en) Photographing preview method of electronic equipment, graphical user interface and electronic equipment
KR102210150B1 (en) Create and edit avatars
CN111078091A (en) Split screen display processing method and device and electronic equipment
CN113382154A (en) Human body image beautifying method based on depth and electronic equipment
CN113364971A (en) Image processing method and device
CN112052897B (en) Multimedia data shooting method, device, terminal, server and storage medium
CN111466112A (en) Image shooting method and electronic equipment
WO2021008589A1 (en) Application running mehod and electronic device
CN110262788A (en) Page configuration information determines method, apparatus, computer equipment and storage medium
CN114466128A (en) Target user focus-following shooting method, electronic device and storage medium
KR20170039379A (en) Electronic device and method for controlling the electronic device thereof
CN107665477A (en) The method of electronic equipment and control electronics
WO2022042275A1 (en) Distance measurement method, apparatus, electronic device, and readable storage medium
CN114444000A (en) Page layout file generation method and device, electronic equipment and readable storage medium
WO2024082908A1 (en) Body shape measurement and analysis method and electronic device
CN114359335A (en) Target tracking method and electronic equipment
WO2023040775A1 (en) Preview method, electronic device, and system
EP4006754A1 (en) Prompting method for fitness training, and electronic device
CN115359156A (en) Audio playing method, device, equipment and storage medium
CN117769696A (en) Display method, electronic device, storage medium, and program product
WO2024125319A1 (en) Virtual character display methods and electronic device
WO2024087980A1 (en) Dial interface display method and electronic device
WO2024109470A1 (en) Spine health risk assessment method and related apparatus
WO2022161003A1 (en) Skin care check-in method and electronic device
WO2023226922A1 (en) Widget management method, electronic device, and computer-readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23878902

Country of ref document: EP

Kind code of ref document: A1