WO2015135477A1 - Handheld terminal and screen anti-shake method and device for handheld terminal - Google Patents

Handheld terminal and screen anti-shake method and device for handheld terminal Download PDF

Info

Publication number
WO2015135477A1
WO2015135477A1 PCT/CN2015/074008 CN2015074008W WO2015135477A1 WO 2015135477 A1 WO2015135477 A1 WO 2015135477A1 CN 2015074008 W CN2015074008 W CN 2015074008W WO 2015135477 A1 WO2015135477 A1 WO 2015135477A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
displacement
face
handheld terminal
human
Prior art date
Application number
PCT/CN2015/074008
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 WO2015135477A1 publication Critical patent/WO2015135477A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/682Vibration or motion blur correction
    • H04N23/683Vibration or motion blur correction performed by a processor, e.g. controlling the readout of an image memory

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a handheld terminal and a method and apparatus for preventing image stabilization thereof.
  • the screen anti-shake method of the handheld terminal is: monitoring the movement of the handheld terminal through the motion sensor built in the handheld terminal, and performing displacement compensation on the screen display according to the jitter parameter of the mobile terminal.
  • This screen displacement compensation is only compensation for the jitter of the handheld terminal itself, and does not consider the jitter of the screen relative to the human face (human eyes). In fact, the human face (human eyes) is often also shaking, so the stability when viewing the screen. Sexual effects are not good.
  • the technical problem to be solved by the present invention is to provide a handheld terminal and a screen anti-shake method and device thereof, which can solve the screen jitter caused by the shaking of the face and further improve the stability when viewing the screen.
  • a screen anti-shake method of a handheld terminal including:
  • the motion sensor When the screen is lit, the motion sensor is turned on to monitor the motion state of the handheld terminal;
  • the handheld terminal is detected to be shaken, the camera image is started and face recognition is performed, and the displacement parameter of the face relative to the screen is calculated; the human-machine interface displayed on the screen is inversely compensated according to the displacement parameter , so that the person The machine interface is relatively stationary relative to the face.
  • the calculating the displacement parameter of the face relative to the screen further comprises: calculating a lateral displacement and a longitudinal displacement of the face relative to the display screen, and a distance between the face and the screen and a displacement acceleration.
  • compensating the human-machine interface displayed on the screen according to the jitter displacement parameter further comprises:
  • the man-machine interface displayed on the screen is reversely compensated with respect to the direction of the terminal displacement;
  • the dithering or reducing the dithering human-machine interface is performed according to the distance between the dithering face and the screen and the displacement acceleration.
  • the method further comprises: performing opposite compensation on the screen display position relative to the moving direction of the handheld terminal according to the jitter parameter of the motion sensor.
  • the jitter parameters include a jitter direction, a jitter acceleration, and a jitter displacement.
  • the inversely compensating the screen display position relative to the moving direction of the handheld terminal according to the jitter parameter of the motion sensor further comprises:
  • the method further includes:
  • the calculating the displacement parameter of the face relative to the screen further comprises:
  • the foreground image is captured by the camera, and the captured image is subjected to face recognition;
  • the motion data is corrected and adjusted by image recognition displacement to obtain a displacement parameter.
  • the photographing the foreground image by the camera further comprises: using the camera to capture the foreground image when the light is sufficient, and using the infrared light line to cooperate with the infrared camera to capture the foreground image when the light is relatively dark.
  • a screen anti-shake device for a handheld terminal includes the following modules:
  • the motion monitoring module is configured to: when the screen is lit, turn on the motion sensor to monitor the motion state of the handheld terminal;
  • the face recognition module is configured to: when detecting the jitter of the handheld terminal, start camera imaging and perform face recognition, and calculate a displacement parameter of the face relative to the screen;
  • the display processing module is configured to inversely compensate the human-machine interface displayed on the screen according to the displacement parameter, so that the human-machine interface is relatively stationary relative to the human face.
  • the face recognition module is configured to: start camera imaging and perform face recognition, calculate lateral displacement and longitudinal displacement of the face relative to the display screen, and accelerate the distance and displacement of the face and the screen degree.
  • the display processing module is configured to: inversely compensate the man-machine interface displayed on the screen relative to the direction of the terminal displacement according to the lateral displacement and the longitudinal displacement; and enlarge or reduce according to the distance between the shaking face and the screen and the displacement acceleration Jitter the human machine interface.
  • the display processing module is further configured to: inversely compensate the screen display position for the direction of movement of the handheld terminal according to the jitter parameter of the motion sensor.
  • the motion monitoring module is configured to determine that the handheld terminal has jittered when the center point of the screen is within a preset range in the horizontal or vertical direction with respect to the center point of the human machine interface.
  • the face recognition module is set to:
  • the foreground image is captured by the camera, and the captured image is subjected to face recognition;
  • the motion data is corrected and adjusted by image recognition displacement to obtain a displacement parameter.
  • the face recognition module is configured to: use the camera to capture the foreground image when the light is sufficient, and use the infrared light line to cooperate with the infrared camera to capture the foreground image when the light is relatively dark.
  • a handheld terminal comprising the above-described screen anti-shake device.
  • the handheld terminal and the screen anti-shake method and device thereof calculate a true relative displacement between a human face (human eye) and a screen by introducing a face recognition technology, and consider the true relative displacement between the face and the screen.
  • the synchronous movement displacement compensation is performed on the man-machine interface displayed on the screen, so that the human-machine interface is kept stationary relative to the human face as much as possible, thereby improving the user's viewing of the screen. Stability, which improves the user's reading experience.
  • FIG. 1 is a flowchart of a screen anti-shake method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another screen anti-shake method according to a preferred embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a module of a screen anti-shake device according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a screen anti-shake method of a handheld terminal according to an embodiment of the present invention, where the method includes:
  • the motion sensor can be an acceleration sensor or a gyroscope.
  • step S102 Determine whether the handheld terminal jitter is detected. If yes, execute step S103, otherwise continue monitoring.
  • the jitter means that the displacement of the center point of the screen relative to the center point of the human-machine interface in the horizontal or vertical direction is greater than 1 mm and less than 50% of the width or length of the screen size, that is, the compensation displacement of the present invention is constant.
  • the displacement range is performed. The maximum displacement depends on the screen size (such as the size of the mobile phone and the flat screen). It is better to see half of the human-machine interface. Otherwise, the displacement is too large.
  • the synchronization point is beyond the screen range. In other words, when the displacement of the center point of the screen with respect to the center point of the human-machine interface in the horizontal or vertical direction is within a preset range, it is determined that the hand-held terminal has shaken.
  • S103 Start camera imaging and perform face recognition, and calculate displacement parameters of the face relative to the screen.
  • calculating the displacement parameter of the face relative to the screen comprises calculating a lateral displacement and a longitudinal displacement of the face relative to the display screen, and a distance between the face and the screen and a displacement acceleration.
  • the foreground image is captured by the camera, and the camera is used when the light is sufficient.
  • the infrared light is used together with the infrared camera to perform face recognition on the captured image (the face recognition technology can adopt the existing one) Technology, not described in detail here).
  • the face recognition technology can adopt the existing one
  • it is not simply relying on image recognition technology to judge displacement, but based on motion sensor data, and further combined with image recognition technology, this can make displacement judgment faster and more accurate.
  • the motion data is first obtained according to the motion sensor, and then the motion of the screen is compared by the contrast of the screen content (for example, the position change of the face in the image before and after the motion is up, down or in which direction) Based on the data, further correct and adjust by image recognition displacement, and calculate the lateral displacement and longitudinal displacement (ie, the amount of compensation data) of the output human-machine interface through the combination of two data, so that the subsequent displacement distance is within the preset range.
  • the displacement of the human-machine interface relative to the direction of the terminal displacement is reversely compensated.
  • the image display is relatively stationary with respect to the human face and the human eye.
  • the step S104 further comprises: inversely compensating the human-machine interface displayed on the screen with respect to the moving direction of the terminal according to the lateral displacement and the longitudinal displacement; and enlarging or reducing the human-machine interface according to the distance and acceleration of the human face from the screen .
  • the human-machine interface is located at the center of the display screen.
  • the human-machine interface moves to the left side of the display screen, and the specific movement amplitude is determined according to the displacement of the handheld terminal.
  • the human-machine interface moves to the right side of the display screen, and the specific movement amplitude is determined according to the displacement of the handheld terminal.
  • the human-machine interface moves to the upper side of the display screen, and the specific movement amplitude is determined according to the displacement of the handheld terminal.
  • the human-machine interface moves to the lower left side of the display screen, and the specific movement amplitude is determined according to the displacement of the handheld terminal.
  • the human-machine interface When the handheld terminal is away from or close to the human face, the human-machine interface will assume an enlarged or reduced state, and the specific enlargement or reduction ratio is proportional to the acceleration. Specifically, the variation coefficient of the output reduction or amplification is calculated according to the distance change value and the displacement acceleration change value, and the specific reduction or amplification factor (such as 10%, 15% or 20%) can be given by experiments, so that after scaling The size of the human-machine interface is always the same as the original initial state.
  • the interface and the font become smaller due to the distance from the visual angle, and a magnification factor is given according to the amount of change of 1cm backward (for example, the interface is enlarged by 10%), so that the back and forth 1cm displacement is relative to the human eye.
  • the human-machine interface does not seem to change and is still.
  • the screen anti-shake method and device of the handheld terminal calculates a true relative displacement between a human face (human eye) and a screen by introducing a face recognition technology, and takes into account the true relative displacement between the face and the screen.
  • the terminal can perform synchronous displacement compensation on the man-machine interface displayed on the screen according to the displacement parameter within a certain range of displacement, so as to keep the human-machine interface stationary relative to the human face as much as possible, thereby improving the stability of the viewing screen. Thereby improving the user's reading experience.
  • FIG. 2 is a schematic diagram of a screen anti-shake method of a handheld terminal according to a preferred embodiment of the present invention. The method includes:
  • the motion sensor may be an acceleration sensor or a gyroscope, and the motion sensor detects a jitter parameter of the handheld terminal, and the jitter parameter includes a jitter direction, a jitter acceleration, and a jitter displacement.
  • the dithering direction may be included in three dimensions of the handheld terminal screen coordinate system, and the jitter displacement and the jitter acceleration also correspond to the displacement amplitude and the jitter acceleration included in the three dimensional directions.
  • step S202 Determine whether the handheld terminal jitter is detected. If yes, execute step S203, otherwise continue monitoring.
  • the jitter parameter is transmitted to the display processor, and when no jitter is detected, the display is performed in the normal mode while continuing to monitor whether the jitter is present.
  • the jitter direction and the amplitude in three dimensions of the screen coordinate system are determined according to the accelerations in the three dimensions of the screen coordinate system; and the screen display position is displayed according to the shaking direction and the amplitude in the three dimensions of the screen coordinate system. Pan or zoom.
  • the screen display position is relative to the display screen of the mobile phone (ie, the physical part between the borders of the mobile phone), generally the default full screen display, and the human machine interface is the displayed screen relative to the screen, and generally the default is The picture is full of screens.
  • the screen display position is displacement-compensated with respect to the opposite movement direction of the handheld terminal, thereby compensating for the jitter of the handheld terminal itself, trying to keep the screen as relatively static as possible, and then further compensating in the screen. HMI.
  • S204 Start camera imaging and perform face recognition, and calculate displacement parameters of the face relative to the screen.
  • This step S204 is the same as step S103 of the first embodiment, and will not be repeated here.
  • This step S205 is the same as step S104 of the first embodiment, and will not be repeated here.
  • the screen anti-shake method of the handheld terminal introduces face recognition technology to calculate the sway displacement of the face relative to the screen, based on the displacement compensation of the display screen by the sensor in the handheld terminal.
  • the man-machine interface further compensates for the displacement and is stabilized by double compensation. Sexual effects are better.
  • the present invention compensates for the human-machine interface, and mainly includes two compensation modes: first, according to the lateral displacement and the longitudinal displacement, the human-machine interface displayed on the screen is inversely compensated with respect to the moving direction of the terminal; , enlarge or reduce the human-machine interface according to the distance and acceleration of the face from the screen. Thereby, the human-machine interface is kept as static as possible with respect to the human face, and the stability of the viewing screen is improved.
  • a screen anti-shake device of a handheld terminal includes:
  • the motion monitoring module 10 is configured to: when the handheld terminal screen is lit, turn on the motion sensor to monitor the motion state of the handheld terminal;
  • the face recognition module 20 is configured to: when detecting the jitter of the handheld terminal, start camera imaging and perform face recognition, and calculate a displacement parameter of the face relative to the screen;
  • the face recognition module 20 is specifically configured to: start camera imaging and perform face recognition, calculate lateral displacement and longitudinal displacement of the face relative to the display screen, and distance and displacement acceleration of the face from the screen.
  • the display processing module 30 is configured to compensate the human-machine interface displayed on the screen according to the displacement parameter.
  • the display processing module 30 is specifically configured to: inversely compensate the human-machine interface displayed on the screen according to the lateral displacement and the longitudinal displacement; and enlarge or reduce the human-machine interface according to the distance between the face and the screen and the displacement acceleration.
  • the display processing module 30 is further configured to: inversely compensate the screen display position relative to the direction of movement of the handheld terminal according to the jitter parameter of the motion sensor to make the display screen relatively stationary.
  • the jitter direction and the amplitude in the three dimensions of the screen coordinate system may be determined according to the accelerations in the three dimensions of the screen coordinate system; according to the jitter direction and the amplitude in the three dimensions of the screen coordinate system Display position for panning or zooming.
  • an embodiment of the present invention further provides a handheld terminal, where the handheld terminal includes the above-mentioned screen anti-shake device.
  • Handheld terminals include, but are not limited to, mobile phones, IPADs, and tablets.
  • the handheld terminal and the screen anti-shake device of the embodiment of the invention adopt the face recognition technology to consider the real displacement of the face relative to the screen in the screen compensation, so that the terminal is within a certain displacement range, according to the displacement parameter pair
  • the human-machine interface displayed on the screen performs synchronous displacement compensation to keep the human-machine interface still with respect to the human face as much as possible, thereby improving the stability of the viewing screen and thereby improving the user experience.
  • the handheld terminal and the screen anti-shake method and device thereof calculate a true relative displacement between a human face (human eye) and a screen by introducing a face recognition technology, and consider the true relative displacement between the face and the screen.
  • the terminal can perform synchronous motion displacement compensation on the man-machine interface displayed on the screen according to the displacement parameter within a certain range of displacement, and keep the human-machine interface stationary relative to the human face as much as possible, thereby improving the user's viewing screen.
  • the stability improves the user's reading experience.

Abstract

The present invention relates to the technical field of terminals. Disclosed are a handheld terminal and a screen anti-shake method and device for the handheld terminal. The method comprises: when a screen is turned on, starting a motion sensor to monitor the moving state of the handheld terminal; if shaking of the handheld terminal is detected, starting a camera for shooting and carrying out face recognition, and calculating a displacement parameter of a face relative to the screen; and carrying out inverse compensation on a man-machine interface displayed on the screen according to the displacement parameter, so that the man-machine interface is static relative to the face. By means of embodiments of the present invention, by introducing the face recognition technology, the real relative displacement between the face and the screen is considered in screen compensation, so that the terminal carries out synchronous movement displacement compensation on the man-machine interface displayed on the screen according to the displacement parameter in a certain displacement range, the man-machine interface is kept static relative to the face as much as possible, and the stability of screen watching is improved.

Description

一种手持终端及其屏幕防抖方法和装置Handheld terminal and screen anti-shake method and device thereof 技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种手持终端及其屏幕防抖方法和装置。The present invention relates to the field of communications technologies, and in particular, to a handheld terminal and a method and apparatus for preventing image stabilization thereof.
背景技术Background technique
目前,手持终端的屏幕防抖方法是:通过手持终端内置的运动传感器监测手持终端的运动,根据手机终端的抖动参数来对屏幕显示进行位移补偿。这种屏幕位移补偿仅仅是对手持终端本身抖动的补偿,并未考虑屏幕相对人脸(人眼)的抖动,而实际上,人脸(人眼)往往也在晃动,故观看屏幕时的稳定性效果不佳。At present, the screen anti-shake method of the handheld terminal is: monitoring the movement of the handheld terminal through the motion sensor built in the handheld terminal, and performing displacement compensation on the screen display according to the jitter parameter of the mobile terminal. This screen displacement compensation is only compensation for the jitter of the handheld terminal itself, and does not consider the jitter of the screen relative to the human face (human eyes). In fact, the human face (human eyes) is often also shaking, so the stability when viewing the screen. Sexual effects are not good.
发明内容Summary of the invention
有鉴于此,本发明要解决的技术问题是提供一种手持终端及其屏幕防抖方法和装置,以解决人脸晃动引起的屏幕抖动,进一步提高观看屏幕时稳定性。In view of the above, the technical problem to be solved by the present invention is to provide a handheld terminal and a screen anti-shake method and device thereof, which can solve the screen jitter caused by the shaking of the face and further improve the stability when viewing the screen.
本发明解决上述技术问题所采用的技术方案如下:The technical solution adopted by the present invention to solve the above technical problems is as follows:
根据本发明的一个方面,提供的一种手持终端的屏幕防抖方法包括:According to an aspect of the present invention, a screen anti-shake method of a handheld terminal is provided, including:
当屏幕点亮时,开启运动传感器监测手持终端的运动状态;When the screen is lit, the motion sensor is turned on to monitor the motion state of the handheld terminal;
如果检测到手持终端抖动,则启动摄像头摄像并进行人脸识别,计算人脸相对于屏幕的位移参数;根据所述位移参数对屏幕上显示的人机界面进行反向补偿以使所述人机界面相对人脸相对静止。If the handheld terminal is detected to be shaken, the camera image is started and face recognition is performed, and the displacement parameter of the face relative to the screen is calculated; the human-machine interface displayed on the screen is inversely compensated according to the displacement parameter , so that the person The machine interface is relatively stationary relative to the face.
优选地,抖动计算人脸相对于屏幕的位移参数进一步包括:计算人脸相对于显示屏幕的横向位移和纵向位移、以及人脸与屏幕的距离和位移加速度。Preferably, the calculating the displacement parameter of the face relative to the screen further comprises: calculating a lateral displacement and a longitudinal displacement of the face relative to the display screen, and a distance between the face and the screen and a displacement acceleration.
优选地,根据抖动位移参数对屏幕上显示的人机界面进行补偿进一步包括:Preferably, compensating the human-machine interface displayed on the screen according to the jitter displacement parameter further comprises:
根据抖动横向位移和纵向位移,将屏幕上显示的人机界面相对于终端位移的方向进行反向补偿; According to the lateral displacement and the longitudinal displacement of the jitter, the man-machine interface displayed on the screen is reversely compensated with respect to the direction of the terminal displacement;
根据抖动人脸与屏幕的距离和位移加速度进行放大或缩小抖动人机界面。The dithering or reducing the dithering human-machine interface is performed according to the distance between the dithering face and the screen and the displacement acceleration.
优选地,抖动启动摄像头摄像进行人脸识别之前还包括:根据运动传感器的抖动参数对屏幕显示位置相对于手持终端运动方向进行相反补偿。Preferably, before the shaking start camera captures the face recognition, the method further comprises: performing opposite compensation on the screen display position relative to the moving direction of the handheld terminal according to the jitter parameter of the motion sensor.
优选地,所述抖动参数包括抖动方向、抖动加速度和抖动位移。Preferably, the jitter parameters include a jitter direction, a jitter acceleration, and a jitter displacement.
优选地,所述根据运动传感器的抖动参数对屏幕显示位置相对于手持终端运动方向进行相反补偿进一步包括:Preferably, the inversely compensating the screen display position relative to the moving direction of the handheld terminal according to the jitter parameter of the motion sensor further comprises:
根据屏幕坐标系的三个维度上的加速度确定所述屏幕坐标系三个维度上的抖动方向和幅度;根据所述在屏幕坐标系三个维度上的抖动方向和幅度对屏幕显示位置进行平移或者缩放。Determining a dithering direction and an amplitude in three dimensions of the screen coordinate system according to accelerations in three dimensions of the screen coordinate system; translating the screen display position according to the dithering direction and amplitude in the three dimensions of the screen coordinate system or Zoom.
优选地,所述方法还包括:Preferably, the method further includes:
当所述屏幕的中心点相对于人机界面的中心点在横向或者纵向的位移在预设范围内时,则判定手持终端发生了抖动。When the displacement of the center point of the screen with respect to the center point of the human-machine interface in the horizontal or vertical direction is within a preset range, it is determined that the hand-held terminal has shaken.
优选地,所述计算人脸相对于屏幕的位移参数进一步包括:Preferably, the calculating the displacement parameter of the face relative to the screen further comprises:
通过运动传感器获取初步的运动数据;Acquiring preliminary motion data through motion sensors;
通过摄像头拍摄前景图像,对拍摄的图像进行人脸识别;The foreground image is captured by the camera, and the captured image is subjected to face recognition;
通过图像识别位移对所述运动数据进行修正与调节,获取位移参数。The motion data is corrected and adjusted by image recognition displacement to obtain a displacement parameter.
优选地,所述通过摄像头拍摄前景图像进一步包括:当光线充足时使用摄像头拍摄前景图像,当光线比较暗时使用红外灯光线与红外摄像头配合拍摄前景图像。Preferably, the photographing the foreground image by the camera further comprises: using the camera to capture the foreground image when the light is sufficient, and using the infrared light line to cooperate with the infrared camera to capture the foreground image when the light is relatively dark.
根据本发明的另一个方面,提供的一种手持终端的屏幕防抖装置包括以下模块:According to another aspect of the present invention, a screen anti-shake device for a handheld terminal is provided that includes the following modules:
运动监测模块,设置为当屏幕点亮时,开启运动传感器监测手持终端的运动状态;The motion monitoring module is configured to: when the screen is lit, turn on the motion sensor to monitor the motion state of the handheld terminal;
人脸识别模块,设置为当检测到手持终端抖动时,启动摄像头摄像并进行人脸识别,计算人脸相对于屏幕的位移参数;The face recognition module is configured to: when detecting the jitter of the handheld terminal, start camera imaging and perform face recognition, and calculate a displacement parameter of the face relative to the screen;
显示处理模块,设置为根据所述位移参数对屏幕上显示的人机界面进行反向补偿,以使所述人机界面相对人脸相对静止。The display processing module is configured to inversely compensate the human-machine interface displayed on the screen according to the displacement parameter, so that the human-machine interface is relatively stationary relative to the human face.
优选地,人脸识别模块设置为:启动摄像头摄像并进行人脸识别,计算人脸相对于显示屏幕的横向位移和纵向位移、以及人脸与屏幕的距离和位移加速 度。Preferably, the face recognition module is configured to: start camera imaging and perform face recognition, calculate lateral displacement and longitudinal displacement of the face relative to the display screen, and accelerate the distance and displacement of the face and the screen degree.
优选地,显示处理模块设置为:根据横向位移和纵向位移,将屏幕上显示的人机界面相对于终端位移的方向进行反向补偿;根据抖动人脸与屏幕的距离和位移加速度进行放大或缩小抖动人机界面。Preferably, the display processing module is configured to: inversely compensate the man-machine interface displayed on the screen relative to the direction of the terminal displacement according to the lateral displacement and the longitudinal displacement; and enlarge or reduce according to the distance between the shaking face and the screen and the displacement acceleration Jitter the human machine interface.
优选地,显示处理模块还设置为:根据运动传感器的抖动参数对屏幕显示位置对于手持终端运动方向进行相反补偿。Preferably, the display processing module is further configured to: inversely compensate the screen display position for the direction of movement of the handheld terminal according to the jitter parameter of the motion sensor.
优选地,运动监测模块设置为:当所述屏幕的中心点相对于人机界面的中心点在横向或者纵向的位移在预设范围内时,则判定手持终端发生了抖动。Preferably, the motion monitoring module is configured to determine that the handheld terminal has jittered when the center point of the screen is within a preset range in the horizontal or vertical direction with respect to the center point of the human machine interface.
优选地,人脸识别模块设置为:Preferably, the face recognition module is set to:
通过所述运动传感器获取初步的运动数据;Acquiring preliminary motion data by the motion sensor;
通过摄像头拍摄前景图像,对拍摄的图像进行人脸识别;The foreground image is captured by the camera, and the captured image is subjected to face recognition;
通过图像识别位移对所述运动数据进行修正与调节,获取位移参数。The motion data is corrected and adjusted by image recognition displacement to obtain a displacement parameter.
优选地,人脸识别模块设置为:当光线充足时使用摄像头拍摄前景图像,当光线比较暗时使用红外灯光线与红外摄像头配合拍摄前景图像。Preferably, the face recognition module is configured to: use the camera to capture the foreground image when the light is sufficient, and use the infrared light line to cooperate with the infrared camera to capture the foreground image when the light is relatively dark.
根据本发明的再一个方面,还提供了一种手持终端,该手持终端包括上述屏幕防抖装置。According to still another aspect of the present invention, there is also provided a handheld terminal comprising the above-described screen anti-shake device.
本发明实施例的手持终端及其屏幕防抖方法和装置,通过引入人脸识别技术,计算人脸(人眼)与屏幕间的真实相对位移,并将人脸与屏幕间的真实相对位移考虑在屏幕补偿内,以使终端在一定的位移范围内,根据位移参数对屏幕上显示的人机界面进行同步运动位移补偿,尽可能使人机界面相对于人脸保持静止,提高用户观看屏幕的稳定性,从而提高用户阅读体验。The handheld terminal and the screen anti-shake method and device thereof according to the embodiments of the present invention calculate a true relative displacement between a human face (human eye) and a screen by introducing a face recognition technology, and consider the true relative displacement between the face and the screen. In the screen compensation, in order to make the terminal within a certain range of displacement, according to the displacement parameter, the synchronous movement displacement compensation is performed on the man-machine interface displayed on the screen, so that the human-machine interface is kept stationary relative to the human face as much as possible, thereby improving the user's viewing of the screen. Stability, which improves the user's reading experience.
附图说明DRAWINGS
图1为本发明实施例提供的一种屏幕防抖方法的流程图;1 is a flowchart of a screen anti-shake method according to an embodiment of the present invention;
图2为本发明优选实施例提供的另一种屏幕防抖方法的流程图;2 is a flowchart of another screen anti-shake method according to a preferred embodiment of the present invention;
图3为本发明实施例提供的一种屏幕防抖装置的模块结构示意图。FIG. 3 is a schematic structural diagram of a module of a screen anti-shake device according to an embodiment of the present invention.
具体实施方式 detailed description
为了使本发明所要解决的技术问题、技术方案及有益效果更加清楚、明白,以下结合附图和实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments, in order to make the present invention. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
实施例一Embodiment 1
如图1所示为本发明实施例提供的一种手持终端的屏幕防抖方法,该方法包括:FIG. 1 is a schematic diagram of a screen anti-shake method of a handheld terminal according to an embodiment of the present invention, where the method includes:
S101、当手持终端屏幕点亮时,开启运动传感器监测手持终端的运动状态。S101. When the screen of the handheld terminal is lit, the motion sensor is turned on to monitor the motion state of the handheld terminal.
其中,运动传感器可以为加速度传感器或陀螺仪。Among them, the motion sensor can be an acceleration sensor or a gyroscope.
S102、判断是否检测到手持终端抖动,如果是,则执行步骤S103,否则继续监测。S102. Determine whether the handheld terminal jitter is detected. If yes, execute step S103, otherwise continue monitoring.
具体来说,抖动是指屏幕的中心点相对于人机界面的中心点在横向或者纵向的位移大于1毫米小于屏幕尺寸的宽或者长的50%,也就是说,本发明的补偿位移在一定位移范围内进行,最大位移取决于屏幕大小(如手机与平板屏幕大小不同),优选于能看到人机界面的一半,否则位移太大同步点超出屏幕范围也意义不大。换句话说,当屏幕的中心点相对于人机界面的中心点在横向或者纵向的位移在预设范围内时,则判定手持终端发生了抖动。Specifically, the jitter means that the displacement of the center point of the screen relative to the center point of the human-machine interface in the horizontal or vertical direction is greater than 1 mm and less than 50% of the width or length of the screen size, that is, the compensation displacement of the present invention is constant. The displacement range is performed. The maximum displacement depends on the screen size (such as the size of the mobile phone and the flat screen). It is better to see half of the human-machine interface. Otherwise, the displacement is too large. The synchronization point is beyond the screen range. In other words, when the displacement of the center point of the screen with respect to the center point of the human-machine interface in the horizontal or vertical direction is within a preset range, it is determined that the hand-held terminal has shaken.
S103、启动摄像头摄像并进行人脸识别,计算人脸相对于屏幕的位移参数。S103. Start camera imaging and perform face recognition, and calculate displacement parameters of the face relative to the screen.
优选地,计算人脸相对于屏幕的位移参数包括:计算人脸相对于显示屏幕的横向位移和纵向位移、以及人脸与屏幕的距离和位移加速度。Preferably, calculating the displacement parameter of the face relative to the screen comprises calculating a lateral displacement and a longitudinal displacement of the face relative to the display screen, and a distance between the face and the screen and a displacement acceleration.
具体的,通过摄像头拍摄前景图像,当光线充足时使用摄像头拍摄,当光线比较暗时使用红外灯光线与红外摄像头配合拍摄,对拍摄的图像进行人脸识别(人脸识别技术可以采用现有的技术,这里不详细描述)。但不是单纯的靠图像识别技术来判断位移,而是以运动传感器数据为基础数据,进一步结合图像识别技术,这样可以让位移判断更快更准确。举例来说,先根据运动传感器来获取初步的运动数据,然后通过画面内容的对比(比如通过运动前后人脸在图像中的位置变化是向上,向下或哪个方向的位置变化),以运动传感器数据为基础,进一步通过图像识别位移来修正与调节,通过两个数据的结合来计算输出最终人机界面的横向位移和纵向位移(即补偿数据量),以便后继当位移距离在预设的范围内时,对人机界面相对于终端位移的方向进行反向位移补偿。还可 以计算人脸与屏幕的距离和位移加速度,以便后继放大或者缩小人机界面,尽可能使图像显示相对人脸与人眼处于相对静止。Specifically, the foreground image is captured by the camera, and the camera is used when the light is sufficient. When the light is dark, the infrared light is used together with the infrared camera to perform face recognition on the captured image (the face recognition technology can adopt the existing one) Technology, not described in detail here). However, it is not simply relying on image recognition technology to judge displacement, but based on motion sensor data, and further combined with image recognition technology, this can make displacement judgment faster and more accurate. For example, the motion data is first obtained according to the motion sensor, and then the motion of the screen is compared by the contrast of the screen content (for example, the position change of the face in the image before and after the motion is up, down or in which direction) Based on the data, further correct and adjust by image recognition displacement, and calculate the lateral displacement and longitudinal displacement (ie, the amount of compensation data) of the output human-machine interface through the combination of two data, so that the subsequent displacement distance is within the preset range. In the inner direction, the displacement of the human-machine interface relative to the direction of the terminal displacement is reversely compensated. Can also To calculate the distance between the face and the screen and the displacement acceleration, so as to subsequently enlarge or reduce the human-machine interface, as far as possible, the image display is relatively stationary with respect to the human face and the human eye.
S104、根据位移参数对屏幕上显示的人机界面进行补偿。S104. Compensate the human-machine interface displayed on the screen according to the displacement parameter.
优选地,本步骤S104进一步包括:根据横向位移和纵向位移,将屏幕上显示的人机界面相对于终端的移动方向进行反向补偿;根据人脸与屏幕的距离和加速度放大或缩小人机界面。具体地,手持终端没有抖动的情况下,人机界面位于显示屏的中央。Preferably, the step S104 further comprises: inversely compensating the human-machine interface displayed on the screen with respect to the moving direction of the terminal according to the lateral displacement and the longitudinal displacement; and enlarging or reducing the human-machine interface according to the distance and acceleration of the human face from the screen . Specifically, in the case where the handheld terminal is not shaken, the human-machine interface is located at the center of the display screen.
当手持终端向右平行于人脸抖动,并产生位移时,人机界面向显示屏的左侧移动,具体移动幅度根据手持终端的位移来定。When the handheld terminal is shaken to the right parallel to the human face and generates displacement, the human-machine interface moves to the left side of the display screen, and the specific movement amplitude is determined according to the displacement of the handheld terminal.
当手持终端向左平行于人脸抖动,人机界面向显示屏的右侧移动,具体移动幅度根据手持终端的位移来定。When the handheld terminal is shaken to the left parallel to the face, the human-machine interface moves to the right side of the display screen, and the specific movement amplitude is determined according to the displacement of the handheld terminal.
当手持终端向下平行于人脸抖动,并产生位移时,人机界面向显示屏的上侧移动,具体移动幅度根据手持终端的位移来定。When the handheld terminal is parallel to the face and shakes, and the displacement occurs, the human-machine interface moves to the upper side of the display screen, and the specific movement amplitude is determined according to the displacement of the handheld terminal.
当手持终端向左上平行于人脸抖动,并产生位移时,人机界面向显示屏的左下侧移动,具体移动幅度根据手持终端的位移来定。When the handheld terminal is shaken parallel to the human face to the upper left and generates displacement, the human-machine interface moves to the lower left side of the display screen, and the specific movement amplitude is determined according to the displacement of the handheld terminal.
当手持终端远离或接近人脸,人机界面将呈现放大或缩小状态,具体放大或缩小比例和加速度成正比。具体来说,根据距离变化值与位移加速度变化值来计算输出缩小或放大的变化系数,具体的缩小或放大系数(如10%,15%或者20%)可以通过实验来给出,使缩放后人机界面大小与原有初始状态人机界面大小始终尽量相同。比如,后退1cm,从视觉角度因距离变远而使界面与字体变小,根据后退1cm的变化量给出一个放大系数(比如界面放大10%),从而使退后1cm位移前后,相对人眼人机界面好像没有变化与静止的。When the handheld terminal is away from or close to the human face, the human-machine interface will assume an enlarged or reduced state, and the specific enlargement or reduction ratio is proportional to the acceleration. Specifically, the variation coefficient of the output reduction or amplification is calculated according to the distance change value and the displacement acceleration change value, and the specific reduction or amplification factor (such as 10%, 15% or 20%) can be given by experiments, so that after scaling The size of the human-machine interface is always the same as the original initial state. For example, when the back is 1cm, the interface and the font become smaller due to the distance from the visual angle, and a magnification factor is given according to the amount of change of 1cm backward (for example, the interface is enlarged by 10%), so that the back and forth 1cm displacement is relative to the human eye. The human-machine interface does not seem to change and is still.
本发明实施例的手持终端的屏幕防抖方法和装置,通过引入人脸识别技术,计算人脸(人眼)与屏幕间的真实相对位移,并将人脸与屏幕间的真实相对位移考虑在屏幕补偿内,以使终端在一定的位移范围内,根据位移参数对屏幕上显示的人机界面进行同步位移补偿,尽可能使人机界面相对于人脸保持静止,提高观看屏幕的稳定性,从而提高用户阅读体验。The screen anti-shake method and device of the handheld terminal according to the embodiment of the present invention calculates a true relative displacement between a human face (human eye) and a screen by introducing a face recognition technology, and takes into account the true relative displacement between the face and the screen. Within the screen compensation, so that the terminal can perform synchronous displacement compensation on the man-machine interface displayed on the screen according to the displacement parameter within a certain range of displacement, so as to keep the human-machine interface stationary relative to the human face as much as possible, thereby improving the stability of the viewing screen. Thereby improving the user's reading experience.
实施例二 Embodiment 2
如图2所示为本发明优选实施例提供的一种手持终端的屏幕防抖方法,该方法包括:FIG. 2 is a schematic diagram of a screen anti-shake method of a handheld terminal according to a preferred embodiment of the present invention. The method includes:
S201、当手持终端屏幕点亮时,开启运动传感器监测手持终端的运动状态。S201. When the screen of the handheld terminal is lit, the motion sensor is turned on to monitor the motion state of the handheld terminal.
其中,运动传感器可以为加速度传感器或陀螺仪,运动传感器检测手持终端的抖动参数,抖动参数包括抖动方向、抖动加速度、抖动位移。抖动方向可以包括在手持终端屏幕坐标系的三个维度,抖动位移和抖动加速度也对应包括在这三个维度方向上的位移幅度和抖动加速度。The motion sensor may be an acceleration sensor or a gyroscope, and the motion sensor detects a jitter parameter of the handheld terminal, and the jitter parameter includes a jitter direction, a jitter acceleration, and a jitter displacement. The dithering direction may be included in three dimensions of the handheld terminal screen coordinate system, and the jitter displacement and the jitter acceleration also correspond to the displacement amplitude and the jitter acceleration included in the three dimensional directions.
S202、判断是否检测到手持终端抖动,如果是,则执行步骤S203,否则继续监测。S202. Determine whether the handheld terminal jitter is detected. If yes, execute step S203, otherwise continue monitoring.
具体地,当检测到抖动时,将抖动参数发送给显示处理器,当检测到没有抖动时,按正常模式执行显示,同时继续监测是否抖动。Specifically, when the jitter is detected, the jitter parameter is transmitted to the display processor, and when no jitter is detected, the display is performed in the normal mode while continuing to monitor whether the jitter is present.
S203、根据运动传感器的抖动参数对屏幕显示位置相对于手持终端运动方向进行相反补偿。S203. Perform opposite compensation on the screen display position relative to the moving direction of the handheld terminal according to the jitter parameter of the motion sensor.
优选地,根据屏幕坐标系的三个维度上的加速度确定所述屏幕坐标系三个维度上的抖动方向和幅度;根据所述在屏幕坐标系三个维度上的抖动方向和幅度对屏幕显示位置进行平移或者缩放。Preferably, the jitter direction and the amplitude in three dimensions of the screen coordinate system are determined according to the accelerations in the three dimensions of the screen coordinate system; and the screen display position is displayed according to the shaking direction and the amplitude in the three dimensions of the screen coordinate system. Pan or zoom.
具体地,屏幕显示位置是相对于手机显示屏(即手机边框之间的物理部分)而言的,一般默认全屏显示,而人机界面是显示的画面相对于屏幕而言的,一般也默认为画面充满屏幕。如果手持终端抖动时,首先根据运动传感器的抖动参数对屏幕显示位置相对于手持终端相反运动方向进行位移补偿,从而补偿手持终端本身的抖动,尽量使屏幕尽量保持相对静止,然后进一步在屏幕中补偿人机界面。Specifically, the screen display position is relative to the display screen of the mobile phone (ie, the physical part between the borders of the mobile phone), generally the default full screen display, and the human machine interface is the displayed screen relative to the screen, and generally the default is The picture is full of screens. If the handheld terminal is dithered, firstly, according to the jitter parameter of the motion sensor, the screen display position is displacement-compensated with respect to the opposite movement direction of the handheld terminal, thereby compensating for the jitter of the handheld terminal itself, trying to keep the screen as relatively static as possible, and then further compensating in the screen. HMI.
S204、启动摄像头摄像并进行人脸识别,计算人脸相对于屏幕的位移参数。S204. Start camera imaging and perform face recognition, and calculate displacement parameters of the face relative to the screen.
本步骤S204同上述实施例一的步骤S103,这里不再重述。This step S204 is the same as step S103 of the first embodiment, and will not be repeated here.
S205、根据位移参数对屏幕上显示的人机界面进行补偿。S205. Compensate the human-machine interface displayed on the screen according to the displacement parameter.
本步骤S205同上述实施例一的步骤S104,这里不再重述。This step S205 is the same as step S104 of the first embodiment, and will not be repeated here.
本发明实施例的手持终端的屏幕防抖方法,在利用手持终端内传感器针对手持终端的抖动对显示屏幕进行位移补偿的基础上,引入人脸识别技术计算人脸相对屏幕的晃动位移,并对人机界面进一步补偿位移,通过双重补偿的稳定 性效果更好。The screen anti-shake method of the handheld terminal according to the embodiment of the present invention introduces face recognition technology to calculate the sway displacement of the face relative to the screen, based on the displacement compensation of the display screen by the sensor in the handheld terminal. The man-machine interface further compensates for the displacement and is stabilized by double compensation. Sexual effects are better.
综上所述可知,现有技术中,通常是对摄录模块内部的元器件位置进行补偿。而本发明则是对人机界面进行补偿,主要包括两种补偿方式:第一,根据横向位移和纵向位移,将屏幕上显示的人机界面相对于终端的移动方向进行反向补偿;第二,根据人脸与屏幕的距离和加速度放大或缩小人机界面。从而,尽可能使人机界面相对于人脸保持静止,提高观看屏幕的稳定性。In summary, in the prior art, the position of components inside the video recording module is usually compensated. The present invention compensates for the human-machine interface, and mainly includes two compensation modes: first, according to the lateral displacement and the longitudinal displacement, the human-machine interface displayed on the screen is inversely compensated with respect to the moving direction of the terminal; , enlarge or reduce the human-machine interface according to the distance and acceleration of the face from the screen. Thereby, the human-machine interface is kept as static as possible with respect to the human face, and the stability of the viewing screen is improved.
实施例三Embodiment 3
如图3所示为本发明实施例提供的一种手持终端的屏幕防抖装置,该装置包括:As shown in FIG. 3, a screen anti-shake device of a handheld terminal according to an embodiment of the present invention includes:
运动监测模块10,设置为当手持终端屏幕点亮时,开启运动传感器监测手持终端的运动状态;The motion monitoring module 10 is configured to: when the handheld terminal screen is lit, turn on the motion sensor to monitor the motion state of the handheld terminal;
人脸识别模块20,设置为当检测到手持终端抖动时,启动摄像头摄像并进行人脸识别,计算人脸相对于屏幕的位移参数;The face recognition module 20 is configured to: when detecting the jitter of the handheld terminal, start camera imaging and perform face recognition, and calculate a displacement parameter of the face relative to the screen;
优选地,人脸识别模块20具体设置为:启动摄像头摄像并进行人脸识别,计算人脸相对于显示屏幕的横向位移和纵向位移、以及人脸与屏幕的距离和位移加速度。Preferably, the face recognition module 20 is specifically configured to: start camera imaging and perform face recognition, calculate lateral displacement and longitudinal displacement of the face relative to the display screen, and distance and displacement acceleration of the face from the screen.
显示处理模块30,设置为根据位移参数对屏幕上显示的人机界面进行补偿。The display processing module 30 is configured to compensate the human-machine interface displayed on the screen according to the displacement parameter.
优选地,显示处理模块30具体设置为:根据横向位移和纵向位移,将屏幕上显示的人机界面进行反向补偿;根据人脸与屏幕的距离和位移加速度进行放大或缩小人机界面。Preferably, the display processing module 30 is specifically configured to: inversely compensate the human-machine interface displayed on the screen according to the lateral displacement and the longitudinal displacement; and enlarge or reduce the human-machine interface according to the distance between the face and the screen and the displacement acceleration.
作为本实施例的另一种优选方案,显示处理模块30还设置为:根据运动传感器的抖动参数对屏幕显示位置相对于手持终端运动方向进行相反补偿以使显示屏幕相对静止。具体来说,可以根据屏幕坐标系的三个维度上的加速度确定所述屏幕坐标系三个维度上的抖动方向和幅度;根据所述在屏幕坐标系三个维度上的抖动方向和幅度对屏幕显示位置进行平移或者缩放。As another preferred embodiment of the present embodiment, the display processing module 30 is further configured to: inversely compensate the screen display position relative to the direction of movement of the handheld terminal according to the jitter parameter of the motion sensor to make the display screen relatively stationary. Specifically, the jitter direction and the amplitude in the three dimensions of the screen coordinate system may be determined according to the accelerations in the three dimensions of the screen coordinate system; according to the jitter direction and the amplitude in the three dimensions of the screen coordinate system Display position for panning or zooming.
需要说明的是,上述方法实施例一和实施例二中的技术特征在本装置均能对应适用,这里不再重述。It should be noted that the technical features in the first embodiment and the second embodiment of the foregoing method are applicable to the device, and are not repeated herein.
相应地,本发明实施例还提供了一种手持终端,该手持终端中包括上述屏幕防抖装置。手持终端包括但不限于手机、IPAD、平板电脑。 Correspondingly, an embodiment of the present invention further provides a handheld terminal, where the handheld terminal includes the above-mentioned screen anti-shake device. Handheld terminals include, but are not limited to, mobile phones, IPADs, and tablets.
本发明实施例的手持终端及其屏幕防抖装置,通过引入人脸识别技术,将人脸相对于屏幕的真实位移考虑在屏幕补偿内,以使终端在一定的位移范围内,根据位移参数对屏幕上显示的人机界面进行同步位移补偿,尽可能使人机界面相对于人脸保持静止,提高观看屏幕的稳定性,从而提高用户体验。The handheld terminal and the screen anti-shake device of the embodiment of the invention adopt the face recognition technology to consider the real displacement of the face relative to the screen in the screen compensation, so that the terminal is within a certain displacement range, according to the displacement parameter pair The human-machine interface displayed on the screen performs synchronous displacement compensation to keep the human-machine interface still with respect to the human face as much as possible, thereby improving the stability of the viewing screen and thereby improving the user experience.
以上参照附图说明了本发明的优选实施例,并非因此局限本发明的权利范围。本领域技术人员不脱离本发明的范围和实质内所作的任何修改、等同替换和改进,均应在本发明的权利范围之内。The preferred embodiments of the present invention have been described above with reference to the drawings, and are not intended to limit the scope of the invention. Any modifications, equivalent substitutions and improvements made by those skilled in the art without departing from the scope and spirit of the invention are intended to be included within the scope of the invention.
工业实用性Industrial applicability
本发明实施例的手持终端及其屏幕防抖方法和装置,通过引入人脸识别技术,计算人脸(人眼)与屏幕间的真实相对位移,并将人脸与屏幕间的真实相对位移考虑在屏幕补偿内,使得终端可以在一定的位移范围内,根据位移参数对屏幕上显示的人机界面进行同步运动位移补偿,尽可能使人机界面相对于人脸保持静止,提高了用户观看屏幕的稳定性,提高了用户的阅读体验。 The handheld terminal and the screen anti-shake method and device thereof according to the embodiments of the present invention calculate a true relative displacement between a human face (human eye) and a screen by introducing a face recognition technology, and consider the true relative displacement between the face and the screen. In the screen compensation, the terminal can perform synchronous motion displacement compensation on the man-machine interface displayed on the screen according to the displacement parameter within a certain range of displacement, and keep the human-machine interface stationary relative to the human face as much as possible, thereby improving the user's viewing screen. The stability improves the user's reading experience.

Claims (20)

  1. 一种手持终端的屏幕防抖方法,包括:A screen anti-shake method for a handheld terminal, comprising:
    当手持终端的屏幕点亮时,开启运动传感器监测手持终端的运动状态;When the screen of the handheld terminal is lit, the motion sensor is turned on to monitor the motion state of the handheld terminal;
    如果检测到手持终端抖动,则启动摄像头摄像并进行人脸识别,计算人脸相对于屏幕的位移参数;If the handheld terminal is detected to be shaken, the camera image is started and face recognition is performed, and the displacement parameter of the face relative to the screen is calculated;
    根据所述位移参数对屏幕上显示的人机界面进行反向补偿,以使所述人机界面相对人脸相对静止。The human-machine interface displayed on the screen is inversely compensated according to the displacement parameter, so that the human-machine interface is relatively stationary relative to the human face.
  2. 根据权利要求1所述的屏幕防抖方法,其中,所述计算人脸相对于屏幕的位移参数进一步包括:计算人脸相对于显示屏幕的横向位移和纵向位移、以及人脸与屏幕的距离和位移加速度。The screen anti-shake method according to claim 1, wherein the calculating the displacement parameter of the face relative to the screen further comprises: calculating a lateral displacement and a longitudinal displacement of the face with respect to the display screen, and a distance between the face and the screen and Displacement acceleration.
  3. 根据权利要求2所述的屏幕防抖方法,其中,根据所述位移参数对屏幕上显示的人机界面进行补偿进一步包括:The screen anti-shake method according to claim 2, wherein compensating the human-machine interface displayed on the screen according to the displacement parameter further comprises:
    根据所述横向位移和纵向位移,将屏幕上显示的人机界面相对于终端位移的方向进行反向补偿;According to the lateral displacement and the longitudinal displacement, the man-machine interface displayed on the screen is reversely compensated with respect to the direction of the terminal displacement;
    根据所述人脸与屏幕的距离和位移加速度进行放大或缩小所述人机界面。The human-machine interface is enlarged or reduced according to the distance between the face and the screen and the displacement acceleration.
  4. 根据权利要求1所述的屏幕防抖方法,其中,所述启动摄像头摄像进行人脸识别之前还包括:The screen anti-shake method according to claim 1, wherein the initiating camera imaging before performing face recognition further comprises:
    根据运动传感器的抖动参数对屏幕显示位置相对于手持终端运动方向进行相反补偿。The screen display position is inversely compensated for the direction of movement of the handheld terminal according to the jitter parameter of the motion sensor.
  5. 根据权利要求4所述的屏幕防抖方法,其中,所述抖动参数包括抖动方向、抖动加速度和抖动位移。The screen stabilization method according to claim 4, wherein the jitter parameter comprises a jitter direction, a jitter acceleration, and a jitter displacement.
  6. 根据权利要求4所述的屏幕防抖方法,其中,所述根据运动传感器的抖动参数对屏幕显示位置相对于手持终端运动方向进行相反补偿进一步包括:The screen anti-shake method of claim 4, wherein the counter-compensating the screen display position relative to the direction of movement of the handheld terminal according to the jitter parameter of the motion sensor further comprises:
    根据屏幕坐标系的三个维度上的加速度确定所述屏幕坐标系三个维度上的抖动方向和幅度;根据所述在屏幕坐标系三个维度上的抖动方向和幅度对屏幕显示位置进行平移或者缩放。Determining a dithering direction and an amplitude in three dimensions of the screen coordinate system according to accelerations in three dimensions of the screen coordinate system; translating the screen display position according to the dithering direction and amplitude in the three dimensions of the screen coordinate system or Zoom.
  7. 根据权利要求1所述的屏幕防抖方法,其中,所述方法还包括:The screen anti-shake method according to claim 1, wherein the method further comprises:
    当所述屏幕的中心点相对于人机界面的中心点在横向或者纵向的位移在预 设范围内时,则判定手持终端发生了抖动。When the center point of the screen is displaced in the lateral or longitudinal direction relative to the center point of the human-machine interface, When the range is within, it is determined that the handheld terminal is shaken.
  8. 根据权利要求1所述的屏幕防抖方法,其中,所述计算人脸相对于屏幕的位移参数进一步包括:The screen anti-shake method according to claim 1, wherein the calculating the displacement parameter of the face relative to the screen further comprises:
    通过运动传感器获取初步的运动数据;Acquiring preliminary motion data through motion sensors;
    通过摄像头拍摄前景图像,对拍摄的图像进行人脸识别;The foreground image is captured by the camera, and the captured image is subjected to face recognition;
    通过图像识别位移对所述运动数据进行修正与调节,获取位移参数。The motion data is corrected and adjusted by image recognition displacement to obtain a displacement parameter.
  9. 根据权利要求8所述的屏幕防抖方法,其中,所述通过摄像头拍摄前景图像进一步包括:当光线充足时使用摄像头拍摄前景图像,当光线比较暗时使用红外灯光线与红外摄像头配合拍摄前景图像。The screen anti-shake method according to claim 8, wherein the photographing the foreground image by the camera further comprises: using the camera to capture the foreground image when the light is sufficient, and using the infrared light line to cooperate with the infrared camera to capture the foreground image when the light is relatively dark .
  10. 一种手持终端的屏幕防抖装置,包括:A screen anti-shake device for a handheld terminal, comprising:
    运动监测模块,设置为当手持终端的屏幕点亮时,开启运动传感器监测手持终端的运动状态;The motion monitoring module is configured to: when the screen of the handheld terminal is illuminated, turn on the motion sensor to monitor the motion state of the handheld terminal;
    人脸识别模块,设置为当检测到手持终端抖动时,启动摄像头摄像并进行人脸识别,计算人脸相对于屏幕的位移参数;The face recognition module is configured to: when detecting the jitter of the handheld terminal, start camera imaging and perform face recognition, and calculate a displacement parameter of the face relative to the screen;
    显示处理模块,设置为根据所述位移参数对屏幕上显示的人机界面进行反向补偿,以使所述人机界面相对人脸相对静止。The display processing module is configured to inversely compensate the human-machine interface displayed on the screen according to the displacement parameter, so that the human-machine interface is relatively stationary relative to the human face.
  11. 根据权利要求10所述的屏幕防抖装置,其中,所述人脸识别模块设置为:启动摄像头摄像并进行人脸识别,计算人脸相对于显示屏幕的横向位移和纵向位移、以及人脸与屏幕的距离和位移加速度。The screen anti-shake device according to claim 10, wherein the face recognition module is configured to: start camera imaging and perform face recognition, calculate lateral displacement and longitudinal displacement of the face relative to the display screen, and face and face The distance and displacement acceleration of the screen.
  12. 根据权利要求11所述的屏幕防抖装置,其中,所述显示处理模块设置为:根据横向位移和纵向位移,将屏幕上显示的人机界面相对于终端位移的方向进行反向补偿;根据所述人脸与屏幕的距离和位移加速度进行放大或缩小所述人机界面。The screen anti-shake device according to claim 11, wherein the display processing module is configured to: inversely compensate a human-machine interface displayed on the screen with respect to a direction in which the terminal is displaced according to the lateral displacement and the longitudinal displacement; The distance between the face and the screen and the displacement acceleration are used to enlarge or reduce the human-machine interface.
  13. 根据权利要求10所述的屏幕防抖装置,其中,所述显示处理模块还设置为:根据运动传感器的抖动参数对屏幕显示位置相对于手持终端运动方向进行相反补偿。The screen anti-shake device of claim 10, wherein the display processing module is further configured to inversely compensate the screen display position relative to the direction of movement of the handheld terminal based on the jitter parameter of the motion sensor.
  14. 根据权利要求13所述的屏幕防抖装置,其中,所述显示处理模块设置为:The screen anti-shake device of claim 13, wherein the display processing module is configured to:
    根据屏幕坐标系的三个维度上的加速度确定所述屏幕坐标系三个维度上的 抖动方向和幅度;根据所述在屏幕坐标系三个维度上的抖动方向和幅度对屏幕显示位置进行平移或者缩放。Determining the three dimensions of the screen coordinate system according to the accelerations in three dimensions of the screen coordinate system Dithering direction and amplitude; panning or scaling the screen display position according to the dithering direction and amplitude in the three dimensions of the screen coordinate system.
  15. 根据权利要求10所述的屏幕防抖装置,其中,所述运动监测模块设置为:当所述屏幕的中心点相对于人机界面的中心点在横向或者纵向的位移在预设范围内时,则判定手持终端发生了抖动。The screen anti-shake device according to claim 10, wherein the motion monitoring module is configured to: when a displacement of a center point of the screen with respect to a center point of the human-machine interface in a horizontal or vertical direction is within a preset range, Then it is determined that the handheld terminal has shaken.
  16. 根据权利要求10所述的屏幕防抖装置,其中,所述人脸识别模块设置为:The screen anti-shake device of claim 10, wherein the face recognition module is configured to:
    通过所述运动传感器获取初步的运动数据;Acquiring preliminary motion data by the motion sensor;
    通过摄像头拍摄前景图像,对拍摄的图像进行人脸识别;The foreground image is captured by the camera, and the captured image is subjected to face recognition;
    通过图像识别位移对所述运动数据进行修正与调节,获取位移参数。The motion data is corrected and adjusted by image recognition displacement to obtain a displacement parameter.
  17. 根据权利要求16所述的屏幕防抖装置,其中,所述人脸识别模块设置为:当光线充足时使用摄像头拍摄前景图像,当光线比较暗时使用红外灯光线与红外摄像头配合拍摄前景图像。The screen anti-shake device according to claim 16, wherein the face recognition module is configured to: use a camera to capture a foreground image when the light is sufficient, and use an infrared light line to cooperate with the infrared camera to capture the foreground image when the light is relatively dark.
  18. 一种手持终端,包括一屏幕防抖装置,所述屏幕防抖装置包括:A handheld terminal includes a screen anti-shake device, and the screen anti-shake device includes:
    运动监测模块,设置为当手持终端的屏幕点亮时,开启运动传感器监测手持终端的运动状态;The motion monitoring module is configured to: when the screen of the handheld terminal is illuminated, turn on the motion sensor to monitor the motion state of the handheld terminal;
    人脸识别模块,设置为当检测到手持终端抖动时,启动摄像头摄像并进行人脸识别,计算人脸相对于屏幕的位移参数;The face recognition module is configured to: when detecting the jitter of the handheld terminal, start camera imaging and perform face recognition, and calculate a displacement parameter of the face relative to the screen;
    显示处理模块,设置为根据所述位移参数对屏幕上显示的人机界面进行补偿。The display processing module is configured to compensate the human-machine interface displayed on the screen according to the displacement parameter.
  19. 根据权利要求18所述的手持终端,其中,所述人脸识别模块设置为:启动摄像头摄像并进行人脸识别,计算人脸相对于显示屏幕的横向位移和纵向位移、以及人脸与屏幕的距离和位移加速度。The handheld terminal according to claim 18, wherein the face recognition module is configured to: start camera imaging and perform face recognition, calculate lateral displacement and longitudinal displacement of the face relative to the display screen, and face and screen Distance and displacement acceleration.
  20. 根据权利要求19所述的手持终端,其中,所述显示处理模块设置为:根据横向位移和纵向位移,将屏幕上显示的人机界面相对于终端位移的方向进行反向补偿;根据所述人脸与屏幕的距离和位移加速度进行放大或缩小所述人机界面。 The handheld terminal according to claim 19, wherein the display processing module is configured to: inversely compensate a human-machine interface displayed on the screen with respect to a direction in which the terminal is displaced according to the lateral displacement and the longitudinal displacement; The distance between the face and the screen and the displacement acceleration are used to enlarge or reduce the human-machine interface.
PCT/CN2015/074008 2014-03-14 2015-03-11 Handheld terminal and screen anti-shake method and device for handheld terminal WO2015135477A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410095914.0A CN103885593B (en) 2014-03-14 2014-03-14 A kind of handheld terminal and screen anti-fluttering method thereof and device
CN201410095914.0 2014-03-14

Publications (1)

Publication Number Publication Date
WO2015135477A1 true WO2015135477A1 (en) 2015-09-17

Family

ID=50954527

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/074008 WO2015135477A1 (en) 2014-03-14 2015-03-11 Handheld terminal and screen anti-shake method and device for handheld terminal

Country Status (2)

Country Link
CN (1) CN103885593B (en)
WO (1) WO2015135477A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113034069A (en) * 2019-12-25 2021-06-25 菜鸟智能物流控股有限公司 Logistics object processing method and logistics management equipment

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885593B (en) * 2014-03-14 2016-04-06 努比亚技术有限公司 A kind of handheld terminal and screen anti-fluttering method thereof and device
CN105320254A (en) * 2014-07-25 2016-02-10 腾讯科技(深圳)有限公司 Mobile terminal display control method and device
CN104320545B (en) * 2014-11-14 2019-03-12 陕西亚成微电子股份有限公司 A kind of mobile phone screen anti-fluttering method
CN104461289B (en) * 2014-11-28 2018-09-11 广东欧珀移动通信有限公司 Terminal and its screen display method and device
CN104333665A (en) * 2014-12-02 2015-02-04 上海斐讯数据通信技术有限公司 Mobile terminal and display adjustment method thereof
CN106293417A (en) * 2015-06-08 2017-01-04 中兴通讯股份有限公司 Screen-picture display packing and device
CN106648344B (en) * 2015-11-02 2019-03-01 重庆邮电大学 A kind of screen content method of adjustment and its equipment
WO2017005070A1 (en) * 2015-07-09 2017-01-12 重庆邮电大学 Display control method and device
CN106371552B (en) * 2015-07-22 2021-04-16 腾讯科技(深圳)有限公司 Control method and device for media display at mobile terminal
US10503317B2 (en) * 2016-02-09 2019-12-10 The Boeing Company Turbulence resistant touch system
CN105931182B (en) * 2016-04-15 2019-12-10 惠州Tcl移动通信有限公司 Image zooming method and system
CN106126006A (en) * 2016-06-14 2016-11-16 珠海市魅族科技有限公司 A kind of data display method and device
CN107515709B (en) * 2016-06-16 2021-09-10 苏宁易购集团股份有限公司 Screen display method and device
CN106648387A (en) * 2016-11-16 2017-05-10 深圳天珑无线科技有限公司 Terminal with shooting function and anti-shake display method thereof
US20190267145A1 (en) * 2016-11-22 2019-08-29 Mitsubishi Electric Corporation Incore neutron instrumentation system
CN107707738A (en) 2017-09-07 2018-02-16 维沃移动通信有限公司 A kind of face identification method and mobile terminal
CN108491138A (en) * 2018-01-16 2018-09-04 华南理工大学 A kind of mobile screen self-adapting regulation method based on Multi-sensor Fusion
CN113645502B (en) * 2020-04-27 2022-09-16 海信视像科技股份有限公司 Method for dynamically adjusting control and display device
CN112788233B (en) * 2020-12-30 2023-05-23 维沃移动通信有限公司 Video shooting processing method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101031033A (en) * 2006-03-03 2007-09-05 奥林巴斯映像株式会社 Imaging apparatus and imaging method
CN101212570A (en) * 2006-12-25 2008-07-02 鸿富锦精密工业(深圳)有限公司 Photographing mobile communication terminal
CN101300831A (en) * 2005-11-04 2008-11-05 诺基亚公司 Image stabilized digital imaging
CN103885593A (en) * 2014-03-14 2014-06-25 深圳市中兴移动通信有限公司 Handheld terminal and screen anti-shake method and device of handheld terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662582A (en) * 2009-09-08 2010-03-03 长春理工大学 Method for compensating image dithering of airborne imaging equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101300831A (en) * 2005-11-04 2008-11-05 诺基亚公司 Image stabilized digital imaging
CN101031033A (en) * 2006-03-03 2007-09-05 奥林巴斯映像株式会社 Imaging apparatus and imaging method
CN101212570A (en) * 2006-12-25 2008-07-02 鸿富锦精密工业(深圳)有限公司 Photographing mobile communication terminal
CN103885593A (en) * 2014-03-14 2014-06-25 深圳市中兴移动通信有限公司 Handheld terminal and screen anti-shake method and device of handheld terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113034069A (en) * 2019-12-25 2021-06-25 菜鸟智能物流控股有限公司 Logistics object processing method and logistics management equipment

Also Published As

Publication number Publication date
CN103885593A (en) 2014-06-25
CN103885593B (en) 2016-04-06

Similar Documents

Publication Publication Date Title
WO2015135477A1 (en) Handheld terminal and screen anti-shake method and device for handheld terminal
US9019387B2 (en) Imaging device and method of obtaining image
WO2018072353A1 (en) Image acquiring method and terminal device
EP2742680B1 (en) Video stabilisation
RU2624569C2 (en) Image displaying method and device
EP3544286B1 (en) Focusing method, device and storage medium
US7903144B2 (en) Electric hand-vibration correction method, electric hand-vibration correction device, electric hand-vibration correction program, and imaging apparatus
CN103763483A (en) Method and device for shaking resistance in photo taking process of mobile terminal and mobile terminal
TW200928860A (en) Method and device for adjusting output frame
US10956733B2 (en) Image processing apparatus and image processing method
US8965105B2 (en) Image processing device and method
JP2011138449A (en) Display control device, display device, electronic apparatus and display control method
WO2016197639A1 (en) Screen picture display method and apparatus
CN105721739B (en) Anti-shaking system and method for screen image
CN104363386A (en) Photo processing method and device
WO2017005070A1 (en) Display control method and device
US20150288949A1 (en) Image generating apparatus, imaging apparatus, and image generating method
US20130050427A1 (en) Method and apparatus for capturing three-dimensional image and apparatus for displaying three-dimensional image
WO2018196854A1 (en) Photographing method, photographing apparatus and mobile terminal
CN114390186A (en) Video shooting method and electronic equipment
JP2013201688A (en) Image processing apparatus, image processing method, and image processing program
JP2014039166A (en) Controller of automatic tracking camera and automatic tracking camera equipped with the same
JP2008146164A (en) Compact terminal equipment
US11600241B2 (en) Display control device, imaging device, display control method, and display control program
KR101502864B1 (en) Apparatus for compensating shaking of video camera angle using accelerometers and method thereof, and portable terminal comprising the same apparatus

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 15762340

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08/02/17)

122 Ep: pct application non-entry in european phase

Ref document number: 15762340

Country of ref document: EP

Kind code of ref document: A1