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.
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.