[go: up one dir, main page]

CN104331168B - Display adjusting method and electronic equipment - Google Patents

Display adjusting method and electronic equipment Download PDF

Info

Publication number
CN104331168B
CN104331168B CN201410719589.0A CN201410719589A CN104331168B CN 104331168 B CN104331168 B CN 104331168B CN 201410719589 A CN201410719589 A CN 201410719589A CN 104331168 B CN104331168 B CN 104331168B
Authority
CN
China
Prior art keywords
picture
display
user
eyes
viewing angle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410719589.0A
Other languages
Chinese (zh)
Other versions
CN104331168A (en
Inventor
蒋杨洋
李晓娥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410719589.0A priority Critical patent/CN104331168B/en
Publication of CN104331168A publication Critical patent/CN104331168A/en
Application granted granted Critical
Publication of CN104331168B publication Critical patent/CN104331168B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本发明适用于电子设备领域,提供了一种显示调整方法和电子设备。用户浏览显示屏中的画面时,获取用户的人脸图像;对所述人脸图像进行特征分析,识别出用户眼睛的观看角度;基于所述观看角度,根据特设算法调整所述画面的显示角度,使得部分所述画面朝向用户的眼睛显示。实现实时跟踪眼睛的观看角度并相应地调整该画面的显示角度;尤其是当用户斜视该画面时,根据观看角度做画面调整之后,便于用户清楚浏览感兴趣的该部分画面,减少了对眼睛的损害。

The invention is applicable to the field of electronic equipment, and provides a display adjustment method and electronic equipment. When the user browses the screen on the display screen, the user's face image is obtained; the feature analysis of the face image is carried out to identify the viewing angle of the user's eyes; based on the viewing angle, the display of the screen is adjusted according to a special algorithm angle so that part of the picture is displayed towards the user's eyes. Realize real-time tracking of the viewing angle of the eyes and adjust the display angle of the picture accordingly; especially when the user squints at the picture, after adjusting the picture according to the viewing angle, it is convenient for the user to clearly browse the part of the picture that is of interest to the user, reducing the strain on the eyes damage.

Description

显示调整方法和电子设备Display adjustment method and electronics

技术领域technical field

本发明属于电子设备领域,尤其涉及一种显示调整方法和电子设备。The invention belongs to the field of electronic equipment, and in particular relates to a display adjustment method and electronic equipment.

背景技术Background technique

电子设备,是指由集成电路、晶体管、电子管等电子元器件组成的设备;对于部分电子设备,还可对其编程以实现各种功能。目前,电子设备在各行各业得到广泛的开发并应用,包括:电子计算机、由已编程序的控制器控制的机器人、数控和程控系统等;具体在生活中,包括智能手机等移动终端、还包括智能家电。Electronic equipment refers to equipment composed of electronic components such as integrated circuits, transistors, and electronic tubes; for some electronic equipment, it can also be programmed to achieve various functions. At present, electronic equipment has been widely developed and applied in various industries, including: electronic computers, robots controlled by programmed controllers, numerical control and program-controlled systems, etc.; Including smart home appliances.

另外,电子设备配置有显示屏,电子设备可通过该显示屏显示载有数据的画面,便于用户通过浏览该画面的方式获取到感兴趣的信息。但,因显示屏在显示画面时所发出的光线具有一定辐射;并且显示屏中的画面通常以不变的固定角度进行平面显示,如果用户再以斜视角度浏览显示屏中的画面,对眼睛的伤害非常大。In addition, the electronic device is equipped with a display screen, and the electronic device can display a picture carrying data through the display screen, so that the user can obtain interesting information by browsing the picture. However, because the light emitted by the display screen has a certain amount of radiation when displaying pictures; and the pictures in the display screen are usually displayed on a plane at a constant fixed angle, if the user browses the pictures in the display screen at a squint angle, it will be harmful to the eyes. It hurts a lot.

发明内容Contents of the invention

本发明的目的在于提供一种显示调整方法和电子设备,为解决用户以斜视角度浏览显示屏中平面显示的画面,造成眼睛伤害的问题。The object of the present invention is to provide a display adjustment method and an electronic device, in order to solve the problem of eye injury caused by users browsing the screen displayed on the display screen at a squint angle.

第一方面,本发明提供一种显示调整方法,所述显示调整方法包括:In a first aspect, the present invention provides a display adjustment method, the display adjustment method comprising:

用户浏览显示屏中的画面时,获取用户的人脸图像;Obtain the user's face image when the user browses the screen on the display screen;

对所述人脸图像进行特征分析,识别出用户眼睛的观看角度;Perform feature analysis on the face image to identify the viewing angle of the user's eyes;

基于所述观看角度,根据特设算法调整所述画面的显示角度,使得部分所述画面朝向用户的眼睛显示。Based on the viewing angle, the display angle of the picture is adjusted according to an ad-hoc algorithm, so that part of the picture is displayed toward the user's eyes.

结合第一方面,在第一方面的第一种可能的实现方式中,所述基于所述观看角度,按照特设算法调整所述显示画面的显示角度这一步骤,具体包括:With reference to the first aspect, in the first possible implementation of the first aspect, the step of adjusting the display angle of the display screen according to an ad-hoc algorithm based on the viewing angle specifically includes:

检测用户的眼睛与所述显示屏的距离;detecting the distance between the user's eyes and the display screen;

基于所述距离和所述观看角度,根据第一算法确定曲线的曲率;determining the curvature of the curve according to a first algorithm based on the distance and the viewing angle;

以所述曲线调整所述画面的显示角度。The display angle of the picture is adjusted by the curve.

结合第一方面或者第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述以所述曲线调整所述画面的显示角度这一步骤之后,所述显示调整方法还包括:With reference to the first aspect or the first possible implementation of the first aspect, in the second possible implementation of the first aspect, after the step of adjusting the display angle of the picture with the curve, the The display adjustment method also includes:

检测所述显示屏所处环境的光线强度;Detecting the light intensity of the environment where the display screen is located;

基于所述距离、所述光线强度和所述观看角度,根据所述第二算法确定所述画面的显示亮度,以区别亮度显示朝向所述眼睛的部分所述画面。Based on the distance, the light intensity and the viewing angle, the display brightness of the picture is determined according to the second algorithm, and the part of the picture facing the eyes is displayed with a differential brightness.

结合第一方面或者第一方面的第一种实施方式或者第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述根据特设算法调整所述画面的显示角度这一步骤之后,所述显示调整方法还包括:With reference to the first aspect or the first implementation manner of the first aspect or the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the adjustment of the After the step of display angle of the picture, the display adjustment method also includes:

按照第三算法调整朝向所述眼睛的部分所述画面,以区别显示朝向所述眼睛的部分所述画面。The part of the picture facing the eye is adjusted according to the third algorithm, so as to display the part of the picture facing the eye differently.

结合第一方面或者第一方面的第一种实施方式或者第一方面的第二种可能的实现方式或者第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,所述根据特设算法调整所述画面的显示角度这一步骤之后,所述显示调整方法具体包括:In combination with the first aspect or the first implementation of the first aspect or the second possible implementation of the first aspect or the third possible implementation of the first aspect, the fourth possible implementation of the first aspect In the method, after the step of adjusting the display angle of the picture according to the ad hoc algorithm, the display adjustment method specifically includes:

从所述人脸图像识别出眼睑的运动信息;identifying eyelid movement information from the face image;

如果根据所述运动信息识别出用眼疲劳状态,则在持续识别到所述用眼疲劳状态的时间达到第一时间时控制所述显示屏按照预设模式显示;If the state of eye fatigue is recognized according to the motion information, the display screen is controlled to display in a preset mode when the time for continuously recognizing the state of eye fatigue reaches the first time;

其中,所述预设模式包括以下的一种或其组合:按照预设方式显示所述画面,显示提醒用户休息眼睛的预设图片。Wherein, the preset mode includes one or a combination of the following: displaying the picture in a preset manner, displaying a preset picture reminding the user to rest their eyes.

结合第一方面或者第一方面的第一种实施方式或者结合第一方面的第二种可能的实现方式或者第一方面的第三种可能的实现方式或者第一方面的第四种可能的实现方式,在第一方面的第五种可能的实现方式中,所述根据特设算法调整所述画面的显示角度这一步骤之后,所述显示调整方法具体包括:Combining the first aspect or the first implementation mode of the first aspect or combining the second possible implementation mode of the first aspect or the third possible implementation mode of the first aspect or the fourth possible implementation mode of the first aspect way, in the fifth possible implementation of the first aspect, after the step of adjusting the display angle of the picture according to the ad hoc algorithm, the display adjustment method specifically includes:

在所述观看角度与所述正视角度的角度差大于预设差值、且用户持续以所述观看角度浏览所述画面的时间达到第二时间时,控制所述显示屏按照预设模式显示;When the angle difference between the viewing angle and the front view angle is greater than a preset difference and the user continues to browse the picture at the viewing angle for a second time, control the display screen to display in a preset mode;

其中,所述预设模式包括以下的一种或其组合:按照预设方式显示所述画面,显示提醒用户休息眼睛的预设图片。Wherein, the preset mode includes one or a combination of the following: displaying the picture in a preset manner, displaying a preset picture reminding the user to rest their eyes.

结合第一方面或者第一方面的第一种实施方式或者第一方面的第二种可能的实现方式或者第一方面的第三种可能的实现方式或者第一方面的第四种可能的实现方式或者第一方面的第五种可能的实现方式,在第一方面的第六种可能的实现方式中,所述根据特设算法调整所述画面的显示角度这一步骤之后,所述显示调整方法具体包括:In combination with the first aspect or the first implementation mode of the first aspect or the second possible implementation mode of the first aspect or the third possible implementation mode of the first aspect or the fourth possible implementation mode of the first aspect Or in the fifth possible implementation of the first aspect, in the sixth possible implementation of the first aspect, after the step of adjusting the display angle of the screen according to the ad hoc algorithm, the display adjustment method Specifically include:

从所述人脸图像识别出眼睑的运动信息,根据所述运动信息识别用户是否处于用眼疲劳状态;Identify the movement information of the eyelids from the face image, and identify whether the user is in a state of eye fatigue according to the movement information;

在所述观看角度与所述正视角度的角度差大于预设差值、且持续识别到所述用眼疲劳状态的时间和用户持续以所述观看角度浏览所述画面的时间同时达到第三时间时,则控制所述显示屏按照预设模式显示;When the angle difference between the viewing angle and the front viewing angle is greater than a preset difference, and the time when the eye fatigue state is continuously recognized and the time when the user continues to browse the picture at the viewing angle reaches a third time at the same time , then control the display screen to display according to the preset mode;

其中,所述预设模式包括以下的一种或其组合:按照预设方式显示所述画面,显示提醒用户休息眼睛的预设图片。Wherein, the preset mode includes one or a combination of the following: displaying the picture in a preset manner, displaying a preset picture reminding the user to rest their eyes.

第二方面,本发明提供一种电子设备,所述电子设备包括控制模块、显示屏和图像获取模块;In a second aspect, the present invention provides an electronic device, which includes a control module, a display screen and an image acquisition module;

所述图像获取模块用于:在用户浏览显示屏中画面时获取用户的人脸图像;The image acquisition module is used to: acquire the user's face image when the user browses the screen in the display screen;

所述控制模块包括角度识别单元和显示单元;The control module includes an angle recognition unit and a display unit;

所述角度识别单元用于:对所述图像获取模块获取到的人脸图像进行特征分析并识别出用户眼睛的观看角度;The angle identification unit is used to: perform feature analysis on the face image acquired by the image acquisition module and identify the viewing angle of the user's eyes;

所述显示单元用于:基于所述角度识别单元识别出的观看角度,根据特设算法调整所述画面在所述显示屏中的显示角度,使得部分所述画面朝向用户的眼睛显示。The display unit is configured to: adjust the display angle of the picture on the display screen according to an ad hoc algorithm based on the viewing angle identified by the angle identification unit, so that part of the picture is displayed toward the user's eyes.

结合第二方面,在第二方面的第一种可能的实现方式中,所述电子设备还包括距离检测模块;With reference to the second aspect, in a first possible implementation manner of the second aspect, the electronic device further includes a distance detection module;

所述距离检测模块用于:检测用户的眼睛与所述显示屏的距离;The distance detection module is used to: detect the distance between the user's eyes and the display screen;

所述显示单元具体包括曲率确定单元和调整单元;The display unit specifically includes a curvature determination unit and an adjustment unit;

所述曲率确定单元用于:基于所述距离检测模块检测到的距离和所述角度识别单元识别出的观看角度,根据第一算法确定曲线的曲率;The curvature determination unit is configured to: determine the curvature of the curve according to a first algorithm based on the distance detected by the distance detection module and the viewing angle identified by the angle identification unit;

所述调整单元用于:以所述曲率确定单元确定的曲线调整所述画面的显示角度。The adjusting unit is configured to: adjust the display angle of the picture according to the curve determined by the curvature determining unit.

结合第二方面或者第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述电子设备还包括环境光检测模块;With reference to the second aspect or the first possible implementation manner of the second aspect, in the second possible implementation manner of the second aspect, the electronic device further includes an ambient light detection module;

所述环境光检测模块用于:检测所述显示屏所处环境的光线强度;The ambient light detection module is used to: detect the light intensity of the environment where the display screen is located;

所述调整单元用于:基于所述距离检测模块检测到的距离、所述环境光检测模块检测到的光线强度和所述角度识别单元识别出的观看角度,根据所述第二算法确定所述画面的显示亮度,以区别亮度显示朝向所述眼睛的部分所述画面。The adjustment unit is configured to: determine the distance according to the second algorithm based on the distance detected by the distance detection module, the light intensity detected by the ambient light detection module, and the viewing angle recognized by the angle recognition unit. The display brightness of the picture is to display the part of the picture facing the eyes with a different brightness.

结合第二方面或者第二方面的第一种实施方式或者第二方面的第二种可能的实现方式,在第二方面的第三种可能的实现方式中,所述显示单元具体用于:With reference to the second aspect or the first implementation manner of the second aspect or the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the display unit is specifically configured to:

按照第三算法调整朝向用户的部分所述画面,以区别显示朝向用户的部分所述画面。The part of the screen facing the user is adjusted according to the third algorithm to distinguish the part of the screen facing the user.

结合第二方面或者第二方面的第一种实施方式或者第二方面的第二种可能的实现方式或者第二方面的第三种可能的实现方式,在第二方面的第四种可能的实现方式中,所述控制模块还包括用眼疲劳识别单元;In combination with the second aspect or the first implementation manner of the second aspect or the second possible implementation manner of the second aspect or the third possible implementation manner of the second aspect, the fourth possible implementation manner of the second aspect In the mode, the control module also includes an eye fatigue identification unit;

所述用眼疲劳识别单元用于:从所述图像获取模块获取到的人脸图像识别出眼睑的运动信息,根据所述运动信息识别用户是否处于用眼疲劳状态;The eye fatigue identification unit is configured to: identify eyelid movement information from the face image acquired by the image acquisition module, and identify whether the user is in a state of eye fatigue according to the movement information;

所述显示单元还用于:在所述用眼疲劳识别单元持续识别到所述用眼疲劳状态的时间达到第一时间时,控制所述显示屏按照预设模式显示;The display unit is further configured to: control the display screen to display in a preset mode when the eye fatigue recognition unit continues to recognize the eye fatigue state for a first time;

其中,所述预设模式包括以下的一种或其组合:按照预设方式显示所述画面或者显示预设图片,显示提醒用户休息眼睛的预设图片。Wherein, the preset mode includes one or a combination of the following: displaying the screen in a preset manner or displaying a preset picture, and displaying a preset picture reminding the user to rest their eyes.

结合第二方面或者第二方面的第一种实施方式或者结合第二方面的第二种可能的实现方式或者第二方面的第三种可能的实现方式或者第二方面的第四种可能的实现方式,在第二方面的第五种可能的实现方式中,所述显示单元还用于:在所述观看角度与所述正视角度的角度差大于预设差值、且用户持续以所述观看角度浏览所述画面的时间达到第二时间时,控制所述显示屏按照预设模式显示;Combining the second aspect or the first implementation mode of the second aspect or combining the second possible implementation mode of the second aspect or the third possible implementation mode of the second aspect or the fourth possible implementation mode of the second aspect In a fifth possible implementation manner of the second aspect, the display unit is further configured to: when the angle difference between the viewing angle and the front viewing angle is greater than a preset difference, and the user continues to view the When viewing the screen at an angle reaches a second time, control the display screen to display in a preset mode;

其中,所述预设模式包括以下的一种或其组合:按照预设方式显示所述画面或者显示预设图片,显示提醒用户休息眼睛的预设图片。Wherein, the preset mode includes one or a combination of the following: displaying the screen in a preset manner or displaying a preset picture, and displaying a preset picture reminding the user to rest their eyes.

结合第二方面或者第二方面的第一种实施方式或者第二方面的第二种可能的实现方式或者第二方面的第三种可能的实现方式或者第二方面的第四种可能的实现方式或者第二方面的第五种可能的实现方式,在第二方面的第六种可能的实现方式中,所述控制模块还包括用眼疲劳识别单元;In combination with the second aspect or the first implementation manner of the second aspect or the second possible implementation manner of the second aspect or the third possible implementation manner of the second aspect or the fourth possible implementation manner of the second aspect Or in the fifth possible implementation of the second aspect, in the sixth possible implementation of the second aspect, the control module further includes an eye fatigue identification unit;

所述用眼疲劳识别单元用于:从所述图像获取模块获取到的人脸图像识别出眼睑的运动信息,根据所述运动信息识别用户是否处于用眼疲劳状态;The eye fatigue identification unit is configured to: identify eyelid movement information from the face image acquired by the image acquisition module, and identify whether the user is in a state of eye fatigue according to the movement information;

所述显示单元还用于:在所述观看角度与所述正视角度的角度差大于预设差值、且持续识别到所述用眼疲劳状态的时间和用户持续以所述观看角度浏览所述画面的时间同时达到第三时间时,控制所述显示屏按照预设模式显示;The display unit is also used for: when the angle difference between the viewing angle and the front viewing angle is greater than a preset difference, and the time when the state of eye fatigue is continuously recognized and the user continues to browse the When the time of the screen reaches the third time at the same time, control the display screen to display according to the preset mode;

其中,所述预设模式包括以下的一种或其组合:按照预设方式显示所述画面或者显示预设图片,显示提醒用户休息眼睛的预设图片。Wherein, the preset mode includes one or a combination of the following: displaying the screen in a preset manner or displaying a preset picture, and displaying a preset picture reminding the user to rest their eyes.

结合第二方面或者第二方面的第一种实施方式或者第二方面的第二种可能的实现方式或者第二方面的第三种可能的实现方式或者第二方面的第四种可能的实现方式或者第二方面的第五种可能的实现方式或者第二方面的第六种可能的实现方式,在第二方面的第七种可能的实现方式中,所述电子设备为智能手机或平板电脑。In combination with the second aspect or the first implementation manner of the second aspect or the second possible implementation manner of the second aspect or the third possible implementation manner of the second aspect or the fourth possible implementation manner of the second aspect Or the fifth possible implementation manner of the second aspect or the sixth possible implementation manner of the second aspect, in the seventh possible implementation manner of the second aspect, the electronic device is a smart phone or a tablet computer.

本发明的有益效果:用户浏览显示屏中的画面时,实时跟踪眼睛的观看角度,并根据该观看角度调整该画面的显示角度,使得部分所述画面朝向用户的眼睛显示,尤其是当用户斜视该画面时,根据观看角度做画面调整之后,便于用户清楚浏览感兴趣的该部分画面,减少了对眼睛的损害。Beneficial effects of the present invention: When the user browses the picture in the display screen, the viewing angle of the eyes is tracked in real time, and the display angle of the picture is adjusted according to the viewing angle, so that part of the picture is displayed toward the user's eyes, especially when the user squints For this picture, after the picture is adjusted according to the viewing angle, it is convenient for the user to clearly browse the interested part of the picture, and the damage to the eyes is reduced.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only of the present invention. For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without paying creative efforts.

图1是本发明实施例提供的显示调整方法的工作流程图;FIG. 1 is a flowchart of a display adjustment method provided by an embodiment of the present invention;

图2是本发明实施例提供的显示调整方法的一种优化工作流程图;Fig. 2 is an optimized workflow diagram of the display adjustment method provided by the embodiment of the present invention;

图3是本发明实施例提供的显示调整方法的又一种优化工作流程图;Fig. 3 is another optimization workflow diagram of the display adjustment method provided by the embodiment of the present invention;

图4是本发明实施例提供的显示调整方法的又一种优化工作流程图;Fig. 4 is another optimization workflow diagram of the display adjustment method provided by the embodiment of the present invention;

图5是本发明实施例提供的显示调整方法的又一种优化工作流程图;Fig. 5 is another optimization workflow diagram of the display adjustment method provided by the embodiment of the present invention;

图6是本发明实施例提供的显示调整方法的又一种优化工作流程图;Fig. 6 is another optimization workflow diagram of the display adjustment method provided by the embodiment of the present invention;

图7是本发明实施例提供的显示调整方法的又一种优化工作流程图;Fig. 7 is another optimization workflow diagram of the display adjustment method provided by the embodiment of the present invention;

图8是本发明实施例提供的电子设备的组成结构;FIG. 8 is a composition structure of an electronic device provided by an embodiment of the present invention;

图9是本发明实施例提供的电子设备的一种优化组成结构;FIG. 9 is an optimized composition structure of an electronic device provided by an embodiment of the present invention;

图10是本发明实施例提供的电子设备的又一种优化组成结构。FIG. 10 is another optimized composition structure of the electronic device provided by the embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.

本发明实施例所述的电子设备均具有显示屏。电子设备在显示屏上进行载有数据的画面显示;用户可从该画面中阅读到感兴趣的信息。另外,本发明实施例对显示屏的内部结构不做限定,对显示屏如何实现显示的技术手段不做限定;另外,对显示屏是否具有其他功能也不做限定,例如该显示屏为触摸屏,该触摸屏不但具有显示画面的功能,如果该画面中载有控键,用户还可通过画面中的控键触发操作指令,通过该操作指令控制电子设备指定对应的应用程序,实现用户通过该触摸屏操控电子设备。The electronic devices described in the embodiments of the present invention all have display screens. An electronic device displays a data-laden screen on a display screen; the user can read information of interest from the screen. In addition, the embodiment of the present invention does not limit the internal structure of the display screen, nor does it limit the technical means of how the display screen realizes display; in addition, it does not limit whether the display screen has other functions, for example, the display screen is a touch screen, The touch screen not only has the function of displaying the screen, but if the screen is equipped with control keys, the user can also trigger an operation command through the control keys in the screen, and control the electronic device to specify the corresponding application program through the operation command, so that the user can control the screen through the touch screen. Electronic equipment.

需说明的是,本发明实施例所述画面至少包括以下的一种或多种:字母和数字等符号文字、图片、控键。本发明实施例所述的符号文字可以是不同国家的符号文字;也可以是不同地区的特定使用的符号文字,例如:不同用户之间约定的符号文字,再例如:不同地区使用的民族方言。It should be noted that the screen in the embodiment of the present invention includes at least one or more of the following: symbols such as letters and numbers, pictures, and control keys. The symbolic characters described in the embodiments of the present invention may be symbolic characters of different countries; they may also be symbolic characters specifically used in different regions, for example: symbolic characters agreed between different users, and for example: ethnic dialects used in different regions.

为了便于描述本发明实施例提供的所述显示调整方法,图1示出了本发明实施例提供的显示调整方法的工作流程,但图1仅示出了与本发明实施例相关的部分。In order to facilitate the description of the display adjustment method provided by the embodiment of the present invention, FIG. 1 shows the workflow of the display adjustment method provided by the embodiment of the present invention, but FIG. 1 only shows the parts related to the embodiment of the present invention.

如图1所示,本发明实施例提供的显示调整方法包括的基础步骤大体为两步:步骤A1、步骤A2和步骤A3。As shown in FIG. 1 , the display adjustment method provided by the embodiment of the present invention generally includes two basic steps: step A1 , step A2 and step A3 .

步骤A1,用户浏览显示屏中的画面时,获取用户的人脸图像。In step A1, the user's face image is acquired when the user browses the screen on the display screen.

需说明的是,对于本发明实施例所述的图像获取模块采样何种方式获取用户的人脸图像,不做限定;例如,可通过摄像头(属于图像获取模块)对用户拍照并对照片进行瞳孔识别和眼睛识别,继而确定瞳孔在眼睛中的位置;再例如,基于红外成像技术,通过红外摄像头(属于图像获取模块)采集用户的人脸图像,从该人脸图像中解析出瞳孔在眼睛中的位置。It should be noted that there is no limitation on how the image acquisition module described in the embodiment of the present invention acquires the user's face image; Recognition and eye recognition, and then determine the position of the pupil in the eye; another example, based on infrared imaging technology, collect the user's face image through the infrared camera (belonging to the image acquisition module), and analyze the pupil in the eye from the face image s position.

步骤A2,对所述人脸图像进行特征分析,识别出用户眼睛的观看角度。Step A2, performing feature analysis on the face image to identify the viewing angle of the user's eyes.

在本发明实施例中,是根据用户浏览显示屏中的画面时采集到的人脸图像,并根据该人脸图像识别出用户的瞳孔在眼睛中所处的位置,根据瞳孔在眼睛中所处的位置确定所述观看角度。In the embodiment of the present invention, it is based on the face image collected when the user browses the screen in the display screen, and the position of the user's pupil in the eye is recognized according to the face image, and the position of the pupil in the eye is recognized according to the position of the pupil in the eye. The position determines the viewing angle.

作为根据瞳孔在眼睛中所处的位置确定所述观看角度的一实施方式,以瞳孔在眼睛中所处的位置为输入值,采用人眼跟踪算法确定所述观看角度。举例说明,用户在浏览显示屏中的画面时通过该摄像头(属于图像获取模块)对用户的人脸拍照,获取到该用户的人脸图像,采用SIFT特征(Scale-invariant feature transform,尺度不变特征转换)算法处理该人脸图像,识别出瞳孔在眼睛中的位置并确定所述观看角度;优选地,采用SIFT特征识别瞳孔在眼睛中的位置和确定所述观看角度的过程中,可以结合卡尔曼滤波和Meanshift算法,以提高识别瞳孔在眼睛中的位置的精度,和确定所述观看角度的精度;优选地,具体在确定所述观看角度的过程中,可采用adaboost算法确定瞳孔的中心位置以确定用户的注视方向,进一步根据所述注视方向确定所述观看角度。As an embodiment of determining the viewing angle according to the position of the pupil in the eye, the viewing angle is determined using a human eye tracking algorithm with the position of the pupil in the eye as an input value. For example, when the user browses the picture in the display screen, the user takes a photo of the user's face through the camera (belonging to the image acquisition module), obtains the user's face image, and adopts the SIFT feature (Scale-invariant feature transform, scale-invariant feature conversion) algorithm to process the face image, identify the position of the pupil in the eye and determine the viewing angle; preferably, in the process of using the SIFT feature to identify the position of the pupil in the eye and determine the viewing angle, it can be combined Kalman filter and Meanshift algorithm to improve the accuracy of identifying the position of the pupil in the eye, and determine the accuracy of the viewing angle; preferably, specifically in the process of determining the viewing angle, the center of the pupil can be determined using the adaboost algorithm position to determine the gaze direction of the user, and further determine the viewing angle according to the gaze direction.

作为根据瞳孔在眼睛中的位置确定所述观看角度的一种实施方式,建立直角平面坐标系,以眼睛直视时瞳孔的位置为坐标的原点,可根据瞳孔在眼睛中的位置,确定-180度到180度范围内的正视角度;当瞳孔在眼睛的右上角方向时,确定的所述正视角度的角度范围为0度到90度;当瞳孔在眼睛的左上角方向时,确定的所述正视角度的角度范围为91度到180度;当瞳孔在眼睛的左下角方向时,确定的所述正视角度的角度范围为-180度到-91度;当瞳孔在眼睛的右下角方向时,确定的所述正视角度的角度范围为-90度到-1度。例如,用户在浏览显示屏中的画面时,瞳孔在眼睛中的位置为右上角的第一位置,根据右上角中瞳孔的位置与所述观看角度的一一映射关系,可以确定与该第一位置对应的观看角度为30度。As an embodiment of determining the viewing angle according to the position of the pupil in the eye, a Cartesian plane coordinate system is established, with the position of the pupil when the eyes look directly at the origin of the coordinates, and -180 can be determined according to the position of the pupil in the eye degrees to 180 degrees; when the pupil is in the direction of the upper right corner of the eye, the angle range of the determined front view angle is 0 degrees to 90 degrees; when the pupil is in the direction of the upper left corner of the eye, the determined The angle range of the front view angle is 91 degrees to 180 degrees; when the pupil is in the direction of the lower left corner of the eye, the angle range of the determined front view angle is -180 degrees to -91 degrees; when the pupil is in the direction of the lower right corner of the eye, The determined front view angle ranges from -90 degrees to -1 degrees. For example, when the user browses the pictures on the display screen, the position of the pupil in the eye is the first position in the upper right corner, and according to the one-to-one mapping relationship between the position of the pupil in the upper right corner and the viewing angle, it can be determined that the position of the pupil is the first position in the upper right corner. The position corresponds to a viewing angle of 30 degrees.

在本发明实施例中,根据所述观看角度可以确定:用户是否正视显示屏中的画面,用户是否斜视显示屏中的画面;如果用户斜视显示屏中的画面,根据该观看角度可确定:用户斜视显示屏中画面时的斜视角度。举例说明,当所述观看角度为零度时,代表用户在浏览显示屏中的画面,是以直视方式浏览的,即用户是正视显示屏中的画面。当所述观看角度为30度时,代表用户在浏览显示屏中的画面时,是以30度的斜视角度浏览的,即用户是斜视显示屏中的画面。In the embodiment of the present invention, it can be determined according to the viewing angle: whether the user looks straight at the picture in the display screen, whether the user squints at the picture in the display screen; if the user squints at the picture in the display screen, it can be determined according to the viewing angle: the user The squint angle when squinting at the picture in the monitor. For example, when the viewing angle is zero degrees, it means that the user browses the images on the display screen in a direct-viewing manner, that is, the user is looking directly at the images on the display screen. When the viewing angle is 30 degrees, it means that the user browses the pictures on the display screen at a 30-degree angle of oblique viewing, that is, the user is viewing the pictures on the display screen obliquely.

步骤A3,基于所述观看角度,根据特设算法调整所述画面的显示角度,使得部分所述画面朝向用户的眼睛显示。Step A3, based on the viewing angle, adjust the display angle of the picture according to an ad-hoc algorithm, so that part of the picture is displayed toward the user's eyes.

作为步骤A3的一种可能实施方式,为了避免用户长时间以斜视方式浏览显示屏中的画面,在步骤A2确定用户的所述观看角度之后,判断所述观看角度是否为正视角度,如果不是,则根据特设算法调整所述画面的显示角度,使得用户无法继续浏览到感兴趣的部分画面,优选地,在显示屏中朝向所述用户的眼睛的方向渐变地降低感兴趣的部分画面的显示亮度直至黑屏显示,以保护用户的眼睛。As a possible implementation of step A3, in order to prevent the user from browsing the screen in the display screen in a squint manner for a long time, after determining the viewing angle of the user in step A2, determine whether the viewing angle is a frontal viewing angle, if not, Then adjust the display angle of the picture according to the ad-hoc algorithm, so that the user cannot continue to browse the part of the picture of interest, preferably, gradually reduce the display of the part of the picture of interest in the direction of the user's eyes on the display screen Brightness until the black screen is displayed to protect the user's eyes.

作为步骤A3的一种可能实施方式,在步骤A2确定用户的所述观看角度之后,判断所述观看角度是否为正视角度,如果不是,为满足用户的继续浏览需求,同时为保护用户的眼睛,根据特设算法调整所述画面的显示角度,使得显示屏中的全部或部分所述画面朝向用户的眼睛显示;如果用户感兴趣的信息没有朝向用户的眼睛显示,用户可操控电子设备以调整载有用户感兴趣的信息的部分画面朝向用户的眼睛显示。As a possible implementation of step A3, after the viewing angle of the user is determined in step A2, it is judged whether the viewing angle is a front view angle, if not, in order to meet the user's continuous browsing needs and protect the user's eyes, Adjust the display angle of the picture according to an ad-hoc algorithm, so that all or part of the picture in the display screen is displayed toward the user's eyes; Part of the screen with information of interest to the user is displayed toward the user's eyes.

举例说明,在根据特设算法调整所述画面的显示角度之后,如果用户感兴趣的信息没有朝向用户的眼睛显示,用户可通过电子设备上的按键移动载有用户感兴趣的信息的部分画面,将该载有用户感兴趣的信息的部分画面调整为朝向用户的眼睛显示;For example, after adjusting the display angle of the screen according to the ad-hoc algorithm, if the information that the user is interested in is not displayed towards the user's eyes, the user can move the part of the screen that carries the information that the user is interested in through the buttons on the electronic device, Adjust the part of the screen carrying the information that the user is interested in to be displayed towards the user's eyes;

再举例说明,在根据特设算法调整所述画面的显示角度之后,如果电子设备上的显示屏为触摸屏,如果用户感兴趣的信息没有朝向用户的眼睛显示,用户可在该触摸屏上进行触控操作,以移动载有用户感兴趣的信息的部分画面,将该载有用户感兴趣的信息的部分画面调整为朝向用户的眼睛显示。As another example, after adjusting the display angle of the picture according to the ad-hoc algorithm, if the display screen on the electronic device is a touch screen, if the information that the user is interested in is not displayed toward the user's eyes, the user can touch the screen on the touch screen. Operate to move the part of the screen carrying the information of interest to the user, and adjust the part of the screen carrying the information of interest to the user to be displayed toward the eyes of the user.

值得说明的是,本发明实施例所述的特殊算法,用于调整全部所述画面的显示角度,或者用于调整部分所述画面的显示角度。只要能够满足用户需求、并能够实现画面的显示角度调整的算法,均属于本发明实施例所述的特殊算法,在此不做限定。It is worth noting that the special algorithm described in the embodiment of the present invention is used to adjust the display angles of all the pictures, or to adjust the display angles of some of the pictures. As long as an algorithm that can meet the needs of users and realize the adjustment of the display angle of the picture belongs to the special algorithm described in the embodiment of the present invention, it is not limited here.

图2示出了本发明实施例提供的显示调整方法的一种优化工作流程,但仅示出了与本发明实施例相关的部分。Fig. 2 shows an optimized workflow of the display adjustment method provided by the embodiment of the present invention, but only shows the part related to the embodiment of the present invention.

作为本发明实施例的一实施方式,参见图2,对于步骤A3,及对于所述基于所述观看角度并按照特设算法调整所述显示画面的显示角度这一步骤,具体包括步骤A31、步骤A32和步骤A33。As an implementation mode of the embodiment of the present invention, referring to FIG. 2, for step A3, and for the step of adjusting the display angle of the display screen based on the viewing angle and according to an ad hoc algorithm, it specifically includes step A31, step A32 and step A33.

步骤A31,检测用户的眼睛与所述显示屏的距离。Step A31, detecting the distance between the user's eyes and the display screen.

在本实施方式中,对如何检测用户的眼睛与所述显示屏之间的距离的实现方式不做限定。例如,采用在眼睛附近设置标识,电子设备通过无线技术检测该标识,从而根据检测到该标识的延迟时间和无线技术所采用的信号的传输速度,计算出该眼睛与该显示屏之间的距离。再例如,电子设备上配置有距离检测模块,距离检测模块检测用户的人脸与显示屏之间的距离,用户在浏览显示屏中的画面时,人脸上的眼睛基本是朝向显示屏的,因此可以将距离检测模块检测到的距离近似作为用户的眼睛与所述显示屏之间的距离。In this implementation manner, there is no limitation on how to detect the distance between the user's eyes and the display screen. For example, by setting a sign near the eyes, the electronic device detects the sign through wireless technology, and calculates the distance between the eye and the display screen according to the delay time for detecting the sign and the transmission speed of the signal adopted by the wireless technology . For another example, the electronic device is equipped with a distance detection module, and the distance detection module detects the distance between the user's face and the display screen. Therefore, the distance detected by the distance detection module can be approximated as the distance between the user's eyes and the display screen.

步骤A32,基于所述距离和所述观看角度,根据第一算法确定曲线的曲率。Step A32, based on the distance and the viewing angle, determine the curvature of the curve according to a first algorithm.

其中,所述第一算法,用于调整全部所述画面的显示角度以使得部分所述画面面向用户的眼睛,或者用于调整部分所述画面的显示角度以使得部分所述画面面向用户的眼睛。只要能够满足用户需求、并能够确定画面的显示角度以调整部分所述画面面向用户的眼睛的算法,均属于本实施方式所述的第一算法,在此不做限定。Wherein, the first algorithm is used to adjust the display angle of all the pictures so that part of the pictures face the user's eyes, or to adjust the display angle of part of the pictures so that part of the pictures face the user's eyes . As long as the algorithm can meet the needs of the user and can determine the display angle of the screen to adjust part of the screen to face the user's eyes, it belongs to the first algorithm described in this embodiment, and is not limited here.

在本实施方式中,至少以所述距离和所述观看角度作为参数,设计该第一算法。具体地,预先根据以往的实验数据(以往采集的距离,以往确定的观看角度)设定该第一算法;或者人为预先设定该第一算法。该第一算法是用于调整曲线的曲率的。需说明的是,通过该第一算法调整出的曲率的范围包括0到正无穷。当根据该第一算法确定的曲率为0时,以平面显示所述画面。当根据该第一算法确定的曲率不为0时,以曲面显示所述画面。In this embodiment, the first algorithm is designed with at least the distance and the viewing angle as parameters. Specifically, the first algorithm is set in advance according to previous experimental data (distance collected in the past, viewing angle determined in the past); or the first algorithm is artificially set in advance. This first algorithm is used to adjust the curvature of the curve. It should be noted that the range of the curvature adjusted by the first algorithm includes 0 to positive infinity. When the curvature determined according to the first algorithm is 0, the picture is displayed in a plane. When the curvature determined according to the first algorithm is not 0, the picture is displayed with a curved surface.

值得说明的是,基于所述距离和所述观看角度并根据第一算法,可同时确定一条或多条曲线的曲率;如果确定了多条曲线的曲率,在执行步骤A33时会以该多条曲线为基准,确定一个曲面。It is worth noting that, based on the distance and the viewing angle and according to the first algorithm, the curvature of one or more curves can be determined at the same time; if the curvature of multiple curves is determined, the multiple curves will be used when performing step A33 The curve is used as the datum to determine a surface.

步骤A33,以所述曲线调整所述画面的显示角度。Step A33, adjusting the display angle of the picture according to the curve.

在本实施方式中,步骤A32确定好曲线上的各个点的曲率之后,可将所述画面上像素点按照该曲线(可能为一条或多条)进行对应设置,显示完成设置的该画面。举例说明,当根据第一算法确定了一条曲线的曲率时,以该条曲线将原平面显示的画面调整为曲平面显示。再举例说明,当根据第一算法确定了至少两条曲线的曲率时,以预设算法结合每条曲线生成一个曲面,将画面上的像素点一一渲染到该曲面上,在显示屏中以该曲面显示所述画面。In this embodiment, after the curvature of each point on the curve is determined in step A32, the pixel points on the screen can be set correspondingly according to the curve (possibly one or more), and the set screen can be displayed. For example, when the curvature of a curve is determined according to the first algorithm, the picture displayed on the original plane is adjusted to be displayed on the curved plane by using the curve. As another example, when the curvature of at least two curves is determined according to the first algorithm, a preset algorithm is used to combine each curve to generate a curved surface, and the pixels on the screen are rendered to the curved surface one by one, and displayed on the display screen as The curved surface displays the picture.

经过步骤A33以所述曲线调整画面的显示角度之后,将部分所述画面调整为朝向用户的眼睛显示。当朝向用户显示的部分所述画面不为用户感兴趣的部分画面时,用户可操作该电子设备将感兴趣的部分画面调整为朝向用户的眼睛显示,对操作该电子设备的该操作方式在此不做限定(例如上述),在此不再赘述。After step A33 adjusts the display angle of the picture with the curve, a part of the picture is adjusted to be displayed toward the user's eyes. When the part of the picture displayed towards the user is not the part of the picture that the user is interested in, the user can operate the electronic device to adjust the part of the picture that is of interest to be displayed towards the user's eyes. The operation method of operating the electronic device is described here. It is not limited (such as the above), and will not be repeated here.

图3示出了本发明实施例提供的显示调整方法的又一种优化工作流程,但仅示出了与本发明实施例相关的部分。Fig. 3 shows another optimized workflow of the display adjustment method provided by the embodiment of the present invention, but only shows the part related to the embodiment of the present invention.

作为本发明实施例的一实施方式,参见图3,所述以所述曲线调整所述画面的显示角度这一步骤之后,具体包括步骤A34和步骤A35。As an implementation manner of the embodiment of the present invention, referring to FIG. 3 , after the step of adjusting the display angle of the picture with the curve, it specifically includes step A34 and step A35 .

步骤A34,检测所述显示屏所处环境的光线强度。Step A34, detecting the light intensity of the environment where the display screen is located.

在本实施方式中,对如何检测所述显示屏所处环境的光线强度的实现方式,在此不做限定。In this embodiment, there is no limitation on how to detect the light intensity of the environment where the display screen is located.

例如,在电子设备上设有光传感器(优选环境光传感器),优选地,将给光传感器设置于显示屏附近或显示屏上;通过该光传感器检测显示屏周围的光线强度。For example, a light sensor (preferably an ambient light sensor) is provided on the electronic device, preferably, the light sensor is arranged near or on the display screen; the light intensity around the display screen is detected by the light sensor.

步骤A35,基于所述距离、所述光线强度和所述观看角度,根据所述第二算法确定所述画面的显示亮度,以区别亮度显示朝向所述眼睛的部分所述画面。Step A35, based on the distance, the light intensity and the viewing angle, determine the display brightness of the picture according to the second algorithm, and display the part of the picture facing the eyes with different brightness.

在本实施方式中,因为显示屏所处环境的光线强度不同,会不同程度地影响用户是否能够看清显示屏中显示的画面。因此,本发明在根据实验数据建立或者人为建立该第二算法时,不但将用户眼睛与显示屏的距离和用户眼睛的观看角度作为参数考虑,还将显示屏所处环境的光线强度作为参数考虑;当然在考虑所述距离、所述光线强度和所述观看角度的基础上,还可添加其他参数,以优化第二算法。在以所述距离、所述光线强度和所述观看角度为参数的基础上,本实施方式对设计的所述第二算法不做限定。In this embodiment, because the light intensity of the environment where the display screen is located is different, it will affect whether the user can clearly see the picture displayed on the display screen to varying degrees. Therefore, when the present invention establishes the second algorithm based on experimental data or artificially, not only the distance between the user's eyes and the display screen and the viewing angle of the user's eyes are considered as parameters, but also the light intensity of the environment where the display screen is located is considered as a parameter. ; Of course, on the basis of considering the distance, the light intensity and the viewing angle, other parameters can also be added to optimize the second algorithm. On the basis of using the distance, the light intensity, and the viewing angle as parameters, this embodiment does not limit the second algorithm designed.

在本实施方式中,因显示屏处于不同的环境光会影响用户是否能够清楚浏览显示屏中的画面,实时检测眼睛与显示屏的距离,实时检测显示屏所处环境的光线强度,实时确定用户眼睛的观看角度;基于上述检测到的距离、光线强度和观看角度,根据第二算法确定显示亮度,以确定的显示亮度调整朝向所述眼睛显示的部分所述画面,对未朝向所述眼睛显示的部分所述画面做其他亮度处理或不做亮度处理。从而,朝向所述眼睛显示的部分所述画面与所述画面的中其它部分画面采用不同亮度显示,并且以第二算法确定的显示亮度显示朝向眼睛的部分所述画面是为:用户能够清楚浏览该部分所述画面。因此,对于朝向所述眼睛显示的部分所述画面,以根据第二算法确定的显示亮度显示,便于用户能够清楚浏览;对于未朝向所述眼睛显示的其它部分画面,可采用其他亮度显示,便于用户从整个画面中区别出朝向所述眼睛显示的其它部分画面。In this embodiment, because the display screen is in different ambient light, it will affect whether the user can clearly browse the screen in the display screen, and the distance between the eyes and the display screen is detected in real time, and the light intensity of the environment where the display screen is located is detected in real time, so as to determine the user's The viewing angle of the eyes; based on the detected distance, light intensity and viewing angle, determine the display brightness according to the second algorithm, adjust the part of the picture displayed towards the eyes with the determined display brightness, and adjust the part of the picture that is not displayed towards the eyes Do other brightness processing or not do brightness processing on the part of the picture. Therefore, the part of the picture displayed towards the eyes is displayed with different brightness from other parts of the picture, and the part of the picture towards the eyes is displayed with the display brightness determined by the second algorithm so that the user can clearly browse screen described in this section. Therefore, for the part of the picture displayed towards the eyes, it is displayed with the display brightness determined according to the second algorithm, so that the user can browse clearly; for other parts of the picture that are not displayed towards the eyes, it can be displayed with other brightness, which is convenient. The user distinguishes other partial screens displayed toward the eyes from the entire screen.

图4示出了本发明实施例提供的显示调整方法的一种优化工作流程,但仅示出了与本发明实施例相关的部分。Fig. 4 shows an optimized workflow of the display adjustment method provided by the embodiment of the present invention, but only shows the part related to the embodiment of the present invention.

作为本发明实施例的一实施方式,参见图4,对于步骤A3,所述根据特设算法调整所述画面的显示角度这一步骤之后,所述显示调整方法还包括步骤A4。As an implementation manner of the embodiment of the present invention, referring to FIG. 4 , for step A3, after the step of adjusting the display angle of the picture according to the ad hoc algorithm, the display adjustment method further includes step A4.

步骤A4,按照第三算法调整朝向所述眼睛的部分所述画面,以区别显示朝向所述眼睛的部分所述画面。Step A4, adjusting the part of the picture facing the eyes according to the third algorithm, so as to display the part of the picture facing the eyes differently.

在本实施方式中,因用户眼睛的观看角度通常不是正视角度,所以才需要调整所述画面的显示角度,将部分所述画面调整为朝向用户眼睛的方向显示;因以不正确的角度浏览画面本来容易伤眼,也不便于浏览,浏览时眼睛容易疲惫;鉴于此,本实施方式将不但将部分所述画面调整为朝向用户眼睛的方向显示,而且还对朝向所述眼睛显示的部分所述画面进行区别显示,具体地,将朝向所述眼睛的部分画面与其它部分画面进行区别显示。In this embodiment, because the viewing angle of the user's eyes is usually not a frontal viewing angle, it is necessary to adjust the display angle of the picture, and adjust part of the picture to be displayed in the direction of the user's eyes; because browsing the picture at an incorrect angle It is easy to hurt the eyes, and it is not easy to browse, and the eyes are easy to get tired when browsing; in view of this, this embodiment will not only adjust part of the screen to be displayed toward the user's eyes, but also adjust the part of the screen displayed toward the eyes. The pictures are displayed differently, specifically, the part of the picture facing the eyes is displayed differently from other part of the picture.

值得说明的是,第三算法用于对朝向所述眼睛的部分所述画面进行图像处理,使得朝向所述眼睛的部分画面与其它部分画面区别显示。根据第三算法对朝向所述眼睛的部分画面调整之后,朝向所述眼睛的部分画面的区别显示方式可以是:对该部分画面进行放大显示、从画面中对该部分画面进行突出显示、或者对该部分画面中的像素按照某个图像处理算法重新排列后显示。因此,本实施方式采用第三算法对朝向所述眼睛的部分所述画面的具体调整方式(图像处理),在此不做限定。It is worth noting that the third algorithm is used to perform image processing on the part of the picture facing the eye, so that the part of the picture facing the eye is displayed differently from other part of the picture. After the part of the picture facing the eyes is adjusted according to the third algorithm, the differential display method of the part of the picture facing the eyes may be: zooming in on the part of the picture, highlighting the part of the picture from the picture, or The pixels in this part of the picture are rearranged and displayed according to an image processing algorithm. Therefore, the specific adjustment method (image processing) of the part of the screen facing the eyes by using the third algorithm in this embodiment is not limited here.

图5示出了本发明实施例提供的显示调整方法的一种优化工作流程,但仅示出了与本发明实施例相关的部分。Fig. 5 shows an optimized workflow of the display adjustment method provided by the embodiment of the present invention, but only shows the part related to the embodiment of the present invention.

作为本发明实施例的一实施方式,参见图5,所述根据特设算法调整所述画面的显示角度这一步骤之后,所述显示调整方法具体包括步骤B1和步骤B2。As an implementation manner of the embodiment of the present invention, referring to FIG. 5 , after the step of adjusting the display angle of the picture according to the ad hoc algorithm, the display adjustment method specifically includes step B1 and step B2.

步骤B1,从所述人脸图像识别出眼睑的运动信息。Step B1, identifying eyelid movement information from the face image.

具体地,在预设时间段内,持续执行步骤A1获取用户的人脸图像,采用眼睛识别算法(参见上述,在此不再赘述)识别出眼睑,识别出眼睑在该预设时间段内的运动信息;其中,需识别的运动信息为:眼睛闭合和眼睛张开过程中眼睑上下移动的位置。Specifically, within a preset time period, continue to execute step A1 to acquire the user's face image, use the eye recognition algorithm (refer to the above, and will not repeat it here) to identify the eyelids, and identify the eyelids within the preset time period. Motion information; Among them, the motion information to be recognized is: the position of the eyelid moving up and down during the process of eye closing and eye opening.

通常,用户因用眼过多而出现用眼疲劳时,眼睑会持续地缓慢地下垂。对应地,本实施方式所述的用眼疲劳状态具体设定为:除了用户眨眼以外,眼睑持续缓慢下垂的动作状态。Usually, when a user experiences eye fatigue due to excessive use of the eyes, the eyelids will continue to slowly droop. Correspondingly, the eye fatigue state described in this embodiment is specifically set as an action state in which the eyelids continue to droop slowly except for the user blinking.

步骤B2,如果根据所述运动信息识别出用眼疲劳状态,则在持续识别到所述用眼疲劳状态的时间达到第一时间时控制所述显示屏按照预设模式显示;其中,所述预设模式包括以下的一种或其组合:按照预设方式显示所述画面,显示提醒用户休息眼睛的预设图片。Step B2, if the state of eye fatigue is identified according to the motion information, control the display screen to display in a preset mode when the time for continuously recognizing the state of eye fatigue reaches the first time; wherein, the preset The setting mode includes one or a combination of the following: displaying the picture in a preset manner, and displaying a preset picture reminding the user to rest his eyes.

在本实施方式中,对于在预设时间段内获取到的人脸图像,对该人脸图像建立统一的坐标系之后,会在该坐标系中确定出该预设时间段内眼睑的坐标数据(即运动信息);按照时间先后顺序对预设时间段内的运动信息进行用眼疲劳状态的识别,如果在该预设时间段内持续识别到眼疲劳状态的时间达到第一时间,本实施方式判定为用户已过度用眼,需要休息眼睛;继而控制所述显示屏按照预设模式显示。In this embodiment, for the face image acquired within the preset time period, after establishing a unified coordinate system for the face image, the coordinate data of the eyelids within the preset time period will be determined in the coordinate system (i.e. motion information); according to the chronological order, the motion information within the preset time period is identified with the state of eye fatigue, if the time to continuously recognize the state of eye fatigue within the preset time period reaches the first time, this implementation The method determines that the user has overused the eyes and needs to rest the eyes; and then controls the display screen to display in a preset mode.

具体地,所述预设模式为:显示屏显示何种画面,和以何种方式显示该画面。本实施方式对所述预设模式不做限定。Specifically, the preset mode is: what kind of picture is displayed on the display screen, and in what way the picture is displayed. This embodiment does not limit the preset mode.

作为所述预设模式一实施方式,当持续识别到所述用眼疲劳状态的时间达到第一时间时,按照预设方式继续显示用户感兴趣的画面;其中,所述预设方式与当前显示所述画面的显示方式不同,但本实施方式不对采用何种算法确定该预设方式做限定;例如,按照渐变方式逐渐消失显示屏中的画面;再例如,按照闪烁方式逐渐消失显示屏中的画面。As an implementation of the preset mode, when the time of continuously recognizing the state of eye fatigue reaches the first time, continue to display the picture that the user is interested in according to the preset method; wherein, the preset method is the same as the currently displayed The display modes of the pictures are different, but this embodiment does not limit the algorithm used to determine the preset mode; for example, gradually disappearing the pictures in the display screen in a gradual manner; another example, gradually disappearing in a flashing mode picture.

作为所述预设模式一实施方式,当持续识别到所述用眼疲劳状态的时间达到第一时间时,显示预设图片,该预设图片为提醒用户休息眼睛的图片;本实施方式对预设图片为何种图片不做限定;例如,该预设图片为具有纯保护色的图片;再例如,该预设图片所包含的文字内容为提醒用户休息眼睛的内容。As an embodiment of the preset mode, when the time for continuously recognizing the state of eye fatigue reaches the first time, a preset picture is displayed, which is a picture reminding the user to rest the eyes; It is assumed that there is no limitation on what kind of picture the picture is; for example, the preset picture is a picture with a pure protective color; for another example, the text content contained in the preset picture is content reminding the user to rest their eyes.

作为所述预设模式一实施方式,当持续识别到所述用眼疲劳状态的时间达到第一时间时,在显示屏的部分区域按照预设方式显示所述画面,在显示屏的另一部分区域显示提醒用户休息眼睛的预设图片。As an embodiment of the preset mode, when the time for continuously recognizing the state of eye fatigue reaches the first time, the screen is displayed in a preset manner in a part of the display screen, and the screen is displayed in another part of the display screen. Display a preset image that reminds the user to rest their eyes.

图6示出了本发明实施例提供的显示调整方法的一种优化工作流程,但仅示出了与本发明实施例相关的部分。FIG. 6 shows an optimized workflow of the display adjustment method provided by the embodiment of the present invention, but only shows the part related to the embodiment of the present invention.

作为本发明实施例的一实施方式,参见图6,所述根据特设算法调整所述画面的显示角度这一步骤之后,所述显示调整方法还包括步骤C1。As an implementation manner of the embodiment of the present invention, referring to FIG. 6 , after the step of adjusting the display angle of the picture according to the ad hoc algorithm, the display adjustment method further includes step C1.

步骤C1,在所述观看角度与所述正视角度的角度差大于预设差值、且用户持续以所述观看角度浏览所述画面的时间达到第二时间时,控制所述显示屏按照预设模式显示;其中,所述预设模式包括以下的一种或其组合:按照预设方式显示所述画面,显示提醒用户休息眼睛的预设图片。Step C1, when the angle difference between the viewing angle and the front viewing angle is greater than a preset difference, and the user continues to browse the picture at the viewing angle for a second time, control the display screen to follow the preset mode display; wherein, the preset mode includes one or a combination of the following: displaying the screen in a preset manner, and displaying a preset picture reminding the user to rest their eyes.

具体地,本实施方式在判定所述观看角度与所述正视角度的角度差大于预设差值时,确定为用户是斜视(具体根据用户预先设定的该预设差值而定)或者严重斜视(具体根据用户预先设定的该预设差值而定);在确定为斜视或者严重斜视的情况下,如果用户还持续以所述观看角度浏览所述画面,并且持续浏览的时间达到了第二时间,本实施方式判定为斜视显示屏并已用眼过度,需要提醒用户立即休息,继而本实施方式控制所述显示屏按照预设模式显示,对于所述预设模式以及如何在显示屏中以该预设模式显示,在此不再赘述,参考上一实施方式的叙述。Specifically, in this embodiment, when it is determined that the angle difference between the viewing angle and the front viewing angle is greater than a preset difference value, it is determined that the user is squinting (according to the preset difference value preset by the user) or seriously. Strabismus (according to the preset difference preset by the user); in the case of squinting or severe squinting, if the user continues to browse the screen at the viewing angle, and the continuous browsing time reaches At the second time, this embodiment judges that the display screen is squinted and the eyes have been used excessively, and the user needs to be reminded to take a rest immediately, and then this embodiment controls the display screen to display in a preset mode. It is displayed in the preset mode, and will not be repeated here, referring to the description of the previous embodiment.

优选地,在步骤C1之前,判断所述观看角度是否为正视角度。具体地,执行步骤A2确定所述观看角度之后,判断所述观看角度是否为正视角度,本实施方式仅对所述观看角度不为正视角度浏览(即斜视)显示屏中的画面的情况,才可能控制所述显示屏按照预设模式显示。Preferably, before step C1, it is judged whether the viewing angle is a normal viewing angle. Specifically, after step A2 is performed to determine the viewing angle, it is judged whether the viewing angle is a front viewing angle. It is possible to control the display screen to display according to a preset mode.

图7示出了本发明实施例提供的显示调整方法的一种优化工作流程,但仅示出了与本发明实施例相关的部分。FIG. 7 shows an optimized workflow of the display adjustment method provided by the embodiment of the present invention, but only shows the part related to the embodiment of the present invention.

作为本发明实施例的一实施方式,参见图7,所述根据特设算法调整所述画面的显示角度这一步骤之后,所述显示调整方法具体包括步骤D1和步骤D1。As an implementation manner of the embodiment of the present invention, referring to FIG. 7 , after the step of adjusting the display angle of the picture according to the ad hoc algorithm, the display adjustment method specifically includes step D1 and step D1.

步骤D1,从所述人脸图像识别出眼睑的运动信息,根据所述运动信息识别用户是否处于用眼疲劳状态。Step D1, identifying eyelid movement information from the face image, and identifying whether the user is in a state of eye fatigue according to the movement information.

对于步骤D1中的从所述人脸图像识别出眼睑的运动信息这一步骤,参见上述的步骤B1,在此不在赘述。For the step of recognizing eyelid movement information from the face image in step D1, refer to the above-mentioned step B1, which will not be repeated here.

对于在预设时间段内获取到的人脸图像,对该人脸图像建立统一的坐标系之后,在该坐标系中确定出该预设时间段内眼睑的坐标数据(即运动信息);按照时间先后顺序对预设时间段内的运动信息进行用眼疲劳状态的识别,识别方式为:基于运动信息所记载的眼睑的位置,按照时间顺序判断用户眼睑是否持续缓慢下垂,如果持续缓慢下垂,则判定为用眼疲劳状态。For the face image obtained within the preset time period, after establishing a unified coordinate system for the face image, determine the coordinate data (ie motion information) of the eyelids in the preset time period in the coordinate system; according to The movement information within the preset period of time is identified in chronological order using the state of eye fatigue. The identification method is: based on the position of the eyelids recorded in the movement information, it is judged in chronological order whether the user's eyelids continue to droop slowly. If it continues to droop slowly, It is judged to be in a state of eye fatigue.

步骤D2,在所述观看角度与所述正视角度的角度差大于预设差值、且持续识别到所述用眼疲劳状态的时间和用户持续以所述观看角度浏览所述画面的时间同时达到第三时间时,控制所述显示屏按照预设模式显示;其中,所述预设模式包括以下的一种或其组合:按照预设方式显示所述画面,显示提醒用户休息眼睛的预设图片。Step D2, when the angle difference between the viewing angle and the front viewing angle is greater than the preset difference value, and the time when the state of eye fatigue is continuously recognized and the time when the user continues to browse the picture at the viewing angle is reached at the same time At the third time, the display screen is controlled to display in a preset mode; wherein the preset mode includes one or a combination of the following: displaying the screen in a preset manner, displaying a preset picture reminding the user to rest their eyes .

在本实施方式中,仅对用户斜视显示屏并出现持续第三时间出现用眼疲劳时,控制所述显示屏按照预设模式显示。具体地,如果预设时间段内识别的观看角度与所述正视角度的角度差大于预设差值,同时预设时间段内持续识别到所述用眼疲劳状态的时间与预设时间段内用户持续以所述观看角度浏览所述画面的时间同时达到第三时间,则本实施方式判定为用户斜视显示屏并用眼过度,需要休息眼睛;继而控制所述显示屏按照预设模式显示,继而本实施方式控制所述显示屏按照预设模式显示,对于所述预设模式以及如何在显示屏中以该预设模式显示,在此不再赘述,参考上一实施方式的叙述。In this embodiment, the display screen is controlled to be displayed in a preset mode only when the user squints at the display screen and experiences eye fatigue for a third time. Specifically, if the angle difference between the viewing angle identified within the preset time period and the front viewing angle is greater than the preset difference, and at the same time, the time during which the eye fatigue state is continuously recognized within the preset time period is within the preset time period If the user continues to browse the screen at the viewing angle and reaches the third time at the same time, this embodiment determines that the user squints the display screen and uses his eyes excessively, and needs to rest his eyes; then the display screen is controlled to display in a preset mode, and then In this embodiment, the display screen is controlled to be displayed in a preset mode. For the preset mode and how to display it in the preset mode on the display screen, details will not be repeated here, and reference is made to the description in the previous embodiment.

应理解,在本发明实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that in the embodiment of the present invention, the sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, rather than the implementation process of the embodiment of the present invention. constitute any limitation.

需要说明的是,本发明实施例提供的显示调整方法可适用于本发明实施例提供的电子设备。It should be noted that the display adjustment method provided in the embodiment of the present invention is applicable to the electronic device provided in the embodiment of the present invention.

图8示出了本发明实施例提供的电子设备的组成结构,为了便于描述,仅示出了与本发明实施例相关的部分。FIG. 8 shows the composition structure of the electronic device provided by the embodiment of the present invention, and for the convenience of description, only the parts related to the embodiment of the present invention are shown.

本实施例提供的电子设备,如图8所示,所述电子设备包括控制模块1、显示屏2和图像获取模块3;The electronic device provided in this embodiment, as shown in FIG. 8, the electronic device includes a control module 1, a display screen 2 and an image acquisition module 3;

所述图像获取模块3用于:在用户浏览显示屏2中画面时获取用户的人脸图像;The image acquisition module 3 is used to: acquire the face image of the user when the user browses the screen in the display screen 2;

所述控制模块1包括角度识别单元11和显示单元12;The control module 1 includes an angle recognition unit 11 and a display unit 12;

所述角度识别单元11用于:对所述图像获取模块3获取到的人脸图像进行特征分析并识别出用户眼睛的观看角度;The angle identification unit 11 is used for: performing feature analysis on the face image acquired by the image acquisition module 3 and identifying the viewing angle of the user's eyes;

所述显示单元12用于:基于所述角度识别单元11识别出的观看角度,根据特设算法调整所述画面在所述显示屏2中的显示角度,使得部分所述画面朝向用户的眼睛显示。The display unit 12 is configured to: adjust the display angle of the picture on the display screen 2 according to an ad-hoc algorithm based on the viewing angle recognized by the angle recognition unit 11, so that part of the picture is displayed toward the user's eyes .

作为本发明实施例一实施方式,所述显示单元12具体用于:按照第三算法调整朝向用户的部分所述画面,以区别显示朝向用户的部分所述画面。As an implementation manner of an embodiment of the present invention, the display unit 12 is specifically configured to: adjust the part of the screen facing the user according to the third algorithm, so as to distinguishably display the part of the screen facing the user.

图9示出了本发明实施例提供的电子设备的一种优化组成结构,为了便于描述,仅示出了与本发明实施例相关的部分。FIG. 9 shows an optimized composition structure of an electronic device provided by an embodiment of the present invention. For ease of description, only parts related to the embodiment of the present invention are shown.

作为本发明实施例一实施方式,参见图9,所述电子设备还包括距离检测模块4;As an implementation manner of an embodiment of the present invention, referring to FIG. 9 , the electronic device further includes a distance detection module 4;

所述距离检测模块4用于:检测用户的眼睛与所述显示屏2的距离;The distance detection module 4 is used to: detect the distance between the user's eyes and the display screen 2;

所述显示单元12具体包括曲率确定单元121和调整单元122;The display unit 12 specifically includes a curvature determination unit 121 and an adjustment unit 122;

所述曲率确定单元121用于:基于所述距离检测模块4检测到的距离和所述角度识别单元11识别出的观看角度,根据第一算法确定曲线的曲率;The curvature determination unit 121 is configured to: determine the curvature of the curve according to a first algorithm based on the distance detected by the distance detection module 4 and the viewing angle identified by the angle identification unit 11;

所述调整单元122用于:以所述曲率确定单元121确定的曲线调整所述画面的显示角度。The adjusting unit 122 is configured to: adjust the display angle of the picture according to the curve determined by the curvature determining unit 121 .

作为本发明实施例一实施方式,参见图9,所述电子设备还包括环境光检测模块5;As an implementation manner of an embodiment of the present invention, referring to FIG. 9 , the electronic device further includes an ambient light detection module 5;

所述环境光检测模块5用于:检测所述显示屏2所处环境的光线强度;The ambient light detection module 5 is used to: detect the light intensity of the environment where the display screen 2 is located;

所述调整单元122用于:基于所述距离检测模块4检测到的距离、所述环境光检测模块5检测到的光线强度和所述角度识别单元11识别出的观看角度,根据所述第二算法确定所述画面的显示亮度,以区别亮度显示朝向所述眼睛的部分所述画面。The adjustment unit 122 is configured to: based on the distance detected by the distance detection module 4, the light intensity detected by the ambient light detection module 5 and the viewing angle recognized by the angle recognition unit 11, according to the second An algorithm determines the display brightness of the picture, and displays the part of the picture facing the eyes with a differential brightness.

图10示出了本发明实施例提供的电子设备的又一种优化组成结构,为了便于描述,仅示出了与本发明实施例相关的部分。FIG. 10 shows another optimized composition structure of the electronic device provided by the embodiment of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown.

作为本发明实施例一实施方式,参见图10,所述控制模块1还包括用眼疲劳识别单元13;As an implementation of an embodiment of the present invention, referring to FIG. 10 , the control module 1 further includes an eye fatigue identification unit 13;

所述用眼疲劳识别单元13用于:从所述图像获取模块3获取到的人脸图像识别出眼睑的运动信息,根据所述运动信息识别用户是否处于用眼疲劳状态;The eye fatigue recognition unit 13 is used to: recognize the movement information of the eyelids from the face image obtained by the image acquisition module 3, and identify whether the user is in a state of eye fatigue according to the movement information;

所述显示单元12还用于:在所述用眼疲劳识别单元13持续识别到所述用眼疲劳状态的时间达到第一时间时,控制所述显示屏2按照预设模式显示;The display unit 12 is further configured to: control the display screen 2 to display in a preset mode when the eye fatigue identification unit 13 continues to recognize the eye fatigue state for a first time;

其中,所述预设模式包括以下的一种或其组合:按照预设方式显示所述画面或者显示预设图片,显示提醒用户休息眼睛的预设图片。Wherein, the preset mode includes one or a combination of the following: displaying the screen in a preset manner or displaying a preset picture, and displaying a preset picture reminding the user to rest their eyes.

作为本发明实施例一实施方式,所述显示单元12还用于:在所述观看角度与所述正视角度的角度差大于预设差值、且用户持续以所述观看角度浏览所述画面的时间达到第二时间时,控制所述显示屏2按照预设模式显示;As an embodiment of the present invention, the display unit 12 is further configured to: when the angle difference between the viewing angle and the front viewing angle is greater than a preset difference, and the user continues to browse the screen at the viewing angle When the time reaches the second time, control the display screen 2 to display according to the preset mode;

其中,所述预设模式包括以下的一种或其组合:按照预设方式显示所述画面或者显示预设图片,显示提醒用户休息眼睛的预设图片。Wherein, the preset mode includes one or a combination of the following: displaying the screen in a preset manner or displaying a preset picture, and displaying a preset picture reminding the user to rest their eyes.

作为本发明实施例一实施方式,所述控制模块1还包括用眼疲劳识别单元13;As an embodiment of the present invention, the control module 1 further includes an eye fatigue identification unit 13;

所述用眼疲劳识别单元13用于:从所述图像获取模块3获取到的人脸图像识别出眼睑的运动信息,根据所述运动信息识别用户是否处于用眼疲劳状态;The eye fatigue recognition unit 13 is used to: recognize the movement information of the eyelids from the face image obtained by the image acquisition module 3, and identify whether the user is in a state of eye fatigue according to the movement information;

所述显示单元12还用于:在所述观看角度与所述正视角度的角度差大于预设差值、且持续识别到所述用眼疲劳状态的时间和用户持续以所述观看角度浏览所述画面的时间同时达到第三时间时,控制所述显示屏2按照预设模式显示;The display unit 12 is also used for: when the angle difference between the viewing angle and the front view angle is greater than a preset difference value, and the time when the state of eye fatigue is continuously recognized and the user continues to browse all content at the viewing angle When the time of the screen reaches the third time at the same time, control the display screen 2 to display according to the preset mode;

其中,所述预设模式包括以下的一种或其组合:按照预设方式显示所述画面或者显示预设图片,显示提醒用户休息眼睛的预设图片。Wherein, the preset mode includes one or a combination of the following: displaying the screen in a preset manner or displaying a preset picture, and displaying a preset picture reminding the user to rest their eyes.

作为本发明实施例一实施方式,所述电子设备为智能手机或平板电脑。As an embodiment of the present invention, the electronic device is a smart phone or a tablet computer.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的电子设备、各模块和各单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described electronic equipment, each module, and each unit can refer to the corresponding process in the foregoing method embodiment, and will not be repeated here. .

在本申请所提供的几个实施例中,应该理解到,所揭露的电子设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,控制模块包括的各所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed electronic device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units included in the control module is only a logical function division. In actual implementation, there may be other division methods, such as multiple units Or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (13)

1. a kind of display adjusting method, it is characterised in that the display adjusting method includes:
During picture in user's browse displays screen, the facial image of user is obtained;
Signature analysis is carried out to the facial image, identifies the viewing angle of eyes of user;Identified according to the facial image The pupil of user location in eyes, according to pupil, location determines the viewing angle in eyes;
Based on the viewing angle, according to the angles of display of the ad hoc algorithm adjustment picture so that the part picture direction The eyes of user are shown;If user's information interested is not shown towards the eyes of user, user manipulate electronic equipment with The part picture that adjustment is loaded with user's information interested is shown towards the eyes of user;
It is described to be based on the viewing angle, according to the step for the angles of display of the ad hoc algorithm adjustment picture, specifically include:
Detect the eyes of user and the distance of the display screen;
Based on the distance and the viewing angle, bent curvature of a curve is determined according to the first algorithm;
The angles of display of the picture is adjusted with the curve;Pixel on the picture is subjected to corresponding set according to the curve Put, the picture set is completed in display.
2. display adjusting method as claimed in claim 1, it is characterised in that described that the aobvious of the picture is adjusted with the curve After the step for showing angle, the display adjusting method also includes:
Detect the light intensity of the display screen local environment;
Based on the distance, the light intensity and the viewing angle, determine that the display of the picture is bright according to the second algorithm Degree, the part picture towards the eyes is shown to distinguish brightness.
3. the display adjusting method as described in any one of claim 1 to 2, it is characterised in that described to be adjusted according to ad hoc algorithm After the step for angles of display of the picture, the display adjusting method also includes:
The part picture according to third algorithm adjustment towards the eyes, to distinctly display the part institute towards the eyes State picture.
4. display adjusting method as claimed in claim 1, it is characterised in that described that the picture is adjusted according to ad hoc algorithm After the step for angles of display, the display adjusting method specifically includes:
The movable information of eyelid is identified from the facial image;
If identified according to the movable information with kopiopia state, persistently recognize it is described with kopiopia state when Between control the display screen to be shown according to preset mode when reaching the very first time;
Wherein, the preset mode includes following one kind or its combination:The picture, display alarm are shown according to predetermined manner The default picture of user's rest eyes.
5. display adjusting method as claimed in claim 1, it is characterised in that described that the picture is adjusted according to ad hoc algorithm After the step for angles of display, the display adjusting method also includes:
It is more than preset difference value in the differential seat angle of the viewing angle and positive angle and user continues to browse with the viewing angle When the time of the picture reached for the second time, the display screen is controlled to be shown according to preset mode;
Wherein, the preset mode includes following one kind or its combination:The picture, display alarm are shown according to predetermined manner The default picture of user's rest eyes.
6. display adjusting method as claimed in claim 1, it is characterised in that described that the picture is adjusted according to ad hoc algorithm After the step for angles of display, the display adjusting method specifically includes:
The movable information of eyelid is identified from the facial image, identifies whether user is in tired with eye according to the movable information Labor state;
It is more than preset difference value in the viewing angle and the differential seat angle of positive angle and persistently recognizes the kopiopia state Time and user continue when browsing the time of the picture with the viewing angle while reaching for three time, then control described in Display screen is shown according to preset mode;
Wherein, the preset mode includes following one kind or its combination:The picture, display alarm are shown according to predetermined manner The default picture of user's rest eyes.
7. a kind of electronic equipment, it is characterised in that the electronic equipment includes control module, display screen and image collection module;
Described image acquisition module is used for:The facial image of user is obtained during picture in user's browse displays screen;
The control module includes angle recognition unit and display unit;
The angle recognition unit is used for:The facial image got to described image acquisition module carries out signature analysis and identified Go out the viewing angle of eyes of user;The pupil of user is identified the location of in eyes according to the facial image, according to pupil Hole location in eyes determines the viewing angle;
The display unit is used for:The viewing angle identified based on the angle recognition unit, institute is adjusted according to ad hoc algorithm State angles of display of the picture in the display screen so that the part picture is shown towards the eyes of user;If user feels The information of interest does not show that user manipulates electronic equipment and is loaded with user's information interested to adjust towards the eyes of user Part picture is shown towards the eyes of user;
The electronic equipment also includes apart from detection module;
It is described to be used for apart from detection module:Detect the eyes of user and the distance of the display screen;
The display unit specifically includes curvature determining unit and adjustment unit;
The curvature determining unit is used for:Known based on the distance detected apart from detection module and the angle recognition unit The viewing angle not gone out, bent curvature of a curve is determined according to the first algorithm;
The adjustment unit is used for:The curve determined with the curvature determining unit adjusts the angles of display of the picture;By institute State pixel on picture to be correspondingly arranged according to the curve, the picture set is completed in display.
8. electronic equipment as claimed in claim 7, it is characterised in that the electronic equipment also includes ambient light detection module;
The ambient light detection module is used for:Detect the light intensity of the display screen local environment;
The adjustment unit is used for:Detected based on the distance detected apart from detection module, the ambient light detection module To the viewing angle that identifies of light intensity and the angle recognition unit, the display of the picture is determined according to the second algorithm Brightness, the part picture towards the eyes is shown to distinguish brightness.
9. the electronic equipment as described in any one of claim 7 to 8, it is characterised in that the display unit is specifically used for:
The part picture according to third algorithm adjustment towards user, to distinctly display the part picture towards user.
10. electronic equipment as claimed in claim 7, it is characterised in that the control module also includes identifying list with kopiopia Member;
It is described to be used for kopiopia recognition unit:The facial image got from described image acquisition module identifies the fortune of eyelid Dynamic information, identify whether user is according to the movable information and use kopiopia state;
The display unit is additionally operable to:In the time that the kopiopia state is persistently recognized with kopiopia recognition unit When reaching the very first time, the display screen is controlled to be shown according to preset mode;
Wherein, the preset mode includes following one kind or its combination:The picture or display are shown according to predetermined manner Default picture, the default picture of display alarm user's rest eyes.
11. electronic equipment as claimed in claim 7, it is characterised in that
The display unit is additionally operable to:It is more than preset difference value in the differential seat angle of the viewing angle and positive angle and user holds It is continuous when browsing time of the picture with the viewing angle and reaching for the second time, control the display screen to show according to preset mode Show;
Wherein, the preset mode includes following one kind or its combination:The picture or display are shown according to predetermined manner Default picture, the default picture of display alarm user's rest eyes.
12. electronic equipment as claimed in claim 7, it is characterised in that the control module also includes identifying list with kopiopia Member;
It is described to be used for kopiopia recognition unit:The facial image got from described image acquisition module identifies the fortune of eyelid Dynamic information, identify whether user is according to the movable information and use kopiopia state;
The display unit is additionally operable to:It is more than preset difference value and lasting knowledge in the viewing angle and the differential seat angle of positive angle It is clipped to the time with kopiopia state and user continues to browse the time of the picture with the viewing angle while reach During three time, the display screen is controlled to be shown according to preset mode;
Wherein, the preset mode includes following one kind or its combination:The picture or display are shown according to predetermined manner Default picture, the default picture of display alarm user's rest eyes.
13. electronic equipment as claimed in claim 7, it is characterised in that the electronic equipment is smart mobile phone or tablet personal computer.
CN201410719589.0A 2014-11-28 2014-11-28 Display adjusting method and electronic equipment Active CN104331168B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410719589.0A CN104331168B (en) 2014-11-28 2014-11-28 Display adjusting method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410719589.0A CN104331168B (en) 2014-11-28 2014-11-28 Display adjusting method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104331168A CN104331168A (en) 2015-02-04
CN104331168B true CN104331168B (en) 2018-01-16

Family

ID=52405911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410719589.0A Active CN104331168B (en) 2014-11-28 2014-11-28 Display adjusting method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104331168B (en)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683867A (en) * 2015-03-23 2015-06-03 三星电子(中国)研发中心 Method and device for reconfiguring video playback parameters and video playback equipment
CN104699124A (en) * 2015-03-24 2015-06-10 天津通信广播集团有限公司 Television angle regulating method based on sight watching angle detection
CN104811803A (en) * 2015-04-27 2015-07-29 天脉聚源(北京)传媒科技有限公司 Image playing adjusting method and apparatus
CN106598209A (en) * 2015-10-20 2017-04-26 中兴通讯股份有限公司 Terminal screen display control method, device and terminal
KR102441328B1 (en) * 2016-01-28 2022-09-08 삼성전자주식회사 A method for displaying a screen transmitted by a mobile robot and its electronic device
CN105786430B (en) * 2016-02-25 2020-08-25 联想(北京)有限公司 Information processing method and electronic equipment
CN106200921B (en) * 2016-06-28 2019-08-20 Oppo广东移动通信有限公司 Control method, control device, and electronic device
CN106569763B (en) * 2016-10-19 2020-03-20 华为机器有限公司 Image display method and terminal
CN106791135B (en) * 2016-12-29 2020-12-29 努比亚技术有限公司 Automatic local zooming display method and mobile terminal
CN106792180B (en) * 2016-12-31 2018-08-24 惠科股份有限公司 Control method capable of adjusting curvature of curved surface display
CN108153417B (en) * 2017-12-25 2022-03-04 北京凌宇智控科技有限公司 Picture compensation method and head-mounted display device adopting same
CN110244477A (en) * 2018-03-09 2019-09-17 上海和辉光电有限公司 A kind of display panel, display device and its display methods
CN109541827A (en) * 2018-10-31 2019-03-29 安徽奕辉电子科技有限公司 A kind of system and method for double control-type touch display screen vision-control
CN111370440B (en) * 2018-12-25 2023-04-07 中兴通讯股份有限公司 Display screen, display device and control method thereof
CN109859718B (en) * 2018-12-28 2021-03-23 维沃移动通信有限公司 Screen brightness adjustment method and terminal device
CN110288934B (en) * 2019-06-25 2022-09-23 北京向上一心科技有限公司 Imaging maintaining method and device based on flexible screen and mobile terminal
CN111221409A (en) * 2019-11-12 2020-06-02 维沃移动通信有限公司 Information display method, information display device, electronic equipment and storage medium
CN110853523A (en) * 2019-11-30 2020-02-28 捷开通讯(深圳)有限公司 Flexible display module
CN112951092A (en) * 2021-02-09 2021-06-11 大连外国语大学 Novel gate rod lifting information display system
CN113835660A (en) * 2021-09-22 2021-12-24 深圳Tcl新技术有限公司 Display screen adjustment method, device, computer equipment and storage medium
CN113867541A (en) * 2021-10-19 2021-12-31 歌尔光学科技有限公司 Display screen adjustment control method, device, device and storage medium
CN113900526A (en) * 2021-10-29 2022-01-07 深圳Tcl数字技术有限公司 Three-dimensional human image display control method, device, storage medium and display device
CN114449162B (en) * 2021-12-22 2024-04-30 天翼云科技有限公司 Method, device, computer equipment and storage medium for playing panoramic video
CN115373548B (en) * 2022-08-25 2025-01-24 汉桑(南京)科技股份有限公司 A display content adjustment method and system
CN116166215A (en) * 2022-12-27 2023-05-26 联想(北京)有限公司 Display picture adjusting method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101151651A (en) * 2005-04-01 2008-03-26 皇家飞利浦电子股份有限公司 Display panel capable of controlling brightness according to circumstance light
CN101441513A (en) * 2008-11-26 2009-05-27 北京科技大学 System for performing non-contact type human-machine interaction by vision
CN102375539A (en) * 2010-08-19 2012-03-14 索尼公司 Information processing device, information processing method, and program
CN103841398A (en) * 2012-11-27 2014-06-04 三星显示有限公司 Method of displaying three-dimensional image and three-dimensional image display apparatus performing the same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101602363B1 (en) * 2008-09-11 2016-03-10 엘지전자 주식회사 3 Controling Method of 3 Dimension User Interface Switchover and Mobile Terminal using the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101151651A (en) * 2005-04-01 2008-03-26 皇家飞利浦电子股份有限公司 Display panel capable of controlling brightness according to circumstance light
CN101441513A (en) * 2008-11-26 2009-05-27 北京科技大学 System for performing non-contact type human-machine interaction by vision
CN102375539A (en) * 2010-08-19 2012-03-14 索尼公司 Information processing device, information processing method, and program
CN103841398A (en) * 2012-11-27 2014-06-04 三星显示有限公司 Method of displaying three-dimensional image and three-dimensional image display apparatus performing the same

Also Published As

Publication number Publication date
CN104331168A (en) 2015-02-04

Similar Documents

Publication Publication Date Title
CN104331168B (en) Display adjusting method and electronic equipment
US11715231B2 (en) Head pose estimation from local eye region
EP3608755B1 (en) Electronic apparatus operated by head movement and operation method thereof
CN103885589B (en) Eye movement tracking method and device
CN104809458B (en) A kind of pupil center's localization method and device
US9703373B2 (en) User interface control using gaze tracking
US9131150B1 (en) Automatic exposure control and illumination for head tracking
US8942434B1 (en) Conflict resolution for pupil detection
US10540812B1 (en) Handling real-world light sources in virtual, augmented, and mixed reality (xR) applications
US10740918B2 (en) Adaptive simultaneous localization and mapping (SLAM) using world-facing cameras in virtual, augmented, and mixed reality (xR) applications
US9256324B2 (en) Interactive operation method of electronic apparatus
US20140240225A1 (en) Method for touchless control of a device
EP2879020B1 (en) Display control method, apparatus, and terminal
CN112183200B (en) Eye movement tracking method and system based on video image
CN110476141A (en) Sight tracing and user terminal for executing this method
US10366281B2 (en) Gesture identification with natural images
CN105068646B (en) The control method and system of terminal
WO2018063586A1 (en) Apparatus, system and method for dynamic modification of a graphical user interface
KR20120045667A (en) Apparatus and method for generating screen for transmitting call using collage
Dongre et al. Computer Cursor Control Using Eye and Face Gestures
KR102181897B1 (en) Device and method for mobile tooltip using eye detecting
CN110858095A (en) Electronic device that can be controlled by head and its operation method
Khan et al. A new 3D eyeball tracking system to enhance the usability of page scrolling
CN114554097B (en) Display method, display device, electronic device and readable storage medium
TW201925989A (en) Interactive system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CP03 Change of name, title or address