Summary of the invention
The embodiment of the present invention provides a kind of display packing of vision protection, display device and terminal device, can solve cannot according to the current vision condition of user, service range situation real-time carry out Graphics Processing.
First aspect, provides a kind of display packing of vision protection, comprising:
Obtain the face-image of active user;
According to the eyesight value of described face-image and described user, the image that the screen to described terminal shows regulates.
In the first possible implementation of first aspect, the described eyesight value according to described face-image and described user, the image that the screen to described terminal shows regulates, and comprising:
Identify described face-image, obtain described face-image size;
By described face-image size and the comparison of standard facial picture size, obtain the first difference, described standard facial picture size is the face-image size of the described user of the custom distance correspondence of described user, wherein, described custom distance is the average of the repeatedly service range detected between the face of described user and described terminal camera lens, or described user-defined distance;
If when the absolute value of described first difference is greater than the first preset value, then the described image that the described screen of described terminal shows is regulated.
In first aspect or the first possible implementation of first aspect, in the implementation that the second is possible, the described eyesight value according to described face-image and described user, the image that the screen to described terminal shows regulates, and comprising:
According to the corresponding relation of described first difference and the described corresponding relation of picture size convergent-divergent multiple and the eyesight value of described user and described picture size convergent-divergent multiple, regulate the size of the described image that described terminal screen shows, described picture size convergent-divergent multiple is the ratio of described standard facial picture size and described face-image size; Or
According to the corresponding relation of described first difference and the corresponding relation of the contrast of described image and/or the variable quantity of brightness and the eyesight value of described user and the contrast of described image and/or the variable quantity of brightness, the contrast of the described image that described terminal screen shows and/or brightness are regulated.
In the implementation that first aspect is possible to the second of first aspect, in the implementation that the third is possible, described by described face-image size and the comparison of standard facial picture size, after obtaining the first difference, also comprise:
If when the absolute value of described first difference is greater than preset difference value, according to the corresponding relation of described first difference and the distance variable quantity between described face and described terminal camera lens, obtain the current distance between the described face of current described user and described terminal camera lens;
Custom distance between the face of described user and the camera lens of described terminal is compared with described current distance, obtains the second difference;
If the absolute value of described second difference is greater than the second preset difference value, then according to the eyesight value of described second difference and described user, the described image that the screen to described terminal shows regulates.
In the third possible implementation of first aspect, in the 4th kind of possible implementation, after the face-image of described acquisition active user, also comprise:
Compared with described face-image size is carried out with standard facial picture size, the first ratio of acquisition;
If described first ratio is greater than first preset ratio, then send the first information to described user, in order to point out the distant of the current and described terminal camera lens of described user;
If described first ratio is less than second preset ratio, then send the second information to described user, in order to point out described user the close together of current and described terminal camera lens.
In the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation, by receiving the input operation of the visual chart that user shows on the screen of described terminal, the eyesight of described user being tested, obtains the eyesight value of described user; Or
Described terminal receives described user's eyesight value of described user input.
Second aspect, provides a kind of display device of vision protection, comprising:
Acquisition module, for obtaining the face-image of active user;
Processing module, for the eyesight value according to described face-image and described user, the image that the screen to described terminal shows regulates.
In the first possible implementation of second aspect, described processing module, comprising:
Acquiring unit, for identifying described face-image, obtains described face-image size;
Computing unit, for by described face-image size and the comparison of standard facial picture size, obtain the first difference, described standard facial picture size is the face-image size of the described user of the custom distance correspondence of described user, wherein, described custom distance is the average of the repeatedly service range detected between the face of described user and described terminal camera lens, or described user-defined distance;
Regulon, if when being greater than the first preset value for the absolute value of described first difference, then regulate the described image that the described screen of described terminal shows.
In second aspect or the first possible implementation of second aspect, in the implementation that the second is possible, the described eyesight value according to described face-image and described user, the image that the screen to described terminal shows regulates, and comprising:
Described regulon, specifically for the corresponding relation according to described first difference and the described corresponding relation of picture size convergent-divergent multiple and the eyesight value of described user and described picture size convergent-divergent multiple, regulate the size of the described image that described terminal screen shows, described picture size convergent-divergent multiple is the ratio of described standard facial picture size and described face-image size; Or, according to the corresponding relation of described first difference and the corresponding relation of the contrast of described image and/or the variable quantity of brightness and the eyesight value of described user and the contrast of described image and/or the variable quantity of brightness, the contrast of the described image that described terminal screen shows and/or brightness are regulated.
In the implementation that second aspect is possible to the second of second aspect, processing module described in the implementation that the third is possible, also comprises: comparing unit,
Described acquiring unit, if when being also greater than preset difference value for the absolute value of described first difference, according to the corresponding relation of described first difference and the distance variable quantity between described face and described terminal camera lens, obtain the current distance between the described face of current described user and described terminal camera lens;
Described comparing unit, for the custom distance between the face of described user and the camera lens of described terminal being compared with described current distance, obtains the second difference;
Described regulon, if be greater than the second preset difference value specifically for the absolute value of described second difference, then according to the eyesight value of described second difference and described user, the described image that the screen to described terminal shows regulates.
In the third possible implementation of second aspect, in the 4th kind of possible implementation, also comprise: comparison module and reminding module,
Described comparison module, compared with described face-image size is carried out with standard facial picture size, the first ratio of acquisition;
Described reminding module, if be greater than first for described first ratio to preset ratio, then sends the first information to described user, in order to point out the distant of the current and described terminal camera lens of described user; If described first ratio is less than second preset ratio, then send the second information to described user, in order to point out described user the close together of current and described terminal camera lens.
In the 4th kind of possible implementation of second aspect, in the 5th kind of possible implementation, described acquisition module, also for the input operation by receiving the visual chart that user shows on the screen of described terminal, the eyesight of described user is tested, obtains the eyesight value of described user; Or accept described user's eyesight value of described user input.
3rd aspect, provides a kind of terminal device, comprising: as the terminal display device of the vision protection in above-mentioned second aspect to the arbitrary possible implementation of second aspect as described in any one.
The display packing of the vision protection that the embodiment of the present invention provides, display device and terminal device, by obtaining the face-image of active user; Then, according to the eyesight value of face-image and user, the image that the screen of terminal shows is regulated.Thus the service condition achieving terminal device current according to user regulates the image that terminal screen shows in real time, and then bring larger facility for the use of user.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The display packing of the vision protection that the embodiment of the present invention provides specifically can be applied to user when using terminal device, and this terminal device can be smart mobile phone or panel computer etc.The display packing of the vision protection that the present embodiment provides specifically can be performed by the display device of vision protection; the display device of this vision protection can be integrated in terminal device, and the display device of this vision protection can adopt the mode of software and/or hardware to realize.Below the display packing of the vision protection that the present embodiment provides is described in detail.
Fig. 1 is the schematic flow sheet of display packing one embodiment of vision protection of the present invention; as shown in Figure 1; the method of the present embodiment can be performed by the display device of vision protection; this display device can be realized by the mode of hardware and/or software; accessible site is in terminal device, and this display device is generally configured with camera lens and display screen.The method comprises the steps:
The face-image of step 101, acquisition active user.
In the present embodiment, the display device of vision protection periodically can obtain the face-image of active user, or user makes terminal obtain the face-image of active user by the mode of shooting.Wherein, face-image can be the current whole face image of user, also can be certain organ of user, e.g., and eyes etc.
Step 102, eyesight value according to face-image and user, regulate the image that the screen of terminal shows.
Concrete, according to the eyesight value of face-image and user, two kinds are at least included to the applicable scene that the image that the screen of terminal shows regulates:
The first applicable scene, identifies face-image, obtains face-image size; Then, by face-image size and the comparison of standard facial picture size, obtain the first difference, this standard facial picture size is the face-image size of the user of the custom distance correspondence of user, wherein, custom distance is the average of the repeatedly service range detected between the face of user and terminal camera lens, or user-defined distance; Then, if when the absolute value of the first difference is greater than the first preset value, then the image that the screen of terminal shows is regulated.
The second is suitable for scene, identifies face-image, obtains face-image size; Then, by face-image size and the comparison of standard facial picture size, obtain the first difference, if when the absolute value of the first difference is greater than preset difference value, according to the first difference and the corresponding relation of distance variable quantity between face and terminal camera lens, obtain the current distance between the face of active user and terminal camera lens; Then, the custom distance between the face of user and the camera lens of terminal is compared with current distance, obtains the second difference; If the absolute value of the second difference is greater than the second preset difference value, then according to the eyesight value of the second difference and user, the image that the screen of terminal shows is regulated.
It should be noted that, no matter be which kind of above-mentioned applicable scene, following two kinds are at least comprised to the implementation that the image that the screen of terminal shows regulates:
The first implementation, the corresponding relation of picture size convergent-divergent multiple according to the first difference and the corresponding relation of picture size convergent-divergent multiple and the eyesight value of user, regulate the size of the image that terminal screen shows, picture size convergent-divergent multiple is the ratio of standard facial picture size and face-image size; Or
The second implementation, according to the corresponding relation of the first difference and the corresponding relation of the contrast of image and/or the variable quantity of brightness and the contrast of eyesight value image of user and/or the variable quantity of brightness, the contrast of the image that terminal screen shows and/or brightness are regulated.
It should be noted that, the current distance in the present embodiment between the face of user and terminal camera lens is at least the twice of terminal lens focus.
The display packing of the vision protection that the embodiment of the present invention provides, by obtaining the face-image of active user; Then, according to the eyesight value of face-image and user, the image that the screen of terminal shows is regulated.Thus the service condition achieving terminal device current according to user regulates the image that terminal screen shows in real time, and then bring larger facility for the use of user.
Fig. 2 is the schematic flow sheet of another embodiment of display packing of vision protection of the present invention, and as shown in Figure 2, the method comprises the steps:
The face-image of step 201, acquisition active user.
Step 201 in the present embodiment and step 101 to realize principle similar, do not repeat them here.
Step 202, identification face-image, obtain this face-image size.
In the present embodiment; the display device of vision protection is by the identification to the face-image of active user; this face-image size can be obtained; the i.e. size of face imaging on terminal camera lens of user; such as; the height value of face-image and/or width value, unit can be centimetre or pixel, and the unit of opposite ministerial standard imaging size does not limit in the present embodiment.
Step 203, by face-image size and the comparison of standard facial picture size, obtain the first difference.
In the present embodiment, this standard facial picture size is the face-image size of the user of the custom distance correspondence of user, wherein, this custom distance is the average of the repeatedly service range detected between the face of user and terminal camera lens, such as, user uses the initial stage of terminal device, distance between the face of the user periodically obtained according to measuring equipment that terminal device is arranged and terminal camera lens, this custom distance is finally obtained again through mean value computation, or, user-defined distance is custom distance, such as, user inputs a numerical value in the terminal as custom distance.
For example, the implementation of face-image size and the comparison of standard facial picture size can be specially: the height value of face-image size and standard facial picture size periodically compares by display device, obtain the first difference, or, the width value of face-image size and standard facial picture size compares by display device, obtains the first difference.
If when the absolute value of step 204 first difference is greater than the first preset value, then regulate the image that the screen of terminal shows.
Concrete, if when the absolute value of the first difference is greater than the first preset value, then the image that the described screen of terminal shows is regulated, comprises and have two kinds of implementations at least:
The first implementation, according to the first difference and the corresponding relation of picture size convergent-divergent multiple and the eyesight value of user, regulate the size of the described image that terminal screen shows, wherein, picture size convergent-divergent multiple is the ratio of face-image size and standard facial picture size.
Concrete, if when the first difference is greater than zero, then using the ratio of face-image size and standard facial picture size as picture size convergent-divergent multiple, i.e. minification, and according to the eyesight value of user, the size of the image that terminal screen shows is regulated, namely reduces.If when the first difference is less than zero, then using the ratio of face-image size and standard facial picture size as picture size convergent-divergent multiple, i.e. enlargement factor, and according to the eyesight value of user and the corresponding relation of picture size convergent-divergent multiple, the size of the described image that terminal screen shows is regulated, namely amplifies.
For example, standard facial picture size and face-image size are divided by, the ratio obtained is as display multiple, and according to this ratio, the picture size that terminal screen shows is regulated, such as, the eyesight value of user is 1.0, custom distance between user and terminal screen is 30 centimetres, the initial stage of terminal device is used user, the standard facial image that display device obtains user is 4 centimetres, the picture size that terminal screen shows carries out showing with custom distance according to the eyesight value of this user, use in the process of terminal device user, the height dimension that terminal device can obtain the face-image of user is 5 centimetres, the picture size on terminal screen can be reduced according to the ratio of 4/5.
The second implementation, according to the corresponding relation of the first difference and the corresponding relation of the contrast of image and/or the variable quantity of brightness and the eyesight value of user and the contrast of image and/or the variable quantity of brightness, the contrast of the image that terminal screen shows and/or brightness are regulated.
Concrete, if when the first difference is greater than zero, can determine that the distance of user and terminal camera lens is less than custom distance, then according to the corresponding relation of the contrast of image and/or the corresponding relation of the variable quantity of brightness and the eyesight value of user and the contrast of image and/or the variable quantity of brightness, reduce contrast and/or the brightness of the image that terminal screen shows.If when the first difference is less than zero, can determine that the distance of user and terminal camera lens is greater than custom distance, then according to the contrast of image and/or the corresponding relation of the variable quantity of brightness and the eyesight value of user, heighten contrast and/or the brightness of the image that terminal screen shows.
It should be noted that, if the absolute value of this first difference is less than the first preset difference value, then thinks the change of the spacing of the user that user's body shake produces and terminal screen, thus do not regulate the picture size that terminal screen shows; If the absolute value of this first difference is greater than preset difference value, then the picture size that terminal screen shows is regulated according to above-mentioned ratio, be multiplied by by current distance and the ratio of custom distance and regulate the picture size that front terminal screen shows as the picture size that present terminal screen shows.
In the display packing of the vision protection that the present embodiment provides; by obtaining the face-image of active user; and identify face-image; obtain this face-image size, then, by face-image size and the comparison of standard facial picture size; obtain the first difference; then, if when the absolute value of the first difference is greater than the first preset value, then the image that the screen of terminal shows is regulated.Thus the service condition achieving terminal device current according to user regulates the image that terminal screen shows in real time, 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 the comparison of standard facial picture size, after obtaining the first difference, can also comprise:
If when the absolute value of the first difference is greater than preset difference value, according to the first difference and the corresponding relation of distance variable quantity between face and terminal camera lens, obtain the current distance between the face of active user and terminal camera lens;
Custom distance between the face of user and the camera lens of terminal is compared with current distance, obtains the second difference;
If the absolute value of the second difference is greater than the second preset difference value, then according to the eyesight value of the second difference and user, the image that the screen of terminal shows is regulated.
In the present embodiment, the implementation of the current distance obtained between the face of active user and terminal camera lens at least comprises three kinds:
The first implementation, user can input the face of user and the current distance of terminal camera lens in terminal.
The second implementation, what terminal display device can measure the face of user and terminal camera lens according to the measuring equipment being arranged on terminal works as distance.
The third implementation, by the product of the standard facial picture size of user and the focal length of terminal camera lens, be divided by with current face's imaging size again, obtain the current distance between this user and terminal camera lens, wherein, standard facial picture size is that face standard imaging size is multiplied with the focal length of terminal camera lens, then is divided by with custom distance by this product obtained and obtains
In the present embodiment, custom distance between the face of user and the camera lens of terminal is compared with current distance, the absolute value of the second difference obtained is greater than the second preset difference value, the difference of the current distance namely between the face of user and the camera lens of terminal and custom distance is more than after a scope, regulate to the image that the screen of terminal shows, principle and the effect of concrete regulative mode and above-described embodiment are similar, do not repeat them here.
Fig. 3 is the schematic flow sheet of the display packing embodiment again of vision protection of the present invention, and as shown in Figure 3, the method comprises the steps:
The face-image of step 301, acquisition active user.
Step 301 in the present embodiment and step 101 to realize principle similar, do not repeat them here.
Step 302, face-image size carried out with standard facial picture size compared with, the first ratio of acquisition.
Step 303, the first ratio and default ratio to be compared, and according to comparative result, send information to user.
Concrete, the first ratio and first is preset ratio and compares, if the first ratio is greater than the first default ratio, then determines that current distance is greater than custom distance, send the first information to user, in order to point out user current distant with terminal camera lens; Or,
First ratio and second are preset ratio compare, if the first ratio is less than second preset ratio, if then determine, current distance is less than custom distance, sends the second information to user, in order to point out user the current close together with terminal camera lens.
Wherein, described first ratio comprises size and the direction of the first ratio, and described first presets ratio is greater than the described second default ratio.
The display packing of the vision protection that the embodiment of the present invention provides; by obtaining the face-image of active user; then; compared with face-image size is carried out with standard facial picture size; the first ratio obtained; then the first ratio and default ratio are compared, and according to comparative result, send information to user.Thus the service condition achieving terminal device current according to user regulates the image that terminal screen shows in real time, and then bring larger facility for the use of user.
Further, while sending information to user, can also the image that the screen of terminal shows be regulated.Regulate concrete mode similar to the above embodiments to the image that the screen of terminal shows, do not repeat them here.
On the basis of above-described embodiment, in the display packing of this vision protection, can also comprise: the eyesight value obtaining user, specific implementation is:
The first implementation, by receiving the input operation of the visual chart that user shows on the screen of described terminal, tests the eyesight of user, obtains the eyesight value of user.
Concrete, starting up of terminal or after unlocking, user can carry out eyesight detection by this terminal, and namely user is keeping being accustomed to distance with terminal, and as carried out eyesight detection under 30 centimetres, wherein, this terminal is provided with eyesight inspection software.The concrete grammar carrying out eyesight detection can be, first terminal screen shows the character that eyesight is 1.0, the opening direction of character E is judged by finger sliding, if sensing mistake, then terminal screen display eyesight is the character of 0.8, user continues finger sliding to determine the opening direction of character E, until detect correct, the eyesight value that the character of terminal display device record the last time is corresponding is simultaneously as user's eyesight value, and set up eyesight archives, these eyesight archives can comprise: the test duration, eyesight value, user habit distance, the information such as the comfortable brightness of user, as the time: 2012-12-20, eyesight value 0.8, custom distance 30cm, comfortable brightness 65%, wherein, custom distance can be that user manually inputs, comfortable brightness can be the default value that user carries when manually inputting or dispatch from the factory.
It should be noted that, obtain the method for user's eyesight value in the present embodiment according to the visual chart that terminal screen shows, be not limited to foregoing description, can also implement according to the thinkable any method of those skilled in the art.
The second implementation, terminal receives described user's eyesight value of described user input.
Starting up of terminal or after unlocking, user needs to input eyesight value when filling in eyesight archives, the content of the eyesight archives in the content of these eyesight archives and above-described embodiment is similar, does not repeat them here.
The third implementation, according to the difference of current distance with custom distance, detects the eyesight of user, and obtains the eyesight value of user.
Using in the process of terminal user, is to detect the eyesight of user when determining that the difference between current distance and custom distance exceedes preset value, and obtain the eyesight value of user, wherein, the concrete mode detecting user's eyesight is similar to the above embodiments, does not repeat them here.
The method that the present embodiment provides, uses the initial stage of terminal user, or uses in the process of terminal user; user can after giving a test of one's eyesight; learn whether the eyesight of oneself declines, thus determination voluntarily uses the situation of terminal, and then condition can be provided for the automatic vision protection of user.
Fig. 4 is the structural representation of display device one embodiment of vision protection of the present invention, and as shown in Figure 4, this display device, comprising: acquisition module 401 and processing module 402, and 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, regulates the image that the screen of terminal shows.
The display packing of the vision protection that the embodiment of the present invention provides, by obtaining the face-image of active user; Then, according to the eyesight value of face-image and user, the image that the screen of terminal shows is regulated.Thus the service condition realizing terminal device current according to user regulates the image that terminal screen shows in real time, and then bring larger facility for the use of user.
Fig. 5 is the structural representation of another embodiment of display device of vision protection of the present invention, and as shown in Figure 5, on the basis of above-described embodiment, processing module 402, can comprise: acquiring unit 4021, computing unit 4022 and regulon 4023.Wherein, acquiring unit 4021, for identifying face-image, obtains face-image size; Computing unit 4022, for by face-image size and the comparison of standard facial picture size, obtain the first difference, standard facial picture size is the face-image size of the user of the custom distance correspondence of user, wherein, custom distance is the average of the repeatedly service range detected between the face of user and terminal camera lens, or user-defined distance; Regulon 4023, if when being greater than the first preset value for the absolute value of the first difference, regulate the image that the screen of terminal shows.
Further, on the basis of above-described embodiment, regulon 4023, specifically for the corresponding relation according to the first difference and the corresponding relation of picture size convergent-divergent multiple and the eyesight value of user and picture size convergent-divergent multiple, regulate the size of the image that terminal screen shows, picture size convergent-divergent multiple is the ratio of face-image size and standard facial picture size; Or, according to the corresponding relation of the first difference and the corresponding relation of the contrast of image and/or the variable quantity of brightness and the eyesight value of user and the contrast of image and/or the variable quantity of brightness, the contrast of the image that terminal screen shows and/or brightness are regulated.
Optionally, on the basis of above-described embodiment, acquiring unit 4021, if when being also greater than preset difference value for the absolute value of the first difference, according to the first difference and the corresponding relation of distance variable quantity between face and terminal camera lens, obtain the current distance between the face of active user and terminal camera lens;
Computing unit 4022, for the custom distance between the face of user and the camera lens of terminal being compared with current distance, obtains the second difference;
Regulon 4023, if be greater than the second preset difference value specifically for the absolute value of the second difference, then according to the eyesight value of the second difference and user, regulates the image that the screen of terminal shows.
Further, optionally, this display device can also comprise: comparison module 403 and reminding module 404, wherein,
Comparison module 403, compared with face-image size is carried out with standard facial picture size, the first ratio of acquisition;
Reminding module 404, if be greater than first for the first ratio to preset ratio, then sends the first information to user, in order to point out user current distant with terminal camera lens; If the first ratio is less than second preset ratio, then send the second information to user, in order to point out user the current close together with terminal camera lens.
Further, acquisition module 401, also for the input operation by receiving the visual chart that user shows on the screen of terminal, testing the eyesight of user, obtaining the eyesight value of user; Or accept user's eyesight value of user's input.
Fig. 6 is the structural representation of the display device embodiment again of vision protection of the present invention, as shown in Figure 6, this display device, comprising: display 601, input equipment 602, camera 603 and processor 604, display 601, for showing image in the display device of vision protection; Input equipment 602, for receiving the input operation of user; Wherein, camera 603, for obtaining the face-image of active user; Processor 604, for the eyesight value according to face-image and user, regulates the image that the screen of terminal shows.
The display packing of the vision protection that the embodiment of the present invention provides, by obtaining the face-image of active user; Then, according to the eyesight value of face-image and user, the image that the screen of terminal shows is regulated.Thus the service condition realizing terminal device current according to user regulates the image that terminal screen shows in real time, and then bring larger facility for the use of user.
On the basis of above-described embodiment, processor 604, specifically for identifying face-image, obtains face-image size; By face-image size and the comparison of standard facial picture size, obtain the first difference, standard facial picture size is the face-image size of the user of the custom distance correspondence of user, wherein, custom distance is the average of the repeatedly service range detected between the face of user and terminal camera lens, or user-defined distance; If when the absolute value of the first difference is greater than the first preset value, the image that the screen of terminal shows is regulated.
Further, on the basis of above-described embodiment, processor 604, specifically for the corresponding relation according to the first difference and the corresponding relation of picture size convergent-divergent multiple and the eyesight value of user and picture size convergent-divergent multiple, regulate the size of the image that terminal screen shows, picture size convergent-divergent multiple is the ratio of face-image size and standard facial picture size; Or, according to the corresponding relation of the first difference and the corresponding relation of the contrast of image and/or the variable quantity of brightness and the eyesight value of user and the contrast of image and/or the variable quantity of brightness, the contrast of the image that terminal screen shows and/or brightness are regulated.
Optionally, on the basis of above-described embodiment, processor 604, if when being also greater than preset difference value for the absolute value of the first difference, according to the first difference and the corresponding relation of distance variable quantity between face and terminal camera lens, obtain the current distance between the face of active user and terminal camera lens; Custom distance between the face of user and the camera lens of terminal is compared with current distance, obtains the second difference; If the absolute value of the second difference is greater than the second preset difference value, then according to the eyesight value of the second difference and user, the image that the screen of terminal shows is regulated.
Further, optionally, processor 604, also for compared with face-image size is carried out with standard facial picture size, the first ratio of acquisition; If the first ratio is greater than first preset ratio, then send the first information to user, in order to point out user current distant with terminal camera lens; If the first ratio is less than second preset ratio, then send the second information to user, in order to point out user the current close together with terminal camera lens.
Further, processor 604, also for the input operation by receiving the visual chart that user shows on the screen of terminal, testing the eyesight of user, obtaining the eyesight value of user; Or accept user's eyesight value of user's input.
In the present embodiment, the service condition that can realize terminal device current according to user regulates the image that terminal screen shows in real time, thus brings larger facility for the use of user
In embodiment of the present invention terminal device, comprising: any one display device provided in above-described embodiment.
The terminal device that the embodiment of the present invention provides, by obtaining the current distance between active user and terminal camera lens, can regulate the picture size that terminal screen shows.Thus the service condition realizing terminal display device current according to user regulates the picture size of terminal demonstration in real time, and then bring larger facility for the use of user.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that programmed instruction is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.