The content of the invention
The embodiment of the present invention provides a kind of display methods, display device and terminal device for protecting eyesight, can solve nothing
Method carries out display processing in real time according to the current vision condition of user, using apart from situation.
The first aspect provides a kind of display methods for protecting eyesight, including:
Obtain the face-image of active user;
According to the face-image and the eyesight value of the user, the image shown on the screen of the terminal is carried out
It adjusts.
It is described according to the face-image and the user in the first possible realization method of first aspect
The image shown on the screen of the terminal is adjusted in eyesight value, including:
It identifies the face-image, obtains the face-image size;
The face-image size with standard facial picture size is compared, obtains the first difference, the standard facial figure
As size is face-image size of the custom apart from the corresponding user of the user, wherein, the custom distance is inspection
Survey the facial average that distance is used for multiple times between the terminal camera lens of the user, or it is described it is user-defined away from
From;
If the absolute value of first difference is more than the first preset value, to what is shown on the screen of the terminal
Described image is adjusted.
In the possible realization method of the first of first aspect or first aspect, in second of possible realization method
In, it is described according to the face-image and the eyesight value of the user, the image shown on the screen of the terminal is carried out
It adjusts, including:
According to the eyesight value of the correspondence of first difference and described image size scaling multiple and the user with
The correspondence of described image size scaling multiple, the size of the described image to being shown on the terminal screen are adjusted,
Described image size scaling multiple is the ratio of the standard facial picture size and the face-image size;Or
According to the correspondence and the use of first difference and the variable quantity of the contrast and/or brightness of described image
The correspondence of the variable quantity of the eyesight value at family and the contrast and/or brightness of described image, to being shown on the terminal screen
Described image contrast and/or brightness be adjusted.
In second of possible realization method of first aspect to first aspect, in the third possible realization method
In, it is described to compare the face-image size with standard facial picture size, after obtaining the first difference, further include:
If the absolute value of first difference is more than preset difference value, according to first difference with it is described it is facial with it is described
The correspondence of the distance between terminal camera lens variable quantity, obtain presently described user it is described it is facial with the terminal camera lens it
Between current distance;
By the facial custom distance between the camera lens of the terminal of the user compared with the current distance,
Obtain the second difference;
If the absolute value of second difference is more than the second preset difference value, according to second difference and the user
The described image shown on the screen of the terminal is adjusted in eyesight value.
In the third possible realization method of first aspect, in the 4th kind of possible realization method, the acquisition
After the face-image of active user, further include:
By the face-image size compared with standard facial picture size carries out, the first ratio of acquisition;
If first ratio is more than the first default ratio, the first prompt message is sent to the user, to prompt
The user is currently distant with the terminal camera lens;
If first ratio is less than the second default ratio, the second prompt message is sent to the user, to prompt
The user is currently closer to the distance with the terminal camera lens.
In the 4th kind of possible realization method of first aspect, in the 5th kind of possible realization method, pass through reception
The input operation for the visual chart that user shows on the screen of the terminal, tests the eyesight of the user, obtains institute
State the eyesight value of user;Or
The terminal receives user's eyesight value input by user.
The second aspect provides a kind of display device for protecting eyesight, including:
Acquisition module, for obtaining the face-image of active user;
Processing module, for the eyesight value according to the face-image and the user, on the screen of the terminal
The image of display is adjusted.
In the first possible realization method of second aspect, the processing module, including:
Acquiring unit for identifying the face-image, obtains the face-image size;
Computing unit for the face-image size to be compared with standard facial picture size, obtains the first difference, institute
Face-image size of custom of the standard facial picture size for the user apart from the corresponding user is stated, wherein, it is described
Custom distance is to detect the facial average that distance is used for multiple times between the terminal camera lens of the user, or the user
Customized distance;
Adjustment unit, if be more than the first preset value for the absolute value of first difference, to the institute of the terminal
The described image shown on screen is stated to be adjusted.
In the possible realization method of the first of second aspect or second aspect, in second of possible realization method
In, it is described according to the face-image and the eyesight value of the user, the image shown on the screen of the terminal is carried out
It adjusts, including:
The adjustment unit, specifically for the correspondence according to first difference and described image size scaling multiple
And the correspondence of the eyesight value of the user and described image size scaling multiple, described in being shown on the terminal screen
The size of image is adjusted, and described image size scaling multiple is the standard facial picture size and the face-image ruler
Very little ratio;Alternatively, according to the correspondence of first difference and the variable quantity of the contrast and/or brightness of described image and
The correspondence of the variable quantity of the eyesight value of the user and the contrast and/or brightness of described image, to the terminal screen
The contrast of the described image of upper display and/or brightness are adjusted.
In second of possible realization method of second aspect to second aspect, in the third possible realization method
The processing module, further includes:Comparing unit,
The acquiring unit, if the absolute value for being additionally operable to first difference is more than preset difference value, according to described first
The correspondence of the distance between difference and the described facial and terminal camera lens variable quantity, obtains the described of presently described user
The facial current distance between the terminal camera lens;
The comparing unit, for by the facial custom distance between the camera lens of the terminal of the user with it is described
Current distance is compared, and obtains the second difference;
The adjustment unit, if being more than the second preset difference value specifically for the absolute value of second difference, according to institute
The second difference and the eyesight value of the user are stated, the described image shown on the screen of the terminal is adjusted.
In the third possible realization method of second aspect, in the 4th kind of possible realization method, further include:Than
Compared with module and reminding module,
The comparison module, for by the face-image size compared with standard facial picture size carries out, acquisition
First ratio;
If being more than the first default ratio for first ratio, first is sent to the user for the reminding module
Prompt message, to prompt the user currently distant with the terminal camera lens;If first ratio is less than second
Default ratio then sends the second prompt message to the user, to prompt the user currently with the terminal camera lens away from
From relatively near.
In the 4th kind of possible realization method of second aspect, in the 5th kind of possible realization method, the acquisition
Module is additionally operable to the input operation of the visual chart shown by receiving user on the screen of the terminal, to the user's
Eyesight is tested, and obtains the eyesight value of the user;Or receive user's eyesight value input by user.
3rd aspect, provides a kind of terminal device, including:Such as above-mentioned second aspect is any possible to second aspect
The terminal display device of protection eyesight in realization method described in any one.
Display methods, display device and the terminal device of protection eyesight provided in an embodiment of the present invention, it is current by obtaining
The face-image of user;Then, according to face-image and the eyesight value of user, the image shown on the screen of terminal is carried out
It adjusts.It is achieved thereby that terminal device in real time adjusts the image shown on terminal screen according to the current service condition of user
Section, and then bring larger facility for the use of user.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
All other embodiments obtained without making creative work belong to the scope of protection of the invention.
The display methods of protection eyesight provided in an embodiment of the present invention specifically can be applied to user terminal be used to set
When standby, which can be smart mobile phone or tablet computer etc..The display methods of protection eyesight provided in this embodiment
It can specifically be performed by protecting the display device of eyesight, the display device of the protection eyesight can be integrated in terminal device
In, the mode of software and/or hardware may be employed to realize in the display device of the protection eyesight.Below to provided in this embodiment
The display methods of protection eyesight is described in detail.
Fig. 1 is the flow diagram of one embodiment of display methods of present invention protection eyesight, as shown in Figure 1, the present embodiment
Method can be performed by the display device of protection eyesight, which can be real by way of hardware and/or software
It is existing, it can be integrated in terminal device, which is typically arranged with camera lens and display screen.This method comprises the following steps:
Step 101, the face-image for obtaining active user.
In the present embodiment, protect eyesight display device can periodically obtain active user face-image or
Person, user make the face-image of terminal acquisition active user by way of shooting.Wherein, face-image can be that user is current
Entire face image or user some organ, e.g., eyes etc..
Step 102, the eyesight value according to face-image and user, adjust the image shown on the screen of terminal
Section.
Specifically, according to face-image and the eyesight value of user, the image shown on the screen of terminal is adjusted
Applicable scene include at least there are two types of:
The first is applicable in scene, identifies face-image, obtains face-image size;Then, by face-image size and mark
Quasi- face-image size ratio pair, obtains the first difference, which is the custom of user apart from corresponding user
Face-image size, wherein, custom distance for detection the face of user and terminal camera lens between the equal of distance is used for multiple times
Value, or user-defined distance;Then, if the absolute value of the first difference is more than the first preset value, to the screen of terminal
The image of upper display is adjusted.
Second of applicable scene, identifies face-image, obtains face-image size;Then, by face-image size and mark
Quasi- face-image size ratio pair obtains the first difference, if the absolute value of the first difference is more than preset difference value, according to the first difference
The correspondence of the distance between face and terminal camera lens variable quantity, obtains between the face of active user and terminal camera lens
Current distance;Then, by the custom distance between the face of user and the camera lens of terminal compared with current distance, the is obtained
Two differences;If the absolute value of the second difference is more than the second preset difference value, according to the second difference and the eyesight value of user, to terminal
Screen on the image that shows be adjusted.
It should be noted that whether above-mentioned which kind of is applicable in scene, the image shown on the screen of terminal is adjusted
The realization method of section includes at least following two:
The first realization method, according to the eyesight value of the correspondence and user of the first difference and picture size scaling multiple
The correspondence of described image size scaling multiple, the size of the image to being shown on terminal screen are adjusted, picture size
Scale ratio of the multiple for standard facial picture size and face-image size;Or
Second of realization method, according to the correspondence of the variable quantity of the contrast and/or brightness of the first difference and image
And the correspondence of the variable quantity of the contrast and/or brightness of the eyesight value image of user, to the image shown on terminal screen
Contrast and/or brightness be adjusted.
It should be noted that the current distance in the present embodiment between the face of user and terminal camera lens is at least terminal mirror
Twice of head focal length.
The display methods of protection eyesight provided in an embodiment of the present invention, by the face-image for obtaining active user;Then,
According to face-image and the eyesight value of user, the image shown on the screen of terminal is adjusted.It is achieved thereby that terminal
Equipment is in real time adjusted the image shown on terminal screen according to the current service condition of user, and then is the use of user
Bring larger facility.
Fig. 2 is the flow diagram of another embodiment of display methods of present invention protection eyesight, as shown in Fig. 2, this method
Include the following steps:
Step 201, the face-image for obtaining active user.
Step 201 in the present embodiment is similar with the realization principle of step 101, and details are not described herein.
Step 202, identification face-image, obtain the face-image size.
In the present embodiment, protect the display device of eyesight that can be obtained by the identification of the face-image to active user
Take the face-image size, i.e. the size that the face of user is imaged on terminal camera lens, for example, the height value of face-image and/
Or width value, unit can be centimetre or pixel, the unit of opposite ministerial standard imaging size does not limit in the present embodiment
System.
Step 203 compares face-image size and standard facial picture size, obtains the first difference.
In the present embodiment, which is face-image ruler of the custom of user apart from corresponding user
It is very little, wherein, the average that is used for multiple times distance of the custom distance between the detection face of user and terminal camera lens, for example, with
The initial stage of family using terminal equipment, according to the face and terminal of the user that the measuring apparatus set on terminal device periodically acquires
The distance between camera lens finally obtains the custom distance using mean value computation, alternatively, user-defined distance for custom away from
From for example, user inputs a numerical value as custom distance in the terminal.
For example, realization method face-image size compared with standard facial picture size can be specially:It is aobvious
Showing device compared with the height value of standard facial picture size, obtains the first difference periodically by face-image size,
Or display device by face-image size compared with the width value of standard facial picture size, obtain the first difference.
If the absolute value of step 204, the first difference is more than the first preset value, to the image shown on the screen of terminal
It is adjusted.
If specifically, the absolute value of the first difference be more than the first preset value when, to what is shown on the screen of terminal
Image is adjusted, including at least there are two types of realization methods:
The first realization method, according to the eyesight of the correspondence and user of the first difference and picture size scaling multiple
Value, the size of the described image to being shown on terminal screen are adjusted, wherein, picture size scaling multiple is face-image ruler
The very little ratio with standard facial picture size.
Specifically, when if the first difference is more than zero, the ratio of face-image size and standard facial picture size is made
Multiple, i.e. minification, and according to the eyesight value of user, the size to the image shown on terminal screen are scaled for picture size
It is adjusted, that is, reduces.If the first difference is less than zero, the ratio of face-image size and standard facial picture size is made
Multiple, i.e. amplification factor, and the correspondence of eyesight value and picture size the scaling multiple according to user are scaled for picture size,
The size of described image to being shown on terminal screen is adjusted, that is, amplifies.
For example, standard facial picture size and face-image size being divided by, the ratio of acquisition, which is used as, shows multiple,
And the picture size shown on terminal screen is adjusted according to the ratio, for example, the eyesight value of user is 1.0, Yong Huyu
Custom distance between terminal screen is 30 centimetres, and at the initial stage of user's using terminal equipment, display device obtains the mark of user
Quasi- face-image is 4 centimetres, and the picture size shown on terminal screen is to be carried out according to the eyesight value of the user with custom distance
Display, during user's using terminal equipment, the height dimension that terminal device can obtain the face-image of user is 5
Centimetre, can the picture size on terminal screen be reduced according to 4/5 ratio.
Second of realization method, according to the correspondence of the variable quantity of the contrast and/or brightness of the first difference and image
And the correspondence of the variable quantity of the contrast and/or brightness of the eyesight value and image of user, to the figure shown on terminal screen
The contrast of picture and/or brightness are adjusted.
Specifically, when if the first difference is more than zero, it may be determined that the distance of user and terminal camera lens is less than custom distance, then
According to the contrast of the eyesight value of the correspondence and user of the contrast of image and/or the variable quantity of brightness and image and/or
The correspondence of the variable quantity of brightness reduces contrast and/or the brightness of the image shown on terminal screen.If the first difference is small
When zero, it may be determined that the distance of user and terminal camera lens is more than custom distance, then according to the contrast of image and/or brightness
The correspondence of variable quantity and the eyesight value of user, heighten contrast and/or the brightness of the image shown on terminal screen.
It should be noted that if the absolute value of first difference is less than the first preset difference value, then it is assumed that is that user's body is trembled
The variation of distance between the user of movable property life and terminal screen, so as to not adjust the picture size shown on terminal screen;It if should
The absolute value of first difference is more than preset difference value, then the picture size shown on terminal screen is adjusted according to above-mentioned ratio
The ratio of current distance and custom distance is multiplied by the picture size shown before adjusting on terminal screen as present terminal by section
The picture size shown on screen.
In the display methods of protection eyesight provided in this embodiment, by obtaining the face-image of active user, and identify
Face-image obtains the face-image size, and then, face-image size and standard facial picture size are compared, and obtains the
Then one difference, if the absolute value of the first difference is more than the first preset value, carries out the image shown on the screen of terminal
It adjusts.It is achieved thereby that terminal device in real time adjusts the image shown on terminal screen according to the current service condition of user
Section, and then bring larger facility for the use of user.
Further, on the basis of above-described embodiment, in step 203, by face-image size and standard facial image
Size ratio pair after obtaining the first difference, can also include:
If the absolute value of the first difference be more than preset difference value, according between the first difference and face and terminal camera lens away from
Correspondence from variable quantity obtains the current distance between the face of active user and terminal camera lens;
By the custom distance between the face of user and the camera lens of terminal compared with current distance, it is poor to obtain second
Value;
If the absolute value of the second difference is more than the second preset difference value, according to the second difference and the eyesight value of user, to end
The image shown on the screen at end is adjusted.
In the present embodiment, the realization method of the current distance between the face of active user and terminal camera lens is obtained at least
Including three kinds:
The first realization method, user can input the current distance of the face and terminal camera lens of user in terminal.
Second of realization method, terminal display device can measure the face of user according to the measuring apparatus for being arranged on terminal
Work as distance with terminal camera lens in portion.
The third realization method, by the standard facial picture size of user and the product of the focal length of terminal camera lens, then with working as
Preceding face imaging size is divided by, and obtains the current distance between the user and terminal camera lens, wherein, standard facial picture size is
Face standard imaging size is multiplied with the focal length of terminal camera lens, then the product of acquisition and custom distance are divided by acquisition,
In the present embodiment, the custom distance between the face of user and the camera lens of terminal is compared with current distance
Compared with the absolute value of the second difference of acquisition is more than the second preset difference value, i.e., current between the face of user and the camera lens of terminal
After more than one scope of difference of distance and custom distance, the image shown on the screen to terminal is adjusted, specifically
Regulative mode is similar with effect with the principle of above-described embodiment, and details are not described herein.
Fig. 3 is the flow diagram of the display methods another embodiment of present invention protection eyesight, as shown in figure 3, this method
Include the following steps:
Step 301, the face-image for obtaining active user.
Step 301 in the present embodiment is similar with the realization principle of step 101, and details are not described herein.
Step 302, by face-image size compared with standard facial picture size carries out, the first ratio of acquisition.
Step 303, by the first ratio compared with default ratio, and according to comparative result, prompting letter is sent to user
Breath.
Specifically, by the first ratio compared with the first default ratio, if the first ratio is more than the first default ratio,
Determine current distance be more than custom distance, to user send the first prompt message, to prompt user currently with terminal camera lens
It is distant;Alternatively,
By the first ratio compared with the second default ratio, if the first ratio is less than the second default ratio, it is determined that if
Current distance is less than custom distance, the second prompt message is sent to user, to prompt distance of the user currently with terminal camera lens
It is relatively near.
Wherein, the size of first ratio including the first ratio and direction, the described first default ratio are more than described the
Two default ratios.
The display methods of protection eyesight provided in an embodiment of the present invention, by obtaining the face-image of active user, then,
By face-image size compared with standard facial picture size carries out, the first ratio of acquisition, then by the first ratio with presetting
Ratio is compared, and according to comparative result, prompt message is sent to user.It is achieved thereby that terminal device is current according to user
Service condition the image shown on terminal screen is adjusted in real time, and then bring larger facility for the use of user.
Further, while prompt message is sent to user, can also to the image that is shown on the screen of terminal into
Row is adjusted.The image shown on the screen of terminal is adjusted concrete mode is similar to the above embodiments, and details are not described herein.
On the basis of above-described embodiment, in the display methods of the protection eyesight, it can also include:Obtain the eyesight of user
Value, specific implementation are:
The first realization method, the input operation of the visual chart shown by receiving user on the screen of the terminal,
The eyesight of user is tested, obtains the eyesight value of user.
Specifically, starting up of terminal or unlock after, user can by the terminal carry out eyesight detection, i.e., user with
Terminal keeps custom distance, such as in 30 centimetres of lower carry out eyesight detection, wherein, which is provided with eyesight inspection software.Into
The specific method of row eyesight detection can be to show that eyesight for 1.0 character, passes through finger judgement of slide on terminal screen first
The opening direction of character E, if being directed toward mistake, terminal screen shows the character that eyesight is 0.8, and user continues finger and slides
Determine the opening direction of character E, until detection is correct, while the corresponding eyesight of character that terminal display device record is the last
Value establishes eyesight archives as user's eyesight value, which can include:Testing time, eyesight value, user custom away from
From the information, such as time such as comfortable brightness of user:2012-12-20, eyesight value 0.8 are accustomed to distance 30cm, comfortable brightness 65%,
In, custom distance can be that user is manually entered, and comfortable brightness can be that user is manually entered or is carried when dispatching from the factory silent
Recognize value.
It should be noted that the side of user's eyesight value is obtained in the present embodiment according to the visual chart shown on terminal screen
Method is not limited to foregoing description, can also be implemented according to the thinkable any method of those skilled in the art institute.
Second of realization method, terminal receive user's eyesight value input by user.
After starting up of terminal or unlock, user needs to input eyesight value when filling in eyesight archives, the eyesight archives
Content is similar with the content of the eyesight archives in above-described embodiment, and details are not described herein.
The third realization method according to the difference of current distance and custom distance, detects the eyesight of user, and obtains user
Eyesight value.
During user's using terminal, when the difference between definite current distance and custom distance is more than preset value
It is that can detect the eyesight of user, and obtains the eyesight value of user, wherein, detect the concrete mode of user's eyesight and above-mentioned reality
It is similar to apply example, details are not described herein.
Method provided in this embodiment at the initial stage of user's using terminal or during user's using terminal, is used
Family after giving a test of one's eyesight, can learn whether the eyesight of oneself declines, so as to the situation of definite using terminal voluntarily, and then
Condition can be provided for user's automatic protection eyesight.
Fig. 4 is the structure diagram of one embodiment of display device of present invention protection eyesight, as shown in figure 4, the display fills
It puts, including:Acquisition module 401 and processing module 402, wherein, acquisition module 401, for obtaining the face-image of active user;
Processing module 402 for the eyesight value according to face-image and user, is adjusted the image shown on the screen of terminal
Section.
The display methods of protection eyesight provided in an embodiment of the present invention, by the face-image for obtaining active user;Then,
According to face-image and the eyesight value of user, the image shown on the screen of terminal is adjusted.It is set so as to fulfill terminal
It is standby that the image shown on terminal screen is adjusted in real time according to the current service condition of user, and then be the use band of user
Carry out larger facility.
Fig. 5 is the structure diagram of another embodiment of display device of present invention protection eyesight, as shown in figure 5, above-mentioned
On the basis of embodiment, processing module 402 can include:Acquiring unit 4021, computing unit 4022 and adjustment unit 4023.
Wherein, acquiring unit 4021 for identifying face-image, obtain face-image size;Computing unit 4022, for face to be schemed
As size and standard facial picture size compare, obtain the first difference, standard facial picture size for user custom apart from right
The face-image size of the user answered, wherein, custom distance being used for multiple times between the detection face of user and terminal camera lens
The average of distance, or user-defined distance;Adjustment unit 4023, if default more than first for the absolute value of the first difference
During value, the image shown on the screen of terminal is adjusted.
Further, on the basis of above-described embodiment, adjustment unit 4023, specifically for according to the first difference and image
The correspondence of size scaling multiple and the eyesight value of user and the correspondence of picture size scaling multiple, on terminal screen
The size of the image of display is adjusted, and picture size scaling multiple is the ratio of face-image size and standard facial picture size
Value;Alternatively, according to the eyesight value of the correspondence of the variable quantity of the contrast and/or brightness of the first difference and image and user with
The correspondence of the contrast of image and/or the variable quantity of brightness, to the contrast of image that is shown on terminal screen and/or bright
Degree is adjusted.
Optionally, on the basis of above-described embodiment, acquiring unit 4021, if the absolute value for being additionally operable to the first difference is more than
During preset difference value, according to the first difference and the correspondence of the distance between face and terminal camera lens variable quantity, current use is obtained
Current distance between the face at family and terminal camera lens;
Computing unit 4022, for the custom distance between the face of user and the camera lens of terminal and current distance to be carried out
Compare, obtain the second difference;
Adjustment unit 4023, it is poor according to second if being more than the second preset difference value specifically for the absolute value of the second difference
Value and the eyesight value of user, are adjusted the image shown on the screen of terminal.
Further, optionally, which can also include:Comparison module 403 and reminding module 404, wherein,
Comparison module 403, for compared with standard facial picture size carries out, the first of acquisition to compare by face-image size
Value;
If being more than the first default ratio for the first ratio, the first prompt message is sent to user for reminding module 404,
To prompt user currently distant with terminal camera lens;If the first ratio is less than the second default ratio, sent to user
Second prompt message, to prompt user currently closer to the distance with terminal camera lens.
Further, acquisition module 401 are additionally operable to the defeated of the visual chart shown by receiving user on the screen of terminal
Enter operation, the eyesight of user is tested, obtains the eyesight value of user;Or receive user's eyesight value input by user.
Fig. 6 is the structure diagram of the display device another embodiment of present invention protection eyesight, as shown in fig. 6, the display
Device, including:Display 601, input equipment 602, camera 603 and processor 604, display 601, in protection eyesight
Display device on show image;Input equipment 602, for receiving the input of user operation;Wherein, camera 603, for obtaining
Take the face-image of active user;Processor 604, for the eyesight value according to face-image and user, to the screen of terminal
The image of upper display is adjusted.
The display methods of protection eyesight provided in an embodiment of the present invention, by the face-image for obtaining active user;Then,
According to face-image and the eyesight value of user, the image shown on the screen of terminal is adjusted.It is set so as to fulfill terminal
It is standby that the image shown on terminal screen is adjusted in real time according to the current service condition of user, and then be the use band of user
Carry out larger facility.
On the basis of above-described embodiment, processor 604 specifically for identifying face-image, obtains face-image size;
Face-image size and standard facial picture size are compared, obtain the first difference, standard facial picture size is the habit of user
The used face-image size apart from corresponding user, wherein, custom distance is between the detection face of user and terminal camera lens
The average of distance, or user-defined distance is used for multiple times;If the absolute value of the first difference is more than the first preset value, to end
The image shown on the screen at end is adjusted.
Further, on the basis of above-described embodiment, processor 604, specifically for according to the first difference and image ruler
The correspondence of very little scaling multiple and the eyesight value of user and the correspondence of picture size scaling multiple, to being shown on terminal screen
The size of the image shown is adjusted, and picture size scaling multiple is the ratio of face-image size and standard facial picture size
Value;Alternatively, according to the eyesight value of the correspondence of the variable quantity of the contrast and/or brightness of the first difference and image and user with
The correspondence of the contrast of image and/or the variable quantity of brightness, to the contrast of image that is shown on terminal screen and/or bright
Degree is adjusted.
Optionally, on the basis of above-described embodiment, processor 604, if the absolute value for being additionally operable to the first difference is more than in advance
If during difference, according to the first difference and the correspondence of the distance between face and terminal camera lens variable quantity, obtain active user
Face and terminal camera lens between current distance;By the custom distance between the face of user and the camera lens of terminal with currently away from
From being compared, the second difference is obtained;If the absolute value of the second difference is more than the second preset difference value, according to the second difference and use
The image shown on the screen of terminal is adjusted in the eyesight value at family.
Further, optionally, processor 604 are additionally operable to carry out face-image size and standard facial picture size
It compares, the first ratio of acquisition;If the first ratio is more than the first default ratio, the first prompt message is sent to user, to
Prompt user currently distant with terminal camera lens;If the first ratio is less than the second default ratio, second is sent to user
Prompt message, to prompt user currently closer to the distance with terminal camera lens.
Further, processor 604 are additionally operable to the input of the visual chart shown by receiving user on the screen of terminal
Operation, tests the eyesight of user, obtains the eyesight value of user;Or receive user's eyesight value input by user.
In the present embodiment, terminal device can be realized according to the current service condition of user in real time to being shown on terminal screen
The image shown is adjusted, so as to bring larger facility for the use of user
In terminal device of the embodiment of the present invention, including:Any one display device provided in above-described embodiment.
Terminal device provided in an embodiment of the present invention, can by obtain between active user and terminal camera lens it is current away from
From the picture size shown on terminal screen is adjusted.So as to fulfill terminal display device according to the current use of user
Situation is in real time adjusted the picture size that terminal is shown, and then brings larger facility for the use of user.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey
Sequence upon execution, execution the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or
The various media that can store program code such as person's CD.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe is described in detail the present invention with reference to foregoing embodiments, it will be understood by those of ordinary skill in the art that:Its according to
Can so modify to the technical solution recorded in foregoing embodiments either to which part or all technical characteristic into
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is not made to depart from various embodiments of the present invention technology
The scope of scheme.