CN104252828A - Vision-protective display method, vision-protective display device and terminal equipment - Google Patents

Vision-protective display method, vision-protective display device and terminal equipment Download PDF

Info

Publication number
CN104252828A
CN104252828A CN201310270914.5A CN201310270914A CN104252828A CN 104252828 A CN104252828 A CN 104252828A CN 201310270914 A CN201310270914 A CN 201310270914A CN 104252828 A CN104252828 A CN 104252828A
Authority
CN
China
Prior art keywords
user
terminal
value
difference
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310270914.5A
Other languages
Chinese (zh)
Other versions
CN104252828B (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.)
Honor Device Co Ltd
Original Assignee
Huawei Device Co 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201310270914.5A priority Critical patent/CN104252828B/en
Publication of CN104252828A publication Critical patent/CN104252828A/en
Application granted granted Critical
Publication of CN104252828B publication Critical patent/CN104252828B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

An embodiment of the invention provides a vision-protective display method, a vision-protective display device and terminal equipment. The vision-protective display method includes acquiring a face image of a current user, and then adjusting an image displayed on a terminal screen according to the face image and a user's vision value. Images displayed on the terminal screen can be adjusted by the terminal equipment in real time according to current use conditions of users, and further, great convenient is brought to the users.

Description

Display method and display device for protecting eyesight and terminal equipment
Technical Field
The embodiment of the invention relates to a communication technology, in particular to a display method, a display device and a terminal device for protecting eyesight.
Background
With the development of science and technology, people are increasingly using multimedia terminal devices, such as smart phones, tablet computers and the like.
Meanwhile, the multimedia terminal device brings more and more convenient life to people, for example, people can browse webpages, inquire contents, read electronic books and even play games through the multimedia terminal device at any time and any place.
However, when a user feels that the size of the fonts and pictures displayed on the mobile phone screen need to be adjusted and the display brightness are required to be adjusted during the process of using the multimedia terminal device, the user can not perform display processing in real time according to the current eyesight condition and the use distance condition, and therefore the user is inconvenient to use.
Disclosure of Invention
The embodiment of the invention provides a display method, a display device and a terminal device for protecting eyesight, which can solve the problem that display processing cannot be carried out in real time according to the current eyesight condition and the use distance condition of a user.
In a first aspect, there is provided a display method for protecting eyesight, comprising:
acquiring a face image of a current user;
and adjusting the image displayed on the screen of the terminal according to the facial image and the vision value of the user.
In a first possible implementation manner of the first aspect, the adjusting an image displayed on a screen of the terminal according to the face image and the eyesight value of the user includes:
identifying the face image and acquiring the size of the face image;
comparing the facial image size with a standard facial image size to obtain a first difference value, wherein the standard facial image size is the facial image size of the user corresponding to the habit distance of the user, and the habit distance is an average value of multiple use distances between the detected face of the user and the terminal lens or a distance defined by the user;
and if the absolute value of the first difference is larger than a first preset value, adjusting the image displayed on the screen of the terminal.
In the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, the adjusting an image displayed on a screen of the terminal according to the face image and the eyesight value of the user includes:
adjusting the size of the image displayed on the terminal screen according to the corresponding relation between the first difference and the image size scaling factor and the corresponding relation between the visual force value of the user and the image size scaling factor, wherein the image size scaling factor is the ratio of the standard facial image size to the facial image size; or
And adjusting the contrast and/or brightness of the image displayed on the terminal screen according to the corresponding relation between the first difference and the variation of the contrast and/or brightness of the image and the corresponding relation between the visual force value of the user and the variation of the contrast and/or brightness of the image.
In a second possible implementation manner of the first aspect to the first possible implementation manner, in a third possible implementation manner, after the comparing the size of the face image with a standard size of the face image to obtain a first difference, the method further includes:
if the absolute value of the first difference is larger than a preset difference, acquiring the current distance between the face of the current user and the terminal lens according to the corresponding relation between the first difference and the distance variation between the face and the terminal lens;
comparing the habitual distance between the face of the user and the lens of the terminal with the current distance to obtain a second difference value;
and if the absolute value of the second difference is larger than a second preset difference, adjusting the image displayed on the screen of the terminal according to the second difference and the visual force value of the user.
In a third possible implementation manner of the first aspect, in a fourth possible implementation manner, after the acquiring the face image of the current user, the method further includes:
comparing the face image size with a standard face image size to obtain a first ratio;
if the first ratio is larger than a first preset ratio, sending first prompt information to the user to prompt that the user is far away from the terminal lens currently;
and if the first ratio is smaller than a second preset ratio, sending second prompt information to the user to prompt that the user is closer to the terminal lens currently.
In a fourth possible implementation manner of the first aspect, in a fifth possible implementation manner, the eyesight of the user is tested by receiving an input operation of an eyesight table displayed on a screen of the terminal by the user, and the eyesight value of the user is obtained; or
And the terminal receives the user vision value input by the user.
In a second aspect, there is provided a display device for protecting eyesight, comprising:
the acquisition module is used for acquiring a face image of a current user;
and the processing module is used for adjusting the image displayed on the screen of the terminal according to the facial image and the vision value of the user.
In a first possible implementation manner of the second aspect, the processing module includes:
an acquisition unit configured to identify the face image and acquire a size of the face image;
the calculating unit is used for comparing the facial image size with a standard facial image size to obtain a first difference value, wherein the standard facial image size is the facial image size of the user corresponding to the habit distance of the user, and the habit distance is an average value of multiple use distances between the detected face of the user and the terminal lens or a distance defined by the user;
and the adjusting unit is used for adjusting the image displayed on the screen of the terminal if the absolute value of the first difference is greater than a first preset value.
In the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner, the adjusting an image displayed on a screen of the terminal according to the face image and the eyesight value of the user includes:
the adjusting unit is specifically configured to adjust the size of the image displayed on the terminal screen according to a correspondence between the first difference and the image size scaling factor, which is a ratio of the standard facial image size to the facial image size, and a correspondence between the user's visual force value and the image size scaling factor; or adjusting the contrast and/or brightness of the image displayed on the terminal screen according to the corresponding relationship between the first difference and the variation of the contrast and/or brightness of the image and the corresponding relationship between the visual force value of the user and the variation of the contrast and/or brightness of the image.
In a second possible implementation manner of the second aspect to the second aspect, in a third possible implementation manner, the processing module further includes: a comparison unit for comparing the difference between the first and second signals,
the obtaining unit is further configured to obtain a current distance between the face of the current user and the terminal lens according to a corresponding relationship between the first difference and a distance variation between the face and the terminal lens if the absolute value of the first difference is greater than a preset difference;
the comparison unit is used for comparing the habitual distance between the face of the user and the lens of the terminal with the current distance to obtain a second difference value;
the adjusting unit is specifically configured to adjust the image displayed on the screen of the terminal according to the second difference and the user's visual force value if the absolute value of the second difference is greater than a second preset difference.
In a third possible implementation manner of the second aspect, in a fourth possible implementation manner, the method further includes: a comparison module and a prompt module, wherein the comparison module is used for comparing the current value of the current value,
the comparison module is used for comparing the size of the face image with the size of a standard face image to obtain a first ratio;
the prompting module is used for sending first prompting information to the user if the first ratio is larger than a first preset ratio so as to prompt that the user is far away from the terminal lens currently; and if the first ratio is smaller than a second preset ratio, sending second prompt information to the user to prompt that the user is closer to the terminal lens currently.
In a fourth possible implementation manner of the second aspect, in a fifth possible implementation manner, the obtaining module is further configured to test the eyesight of the user by receiving an input operation of an eyesight table displayed on a screen of the terminal by the user, so as to obtain the eyesight value of the user; or accepting the user vision value input by the user.
In a third aspect, a terminal device is provided, which includes: a vision-protecting terminal display device as claimed in any one of the above second to second possible implementations.
According to the display method, the display device and the terminal equipment for protecting eyesight, provided by the embodiment of the invention, the face image of the current user is obtained; then, the image displayed on the screen of the terminal is adjusted according to the face image and the user's vision value. Therefore, the terminal equipment can adjust the image displayed on the terminal screen in real time according to the current use condition of the user, and great convenience is brought to the use of the user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flowchart illustrating a display method for protecting eyesight according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a display method for protecting eyesight according to another embodiment of the present invention;
FIG. 3 is a flowchart illustrating a display method for protecting eyesight according to another embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a display device for protecting eyesight according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another embodiment of a display device for protecting eyesight;
fig. 6 is a schematic structural diagram of a display device for protecting eyesight according to another embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The display method for protecting eyesight provided by the embodiment of the invention can be particularly applied to the situation that a user uses a terminal device, and the terminal device can be a smart phone or a tablet computer and the like. The display method for protecting eyesight provided by this embodiment may be specifically executed by a display device for protecting eyesight, the display device for protecting eyesight may be integrated in a terminal device, and the display device for protecting eyesight may be implemented in a software and/or hardware manner. The display method for protecting eyesight provided in this embodiment will be described in detail below.
Fig. 1 is a schematic flow chart of an embodiment of a display method for protecting eyesight according to the present invention, as shown in fig. 1, the method of this embodiment may be executed by a display device for protecting eyesight, the display device may be implemented by hardware and/or software, and may be integrated in a terminal device, and the display device is generally configured with a lens and a display screen. The method comprises the following steps:
step 101, acquiring a face image of a current user.
In this embodiment, the display device for protecting eyesight may periodically acquire the face image of the current user, or the user may make the terminal acquire the face image of the current user by shooting. The facial image may be the current whole facial image of the user, or may be a certain organ of the user, such as eyes.
And 102, adjusting the image displayed on the screen of the terminal according to the face image and the vision value of the user.
Specifically, the applicable scenes for adjusting the image displayed on the screen of the terminal according to the facial image and the visual force value of the user at least include two types:
the method comprises the steps of identifying a face image and obtaining the size of the face image in a first applicable scene; then, comparing the size of the facial image with a standard facial image size to obtain a first difference value, wherein the standard facial image size is the facial image size of the user corresponding to the habit distance of the user, and the habit distance is the average value of multiple use distances between the detected face of the user and the terminal lens or the user-defined distance; and then, if the absolute value of the first difference is greater than a first preset value, adjusting the image displayed on the screen of the terminal.
The second applicable scene is used for identifying the face image and acquiring the size of the face image; then, comparing the size of the face image with the size of a standard face image to obtain a first difference value, and if the absolute value of the first difference value is greater than a preset difference value, obtaining the current distance between the face of the current user and a terminal lens according to the corresponding relation between the first difference value and the distance variation between the face and the terminal lens; then, comparing the habitual distance between the face of the user and the lens of the terminal with the current distance to obtain a second difference value; and if the absolute value of the second difference is larger than the second preset difference, adjusting the image displayed on the screen of the terminal according to the second difference and the vision value of the user.
It should be noted that, no matter what kind of applicable scenario is described above, the implementation manners of adjusting the image displayed on the screen of the terminal include at least the following two types:
in a first implementation mode, the size of an image displayed on a terminal screen is adjusted according to the corresponding relation between a first difference value and an image size scaling factor and the corresponding relation between the image size scaling factor and the vision value of a user, wherein the image size scaling factor is the ratio of the size of a standard facial image to the size of the facial image; or
In a second implementation manner, the contrast and/or the brightness of the image displayed on the terminal screen are adjusted according to the corresponding relationship between the first difference and the variation of the contrast and/or the brightness of the image and the corresponding relationship between the contrast and/or the variation of the brightness of the vision value image of the user.
It should be noted that, in this embodiment, the current distance between the face of the user and the lens of the terminal is at least twice the focal length of the lens of the terminal.
According to the display method for protecting eyesight, the face image of the current user is obtained; then, the image displayed on the screen of the terminal is adjusted according to the face image and the user's vision value. Therefore, the terminal equipment can adjust the image displayed on the terminal screen in real time according to the current use condition of the user, and great convenience is brought to the use of the user.
Fig. 2 is a schematic flow chart of another embodiment of the display method for protecting eyesight of the present invention, as shown in fig. 2, the method includes the following steps:
step 201, acquiring a face image of a current user.
The implementation principle of step 201 in this embodiment is similar to that of step 101, and is not described herein again.
Step 202, identifying a face image and acquiring the size of the face image.
In this embodiment, the display device for protecting eyesight may obtain the size of the face image, that is, the size of the face of the user imaged on the terminal lens, for example, the height value and/or the width value of the face image, which may be in units of centimeters or pixels, by identifying the face image of the current user.
Step 203, comparing the size of the face image with the size of the standard face image to obtain a first difference.
In this embodiment, the standard facial image size is a facial image size of the user corresponding to a habitual distance of the user, where the habitual distance is an average value of multiple use distances between the detected face of the user and the terminal lens, for example, at an initial stage of using the terminal device, the habitual distance is finally obtained through average value calculation according to a distance between the face of the user and the terminal lens periodically obtained by a measuring device arranged on the terminal device, or the habitual distance is a habitual distance that is customized by the user, for example, the user inputs a numerical value in the terminal as the habitual distance.
For example, the implementation of comparing the face image size with the standard face image size may specifically be: the display device periodically compares the face image size with a height value of a standard face image size to obtain a first difference value, or the display device compares the face image size with a width value of the standard face image size to obtain the first difference value.
And 204, if the absolute value of the first difference is larger than the first preset value, adjusting the image displayed on the screen of the terminal.
Specifically, if the absolute value of the first difference is greater than the first preset value, the image displayed on the screen of the terminal is adjusted, which includes at least two implementation manners:
in a first implementation manner, the size of the image displayed on the terminal screen is adjusted according to the corresponding relationship between the first difference and the image size scaling factor and the visual force value of the user, wherein the image size scaling factor is the ratio of the size of the facial image to the size of the standard facial image.
Specifically, if the first difference is greater than zero, the ratio of the size of the face image to the size of the standard face image is used as an image size scaling multiple, that is, a reduction multiple, and the size of the image displayed on the terminal screen is adjusted, that is, reduced, according to the visual force value of the user. And if the first difference is less than zero, taking the ratio of the size of the face image to the size of the standard face image as an image size scaling factor, namely a magnification factor, and adjusting the size of the image displayed on the terminal screen according to the corresponding relation between the visual force value of the user and the image size scaling factor, namely magnifying.
For example, the standard face image size is divided by the face image size, the obtained ratio is used as a display multiple, and the image size displayed on the terminal screen is adjusted according to the ratio, for example, the visual force value of the user is 1.0, the habitual distance between the user and the terminal screen is 30cm, the standard face image of the user is obtained by the display device at the initial stage of using the terminal device by the user, the image size displayed on the terminal screen is displayed according to the visual force value and the habitual distance of the user, the height size of the face image of the user can be obtained by the terminal device during the use of the terminal device by the user is 5 cm, and the image size on the terminal screen can be reduced according to the ratio of 4/5.
In a second implementation manner, the contrast and/or the brightness of the image displayed on the terminal screen are adjusted according to the corresponding relationship between the first difference and the variation of the contrast and/or the brightness of the image and the corresponding relationship between the visual force value of the user and the variation of the contrast and/or the brightness of the image.
Specifically, if the first difference is greater than zero, it may be determined that the distance between the user and the terminal lens is less than the customary distance, and the contrast and/or the brightness of the image displayed on the terminal screen are reduced according to the correspondence between the contrast and/or the brightness variation of the image and the correspondence between the visual force value of the user and the contrast and/or the brightness variation of the image. If the first difference is smaller than zero, it can be determined that the distance between the user and the terminal lens is larger than the customary distance, and the contrast and/or the brightness of the image displayed on the terminal screen are increased according to the corresponding relation of the variation of the contrast and/or the brightness of the image and the visual force value of the user.
It should be noted that, if the absolute value of the first difference is smaller than the first preset difference, it is considered that the distance between the user and the terminal screen changes due to the shaking of the user's body, so that the size of the image displayed on the terminal screen is not adjusted; if the absolute value of the first difference is larger than the preset difference, the size of the image displayed on the terminal screen is adjusted according to the ratio, namely the ratio of the current distance to the customary distance is multiplied by the size of the image displayed on the terminal screen before adjustment to serve as the size of the image displayed on the current terminal screen.
In the display method for protecting eyesight provided in this embodiment, the size of the face image is obtained by obtaining the face image of the current user and identifying the face image, then, the size of the face image is compared with the size of the standard face image to obtain a first difference, and then, if the absolute value of the first difference is greater than a first preset value, the image displayed on the screen of the terminal is adjusted. Therefore, the terminal equipment can adjust the image displayed on the terminal screen in real time according to the current use condition of the user, and great convenience is brought to the use of the user.
Further, on the basis of the foregoing embodiment, after the step 203 of comparing the size of the face image with the size of the standard face image to obtain the first difference, the method may further include:
if the absolute value of the first difference is larger than the preset difference, acquiring the current distance between the face of the current user and the terminal lens according to the corresponding relation between the first difference and the distance variation between the face and the terminal lens;
comparing the habitual distance between the face of the user and the lens of the terminal with the current distance to obtain a second difference value;
and if the absolute value of the second difference is larger than the second preset difference, adjusting the image displayed on the screen of the terminal according to the second difference and the vision value of the user.
In this embodiment, the implementation manners of obtaining the current distance between the face of the current user and the lens of the terminal at least include three types:
in a first implementation, a user may input a current distance between the user's face and the terminal lens on the terminal.
In a second implementation, the terminal display device may measure a current distance between the face of the user and the lens of the terminal according to a measuring device disposed at the terminal.
In the third implementation mode, the product of the standard face image size of the user and the focal length of the terminal lens is divided by the current face imaging size to obtain the current distance between the user and the terminal lens, wherein the standard face image size is obtained by multiplying the standard face imaging size and the focal length of the terminal lens and dividing the obtained product by the customary distance,
in this embodiment, the habitual distance between the face of the user and the lens of the terminal is compared with the current distance, and the absolute value of the obtained second difference is greater than a second preset difference, that is, after the difference between the current distance between the face of the user and the lens of the terminal and the habitual distance exceeds a range, the image displayed on the screen of the terminal is adjusted, and the specific adjustment mode is similar to the principle and effect of the above embodiment, and is not described herein again.
Fig. 3 is a schematic flow chart of a display method for protecting eyesight according to another embodiment of the present invention, as shown in fig. 3, the method includes the following steps:
step 301, acquiring a face image of a current user.
The implementation principle of step 301 in this embodiment is similar to that of step 101, and is not described herein again.
Step 302, comparing the size of the face image with the size of a standard face image to obtain a first ratio.
And step 303, comparing the first ratio with a preset ratio, and sending prompt information to a user according to a comparison result.
Specifically, the first ratio is compared with a first preset ratio, if the first ratio is larger than the first preset ratio, the current distance is determined to be larger than the habitual distance, and first prompt information is sent to the user to prompt the user that the current distance between the user and the terminal lens is longer; or,
and comparing the first ratio with a second preset ratio, if the first ratio is smaller than the second preset ratio, determining that the current distance is smaller than the habitual distance, and sending second prompt information to the user to prompt the user that the current distance between the user and the terminal lens is short.
The first ratio comprises the size and the direction of the first ratio, and the first preset ratio is larger than the second preset ratio.
According to the display method for protecting eyesight, the face image of the current user is obtained, then the size of the face image is compared with the size of the standard face image to obtain the first ratio, then the first ratio is compared with the preset ratio, and prompt information is sent to the user according to the comparison result. Therefore, the terminal equipment can adjust the image displayed on the terminal screen in real time according to the current use condition of the user, and great convenience is brought to the use of the user.
Further, when the prompt message is sent to the user, the image displayed on the screen of the terminal can be adjusted. The specific manner of adjusting the image displayed on the screen of the terminal is similar to the above embodiment, and is not described herein again.
On the basis of the above embodiment, the display method for protecting eyesight may further include: the visual force value of the user is obtained, and the specific implementation mode is as follows:
in a first implementation manner, the eyesight of the user is tested by receiving the input operation of the eyesight table displayed on the screen of the terminal by the user, and the eyesight value of the user is obtained.
Specifically, after the terminal is powered on or unlocked, the user can perform vision detection through the terminal, that is, the user performs vision detection while keeping a customary distance, for example, 30cm, with the terminal being provided with vision detection software. The specific method for performing the vision test can be that the terminal screen firstly displays a character with vision of 1.0, the opening direction of the character E is judged by finger sliding, if the pointing direction is wrong, the terminal screen displays the character with vision of 0.8, the user continues to slide the finger to determine the opening direction of the character E until the detection is correct, and meanwhile, the terminal display device records the vision value corresponding to the latest character as the vision value of the user and establishes a vision file, and the vision file can comprise: test time, visual value, user habit distance, information such as user comfort brightness, like time: 2012-12-20, the visual value is 0.8, the habitual distance is 30cm, and the comfort brightness is 65%, wherein the habitual distance can be manually input by a user, and the comfort brightness can be manually input by the user or a default value carried by the user when the user leaves a factory.
It should be noted that the method for obtaining the visual force value of the user according to the visual chart displayed on the terminal screen in the embodiment is not limited to the above description, and may be implemented according to any method that may occur to those skilled in the art.
In a second implementation manner, the terminal receives the user vision value input by the user.
After the terminal is turned on or unlocked, the user needs to input the vision value when filling in the vision file, and the contents of the vision file are similar to those of the vision file in the above embodiment, and are not described herein again.
And in the third implementation mode, the vision of the user is detected according to the difference value of the current distance and the habitual distance, and the vision value of the user is obtained.
In the process that the user uses the terminal, when it is determined that the difference between the current distance and the habit distance exceeds the preset value, the eyesight of the user can be detected, and the eyesight value of the user can be obtained, wherein the specific mode for detecting the eyesight of the user is similar to the embodiment, and is not described herein again.
According to the method provided by the embodiment, at the initial stage of using the terminal by the user or in the process of using the terminal by the user, the user can know whether the eyesight of the user is degraded or not after detecting the eyesight, so that the condition of using the terminal is determined by the user, and conditions can be provided for automatically protecting the eyesight of the user.
Fig. 4 is a schematic structural diagram of a display device for protecting eyesight according to an embodiment of the present invention, as shown in fig. 4, the display device includes: the system comprises an acquisition module 401 and a processing module 402, wherein the acquisition module 401 is used for acquiring a face image of a current user; and the processing module 402 is configured to adjust the image displayed on the screen of the terminal according to the face image and the visual force value of the user.
According to the display method for protecting eyesight, the face image of the current user is obtained; then, the image displayed on the screen of the terminal is adjusted according to the face image and the user's vision value. Therefore, the terminal equipment can adjust the image displayed on the terminal screen in real time according to the current use condition of the user, and great convenience is brought to the use of the user.
Fig. 5 is a schematic structural diagram of another embodiment of the display device for protecting eyesight of the present invention, and as shown in fig. 5, on the basis of the above embodiment, the processing module 402 may include: an acquisition unit 4021, a calculation unit 4022, and an adjustment unit 4023. The acquiring unit 4021 is configured to identify a face image and acquire a size of the face image; the calculating unit 4022 is configured to compare the size of the facial image with a standard size of the facial image to obtain a first difference, where the standard size of the facial image is a size of the facial image of the user corresponding to a habit distance of the user, and the habit distance is an average value of multiple use distances between the detected face of the user and the terminal lens, or a distance defined by the user; the adjusting unit 4023 is configured to adjust an image displayed on a screen of the terminal if the absolute value of the first difference is greater than the first preset value.
Further, on the basis of the foregoing embodiment, the adjusting unit 4023 is specifically configured to adjust the size of the image displayed on the terminal screen according to the corresponding relationship between the first difference and the image size scaling factor, and the corresponding relationship between the user's visual force value and the image size scaling factor, where the image size scaling factor is a ratio of the size of the face image to the size of the standard face image; or adjusting the contrast and/or brightness of the image displayed on the terminal screen according to the corresponding relation between the first difference and the variation of the contrast and/or brightness of the image and the corresponding relation between the visual force value of the user and the variation of the contrast and/or brightness of the image.
Optionally, on the basis of the foregoing embodiment, the obtaining unit 4021 is further configured to obtain a current distance between the face of the current user and the terminal lens according to a corresponding relationship between the first difference and a distance variation between the face and the terminal lens if the absolute value of the first difference is greater than a preset difference;
a calculating unit 4022, configured to compare a habitual distance between the face of the user and the lens of the terminal with the current distance, and obtain a second difference;
the adjusting unit 4023 is specifically configured to adjust an image displayed on the screen of the terminal according to the second difference and the eyesight value of the user if the absolute value of the second difference is greater than the second preset difference.
Further, optionally, the display device may further include: a comparison module 403 and a prompt module 404, wherein,
a comparison module 403, configured to compare the size of the face image with a standard size of the face image to obtain a first ratio;
a prompt module 404, configured to send a first prompt message to a user if the first ratio is greater than a first preset ratio, so as to prompt the user that the distance between the user and a terminal lens is relatively long; and if the first ratio is smaller than the second preset ratio, sending second prompt information to the user to prompt that the user is closer to the terminal lens currently.
Further, the obtaining module 401 is further configured to test the eyesight of the user by receiving an input operation of an eyesight table displayed on a screen of the terminal by the user, so as to obtain the eyesight value of the user; or accepting user input of a user vision value.
Fig. 6 is a schematic structural diagram of a display device for protecting eyesight according to another embodiment of the present invention, as shown in fig. 6, the display device includes: a display 601, an input device 602, a camera 603 and a processor 604, the display 601 for displaying images on a display apparatus for protecting eyesight; an input device 602 for receiving an input operation by a user; the camera 603 is configured to obtain a face image of a current user; a processor 604 for adjusting the image displayed on the screen of the terminal according to the face image and the user's vision value.
According to the display method for protecting eyesight, the face image of the current user is obtained; then, the image displayed on the screen of the terminal is adjusted according to the face image and the user's vision value. Therefore, the terminal equipment can adjust the image displayed on the terminal screen in real time according to the current use condition of the user, and great convenience is brought to the use of the user.
On the basis of the above embodiment, the processor 604 is specifically configured to identify a face image and obtain a size of the face image; comparing the face image size with a standard face image size to obtain a first difference value, wherein the standard face image size is the face image size of a user corresponding to the habit distance of the user, and the habit distance is the average value of multiple use distances between the detected face of the user and a terminal lens or the user-defined distance; and if the absolute value of the first difference is larger than the first preset value, adjusting the image displayed on the screen of the terminal.
Further, on the basis of the foregoing embodiment, the processor 604 is specifically configured to adjust the size of the image displayed on the terminal screen according to a corresponding relationship between the first difference and an image size scaling factor, and a corresponding relationship between a visual force value of the user and the image size scaling factor, where the image size scaling factor is a ratio of the size of the face image to the size of the standard face image; or adjusting the contrast and/or brightness of the image displayed on the terminal screen according to the corresponding relation between the first difference and the variation of the contrast and/or brightness of the image and the corresponding relation between the visual force value of the user and the variation of the contrast and/or brightness of the image.
Optionally, on the basis of the foregoing embodiment, the processor 604 is further configured to, if the absolute value of the first difference is greater than a preset difference, obtain the current distance between the face of the current user and the terminal lens according to a corresponding relationship between the first difference and a distance variation between the face and the terminal lens; comparing the habitual distance between the face of the user and the lens of the terminal with the current distance to obtain a second difference value; and if the absolute value of the second difference is larger than the second preset difference, adjusting the image displayed on the screen of the terminal according to the second difference and the vision value of the user.
Further, optionally, the processor 604 is further configured to compare the face image size with a standard face image size to obtain a first ratio; if the first ratio is larger than the first preset ratio, sending first prompt information to a user to prompt the user that the distance between the user and a terminal lens is far; and if the first ratio is smaller than the second preset ratio, sending second prompt information to the user to prompt that the user is closer to the terminal lens currently.
Further, the processor 604 is further configured to test the eyesight of the user by receiving an input operation of an eyesight table displayed on a screen of the terminal by the user, and obtain a value of the eyesight of the user; or accepting user input of a user vision value.
In the embodiment, the terminal equipment can adjust the image displayed on the terminal screen in real time according to the current use condition of the user, so that great convenience is brought to the use of the user
The terminal device of the embodiment of the invention comprises: any one of the display devices provided in the above embodiments.
The terminal device provided by the embodiment of the invention can adjust the size of the image displayed on the terminal screen by acquiring the current distance between the current user and the terminal lens. Therefore, the terminal display device can adjust the size of the image displayed by the terminal in real time according to the current use condition of the user, and great convenience is brought to the use of the user.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (13)

1. A display method for preserving vision, comprising:
acquiring a face image of a current user;
and adjusting the image displayed on the screen of the terminal according to the facial image and the vision value of the user.
2. The method according to claim 1, wherein the adjusting the image displayed on the screen of the terminal according to the face image and the user's eyesight value comprises:
identifying the face image and acquiring the size of the face image;
comparing the facial image size with a standard facial image size to obtain a first difference value, wherein the standard facial image size is the facial image size of the user corresponding to the habit distance of the user, and the habit distance is an average value of multiple use distances between the detected face of the user and the terminal lens or a distance defined by the user;
and if the absolute value of the first difference is larger than a first preset value, adjusting the image displayed on the screen of the terminal.
3. The method according to claim 2, wherein the adjusting the image displayed on the screen of the terminal according to the face image and the user's eyesight value comprises:
adjusting the size of the image displayed on the terminal screen according to the corresponding relation between the first difference and the image size scaling factor and the corresponding relation between the visual force value of the user and the image size scaling factor, wherein the image size scaling factor is the ratio of the standard facial image size to the facial image size; or
And adjusting the contrast and/or brightness of the image displayed on the terminal screen according to the corresponding relation between the first difference and the variation of the contrast and/or brightness of the image and the corresponding relation between the visual force value of the user and the variation of the contrast and/or brightness of the image.
4. The method of claim 2, wherein after comparing the facial image size to a standard facial image size to obtain a first difference value, further comprising:
if the absolute value of the first difference is larger than a preset difference, acquiring the current distance between the face of the current user and the terminal lens according to the corresponding relation between the first difference and the distance variation between the face and the terminal lens;
comparing the habitual distance between the face of the user and the lens of the terminal with the current distance to obtain a second difference value;
and if the absolute value of the second difference is larger than a second preset difference, adjusting the image displayed on the screen of the terminal according to the second difference and the visual force value of the user.
5. The method of claim 1, wherein after acquiring the face image of the current user, further comprising:
comparing the face image size with a standard face image size to obtain a first ratio;
if the first ratio is larger than a first preset ratio, sending first prompt information to the user to prompt that the user is far away from the terminal lens currently;
and if the first ratio is smaller than a second preset ratio, sending second prompt information to the user to prompt that the user is closer to the terminal lens currently.
6. The method according to any one of claims 1 to 5, wherein: further comprising:
testing the eyesight of the user by receiving the input operation of an eyesight table displayed on a screen of the terminal by the user to obtain the eyesight value of the user; or
And the terminal receives the user vision value input by the user.
7. A display device for protecting vision, comprising:
the acquisition module is used for acquiring a face image of a current user;
and the processing module is used for adjusting the image displayed on the screen of the terminal according to the facial image and the vision value of the user.
8. The apparatus of claim 7, wherein the processing module comprises:
an acquisition unit configured to identify the face image and acquire a size of the face image;
the calculating unit is used for comparing the facial image size with a standard facial image size to obtain a first difference value, wherein the standard facial image size is the facial image size of the user corresponding to the habit distance of the user, and the habit distance is an average value of multiple use distances between the detected face of the user and the terminal lens or a distance defined by the user;
and the adjusting unit is used for adjusting the image displayed on the screen of the terminal if the absolute value of the first difference is greater than a first preset value.
9. The apparatus according to claim 8, wherein the adjusting unit is specifically configured to adjust the size of the image displayed on the terminal screen according to a correspondence relationship between the first difference and the image size scaling factor, which is a ratio of the standard face image size to the face image size, and a correspondence relationship between the user's visual force value and the image size scaling factor; or adjusting the contrast and/or brightness of the image displayed on the terminal screen according to the corresponding relationship between the first difference and the variation of the contrast and/or brightness of the image and the corresponding relationship between the visual force value of the user and the variation of the contrast and/or brightness of the image.
10. The apparatus according to claim 8, wherein the obtaining unit is further configured to, if an absolute value of the first difference is greater than a preset difference, obtain a current distance between the face of the current user and the terminal lens according to a corresponding relationship between the first difference and a distance change amount between the face and the terminal lens;
the comparison unit is used for comparing the habitual distance between the face of the user and the lens of the terminal with the current distance to obtain a second difference value;
the adjusting unit is specifically configured to adjust the image displayed on the screen of the terminal according to the second difference and the user's visual force value if the absolute value of the second difference is greater than a second preset difference.
11. The apparatus of claim 7, further comprising: a comparison module and a prompt module, wherein the comparison module is used for comparing the current value of the current value,
the comparison module is used for comparing the size of the face image with the size of a standard face image to obtain a first ratio;
the prompting module is used for sending first prompting information to the user if the first ratio is larger than a first preset ratio so as to prompt that the user is far away from the terminal lens currently; and if the first ratio is smaller than a second preset ratio, sending second prompt information to the user to prompt that the user is closer to the terminal lens currently.
12. The apparatus according to any one of claims 7-11, wherein: the acquisition module is further used for testing the eyesight of the user by receiving the input operation of the visual chart displayed on the screen of the terminal by the user, and acquiring the eyesight value of the user; or accepting the user vision value input by the user.
13. A terminal device, comprising: a vision protecting display device as claimed in any one of claims 7 to 12.
CN201310270914.5A 2013-06-29 2013-06-29 Protect display methods, display device and the terminal device of eyesight Active CN104252828B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310270914.5A CN104252828B (en) 2013-06-29 2013-06-29 Protect display methods, display device and the terminal device of eyesight

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310270914.5A CN104252828B (en) 2013-06-29 2013-06-29 Protect display methods, display device and the terminal device of eyesight

Publications (2)

Publication Number Publication Date
CN104252828A true CN104252828A (en) 2014-12-31
CN104252828B CN104252828B (en) 2018-06-05

Family

ID=52187681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310270914.5A Active CN104252828B (en) 2013-06-29 2013-06-29 Protect display methods, display device and the terminal device of eyesight

Country Status (1)

Country Link
CN (1) CN104252828B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915095A (en) * 2015-05-25 2015-09-16 广东欧珀移动通信有限公司 Method for adjusting information display state of display interface of terminal and terminal
CN105373775A (en) * 2015-10-14 2016-03-02 广东小天才科技有限公司 Method and device for protecting user eyesight
CN106445124A (en) * 2016-09-09 2017-02-22 京东方科技集团股份有限公司 Display device, and image parameter adjusting method and apparatus for same
CN110111747A (en) * 2019-04-24 2019-08-09 上海闻泰电子科技有限公司 Adjust the method and device of screen backlight
CN110109546A (en) * 2019-05-05 2019-08-09 南京信息职业技术学院 Character scaling device and method based on eyesight
CN110727316A (en) * 2019-10-12 2020-01-24 北京硬壳科技有限公司 Method and device for automatically adjusting position of display and display
CN111522250A (en) * 2020-05-28 2020-08-11 华为技术有限公司 Intelligent household system and control method and device thereof
CN113486802A (en) * 2021-07-07 2021-10-08 北京百度网讯科技有限公司 Method and device for providing eye protection mode, storage medium and mobile device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101271678A (en) * 2008-04-30 2008-09-24 深圳华为通信技术有限公司 Screen font zooming method and terminal unit
CN101409784A (en) * 2007-10-10 2009-04-15 联想(北京)有限公司 Camera device and information-prompting apparatus
CN101470460A (en) * 2007-12-29 2009-07-01 联想(北京)有限公司 Method for sight protection when using computer, and computer thereof
CN101707056A (en) * 2009-09-28 2010-05-12 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for adjusting and displaying font size
CN101751209A (en) * 2008-11-28 2010-06-23 联想(北京)有限公司 Method and computer for adjusting screen display element
JP2010176170A (en) * 2009-01-27 2010-08-12 Sony Ericsson Mobilecommunications Japan Inc Display apparatus, display control method, and display control program
CN102693067A (en) * 2011-03-25 2012-09-26 鸿富锦精密工业(深圳)有限公司 System and method for adjusting font size
CN102724398A (en) * 2011-03-31 2012-10-10 联想(北京)有限公司 Image data providing method, combination method thereof, and presentation method thereof
CN102846305A (en) * 2012-10-15 2013-01-02 上海华勤通讯技术有限公司 Handhold equipment for inspecting vision and method
CN103019384A (en) * 2012-12-21 2013-04-03 广东欧珀移动通信有限公司 Method and device for adjusting display interface on terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409784A (en) * 2007-10-10 2009-04-15 联想(北京)有限公司 Camera device and information-prompting apparatus
CN101470460A (en) * 2007-12-29 2009-07-01 联想(北京)有限公司 Method for sight protection when using computer, and computer thereof
CN101271678A (en) * 2008-04-30 2008-09-24 深圳华为通信技术有限公司 Screen font zooming method and terminal unit
CN101751209A (en) * 2008-11-28 2010-06-23 联想(北京)有限公司 Method and computer for adjusting screen display element
JP2010176170A (en) * 2009-01-27 2010-08-12 Sony Ericsson Mobilecommunications Japan Inc Display apparatus, display control method, and display control program
CN101707056A (en) * 2009-09-28 2010-05-12 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for adjusting and displaying font size
CN102693067A (en) * 2011-03-25 2012-09-26 鸿富锦精密工业(深圳)有限公司 System and method for adjusting font size
CN102724398A (en) * 2011-03-31 2012-10-10 联想(北京)有限公司 Image data providing method, combination method thereof, and presentation method thereof
CN102846305A (en) * 2012-10-15 2013-01-02 上海华勤通讯技术有限公司 Handhold equipment for inspecting vision and method
CN103019384A (en) * 2012-12-21 2013-04-03 广东欧珀移动通信有限公司 Method and device for adjusting display interface on terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915095A (en) * 2015-05-25 2015-09-16 广东欧珀移动通信有限公司 Method for adjusting information display state of display interface of terminal and terminal
CN105373775A (en) * 2015-10-14 2016-03-02 广东小天才科技有限公司 Method and device for protecting user eyesight
CN106445124A (en) * 2016-09-09 2017-02-22 京东方科技集团股份有限公司 Display device, and image parameter adjusting method and apparatus for same
CN106445124B (en) * 2016-09-09 2019-08-02 京东方科技集团股份有限公司 The frame parameter adjusting method and its device for showing equipment, showing equipment
CN110111747A (en) * 2019-04-24 2019-08-09 上海闻泰电子科技有限公司 Adjust the method and device of screen backlight
CN110109546A (en) * 2019-05-05 2019-08-09 南京信息职业技术学院 Character scaling device and method based on eyesight
CN110727316A (en) * 2019-10-12 2020-01-24 北京硬壳科技有限公司 Method and device for automatically adjusting position of display and display
CN111522250A (en) * 2020-05-28 2020-08-11 华为技术有限公司 Intelligent household system and control method and device thereof
CN113486802A (en) * 2021-07-07 2021-10-08 北京百度网讯科技有限公司 Method and device for providing eye protection mode, storage medium and mobile device
WO2023279777A1 (en) * 2021-07-07 2023-01-12 北京百度网讯科技有限公司 Method and apparatus for providing eye protection mode, storage medium, and mobile device

Also Published As

Publication number Publication date
CN104252828B (en) 2018-06-05

Similar Documents

Publication Publication Date Title
CN104252828B (en) Protect display methods, display device and the terminal device of eyesight
US9509916B2 (en) Image presentation method and apparatus, and terminal
CN107944367B (en) Face key point detection method and device
CN102572492B (en) Image processing device and method
KR20180070264A (en) Obtaining method for Panning shot image and Electronic device supporting the same
CN105380591A (en) Vision detecting device, system and method
CN114910052B (en) Distance measurement method, control method and device based on camera and electronic equipment
CN104536661A (en) Terminal screen shot method
CN113038165B (en) Method, apparatus and storage medium for determining encoding parameter set
EP3076386B1 (en) Image display method and user terminal
TW201506812A (en) Method and device for switching display direction, electronic device and machine-readable storage medium
CN110807769B (en) Image display control method and device
KR20130081439A (en) Apparatus and method for displaying camera view area in a portable terminal
CN104461002A (en) Device and method for reducing vision fatigue of viewing mobile terminal equipment
CN107657608B (en) Image quality determination method and device and electronic equipment
CN105678696B (en) A kind of information processing method and electronic equipment
CN113342229A (en) Method and device for adjusting font size, terminal equipment and computer readable storage medium
TWI603225B (en) Viewing angle adjusting method and apparatus of liquid crystal display
CN105205036B (en) A kind of method and electronic device of Auto-writing information
Li et al. Stabilization of magnified videos on a mobile device for visually impaired
CN113891002B (en) Shooting method and device
EP3440532B1 (en) Improving readability of content displayed on a screen
CN104536564A (en) Terminal
CN105808180B (en) Picture adjusting method and system
CN106293030B (en) A kind of information processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20171030

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Applicant after: Huawei terminal (Dongguan) Co.,Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Applicant before: HUAWEI DEVICE Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20171101

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Applicant after: Huawei terminal (Dongguan) Co.,Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Applicant before: HUAWEI DEVICE Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: HUAWEI DEVICE Co.,Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: Huawei terminal (Dongguan) Co.,Ltd.

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20210428

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee before: HUAWEI DEVICE Co.,Ltd.

TR01 Transfer of patent right