CN104252828B - Protect display methods, display device and the terminal device of eyesight - Google Patents

Protect display methods, display device and the terminal device of eyesight Download PDF

Info

Publication number
CN104252828B
CN104252828B CN201310270914.5A CN201310270914A CN104252828B CN 104252828 B CN104252828 B CN 104252828B CN 201310270914 A CN201310270914 A CN 201310270914A CN 104252828 B CN104252828 B CN 104252828B
Authority
CN
China
Prior art keywords
user
image
terminal
face
eyesight
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310270914.5A
Other languages
Chinese (zh)
Other versions
CN104252828A (en
Inventor
相超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Huawei Device Dongguan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Device Dongguan Co Ltd filed Critical Huawei Device Dongguan Co Ltd
Priority to CN201310270914.5A priority Critical patent/CN104252828B/en
Publication of CN104252828A publication Critical patent/CN104252828A/en
Application granted granted Critical
Publication of CN104252828B publication Critical patent/CN104252828B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present invention provides a kind of display methods, display device and terminal device for protecting eyesight.The display methods of the protection eyesight, 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 device is in real time adjusted the image shown on terminal screen according to the current service condition of user, and then larger facility is brought for the use of user.

Description

Protect display methods, display device and the terminal device of eyesight
Technical field
The present embodiments relate to the communication technology more particularly to a kind of display methods, display device and ends for protecting eyesight End equipment.
Background technology
With the development of science and technology, people are more and more using multimedia terminal equipment, for example, smart mobile phone, tablet Computer etc..
Meanwhile multimedia terminal equipment has also brought more and more convenient life, for example, people can at any time with Ground browses webpage, content search, reading electronic book or even object for appreciation game by multimedia terminal equipment.
However, people, during multimedia terminal equipment is used, feeling in user itself needs to adjust Mobile phone screen Curtain display font and picture size and display brightness when, adjusted manually, can not according to current vision condition, make Display processing is carried out in real time with apart from situation, so that user is inconvenient to use.
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.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram of one embodiment of display methods of present invention protection eyesight;
Fig. 2 is the flow diagram of another embodiment of display methods of present invention protection eyesight;
Fig. 3 is the flow diagram of the display methods another embodiment of present invention protection eyesight;
Fig. 4 is the structure diagram of one embodiment of display device of present invention protection eyesight;
Fig. 5 is the structure diagram of another embodiment of display device of present invention protection eyesight;
Fig. 6 is the structure diagram of the display device another embodiment of present invention protection eyesight.
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.

Claims (11)

1. a kind of display methods for protecting eyesight, which is characterized in that 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 terminal is adjusted;
Wherein, it is described according to the face-image and the eyesight value of the user, to the image that is shown on the screen of terminal into Row is adjusted, 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 image ruler Face-image size of the very little custom for the user apart from the corresponding user, wherein, the custom distance is detection institute State the facial average that distance is used for multiple times between the terminal camera lens of user, or the user-defined distance;
If the absolute value of first difference is more than the first preset value, described in being shown on the screen of the terminal Image is adjusted.
2. according to the method described in claim 1, it is characterized in that, the regarding according to the face-image and the user The image shown on the screen of the terminal is adjusted in force value, including:
According to the eyesight value and described image of the correspondence and the user of first difference and picture size scaling multiple The correspondence of 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 user of first difference and the variable quantity of the contrast and/or brightness of described image The correspondence of the variable quantity of the contrast and/or brightness of eyesight value and described image, to the institute shown on the terminal screen The contrast and/or brightness for stating image are adjusted.
It is 3. according to the method described in claim 1, it is characterized in that, described by the face-image size and standard facial image Size ratio pair after obtaining the first difference, further includes:
If the absolute value of first difference is more than preset difference value, according to first difference and the described facial and terminal The correspondence of the distance between camera lens variable quantity obtains the described facial between the terminal camera lens of presently described user Current distance;
By the facial custom distance between the camera lens of the terminal of the user compared with the current distance, obtain Second difference;
If the absolute value of second difference is more than the second preset difference value, according to second difference and the eyesight of the user Value, is adjusted the described image shown on the screen of the terminal.
4. according to the method described in claim 1, it is characterized in that, after the face-image for obtaining active user, also wrap It includes:
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, it is described to prompt 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, it is described to prompt User is currently closer to the distance with the terminal camera lens.
5. according to claim 1-4 any one of them methods, it is characterised in that:It further includes:
The input operation of the visual chart shown by receiving user on the screen of the terminal, carries out the eyesight of the user Test obtains the eyesight value of the user;Or
The terminal receives the eyesight value of the user input by user.
6. a kind of display device for protecting eyesight, which is characterized in that 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, to the figure shown on the screen of terminal As being adjusted;
Wherein, 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, the mark Quasi- face-image size is face-image size of the custom of the user apart from the corresponding user, wherein, the 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 makes by oneself The distance of justice;
Adjustment unit, if be more than the first preset value for the absolute value of first difference, to the screen of the terminal The described image shown on curtain is adjusted.
7. device according to claim 6, which is characterized in that the adjustment unit, specifically for poor according to described first It is worth corresponding with described image size scaling multiple with the eyesight value of the correspondence of picture size scaling multiple and the user Relation, the size of the described image to being shown on the terminal screen are adjusted, and described image size scaling multiple is described The ratio of standard facial picture size and the face-image size;Alternatively, pair according to first difference and described image Than the eyesight value of correspondence and the user of degree and/or the variable quantity of brightness and contrast and/or the brightness of described image Variable quantity correspondence, the contrast of described image and/or brightness shown on the terminal screen is adjusted.
8. device according to claim 6, which is characterized in that 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 first difference The correspondence of the distance between described facial and terminal camera lens variable quantity obtains the face of presently described user With the 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 described the The described image shown on the screen of the terminal is adjusted in two differences and the eyesight value of the user.
9. device according to claim 6, which is characterized in that further include:Comparison module and reminding module,
The comparison module, for by the face-image size compared with standard facial picture size carries out, the first of acquisition Ratio;
If being more than the first default ratio for first ratio, the first prompting is sent to the user for the reminding module Information, to prompt the user currently distant with the terminal camera lens;If it is default that first ratio is less than second Ratio, then to the user send the second prompt message, to prompt the user currently with the distance of the terminal camera lens compared with Closely.
10. according to claim 6-9 any one of them devices, it is characterised in that:The acquisition module is additionally operable to 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 receive the eyesight value of the user input by user.
11. a kind of terminal device, which is characterized in that including:Protection eyesight as described in any one in claim 6-10 Display device.
CN201310270914.5A 2013-06-29 2013-06-29 Protect display methods, display device and the terminal device of eyesight Active CN104252828B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

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

Family

ID=52187681

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN104252828B (en)

Families Citing this family (8)

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

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409784A (en) * 2007-10-10 2009-04-15 联想(北京)有限公司 Camera device and information-prompting apparatus
CN101470460B (en) * 2007-12-29 2011-07-27 联想(北京)有限公司 Method for sight protection when using computer, and computer thereof
CN101271678A (en) * 2008-04-30 2008-09-24 深圳华为通信技术有限公司 Screen font zooming method and terminal unit
CN101751209B (en) * 2008-11-28 2012-10-10 联想(北京)有限公司 Method and computer for adjusting screen display element
JP2010176170A (en) * 2009-01-27 2010-08-12 Sony Ericsson Mobilecommunications Japan Inc Display apparatus, display control method, and display control program
CN101707056A (en) * 2009-09-28 2010-05-12 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for adjusting and displaying font size
CN102693067B (en) * 2011-03-25 2017-12-12 吕洋波 The adjustment system and method for font size
CN102724398B (en) * 2011-03-31 2017-02-08 联想(北京)有限公司 Image data providing method, combination method thereof, and presentation method thereof
CN102846305B (en) * 2012-10-15 2014-11-26 上海华勤通讯技术有限公司 Handhold equipment for inspecting vision and method
CN103019384B (en) * 2012-12-21 2016-05-11 广东欧珀移动通信有限公司 A kind of method and apparatus of in terminal, display interface being adjusted

Also Published As

Publication number Publication date
CN104252828A (en) 2014-12-31

Similar Documents

Publication Publication Date Title
CN104252828B (en) Protect display methods, display device and the terminal device of eyesight
US11699302B2 (en) Spoofing detection device, spoofing detection method, and recording medium
CN101520842B (en) Information processing apparatus, eye open/closed degree determination method and image sensing apparatus
US10101156B2 (en) Method and apparatus for determining spatial parameter based on image and terminal device
CN104754216B (en) A kind of photographic method and device
US8928770B2 (en) Multi-subject imaging device and imaging method
KR101850101B1 (en) Method for providing advertising using eye-gaze
US20150002690A1 (en) Image processing method and apparatus, and electronic device
US20120099002A1 (en) Face image replacement system and method implemented by portable electronic device
CN107995500B (en) Video watermark recognition methods, device and terminal
CN105512637A (en) Image processing method and electric device
CN105868235A (en) Image preview method and apparatus of intelligent terminal
KR20150118855A (en) Electronic apparatus and recording method thereof
CN111062276A (en) Human body posture recommendation method and device based on human-computer interaction, machine readable medium and equipment
CN106339695A (en) Face similarity detection method, device and terminal
KR20130088493A (en) Method for providing user interface and video receving apparatus thereof
CN112434546A (en) Face living body detection method and device, equipment and storage medium
CN105266756B (en) Interpupillary distance measuring method, device and terminal
CN108510084A (en) Method and apparatus for generating information
CN105894042A (en) Method and apparatus for detecting whether document image is covered
US20160350622A1 (en) Augmented reality and object recognition device
KR20210049783A (en) Image processing apparatus, image processing method and image processing program
JP6683833B2 (en) Biometric authentication device and biometric authentication program
CN106686371A (en) Frame rate testing method, device, equipment and system
WO2023142396A1 (en) Test method and apparatus for relocation module, device, system, medium, computer program, and computer program product

Legal Events

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

Effective date of registration: 20171030

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

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

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

Applicant before: HUAWEI DEVICE Co.,Ltd.

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

Effective date of registration: 20171101

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

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

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

Applicant before: HUAWEI DEVICE Co.,Ltd.

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

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

Patentee after: HUAWEI DEVICE Co.,Ltd.

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

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

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

Effective date of registration: 20210428

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

Patentee after: Honor Device Co.,Ltd.

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

Patentee before: HUAWEI DEVICE Co.,Ltd.

TR01 Transfer of patent right