WO2021052016A1 - 一种人体姿态检测方法及电子设备 - Google Patents

一种人体姿态检测方法及电子设备 Download PDF

Info

Publication number
WO2021052016A1
WO2021052016A1 PCT/CN2020/105299 CN2020105299W WO2021052016A1 WO 2021052016 A1 WO2021052016 A1 WO 2021052016A1 CN 2020105299 W CN2020105299 W CN 2020105299W WO 2021052016 A1 WO2021052016 A1 WO 2021052016A1
Authority
WO
WIPO (PCT)
Prior art keywords
posture
electronic device
user
relative
head
Prior art date
Application number
PCT/CN2020/105299
Other languages
English (en)
French (fr)
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 WO2021052016A1 publication Critical patent/WO2021052016A1/zh

Links

Images

Classifications

    • 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
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • 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
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • 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
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • G06V10/757Matching configurations of points or features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/94Hardware or software architectures specially adapted for image or video understanding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • G06V40/171Local features and components; Facial parts ; Occluding parts, e.g. glasses; Geometrical relationships

Definitions

  • This application relates to the field of terminal technology, and in particular to a method for detecting human posture and electronic equipment.
  • the present application provides a human body posture detection method and electronic equipment to provide a method for accurately identifying a user's bad use posture, so as to promptly remind the user to use the electronic equipment healthy.
  • an embodiment of the present application provides a human body posture detection method.
  • the method includes: when the electronic device is in a bright screen state, the electronic device obtains sensor data and image information collected by a front camera; and then according to the sensor data The device posture is determined, and the relative posture of the user's face relative to the electronic device is determined according to the image information; finally, the user's head posture is determined according to the relative posture of the user's face relative to the electronic device and the device posture.
  • the method is used to provide a method for accurately identifying the user's bad use posture, so as to promptly remind the user to use the electronic device healthy and improve the user experience.
  • the electronic device before the electronic device determines the device posture based on the sensor data, it further includes: the electronic device obtains system operation information and user operation information of the electronic device; and then according to the image information and system operation information At least one item of information and user operation information determines that the electronic device is currently in a state of being used by the user.
  • this method can eliminate scenes where the user does not interact with the mobile phone, and improve the accuracy of the result.
  • the electronic device obtains the key feature points of the human face in the image information; then, the key feature points are matched and mapped with the feature points in the preset human head model, and then the key feature points are matched and mapped according to the matching
  • the mapping result determines the relative posture of the face relative to the electronic device.
  • the method uses low-power normally-on devices to collect information, such as picture information acquired by a front camera, normally-on acceleration, and gyroscope sensors to acquire gravitational acceleration information, and can continuously calculate the relative posture of the face.
  • the electronic device calculates the rotation matrix of the face relative to the electronic device in the upright state according to the relative posture of the user's face relative to the electronic device and the device posture; calculates the coordinates of the user's head in the earth according to the rotation matrix
  • the attitude angle in the system, the attitude angle includes the pitch angle, the flip angle and the yaw angle, and is used to indicate the user's head posture.
  • the method can calculate the absolute posture angle of the face with high accuracy, so as to determine whether the user is in a bad posture, and can cover a wide range of bad posture scenes.
  • the electronic device determines that the head posture is a bad posture; and outputs posture adjustment prompt information.
  • This method uses posture adjustment prompt information for real-time reminders, and can also generate health analysis reports, which helps to improve user experience.
  • an embodiment of the present application provides an electronic device, including a sensor, a touch screen, a processor, and a memory.
  • the memory is used to store one or more computer programs; when the one or more computer programs stored in the memory are executed by the processor, the electronic device can implement any one of the possible design methods in any of the foregoing aspects.
  • an embodiment of the present application further provides a device, which includes a module/unit that executes any one of the possible design methods in any of the foregoing aspects.
  • modules/units can be realized by hardware, or by hardware executing corresponding software.
  • an embodiment of the present application also provides a computer-readable storage medium.
  • the computer-readable storage medium includes a computer program.
  • the computer program runs on an electronic device, the electronic device executes any of the above aspects. Any one of the possible design methods.
  • the embodiments of the present application also provide a method that includes a computer program product, which when the computer program product runs on a terminal, causes the electronic device to execute any one of the possible designs in any of the above-mentioned aspects.
  • FIG. 1 is a schematic structural diagram of a mobile phone provided by an embodiment of this application.
  • Figure 2 is a schematic structural diagram of an Android operating system provided by an embodiment of the application.
  • FIG. 3 is a schematic flowchart of a method for detecting human posture according to an embodiment of the application
  • FIG. 4 is a schematic diagram of a detection scenario provided by an embodiment of the application.
  • 5A and 5B are schematic diagrams of a coordinate system conversion method provided by an embodiment of this application.
  • FIG. 5C is a schematic flowchart of a method for determining a device posture according to an embodiment of this application.
  • 6A and 6B are schematic diagrams of a user's face relative to an electronic device according to an embodiment of the application.
  • FIG. 6C is a schematic flowchart of a method for determining a relative posture according to an embodiment of the application.
  • FIG. 7 is a schematic diagram of the principle of head gesture recognition provided by an embodiment of the application.
  • FIG. 8 is a schematic structural diagram of another electronic device provided by an embodiment of the application.
  • references described in this specification to "one embodiment” or “some embodiments”, etc. mean that one or more embodiments of the present application include a specific feature, structure, or characteristic described in conjunction with the embodiment. Therefore, the sentences “in one embodiment”, “in some embodiments”, “in some other embodiments”, “in some other embodiments”, etc. appearing in different places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless it is specifically emphasized otherwise.
  • the terms “including”, “including”, “having” and their variations all mean “including but not limited to”, unless otherwise specifically emphasized.
  • At least one of the embodiments of the present application includes one or more; wherein, multiple refers to greater than or equal to two.
  • words such as “first” and “second” are only used for the purpose of distinguishing description, and cannot be understood as indicating or implying relative importance, nor can it be understood as indicating Or imply the order.
  • the application program (application, app) involved in the embodiments of the present application may be referred to as an application for short, which is a software program that can implement one or more specific functions.
  • multiple applications can be installed in an electronic device, for example, instant messaging applications, video applications, audio applications, image capturing applications, and so on.
  • instant messaging applications for example, may include short message applications, WeChat (WeChat), WhatsApp Messenger, Line, photo sharing (instagram), Kakao Talk, DingTalk, etc.
  • Image shooting applications for example, may include camera applications (system cameras or third-party camera applications).
  • Video applications such as Youtube, Twitter, Douyin, iQiyi, Tencent Video, etc.
  • Audio applications may include Kugou Music, Xiami, QQ Music, and so on.
  • the applications mentioned in the following embodiments may be applications that have been installed when the electronic device is shipped from the factory, or applications that the user downloads from the network or obtains from other electronic devices during the process of using the electronic device.
  • the embodiment of the application provides a method for detecting human body posture, which can be applied to any electronic device, such as mobile phones, tablet computers, wearable devices (for example, watches, bracelets, smart helmets, etc.), vehicle-mounted devices, smart homes, etc.
  • Augmented reality (AR)/virtual reality (VR) devices notebook computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (personal digital assistants, PDAs), etc.
  • the electronic device can recognize the device posture based on sensors such as gyroscope and gravity acceleration.
  • the electronic device can determine the human head based on the face image and device posture taken by the front camera.
  • Posture if the determined posture of the human head is a bad posture, the user is promptly reminded to correct it.
  • This method enhances the intelligence of electronic devices to a certain extent, helps correct users' bad habits, and improves user experience.
  • the following embodiments mainly take a mobile phone as an example for description.
  • Fig. 1 shows a schematic structural diagram of a mobile phone.
  • the mobile phone 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.
  • Antenna 2 mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display Screen 194, subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait.
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller can be the nerve center and command center of the mobile phone. The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that the processor 110 has just used or used cyclically. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the mobile phone, and can also be used to transfer data between the mobile phone and peripheral devices.
  • the charging management module 140 is used to receive charging input from the charger.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
  • the wireless communication function of the mobile phone can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the mobile phone can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed 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 wireless communication solutions including 2G/3G/4G/5G, etc., which are applied to mobile phones.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the wireless communication module 160 can provide applications on mobile phones including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), and global navigation satellite systems ( Global navigation satellite system, GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite systems
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the antenna 1 of the mobile phone is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the mobile phone can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the display screen 194 is used to display the display interface of the application and the like.
  • the display screen 194 includes a display panel.
  • the display panel can use liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the mobile phone may include one or N display screens 194, and N is a positive integer greater than one.
  • the camera 193 is used to capture still images or videos.
  • the camera 193 may include at least one camera, for example, a front camera and a rear camera.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the processor 110 executes various functional applications and data processing of the mobile phone by running instructions stored in the internal memory 121.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, and software codes of at least one application (for example, an iQiyi application, a WeChat application, etc.).
  • the data storage area can store data (such as images, videos, etc.) generated during the use of the mobile phone.
  • 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 magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • UFS universal flash storage
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, so as to expand the storage capacity of the mobile phone.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save pictures, videos and other files in an external memory card.
  • the mobile phone can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and the environment Light sensor 180L, bone conduction sensor 180M, etc.
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • the gyroscope sensor 180B can be used to determine the movement posture of the mobile phone.
  • the angular velocity of the mobile phone around three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the air pressure sensor 180C is used to measure air pressure.
  • the mobile phone calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the mobile phone can use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the mobile phone when the mobile phone is a flip phone, the mobile phone can detect the opening and closing of the flip according to the magnetic sensor 180D. Furthermore, according to the detected opening and closing state of the holster or the opening and closing state of the flip cover, features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the acceleration of the mobile phone in various directions (usually three axes). The magnitude and direction of gravity can be detected when the phone is stationary. It can also be used to identify the posture of electronic devices, and apply to applications such as horizontal and vertical screen switching, pedometers and so on.
  • the mobile phone can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the mobile phone can use the distance sensor 180F to measure the distance to achieve fast focusing.
  • 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 mobile phone emits infrared light through light-emitting diodes. Mobile phones use photodiodes 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 phone.
  • the mobile phone can determine that there is no object near the mobile phone.
  • the mobile phone can use the proximity light sensor 180G to detect that the user holds the mobile phone close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the mobile phone can adaptively adjust the brightness of the display 194 according to the perceived brightness of the ambient light.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the phone is in the pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints. The mobile phone can use the collected fingerprint characteristics to unlock the fingerprint, access the application lock, take photos with the fingerprint, and answer calls with the fingerprint.
  • the temperature sensor 180J is used to detect temperature.
  • the mobile phone uses the temperature detected by the temperature sensor 180J to execute the temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds the threshold, the mobile phone executes to reduce the performance of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection.
  • the mobile phone when the temperature is lower than another threshold, the mobile phone heats the battery 142 to avoid abnormal shutdown of the mobile phone due to low temperature.
  • the mobile phone boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting 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 visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the mobile phone, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
  • the button 190 includes a power-on button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the mobile phone can receive key input and generate key signal input related to the user settings and function control of the mobile phone.
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback. For example, touch operations that act on different applications (such as photographing, audio playback, etc.) can correspond to different vibration feedback effects.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card. The SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the mobile phone.
  • the mobile phone may also include more or less components than those shown in the figure, or combine some components, or split some components, or different The layout of the components.
  • Fig. 2 shows a software structure block diagram of an electronic device provided by an embodiment of the present application.
  • the software structure of an electronic device can be a layered architecture.
  • the software can be divided into several layers, each with a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer (framework, FWK), the Android runtime (Android runtime) and system libraries, and the kernel layer.
  • the application layer can include a series of application packages. As shown in Figure 2, the application layer may include cameras, settings, skin modules, user interfaces (UI), third-party applications, and so on. Among them, three-party applications can include WeChat, QQ, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, etc.
  • UI user interfaces
  • three-party applications can include WeChat, QQ, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, etc.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer can include some predefined functions. As shown in Figure 2, the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, and a notification manager.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display, determine whether there is a status bar, lock the screen, take a screenshot, etc.
  • the content provider is used to store and retrieve data and make these data accessible to applications.
  • the data may include videos, images, audios, phone calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls that display text, controls that display pictures, and so on.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views.
  • a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
  • the phone manager is used to provide the communication function of the electronic device 100. For example, the management of the call status (including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can disappear automatically after a short stay without user interaction.
  • the notification manager is used to notify download completion, message reminders, and so on.
  • the notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a 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, text messages are prompted in the status bar, prompt sounds, electronic devices vibrate, and indicator lights flash.
  • Android runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
  • the application layer and the application framework layer run in a 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 functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules. For example: surface manager (surface manager), media library (media libraries), 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
  • surface manager surface manager
  • media library media libraries
  • 3D graphics processing library for example: OpenGL ES
  • 2D graphics engine for example: SGL
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the 2D graphics engine is a drawing engine for 2D drawing.
  • 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 may include various types of sensors, such as acceleration sensors, gyroscope sensors, touch sensors, etc. involved in the embodiments of the present application.
  • the sensor data can be sent to the system library through the kernel layer.
  • the system library judges the current device posture of the mobile phone according to the sensor data.
  • the system library layer can determine the attitude angle of the mobile phone in the geodetic coordinate system.
  • the image sensor such as the front camera
  • the image data can be sent to the system library through the kernel layer.
  • the system library judges the posture angle of the user's face relative to the mobile phone according to the image data.
  • the mobile phone determines the posture angle of the user's head in the geodetic coordinate system according to the posture angle of the user's face relative to the mobile phone and the device posture angle.
  • an embodiment of the present application provides a human body posture detection method. If the method is applicable to the foregoing electronic device, as shown in FIG. 3. The method includes the following steps.
  • Step 301 When the electronic device is in the on-screen state, the electronic device obtains sensor data and image information collected by the front camera.
  • the sensor data can be sensor data such as a gyroscope and gravitational acceleration.
  • Step 302 The electronic device determines the device posture according to the sensor data, and determines the relative posture of the user's face relative to the electronic device according to the image information collected by the front camera.
  • the electronic device can use the data collected by a gyroscope and a gravity accelerometer to calculate the device attitude angle of the electronic device.
  • the device attitude angle refers to the electronic device's The attitude angle of the device in the geodetic coordinate system.
  • the electronic device can collect the user's face image through the front camera. In this way, the electronic device can obtain key feature points from the face image, and then determine the user's face relative to the electronic device based on the key feature points. Relative posture. In another possible embodiment, the electronic device can use the distance between the human face and the electronic device to solve the camera external parameters, and then determine the user’s face relative to the camera external parameters and key feature points in the face image. The relative posture of the electronic device.
  • the distance between the human face and the electronic device can be determined based on the infrared light emitted by the infrared sensor to determine the distance between the human face and the electronic device, or it can be determined based on the ultrasonic waves emitted by the ultrasonic sensor to determine the distance between the human face and the electronic device.
  • the distance between can also be obtained by using the focal length information in the face image. The embodiment of the present application does not limit this.
  • Step 303 The electronic device determines the user's head posture according to the relative posture of the user's face relative to the electronic device and the device posture.
  • the electronic device can also determine that the electronic device is currently operating according to at least one of the images captured by the front camera, system operation information, and user operation information. Used by users.
  • the system operation information of the mobile phone shows that the WeChat application is currently running, and the mobile phone receives the user's input voice operation, so it can be determined that the mobile phone is currently being used by the user.
  • the user's line of sight information is detected based on the image taken by the front camera of the mobile phone (for example, it is detected that the eyes are looking forward), it can be determined that the mobile phone is currently being used by the user.
  • the electronic device can determine the posture angle of the face relative to the electronic device based on the image information collected by the front camera, and combine the posture angle and the eye angle of the face in the image to determine that the user is looking at the mobile phone screen. Therefore, it can be determined that the mobile phone is currently being used by the user.
  • the user's head posture can also be determined according to the device posture.
  • the electronic device After performing step 303, if it is determined that the head posture is a bad posture, the electronic device outputs posture adjustment prompt information.
  • the electronic device determines that the posture of the human head is a bad posture of the human body, it is necessary to further determine whether the portrait collected by the front camera is the face of a child, if it is a child
  • the electronic device sends out posture adjustment prompt information to the user.
  • the specific manner of outputting the posture adjustment prompt information is not limited in the embodiment of the present application.
  • it can be voice output, vibration output, indicator light output, or specific sound output (such as buzzer, specific music, long beep, etc.).
  • the embodiment of the present application also does not limit the number of times of outputting the posture adjustment prompt information, for example, it may be a single output, or it may be output only periodically.
  • the output form is voice output
  • this implementation does not limit the specific content of the voice output. As long as it can serve as a reminder to the user to correct the posture.
  • the voice content may include the fatigue degree of the user's cervical spine, or may include suggested posture adjustment methods on this basis, and so on.
  • the electronic device may input to the user a pop-up box including a reminder later and no more reminder, and the user may choose to remind later or no longer remind. If the user chooses to remind later for multiple times, and the electronic device detects that the user is continuously in a bad posture, a blocking reminder (for example, a full-screen reminder) is performed.
  • a blocking reminder for example, a full-screen reminder
  • the electronic device can record the time the user uses the mobile phone in the background and the various head posture angles during use.
  • the user can also generate a health analysis report, which is generated by the electronic device based on the detected head posture angle at each moment.
  • the report includes the relationship between head posture and human health. relationship.
  • the electronic device can report periodically according to the time set by the user. For example, daily, weekly, and monthly, the report can include the head posture distribution map during the period set by the user, such as the proportion of normal posture time, the proportion of bad posture, health assessment, possible health effects and targeted recommendations Wait.
  • the electronic device can estimate the user’s cervical spine pressure in this posture.
  • the electronic device Give the user a pop-up reminder, such as informing the bad posture and the corresponding correction angle.
  • the electronic device determines whether the user has a bad posture such as a tilted head or a probe according to the posture angle of the user's head, and the severity of the impact on health. Studies have shown that when the human body is upright, the weight of the cervical spine is the weight of the head, but when the head is tilted, the force of the cervical spine will change accordingly.
  • the extra weight on the cervical spine comes from the tension generated by the muscles.
  • the pressure on the cervical spine is twice that of the vertical.
  • the angle reaches 45 degrees it is 3.7 times that of vertical.
  • the pressure on the cervical spine reaches 4.5 times the vertical load. Therefore, you can refer to the result to set each preset angle interval, and the upper and lower limits of the cervical spine pressure in each preset angle interval.
  • sensors such as gyroscopes and gravitational acceleration are low-power normally-on devices, which have a small impact on the power consumption of the device.
  • the front camera can ask the user whether the user agrees to be normally-on when the user chooses to agree.
  • the front camera is a normally-on device, so it can collect image information in real time, continuously obtain data information, and then determine the head posture in real time.
  • the above-mentioned method provided by the embodiments of the present application can accurately calculate the head posture, and then accurately determine whether the user is in a bad posture.
  • This method can cover various usage scenarios, can remind and generate a health analysis report in real time, which is helpful for improvement. user experience.
  • the data collected by the built-in sensor of the mobile phone needs to be converted from the mobile phone coordinate system to the earth reference coordinate system.
  • the reason is: Although a variety of built-in sensors such as acceleration sensors, gyroscopes, magnetometers, and direction sensors can perceive different movements, directions and external environments, these data are based on the phone coordinate system.
  • the collected data will change when the position or direction of the camera is changed.
  • due to the personalization of mobile phone users' habits, such as the different placement of the mobile phone, whether it is held in the hand, or in the trouser pocket or handbag, will directly affect the recognition result of the device status.
  • the converted sensor data has a clearer physical meaning, which helps to accurately identify the device status of the electronic device.
  • a way to define the geodetic coordinate system is as follows: the positive x-axis is tangent to the ground where the mobile phone is currently located, pointing to the east; the positive y-axis is also tangent to the ground and pointing to the magnetic north pole, the x-axis and the z-axis The plane is the horizontal plane; the positive direction of the z-axis is perpendicular to the horizontal plane and points to the sky.
  • the determination of the mobile phone coordinate system is related to the mobile phone screen.
  • One way to define the mobile phone coordinate system is as follows: the positive direction of the X axis is the direction pointed to the right by the center of the mobile phone screen plane, and the opposite is the negative direction of the X axis ;
  • the positive direction of the Y-axis is the direction pointed upward from the center of the screen plane of the mobile phone, perpendicular to the X-axis, and vice versa, the negative direction of the Y-axis;
  • the positive direction of the Z-axis is perpendicular to the plane of the mobile phone screen from the center of the screen plane to the positive Refers to the direction, and vice versa is the negative direction of the Z axis.
  • the embodiment of the present application provides a conversion formula for converting a mobile phone coordinate system to a geodetic reference coordinate system, as shown in formula 1.
  • X/Y/Z is the sensor data of the mobile phone coordinate system
  • R represents the rotation matrix
  • x, y, and z are the sensor data of the geodetic coordinate system.
  • R is composed of three basic rotation matrices, and R is shown in formula 2.
  • the variables a, p, and r respectively represent azimuth, pitch and roll, azimuth represents the angle between the magnetic north pole and the Y axis of the mobile phone coordinate system; pitch represents the angle between the X axis of the mobile phone coordinate system and the horizontal plane, and roll represents the Y axis of the mobile phone coordinate system. The angle with the horizontal plane.
  • the mobile phone can determine the state of the mobile phone in the geodetic coordinate system according to the sensor data of the converted geodetic coordinate system, for example, the state of the vertical screen, the vertical horizontal screen, or there is a certain The tilt angle of the vertical screen or horizontal screen state.
  • the embodiment of the present application uses the converted gyroscope sensor and gravity sensor data to determine the device attitude angle of the mobile phone in the geodetic coordinate system, and the device attitude angle can be used to characterize the device attitude of the mobile phone.
  • the device attitude angle refers to the angle required to rotate the three coordinate axes of the mobile phone coordinate system to be consistent with the geodetic coordinate system.
  • the gravity accelerometer of the mobile phone collects gravity acceleration data (components along three coordinate axes in the current mobile phone coordinate system).
  • the rotation angle and the rotation matrix of the current device state relative to the horizontally placed state of the mobile phone can be calculated directly through the components of the three axes.
  • the specific process of the device posture calculation is as follows: the first step is to obtain the gravitational acceleration data a from the accelerometer in real time; then the tail data of the queue with length N is pulled out of the queue, and the acceleration value is saved to the head of the queue; The second step is to calculate the filtered acceleration value a'according to the rules of the smoothing filter.
  • the processor of the mobile phone calculates the attitude angle of the device according to the acceleration a′, namely the pitch angle and the flip angle.
  • the sliding average filtering method belongs to the finite impulse response filter in the digital filter.
  • the principle is: Regard N measurement data as a queue, the length of the queue is fixed to N, every time a new sampling is performed, the sampling result is placed at the end of the queue, and the original data at the head of the queue is removed, so that the queue is always in the queue. There are N "newest" data.
  • N the number of the queue is fixed to N, every time a new sampling is performed, the sampling result is placed at the end of the queue, and the original data at the head of the queue is removed, so that the queue is always in the queue.
  • N "newest" data There are N "newest" data.
  • an improved sliding average filtering method is adopted to increase the removal of the data with the largest and smallest modulus among the N pieces of data, which can improve the simulation effect of noise.
  • the improved filtering formula is formula 3:
  • X k represents the k-th data of the current sequence
  • MAX is the data with the largest modulus among the N data
  • MIN is the data with the smallest modulus among the N data.
  • the front face angle of the user's eyes is predefined as a reference of 0 degrees.
  • the attitude angle of the face relative to the mobile phone refers to the rotation angle of the face in the three coordinate axes of the camera coordinate system.
  • the positive direction of the z-axis is perpendicular to the face pointing to the front of the user
  • the positive direction of the y-axis is vertical upwards
  • the positive direction of the x-axis is horizontal to the left (the user's left)
  • the xyz three axes constitute the right hand Spiral relationship.
  • Fig. 6B shows the attitude angles of the three faces relative to the mobile phone, namely the pitch angle (Pitch), the roll angle (Roll) and the yaw angle (Yaw).
  • the specific calculation method of the pose angle of the face relative to the mobile phone can be: the front camera inputs the collected image to the face detection module of the mobile phone, and the face detection module performs key to the face part in the image Point extraction, and then match the coordinates of the key points with the point coordinates of the human head 3D model, and calculate the rotation angle of the face relative to the camera and the corresponding rotation matrix through the non-iterative PnP (efficient perspective-n-point, EPnP) algorithm.
  • PnP coefficient perspective-n-point, EPnP
  • the electronic device can calculate the posture angle of the face when the face is upright relative to the human body in the geodetic coordinate system, that is, the head posture.
  • the inertial measurement unit (Honeywell Inertial Measurement Units, IMU) is fixed on the camera, the target is the face, which can be considered as rigid motion, O G x G y G z G is the IMU coordinate system, O W x W y W z W is a target coordinate system, O N x N y N z N of the reference coordinate system, O B x B y B z B as the target coordinate system, O V x V y V z V of the camera coordinate system.
  • the reference coordinate system coincides with the target coordinate system, and at a certain moment the target rotates by a certain angle, and the reference coordinate system separates from the target coordinate system.
  • the mobile phone rotation matrix On the basis of obtaining the mobile phone rotation matrix, sequentially calculate the posture angle and rotation matrix of the face in the mobile phone coordinate system, the rotation matrix of the mobile phone coordinate system relative to the mobile phone coordinate system, the rotation matrix of the current posture of the mobile phone relative to the horizontal state, and The rotation matrix of the horizontal position relative to the mobile phone upright shooting state.
  • the rotation matrix from the target coordinate system O W x W y W z W to the camera coordinate system O V x V y V z V can be solved by the POSIT or PnP algorithm. Since the pose relationship between the target coordinate system O W x W y W z W and the target coordinate system O B x B y B z B is constant during the attitude measurement process, the reference coordinate system O N x N y at t k The rotation matrix of the target coordinate system from N z N to O B x B y B z B can be expressed as
  • the corresponding flip angle, pitch angle and yaw angle are the three Euler attitude angles of the target coordinate system rotated from the reference coordinate system at time t k.
  • the camera posture is not static and the camera coordinate system changes relative to the reference coordinate system, it is necessary to add the rotation matrix from the reference coordinate system to the camera coordinate system.
  • the rotation matrix from the t k reference coordinate system is obtained according to the terminal posture detection. So the absolute attitude rotation matrix
  • the solution method is as follows:
  • the posture angle of the face relative to the face in the upright state of the human body is finally calculated, that is, the head posture.
  • the principle of absolute face pose recognition is essentially the mapping of the coordinate system and the transformation between the rotation matrices of each coordinate system.
  • the pitch angle and the flip angle of the human head can be obtained. According to the angle values of the pitch angle and the flip angle, it can be determined that the current user posture is lying down, lying on the side or other postures.
  • the embodiment of the present application can accurately identify the user's bad use posture through the above method, so as to promptly remind the user to use the electronic device in a healthy manner, which is beneficial to improve the user's use experience.
  • the embodiments of the present application disclose an electronic device.
  • the electronic device may include a touch screen 801, where the touch screen 801 includes a touch panel 807 and a display screen 808
  • One or more processors 802; memory 803; one or more application programs (not shown); and one or more computer programs 804, the sensor 805, and the above-mentioned devices may be connected through one or more communication buses 806.
  • the one or more computer programs 804 are stored in the aforementioned memory 803 and configured to be executed by the one or more processors 802, and the one or more computer programs 804 include instructions, and the aforementioned instructions can be used for execution as shown in FIG. 3 Corresponding steps in the embodiment.
  • the embodiment of the present application also provides a computer storage medium, the computer storage medium stores a computer instruction, when the computer instruction runs on the electronic device, the electronic device executes the above-mentioned related method steps to realize the human body posture detection in the above-mentioned embodiment method.
  • the embodiment of the present application also provides a computer program product.
  • the computer program product runs on a computer, the computer is caused to execute the above-mentioned related steps, so as to realize the human body posture detection method in the above-mentioned embodiment.
  • the embodiments of the present application also provide a device.
  • the device may specifically be a chip, component or module.
  • the device may include a processor and a memory connected to each other.
  • the memory is used to store computer execution instructions.
  • the processor can execute the computer-executable instructions stored in the memory, so that the chip executes the human body posture detection method of the touch screen in the foregoing method embodiments.
  • the electronic devices, computer storage media, computer program products, or chips provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding methods provided above. The beneficial effects of the method are not repeated here.
  • the disclosed device and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of modules or units is only a logical function division.
  • there may be other division methods for example, multiple units or components may be combined or It can be integrated into another device, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product, and the software product is stored in a storage medium. It includes several instructions to make a device (may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods in the various embodiments of the present application.
  • the foregoing storage media include: U disk, mobile hard disk, read only memory (read only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • Evolutionary Computation (AREA)
  • Databases & Information Systems (AREA)
  • Artificial Intelligence (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例提供一种人体姿态检测方法及电子设备,该方法应用于电子设备,该方法用以提供一种准确地识别用户的不良使用姿态,以便于及时地提醒用户健康使用电子设备,提升用户体验。该方法包括:在电子设备处于亮屏状态下,电子设备获取传感器数据和前置摄像头采集的图像信息;然后根据传感器数据确定设备姿态,以及根据图像信息确定用户人脸相对于电子设备的相对姿态;最终根据用户人脸相对于电子设备的相对姿态和设备姿态,确定用户的头部姿态。

Description

一种人体姿态检测方法及电子设备
相关申请的交叉引用
本申请要求在2019年09月18日提交中国专利局、申请号为201910883512.X、申请名称为“一种人体姿态检测方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术领域,尤其涉及一种人体姿态检测方法及电子设备。
背景技术
随着电子设备的不断发展,越来越多具有显示屏的电子设备被广泛应用于人们的日常生活和工作中,如手机等。且不难发现,低头操作手机成了很多人的习惯,用户在享受手机带来的便利的同时,身体也在受到影响。例如,由于长时间低头,用户颈椎承担着较大的压力,长此以往容易引发颈椎病等问题。为此,亟需一种可以方案,可以准确识别用户的不良使用姿态,以便于及时提醒用户健康使用电子设备。
发明内容
本申请提供一种人体姿态检测方法及电子设备,用以提供一种准确地识别用户的不良使用姿态,以便于及时地提醒用户健康使用电子设备。
第一方面,本申请实施例提供了一种人体姿态检测方法,该方法包括:在电子设备处于亮屏状态下,电子设备获取传感器数据和前置摄像头采集的图像信息;然后根据所述传感器数据确定设备姿态,以及根据所述图像信息确定用户人脸相对于电子设备的相对姿态;最终根据所述用户人脸相对于电子设备的相对姿态和设备姿态,确定用户的头部姿态。
本申请实施例中,该方法用以提供一种准确地识别用户的不良使用姿态,以便于及时地提醒用户健康使用电子设备,提升用户体验。
在一种可能的实现中,电子设备根据所述传感器数据确定设备姿态之前,还包括:电子设备获取所述电子设备的系统运行信息和用户操作信息;然后根据所述图像信息,以及系统运行信息和用户操作信息中的至少一项信息,确定所述电子设备当前处于被用户使用的状态。
本申请实施例中,该方法可以排除掉用户与手机没有交互的场景,提升结果的准确性。
在一种可能的实现中,电子设备获取所述图像信息中人脸部分的关键特征点;然后将所述关键特征点与预设的人体头部模型中的特征点进行匹配映射,并根据匹配映射结果确定人脸相对于电子设备的相对姿态。
本申请实施例中,该方法利用低功耗的常开器件采集信息,例如前置摄像头获取的图片信息,常开的加速度、陀螺仪传感器获取重力加速度信息,可以持续计算出人脸相对姿态。
在一种可能的实现中,电子设备根据用户人脸相对于电子设备的相对姿态和设备姿态, 计算人脸相对于处于直立状态的电子设备的旋转矩阵;根据旋转矩阵计算用户头部在大地坐标系中的姿态角,所述姿态角包括俯仰角、翻转角和偏航角,用于指示用户的头部姿态。
本申请实施例中,该方法能够高精度地计算人脸绝对姿态角,以便于判断用户是否处于不良姿态,可以覆盖广泛的不良姿态场景。
在一种可能的实现中,当所述头部姿态满足设定条件时,电子设备确定所述头部姿态为不良体态;输出姿态调整提示信息。该方法利用姿态调整提示信息进行实时提醒,以及还可以生成健康分析报告,有助于提升用户体验。
第二方面,本申请实施例提供一种电子设备,包括传感器、触摸屏、处理器和存储器。其中,存储器用于存储一个或多个计算机程序;当存储器存储的一个或多个计算机程序被处理器执行时,使得该电子设备能够实现上述任一方面的任意一种可能的设计的方法。
第三方面,本申请实施例还提供一种装置,该装置包括执行上述任一方面的任意一种可能的设计的方法的模块/单元。这些模块/单元可以通过硬件实现,也可以通过硬件执行相应的软件实现。
第四方面,本申请实施例中还提供一种计算机可读存储介质,所述计算机可读存储介质包括计算机程序,当计算机程序在电子设备上运行时,使得所述电子设备执行上述任一方面的任意一种可能的设计的方法。
第五方面,本申请实施例还提供一种包含计算机程序产品,当所述计算机程序产品在终端上运行时,使得所述电子设备执行上述任一方面的任意一种可能的设计的方法。
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。
附图说明
图1为本申请实施例提供的一种手机的结构示意图;
图2为本申请实施例提供的安卓操作系统结构示意图;
图3为本申请实施例提供的一种人体姿态检测方法流程示意图;
图4为本申请实施例提供的一种检测场景示意图;
图5A和图5B为本申请实施例提供的一种坐标系转换方法示意图;
图5C为本申请实施例提供的一种设备姿态确定方法流程示意图;
图6A和图6B为本申请实施例提供的一种用户人脸相对于电子设备的示意图;
图6C为本申请实施例提供的一种确定相对姿态的方法流程示意图;
图7为本申请实施例提供的一种头部姿势识别的原理示意图;
图8为本申请实施例提供的另一种电子设备的结构示意图。
具体实施方式
下面将结合本申请以下实施例中的附图,对本申请实施例中的技术方案进行详尽描述。
以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请实施例中,“一个或多个”是指一个、两个或两个以上;“和/或”,描述关联对象的关联关系,表示可以存 在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。
在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
以下,先对本申请实施例中涉及的部分用语进行解释说明,以便于本领域技术人员容易理解。
本申请实施例涉及的至少一个,包括一个或者多个;其中,多个是指大于或者等于两个。另外,需要理解的是,在本申请的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。
本申请实施例涉及的应用程序(application,app),可以简称应用,为能够实现某项或多项特定功能的软件程序。通常,电子设备中可以安装多个应用,例如,即时通讯类应用、视频类应用、音频类应用、图像拍摄类应用等等。其中,即时通信类应用,例如可以包括短信应用、微信(WeChat)、WhatsApp Messenger、连我(Line)、照片分享(instagram)、Kakao Talk、钉钉等。图像拍摄类应用,例如可以包括相机应用(系统相机或第三方相机应用)。视频类应用,例如可以包括Youtube、Twitter、抖音、爱奇艺,腾讯视频等等。音频类应用,例如可以包括酷狗音乐、虾米、QQ音乐等等。以下实施例中提到的应用,可以是电子设备出厂时已安装的应用,也可以是用户在使用电子设备的过程中从网络下载或其他电子设备获取的应用。
本申请实施例提供了一种人体姿态检测方法,该方法可以适用于任何电子设备,诸如手机、平板电脑、可穿戴设备(例如,手表、手环、智能头盔等)、车载设备、智能家居、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等。本申请实施例提供的人体姿态检测方法中,电子设备可以根据陀螺仪和重力加速度等传感器识别出设备姿态,另外,电子设备根据前摄像头所拍摄的人脸图像和设备姿态,可以确定人体头部姿态,若确定出来的人体头部姿态为不良人体姿态,则及时提醒用户进行矫正。该方法一定程度上增强了电子设备的智能化程度,有助于纠正用户的不良使用习惯,提升了用户体验。以下实施例主要以手机为例进行描述。
示例性的,图1示出了手机的结构示意图。
如图1所示,手机可以包括处理器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等。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器 (application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是手机的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为手机充电,也可以用于手机与外围设备之间传输数据。充电管理模块140用于从充电器接收充电输入。电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。
手机的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。天线1和天线2用于发射和接收电磁波信号。手机中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在手机上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
无线通信模块160可以提供应用在手机上的包括无线局域网(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转为电磁波辐射出去。
在一些实施例中,手机的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得手机可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA), 宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
显示屏194用于显示应用的显示界面等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,手机可以包括1个或N个显示屏194,N为大于1的正整数。
摄像头193用于捕获静态图像或视频。在一些实施例中,摄像头193可以包括至少一个摄像头,例如一个前置摄像头和一个后置摄像头。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行手机的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,以及至少一个应用程序(例如爱奇艺应用,微信应用等)的软件代码等。存储数据区可存储手机使用过程中所产生的数据(例如图像、视频等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将图片,视频等文件保存在外部存储卡中。
手机可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
其中,传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。陀螺仪传感器180B可以用于确定手机的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定手机围绕三个轴(即,x,y和z轴)的角速度。
陀螺仪传感器180B可以用于拍摄防抖。气压传感器180C用于测量气压。在一些实施例中,手机通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。磁传感器180D包括霍尔传感器。手机可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当手机是翻盖机时,手机可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。加速度传感器180E 可检测手机在各个方向上(一般为三轴)加速度的大小。当手机静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。手机可以通过红外或激光测量距离。在一些实施例中,拍摄场景,手机可以利用距离传感器180F测距以实现快速对焦。接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。手机通过发光二极管向外发射红外光。手机使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定手机附近有物体。当检测到不充分的反射光时,手机可以确定手机附近没有物体。手机可以利用接近光传感器180G检测用户手持手机贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。手机可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测手机是否在口袋里,以防误触。指纹传感器180H用于采集指纹。手机可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,手机利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,手机执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,手机对电池142加热,以避免低温导致手机异常关机。在其他一些实施例中,当温度低于又一阈值时,手机对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于手机的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。手机可以接收按键输入,产生与手机的用户设置以及功能控制有关的键信号输入。马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现与手机的接触和分离。
可以理解的是,图1所示的部件并不构成对手机的具体限定,手机还可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。
图2示出了本申请实施例提供的电子设备的软件结构框图。如图2所示,电子设备的软件结构可以是分层架构,例如可以将软件分成若干个层,每一层都有清晰的角色和分工。 层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层(framework,FWK),安卓运行时(Android runtime)和系统库,以及内核层。
应用程序层可以包括一系列应用程序包。如图2所示,应用程序层可以包括相机、设置、皮肤模块、用户界面(user interface,UI)、三方应用程序等。其中,三方应用程序可以包括微信、QQ、图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层可以包括一些预先定义的函数。如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
Android runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
硬件层可以包括各类传感器,例如本申请实施例中涉及的加速度传感器、陀螺仪传感器、触摸传感器等。
下面结合本申请实施例的人体姿态检测方法,示例性说明手机的软件以及硬件的工作流程。
作为一种示例,硬件层中的传感器(例如重力传感器、陀螺仪和加速度传感器)采集到传感器数据后,可以通过内核层将传感器数据发送至系统库。系统库根据所述传感器数据判断手机当前的设备姿态。在一些实施例中,系统库层可以确定手机在大地坐标系中的姿态角。另外,硬件层中的图像传感器(例如前置摄像头)采集到图像数据后,可以通过内核层将图像数据发送至系统库。系统库根据所述图像数据判断用户人脸相对手机的姿态角,最终,手机根据用户人脸相对手机的姿态角和设备姿态角,确定用户头部在大地坐标系中的姿态角。
基于上述电子设备结构,本申请实施例提供一种人体姿态检测方法,如该方法适用于上述电子设备,如图3所示。该方法包括如下步骤。
步骤301,在电子设备处于亮屏状态下,电子设备获取传感器数据和前置摄像头采集的图像信息。
其中,传感器数据可以是陀螺仪、重力加速度等传感器数据。
步骤302,电子设备根据传感器数据确定设备姿态,以及根据前置摄像头采集的图像信息确定用户人脸相对于电子设备的相对姿态。
具体来说,在电子设备处于静止或低速率匀速直线运动状态下,电子设备可以采用陀螺仪和重力加速度计所采集的数据,计算电子设备的设备姿态角,设备姿态角指的是电子设备在大地坐标系中的设备姿态角。
如图4所示,电子设备通过前置摄像头可以采集用户的人脸图像,这样,电子设备就可以从人脸图像中获取关键特征点,继而根据关键特征点确定用户人脸相对于电子设备的相对姿态。在另一种可能的实施例中,电子设备可以利用人脸与电子设备之间的距离求解相机外参,然后根据该相机外参和人脸图像中的关键特征点,确定用户人脸相对于电子设备的相对姿态。需要说明的是,人脸与电子设备之间的距离可以是根据红外线传感器发射的红外光确定人脸和电子设备之间的距离,或者可以是根据超声波传感器发射的超声波确定人脸和电子设备之间的距离。除此之外,还可以利用人脸图像中的焦距信息求得。本申请实施例对此并不作限定。
步骤303,电子设备根据用户人脸相对于电子设备的相对姿态和设备姿态,确定用户的头部姿态。
需要说明的是,在电子设备获取传感器数据和前置摄像头采集的图像信息之前,电子设备还可以根据前摄像头拍摄图像、系统运行信息和用户操作信息中的至少一项信息,确定电子设备当前正在被用户使用。例如,手机的系统运行信息显示当前正在运行微信应用,且手机接收到用户的输入语音操作,因此可以确定手机当前正在被用户使用。再比如,若根据手机前摄像头拍摄的图像,检测到用户的视线信息(例如检测到眼睛在注视前方),则可以确定手机当前正在被用户使用。其它可能的实现中,电子设备根据前置摄像头采集的图像信息可以确定人脸相对于电子设备的姿态角,结合姿态角和图像中的人脸眼球的视 线角度,可以确定用户在注视手机屏幕,因此可以确定手机当前正在被用户使用。
在一种可能的实现中,当前置摄像头检测不到人脸图像时,也可以根据设备姿态确定用户的头部姿态。
在执行完步骤303之后,若确定头部姿态为不良体态,电子设备输出姿态调整提示信息。
需要说明的是,在电子设备的儿童护眼模式被打开的场景下,若电子设备确定人体头部姿态为不良人体姿态,需要进一步判断前置摄像头采集的人像是否为儿童的人脸,若是儿童的人脸,电子设备才向用户发出姿态调整提示信息。
需要说明的是,本申请实施例中并不限定输出姿态调整提示信息的具体方式。例如可以是语音输出,也可以是振动输出,也可以是指示灯输出,也可以是特定声音输出(如蜂鸣,特定音乐,长鸣等)。当然也可以是它们的任意组合。本申请实施例中也不限定输出姿态调整提示信息的次数,例如可以是单次输出,也可以是只要周期输出。当输出形式是语音输出时,本实施并不限定语音输出的具体内容。只要可以起到提醒用户纠正姿态即可。例如语音内容可以包含用户颈椎疲劳程度,或者是在此基础上包含建议姿态调整方式等等。
在一种可能的实施例中,为了避免过度干扰,电子设备可以向用户输入包括稍后提醒和不再提醒的弹框,用户可以选择稍后提醒或不再提醒。若用户多次选择稍后提醒,而电子设备检测到用户持续处于不良体态,则进行阻断性提醒(例如全屏提醒)。另外,电子设备可以在后台记录用户使用手机的时间、以及使用期间的各个头部姿态角。
在一种可能的实施例中,用户还可以生成健康分析报告,该报告是电子设备根据所检测到的各个时刻的头部姿态角生成的,例如报告中包括头部姿态和人体健康之间的关系。电子设备可以根据用户设定的时间,进行周期性的报告。如每日、一周、每月,报告中可以包括用户设定的周期内的头部姿态分布图,如正常姿态时间占比、不良体态占比、健康度评估、可能的健康影响和针对性建议等。
示例性地,如果检测到用户的头部姿态属于不良体态(歪头、低头的角度超过一定值),电子设备可以估算该姿态下用户的颈椎压力,当颈椎压力超过设定阈值时,电子设备对用户进行弹窗提醒,例如告知不良体态和对应的矫正角度等。再比如,电子设备根据用户头部的姿态角,判断其是否有歪头、探头等不良体态,以及对健康的影响严重程度。有研究表明,当人体直立时,颈椎所承受的重量即为头部的重量,但当头部倾斜时,颈椎的受力也会随之变化。由于头部的重量是恒定的,那么颈椎所承受的额外重量全来自于肌肉所产生的拉力。当头低至15度的时候,颈椎所受到的压力为垂直时的2倍。在角度达到45度时,为垂直时的3.7倍。当人体低头角度达到60度时,颈椎所承受的压力达到了垂直承重的4.5倍。因此可以参考该结果设置各个预设角度区间,以及每个预设角度区间的颈椎压力上下限数值。
本申请实施例中,陀螺仪、重力加速度等传感器属于低功耗的常开器件,对设备功耗影较小,另外,前置摄像头可以在用户询问用户是否同意常开,当用户选择同意时,前置摄像头属于常开器件,因此可以实时采集图像信息,持续获取数据信息,进而实时确定头部姿态。
可见,本申请实施例所提供的上述方法可以精确地计算出头部姿态,继而准确判断用户是否处于不良姿态,该方法可以覆盖各个使用场景,可以实时提醒和生成健康分析报告,有助于提升用户体验。
以下将结合附图和应用场景,以电子设备为手机为例,对本申请实施例提供的姿态检测方法进行详细介绍。
需要说明的是,在识别设备状态之前,需要先将手机内置传感器采集的数据从手机坐标系转换到大地参考坐标系。原因是:虽然智能手机内置的多种传感器如加速度传感器、陀螺仪、磁力计、方向传感器等可以对不同的运动、方向和外部环境进行感知,但这些数据都是基于手机坐标系,当手机放置的位置或者方向发生改变时所采集到的数据会随之改变。现实中由于手机用户使用习惯的个性化,如手机放置位置不同,是握持在手中,还是放在裤兜或手提包里,都将会直接影响到设备状态的识别结果。也就是说在实际应用中鉴于用户使用习惯的多样性和手机的摆放位置是任意的,因此需要将手机内置传感器采集的数据从手机坐标系转换到统一的参考坐标系(例如大地坐标系)中,这样转换后的传感器的数据有更清晰的物理含义,有助于准确识别电子设备的设备状态。
如图5A所示,大地坐标系的一种定义方式如下:x轴正方向正切手机当前所在位置的地面,直指东方;y轴正方向同样正切于该地面指向磁北极,x轴和z轴所在平面为水平面;z轴正方向则垂直于水平面指向天空。
如图5B所示,手机坐标系的确定与手机屏幕相关,手机坐标系的一种定义方式如下:X轴的正方向为手机屏幕平面中心向右所指的方向,反之为X轴的负方向;Y轴的正方向为手机屏幕平面中心向上所指的方向,垂直于X轴,反之为Y轴的负方向;而Z轴的正方向为垂直于手机屏幕平面从屏幕平面中心向正上所指的方向,反之为Z轴的负方向。
本申请实施例提供了一种将手机坐标系转换到大地参考坐标系转换公式,如公式1所示。
Figure PCTCN2020105299-appb-000001
其中,X/Y/Z为手机坐标系的传感器数据,R表示旋转矩阵,x、y、z为大地坐标系的传感器数据。
其中,R由三个基本旋转矩阵复合而成,R如公式2所示。
Figure PCTCN2020105299-appb-000002
其中,变量a、p、r分别表示azimuth、pitch和roll,azimuth表示磁北极和手机坐标系Y轴的夹角;pitch表示手机坐标系X轴和水平面的夹角,roll表示手机坐标系Y轴和水平面的夹角。
也就是说基于上述坐标系转换方法,手机可以根据转换后的大地坐标系的传感器数据,确定手机在大地坐标系中的状态,例如是竖直竖屏状态、竖直横屏状态,或者存在一定倾斜角的竖屏或者横屏状态。
具体地,本申请实施例通过转换后的陀螺仪传感器和重力传感器的数据,确定手机在大地坐标系中的设备姿态角,该设备姿态角可以用来表征手机的设备姿态。设备姿态角指 的是将手机坐标系的三个坐标轴旋转至与大地坐标系一致所需要旋转的角度。如图5C所示,手机的重力加速度计采集重力加速度数据(在当前手机坐标系下沿三个坐标轴的分量)。图5C中,假设忽略重力加速度计数据中的噪声数据,直接通过三个轴的分量可以计算出当前的设备状态相对于手机水平放置状态的旋转角度以及旋转矩阵。
具体地,设备姿态计算的具体过程如下:第一步,从加速度计实时获取重力加速度数据a;然后将长度为N的队列尾部数据拉出队列,并将加速度的值保存至队列头部;第二步,根据平滑滤波器的规则计算滤波后的加速度数值a′。第三步,手机的处理器根据加速度a′计算设备姿态角,即俯仰角和翻转角。
在实际应用中,重力加速度计的输出信号会因为环境的影响而携带噪声。噪声相对于加速度计的输出为高频信号,因此可以采用滑动均值滤波法进行平滑处理。需要说明的是,滑动均值滤波法,属于数字滤波器中的有限脉冲响应滤波器。其原理是:把N个测量数据看成一个队列,队列的长度固定为N,每进行一次新的采样,把采样结果放入队尾,而去掉原来队首的一个数据,这样在队列中始终有N个“最新”的数据,对比普通的均值滤波法(每次都必须读入N个数据的方法),该方法处理速度提高了很多。本申请实施例中采用改进后的滑动均值滤波法,增加了去除N个数据中的模值最大和最小的数据,可以提高对噪声的拟制作用。改进后的滤波公式为公式3:
Figure PCTCN2020105299-appb-000003
其中,
Figure PCTCN2020105299-appb-000004
为滤波器输出,X k表示当前序列的第k个数据,MAX为N个数据中的模值最大的数据,MIN为N个数据中的模值最小的数据。
本申请实施例中,预先定义用户目视前方的人脸角度为基准0度。如图6A所示,人脸相对于手机的姿态角指的是人脸在相机坐标系的三个坐标轴的旋转角度。图6A中,z轴的正方向为垂直于人脸指向用户的正前方,y轴的正方向为竖直向上,x轴的正方向为水平向左(用户的左边),xyz三轴构成右手螺旋关系。图6B示出了3个人脸相对于手机的姿态角,即俯仰角(Pitch),翻转角(Roll)和偏航角(Yaw)。
如图6C所示,人脸相对于手机的姿态角的具体计算方法可以是:前置摄像头将采集的图像输入至手机的人脸检测模块,人脸检测模块对图像中的人脸部分进行关键点提取,然后将关键点的坐标与人头3D模型的点坐标进行匹配映射,通过非迭代PnP(efficient perspective-n-point,EPnP)算法计算人脸相对于相机的旋转角度以及对应的旋转矩阵。
基于上述设备姿态角和人脸相对于手机的姿态角,电子设备可以计算出人脸在大地坐标系中相对于人体直立状态下人脸的姿态角,也就是头部姿态。
如图7所示,惯性测量单元(Honeywell Inertial Measurement Units,IMU)是固定在相机上,靶标即人脸,可以认为是刚性运动,O Gx Gy Gz G是IMU坐标系,O Wx Wy Wz W是靶标坐标系,O Nx Ny Nz N为参考坐标系,O Bx By Bz B为目标坐标系,O Vx Vy Vz V为摄像机坐标系。在初始时刻参考坐标系与目标坐标系重合,而在某一时刻靶标旋转一定角度,参考坐标系与目标坐标系分离。在获得手机旋转矩阵的基础上,依次计算人脸在手机坐标系中的姿态角以及旋转矩阵,手机坐标系相对于手机坐标系的旋转矩阵,手机当前姿态相对于平放状态的旋转矩阵,以及平放状态相对于手机直立拍摄状态的旋转矩阵。
其中,靶标坐标系O Wx Wy Wz W到摄像机坐标系O Vx Vy Vz V的旋转矩阵可由POSIT或者PnP算法求解。由于靶标坐标系O Wx Wy Wz W与目标坐标系O Bx By Bz B之间的位姿关系在姿态测量过程中恒定不变,t k时刻参考坐标系O Nx Ny Nz N到O Bx By Bz B目标坐标系的旋转矩阵可表 示为
Figure PCTCN2020105299-appb-000005
其中:
Figure PCTCN2020105299-appb-000006
为靶标坐标系到目标坐标系的旋转矩阵;
Figure PCTCN2020105299-appb-000007
为t k时刻摄像机坐标系到目标坐标系、靶标坐标系到摄像机坐标系的旋转矩阵;
Figure PCTCN2020105299-appb-000008
为t 0时刻目标坐标系到摄像机坐标系、靶标坐标系到摄像机坐标系的旋转矩阵。
再根据欧拉角与旋转矩阵的对应关系可求得
Figure PCTCN2020105299-appb-000009
对应的翻转角、俯仰角和偏航角,即从参考坐标系旋转成t k时刻的目标坐标系的3个欧拉姿态角。当摄像机姿态并不是一成不变的,摄像机坐标系相对于参考坐标系有变化时,需要加入参考坐标系到相机坐标系的旋转矩阵,
Figure PCTCN2020105299-appb-000010
为t k参考坐标系到相机坐标系的旋转矩阵,可以根据终端姿态检测得到。所以绝对姿态旋转矩阵
Figure PCTCN2020105299-appb-000011
的求解方法如下:
Figure PCTCN2020105299-appb-000012
可得
Figure PCTCN2020105299-appb-000013
再根据欧拉角与旋转矩阵的对应关系可求得
Figure PCTCN2020105299-appb-000014
对应的翻转角、俯仰角。
也就是说,根据人脸相对于直立状态手机的旋转矩阵,最终计算得出人脸相对于人体直立状态下人脸的姿态角,即头部姿态。可见,人脸绝对姿态识别的原理本质上是坐标系的映射,各坐标系旋转矩阵之间的变换。
本申请实施例中,根据以上计算流程,可以得出人头部的俯仰角和翻转角,根据俯仰角和翻转角的角度数值可以判断当前用户姿态为躺卧,侧卧或者其他姿态。
本申请实施例通过上述方法可以准确地识别用户的不良使用姿态,以便于及时地提醒用户健康使用电子设备,有利于提升用户的使用体验。
在本申请的另一些实施例中,本申请实施例公开了一种电子设备,如图8所示,该电子设备可以包括:触摸屏801,其中,该触摸屏801包括触控面板807和显示屏808;一个或多个处理器802;存储器803;一个或多个应用程序(未示出);以及一个或多个计算机程序804,传感器805、上述各器件可以通过一个或多个通信总线806连接。其中该一个或多个计算机程序804被存储在上述存储器803中并被配置为被该一个或多个处理器802执行,该一个或多个计算机程序804包括指令,上述指令可以用于执行如图3相应实施例中的各个步骤。
本申请实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的人体姿态检测方法。
本申请实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的人体姿态检测方法。
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的触摸屏的人体姿态检测方法。
其中,本申请实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其他的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其他的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (12)

  1. 一种人体姿态检测方法,应用于电子设备,其特征在于,所述方法包括:
    在电子设备处于亮屏状态下,获取传感器数据和前置摄像头采集的图像信息;
    根据所述传感器数据确定设备姿态,以及根据所述图像信息确定用户人脸相对于电子设备的相对姿态;
    根据所述用户人脸相对于电子设备的相对姿态和设备姿态,确定用户的头部姿态。
  2. 根据权利要求1所述的方法,其特征在于,根据所述传感器数据确定设备姿态之前,还包括:
    获取所述电子设备的系统运行信息和用户操作信息;
    根据所述图像信息,以及系统运行信息和用户操作信息中的至少一项信息,确定所述电子设备当前处于被用户使用的状态。
  3. 根据权利要求1或2所述的方法,其特征在于,根据所述图像信息确定用户人脸相对于电子设备的相对姿态,包括:
    获取所述图像信息中人脸部分的关键特征点;
    将所述关键特征点与预设的人体头部模型中的特征点进行匹配映射,并根据匹配映射结果确定人脸相对于电子设备的相对姿态。
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述根据所述用户人脸相对于电子设备的相对姿态和设备姿态,确定用户的头部姿态,包括:
    根据所述用户人脸相对于电子设备的相对姿态和设备姿态,计算人脸相对于处于直立状态的电子设备的旋转矩阵;
    根据所述旋转矩阵计算用户头部在大地坐标系中的姿态角,所述姿态角包括俯仰角、翻转角和偏航角,用于指示用户的头部姿态。
  5. 根据权利要求1至4任一项所述的方法,其特征在于,确定用户的头部姿态之后,还包括:
    当所述头部姿态满足设定条件时,确定所述头部姿态为不良体态;
    输出姿态调整提示信息。
  6. 一种电子设备,其特征在于,包括显示屏、处理器和存储器;
    所述存储器用于存储一个或多个计算机程序;
    当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得所述电子设备执行:
    在电子设备处于亮屏状态下,获取传感器数据和前置摄像头采集的图像信息;
    根据所述传感器数据确定设备姿态,以及根据所述图像信息确定用户人脸相对于电子设备的相对姿态;
    根据所述用户人脸相对于电子设备的相对姿态和设备姿态,确定用户的头部姿态。
  7. 根据权利要求6所述的电子设备,其特征在于,当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得所述电子设备还执行:
    获取所述电子设备的系统运行信息和用户操作信息;
    根据所述图像信息,以及系统运行信息和用户操作信息中的至少一项信息,确定所述电子设备当前处于被用户使用的状态。
  8. 根据权利要求6或7所述的电子设备,其特征在于,当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得所述电子设备还执行:
    获取所述图像信息中人脸部分的关键特征点;
    将所述关键特征点与预设的人体头部模型中的特征点进行匹配映射,并根据匹配映射结果确定人脸相对于电子设备的相对姿态。
  9. 根据权利要求6至8任一项所述的电子设备,其特征在于,当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得所述电子设备还执行:
    根据所述用户人脸相对于电子设备的相对姿态和设备姿态,计算人脸相对于处于直立状态的电子设备的旋转矩阵;
    根据所述旋转矩阵计算用户头部在大地坐标系中的姿态角,所述姿态角包括俯仰角、翻转角和偏航角,用于指示用户的头部姿态。
  10. 根据权利要求6至9任一项所述的电子设备,其特征在于,当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得所述电子设备还执行:
    当所述头部姿态满足设定条件时,确定所述头部姿态为不良体态;
    输出姿态调整提示信息。
  11. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括计算机程序,当计算机程序在电子设备上运行时,使得所述电子设备执行如权利要求1至5任一项所述的人体姿态检测方法。
  12. 一种芯片,其特征在于,所述芯片与存储器耦合,用于执行所述存储器中存储的计算机程序,以执行如权利要求1至5任一项所述的人体姿态检测方法。
PCT/CN2020/105299 2019-09-18 2020-07-28 一种人体姿态检测方法及电子设备 WO2021052016A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910883512.XA CN112527094A (zh) 2019-09-18 2019-09-18 一种人体姿态检测方法及电子设备
CN201910883512.X 2019-09-18

Publications (1)

Publication Number Publication Date
WO2021052016A1 true WO2021052016A1 (zh) 2021-03-25

Family

ID=74883988

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/105299 WO2021052016A1 (zh) 2019-09-18 2020-07-28 一种人体姿态检测方法及电子设备

Country Status (2)

Country Link
CN (1) CN112527094A (zh)
WO (1) WO2021052016A1 (zh)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112990055A (zh) * 2021-03-29 2021-06-18 北京市商汤科技开发有限公司 姿态纠正方法及装置、电子设备和存储介质
CN113191319A (zh) * 2021-05-21 2021-07-30 河南理工大学 一种人体姿态智能识别方法及计算机设备
CN113190313A (zh) * 2021-04-29 2021-07-30 北京小米移动软件有限公司 显示控制方法及装置、电子设备及存储介质
CN114038016A (zh) * 2021-11-16 2022-02-11 平安普惠企业管理有限公司 一种坐姿检测方法、装置、设备及存储介质
CN114071211A (zh) * 2021-09-24 2022-02-18 北京字节跳动网络技术有限公司 视频播放方法、装置、设备以及存储介质
CN117173382A (zh) * 2023-10-27 2023-12-05 南京维赛客网络科技有限公司 Vr交互中的虚拟数字人体态矫正方法、系统及存储介质
WO2024082912A1 (zh) * 2022-10-20 2024-04-25 华为技术有限公司 体型测量方法及电子设备
CN115389927B (zh) * 2021-05-24 2024-05-10 荣耀终端有限公司 马达阻尼的测算方法和系统

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113221664A (zh) * 2021-06-17 2021-08-06 杭州晓鸟科技有限公司 一种基于关键点检测的打坐姿态辅助系统及辅助方法
CN117008711A (zh) * 2022-04-29 2023-11-07 华为技术有限公司 确定头部姿态的方法以及装置
CN115240385A (zh) * 2022-07-12 2022-10-25 深圳闪回科技有限公司 一种手机摆放位置检测方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110172562A1 (en) * 2010-01-08 2011-07-14 Medtronic, Inc. Automated calibration of posture state classification for a medical device
CN103927250A (zh) * 2014-04-16 2014-07-16 北京尚德智产投资管理有限公司 一种终端设备用户姿态检测方法
CN103955272A (zh) * 2014-04-16 2014-07-30 北京尚德智产投资管理有限公司 一种终端设备用户姿态检测系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239860B (zh) * 2014-09-10 2018-01-26 广东小天才科技有限公司 一种使用智能终端时的坐姿检测与提醒方法及装置
CN110222651A (zh) * 2019-06-10 2019-09-10 Oppo广东移动通信有限公司 一种人脸姿态检测方法、装置、终端设备及可读存储介质

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110172562A1 (en) * 2010-01-08 2011-07-14 Medtronic, Inc. Automated calibration of posture state classification for a medical device
CN103927250A (zh) * 2014-04-16 2014-07-16 北京尚德智产投资管理有限公司 一种终端设备用户姿态检测方法
CN103955272A (zh) * 2014-04-16 2014-07-30 北京尚德智产投资管理有限公司 一种终端设备用户姿态检测系统

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112990055A (zh) * 2021-03-29 2021-06-18 北京市商汤科技开发有限公司 姿态纠正方法及装置、电子设备和存储介质
CN113190313A (zh) * 2021-04-29 2021-07-30 北京小米移动软件有限公司 显示控制方法及装置、电子设备及存储介质
CN113191319A (zh) * 2021-05-21 2021-07-30 河南理工大学 一种人体姿态智能识别方法及计算机设备
CN113191319B (zh) * 2021-05-21 2022-07-19 河南理工大学 一种人体姿态智能识别方法及计算机设备
CN115389927B (zh) * 2021-05-24 2024-05-10 荣耀终端有限公司 马达阻尼的测算方法和系统
CN114071211A (zh) * 2021-09-24 2022-02-18 北京字节跳动网络技术有限公司 视频播放方法、装置、设备以及存储介质
CN114071211B (zh) * 2021-09-24 2024-01-09 北京字节跳动网络技术有限公司 视频播放方法、装置、设备以及存储介质
CN114038016A (zh) * 2021-11-16 2022-02-11 平安普惠企业管理有限公司 一种坐姿检测方法、装置、设备及存储介质
WO2024082912A1 (zh) * 2022-10-20 2024-04-25 华为技术有限公司 体型测量方法及电子设备
CN117173382A (zh) * 2023-10-27 2023-12-05 南京维赛客网络科技有限公司 Vr交互中的虚拟数字人体态矫正方法、系统及存储介质
CN117173382B (zh) * 2023-10-27 2024-01-26 南京维赛客网络科技有限公司 Vr交互中的虚拟数字人体态矫正方法、系统及存储介质

Also Published As

Publication number Publication date
CN112527094A (zh) 2021-03-19

Similar Documents

Publication Publication Date Title
WO2021052016A1 (zh) 一种人体姿态检测方法及电子设备
WO2021063097A1 (zh) 一种显示方法及电子设备
WO2020259452A1 (zh) 一种移动终端的全屏显示方法及设备
WO2020119493A1 (zh) 一种触摸屏的响应方法及电子设备
WO2020182065A1 (zh) 快捷功能启动的方法及电子设备
EP3872807A1 (en) Voice control method and electronic device
CN113645351B (zh) 应用界面交互方法、电子设备和计算机可读存储介质
WO2021036770A1 (zh) 一种分屏处理方法及终端设备
WO2019072178A1 (zh) 一种通知处理方法及电子设备
WO2021037223A1 (zh) 一种触控方法与电子设备
WO2022127787A1 (zh) 一种图像显示的方法及电子设备
CN111316199A (zh) 一种信息处理方法及电子设备
WO2022089208A1 (zh) 一种文件拖拽方法及电子设备
WO2022042766A1 (zh) 信息显示方法、终端设备及计算机可读存储介质
WO2020024108A1 (zh) 一种应用图标的显示方法及终端
WO2022028362A1 (zh) 一种设备定位方法及其相关设备
WO2022095744A1 (zh) Vr显示控制方法、电子设备及计算机可读存储介质
WO2022105702A1 (zh) 保存图像的方法及电子设备
WO2022267783A1 (zh) 确定推荐场景的方法及电子设备
WO2022143180A1 (zh) 协同显示方法、终端设备及计算机可读存储介质
CN110647731A (zh) 一种显示方法及电子设备
WO2020029146A1 (zh) 一种获取用户运动轨迹的方法及终端
WO2022062902A1 (zh) 一种文件传输方法和电子设备
WO2020233581A1 (zh) 一种测量高度的方法和电子设备
CN114637392A (zh) 显示方法及电子设备

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: 20865201

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20865201

Country of ref document: EP

Kind code of ref document: A1