CN108965728A - A kind of brightness adjusting method and terminal - Google Patents
A kind of brightness adjusting method and terminal Download PDFInfo
- Publication number
- CN108965728A CN108965728A CN201810738985.6A CN201810738985A CN108965728A CN 108965728 A CN108965728 A CN 108965728A CN 201810738985 A CN201810738985 A CN 201810738985A CN 108965728 A CN108965728 A CN 108965728A
- Authority
- CN
- China
- Prior art keywords
- brightness value
- value
- display screen
- terminal
- brightness
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/71—Circuitry for evaluating the brightness variation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/74—Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
Abstract
The embodiment of the invention discloses a kind of brightness adjusting method and terminals, are related to field of communication technology, carry out light filling to environment to solve existing terminal by point light source, lead to the problem that shooting effect is bad.The brightness adjusting method is applied to terminal, the terminal includes the first display screen and second display screen, this method comprises: in the case where meeting goal condition, obtain the first brightness value, first brightness value is the brightness value of terminal local environment, above-mentioned goal condition is the face-image in the first display screen display preview image or acquisition user, which is used to carry out recognition of face for the first display screen;In the case where the first brightness value is not within the scope of predetermined luminance value, the second brightness value of second display screen is adjusted to target brightness value;Wherein, after the second brightness value of second display screen being adjusted to target brightness value, the first brightness value is within the scope of predetermined luminance value.This method can be applied in the scene of user's using terminal shooting.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of brightness adjusting method and terminals.
Background technique
In the shooting of user's using terminal, if in terminal local environment (for example, environment of night or dark)
Light be unable to satisfy shooting demand, then can by the environment carry out light filling, to reach preferable shooting effect.
Currently, terminal can use postposition flash lamp when the light in terminal local environment is unable to satisfy shooting demand
Or preposition light compensating lamp carries out light filling to the environment, to increase the intensity of the light in the environment, so as to a certain degree
On meet shooting demand.
But in the method for carrying out light filling to environment above by postposition flash lamp or preposition light compensating lamp, due to postposition
Flash lamp or preposition light compensating lamp belong to point light source, and the light that point light source emits is in dispersion shape, therefore causes to be radiated at
Light on object to be captured is uneven, bad so as to cause shooting effect.
Summary of the invention
The embodiment of the present invention provides a kind of brightness adjusting method and terminal, to solve existing terminal by point light source to environment
Light filling is carried out, the problem that shooting effect is bad is caused.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, being applied to terminal the embodiment of the invention provides a kind of brightness adjusting method, which includes first
Display screen and second display screen, the brightness adjusting method include: to obtain the first brightness value in the case where meeting goal condition,
First brightness value be terminal local environment brightness value, above-mentioned goal condition be first display screen display preview image or
Person acquires the face-image of user, which is used to carry out recognition of face for the first display screen;The first brightness value not
In the case where within the scope of predetermined luminance value, the second brightness value of second display screen is adjusted to target brightness value;Wherein, will
Second brightness value of second display screen is adjusted to after target brightness value, and the first brightness value is within the scope of predetermined luminance value.
Second aspect, the embodiment of the invention provides a kind of terminal, which includes the first display screen and second display screen,
The terminal further includes obtaining module and adjustment module.It obtains module to be used in the case where meeting goal condition, it is bright to obtain first
Angle value, first brightness value are the brightness value of terminal local environment, and above-mentioned goal condition is to show screen display preview first
Image or the face-image for acquiring user, the face-image are used to carry out recognition of face for the first display screen;Adjustment module
For in the case where obtaining the first brightness value that module obtains and being not within the scope of predetermined luminance value, by the of second display screen
Two brightness values are adjusted to target brightness value;Wherein, after the second brightness value of second display screen being adjusted to target brightness value, the
One brightness value is within the scope of above-mentioned predetermined luminance value.
The third aspect, the embodiment of the invention provides a kind of terminal, which includes processor, memory and is stored in
On reservoir and the computer program that can run on a processor, the computer program realize above-mentioned first party when being executed by processor
The step of brightness adjusting method in face.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage mediums
Computer program is stored in matter, which realizes the brightness adjusting method in above-mentioned first aspect when being executed by processor
The step of.
In embodiments of the present invention, can terminal the first display screen display preview image (such as when shooting) or
In the case that person acquires the face-image of user to carry out recognition of face (such as in unlock or payment) for the first display screen,
The first brightness value is obtained, which is the brightness value of terminal local environment;And the first brightness value be not at preset it is bright
In the case where within the scope of angle value, the second brightness value of second display screen is adjusted to target brightness value;Wherein, by second display screen
The second brightness value be adjusted to after target brightness value, the first brightness value is within the scope of predetermined luminance value.With this solution, exist
In the case that first display screen of terminal shows preview image or carries out recognition of face for the first display screen, due to can be at end
When holding local environment than darker or brighter (i.e. the brightness value of terminal local environment is not within the scope of predetermined luminance value), pass through
The brightness value of the second display screen of terminal is adjusted adaptively to adjust the brightness value of terminal local environment, therefore can be reached logical
It crosses second display screen and light filling is carried out to terminal local environment, to realize that treating reference object carries out light filling, so that first is aobvious
Show screen display preview image or for the first display screen carry out recognition of face when acquisition user face-image more
It is clear.In this way, can be radiated at wait clap since second display screen is to treat reference object light filling as area source
The distribution for taking the photograph the light on object is more uniform, so as to improve shooting effect to a certain extent.
Detailed description of the invention
Fig. 1 is a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention;
Fig. 2 is one of the schematic diagram of brightness adjusting method provided in an embodiment of the present invention;
Fig. 3 is the two of the schematic diagram of brightness adjusting method provided in an embodiment of the present invention;
Fig. 4 is one of the schematic diagram of a scenario of brightness adjusting method provided in an embodiment of the present invention application;
Fig. 5 is the two of the schematic diagram of a scenario of brightness adjusting method provided in an embodiment of the present invention application;
Fig. 6 is one of the structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 7 is the second structural representation of terminal provided in an embodiment of the present invention;
Fig. 8 is the hardware schematic of terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
The terms "and/or" is a kind of incidence relation for describing affiliated partner, indicates may exist three kinds of relationships,
For example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Symbol herein
"/" indicates that affiliated partner is relationship such as A/B expression A or B perhaps.
Term " first " and " second " in description and claims of this specification etc. are for distinguishing different pairs
As, rather than it is used for the particular order of description object.For example, the first brightness value and the second brightness value etc. are different for distinguishing
Brightness value, rather than the particular order for describing brightness value.
In embodiments of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.This
Be described as in inventive embodiments " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as comparing
Other embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words purport
Related notion is being presented in specific ways.
In the description of the embodiment of the present invention, unless otherwise indicated, the meaning of " plurality " is refer to two or more,
For example, multiple processing units refer to two or more processing unit etc..
Some nouns or term involved in claims of the present invention and specification are explained first below
Explanation.
The display screen of first brightness value involved in the embodiment of the present invention (i.e. the brightness value of terminal local environment) and terminal
The second brightness value, these brightness values each mean the value of brightness.
Brightness: indicate that human eye is practical to the luminous intensity of luminous object or to the reflective intensity on irradiated object surface
The physical quantity of impression, unit are " candela/square metre ".
It should be noted that using brightness as parameter of measurement for example, can also adopt certainly in the embodiment of the present invention
With other physical quantitys (such as luminous intensity or illumination etc.), can specifically be determined according to actual use demand, the embodiment of the present invention
It is not construed as limiting.
Light filling: the brightness value of terminal local environment is adjusted by the brightness value of the display screen of adjusting terminal, so as to end
Local environment blast or dim is held, and then realizes and light filling is carried out to terminal local environment.For example, in the brightness of terminal local environment
It, can be to the blast of terminal local environment (i.e. increase light exposure) when being worth smaller (i.e. the dark of terminal local environment).At end
Hold local environment brightness value larger (i.e. the light trial of strength of terminal local environment) when, can it is dim to terminal local environment (i.e.
Reduce light exposure).
The embodiment of the present invention provides a kind of brightness adjusting method and terminal, can terminal the first display screen display it is pre-
Look at image (such as when shooting) or acquisition user face-image with for the first display screen carry out recognition of face (such as
When unlock or payment) in the case where, the first brightness value is obtained, which is the brightness value of terminal local environment;And
In the case that first brightness value is not within the scope of predetermined luminance value, it is bright that the second brightness value of second display screen is adjusted to target
Angle value;Wherein, after the second brightness value of second display screen being adjusted to target brightness value, the first brightness value is in predetermined luminance
It is worth in range.With this solution, preview image is shown in the first display screen of terminal or carry out face knowledge for the first display screen
In other situation, due to can (i.e. the brightness value of terminal local environment be not at than darker or brighter in terminal local environment
Within the scope of predetermined luminance value) when, by adjust terminal second display screen brightness value adaptively to adjust ring locating for terminal
The brightness value in border, therefore can reach and light filling is carried out to terminal local environment by second display screen, to realize to be captured right
As light filling, so that the preview image of the first display screen display or acquisition when carrying out recognition of face for the first display screen
User face-image it is clearer.In this way, since second display screen is to treat reference object light filling as area source, because
This can make the distribution for the light being radiated on object to be captured more uniform, so as to improve shooting to a certain extent
Effect.
Terminal in the embodiment of the present invention can be the terminal with operating system.The operating system can be Android
(Android) operating system can be ios operating system, can also be other possible operating systems, the embodiment of the present invention is not
Make specific limit.
Below by taking Android operation system as an example, introduce applied by brightness adjusting method provided in an embodiment of the present invention
Software environment.
As shown in Figure 1, being a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention.Scheming
In 1, the framework of Android operation system includes 4 layers, be respectively as follows: application layer, application framework layer, system Runtime Library layer and
Inner nuclear layer (is specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation system
Tripartite's application program).
Application framework layer is the frame of application program, and developer can be in the exploitation for the frame for abiding by application program
In the case where principle, some application programs are developed based on application framework layer.
System Runtime Library layer includes library (also referred to as system library) and Android operation system running environment.Library is mainly Android behaviour
As system it is provided needed for all kinds of resources.Android operation system running environment is used to provide software loop for Android operation system
Border.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interior
Stratum nucleare provides core system service and hardware-related driver based on linux kernel for Android operation system.
By taking Android operation system as an example, in the embodiment of the present invention, developer can be based on above-mentioned Android as shown in Figure 1
The software program of brightness adjusting method provided in an embodiment of the present invention is realized in the system architecture of operating system, exploitation, so that
The brightness adjusting method can be run based on Android operation system as shown in Figure 1.I.e. processor or terminal can by
The software program is run in Android operation system realizes brightness adjusting method provided in an embodiment of the present invention.
Terminal in the embodiment of the present invention can be mobile terminal, or immobile terminal.Illustratively, mobile whole
End can be mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device, super mobile personal meter
Calculation machine (ultra-mobile personal computer, UMPC), net book or personal digital assistant (personal
Digital assistant, PDA) etc., immobile terminal can be personal computer (personal computer, PC), electricity
Depending on machine (television, TV), automatic teller machine or self-service machine etc., the embodiment of the present invention is not especially limited.
The executing subject of brightness adjusting method provided in an embodiment of the present invention can be above-mentioned terminal, or the end
It can be realized the functional module and/or functional entity of the brightness adjusting method in end, it specifically can be according to actual use demand
It determines, the embodiment of the present invention is not construed as limiting.Below by taking terminal as an example, brightness adjusting method provided in an embodiment of the present invention is carried out
Illustrative explanation.
As shown in Fig. 2, the embodiment of the present invention provides a kind of brightness adjusting method, which can be applied to end
End, which may include the first display screen and second display screen, which may include following S200-
S203。
S200, terminal determine that goal condition has met.
Wherein, above-mentioned goal condition can be in the face figure of the first display screen display preview image or acquisition user
Picture.Wherein, which can be used for carrying out recognition of face for the first display screen.
In the embodiment of the present invention, in a kind of implementation, screen display preview image is shown first when terminal is detected
When, terminal can determine that goal condition has met.Specifically, terminal can be in the first display in the shooting of user's using terminal
Screen display preview image, the preview image refer to the picture to be captured of user's using terminal preview, so that user can be
Preview image is seen on first display screen.By taking user's using terminal self-timer as an example, terminal can be used in the first display screen display
The expression and movement at family, so that user can see oneself expression and movement on the first display screen.
In another implementation, when terminal detects that terminal is acquiring the face-image of user (such as face
Identification) when, terminal can determine that goal condition has met.Specifically, when user operates on the first display screen of terminal (such as
The operation of unlock or payment is realized by face identification functions) when, terminal can be in the face of the first display screen display user
Image, or the first prompt information in the first display screen display being used to that user to be prompted to carry out recognition of face, so that user can
To see the face-image or the first prompt information of user on the first display screen.With the recognition of face function of user's using terminal
It is able to achieve for unlocking screen, terminal can be used to prompt to acquire the face-image of user in the first display screen display
Second prompt information, and in the case where the face-image of the user of acquisition meets pre-stored face-image, terminal can
To unlock successful third prompt information to user display screen curtain.
In the embodiment of the present invention, if terminal detects that above-mentioned goal condition has met, terminal can continue to execute following
S201.
S201, terminal obtain the first brightness value.
Wherein, above-mentioned first brightness value is the brightness value of terminal local environment.
In the embodiment of the present invention, the case where showing screen display preview image first or acquire the face-image of user
Under, the brightness value of the available terminal local environment of terminal, i.e., the first above-mentioned brightness value.
Optionally, in the embodiment of the present invention, terminal can obtain the first brightness value by light sensor.Light sensor
Also referred to as brightness impression device is capable of the light luminance of perception terminal local environment, is used to indicate ring locating for terminal to obtain
First brightness value of the brightness in border, and the signal comprising first brightness value is sent to the processing chip of terminal, by processing core
Piece adjusts the second brightness value of the display screen (such as second display screen) of terminal according to the first brightness value, thus to realize to terminal
The light filling of place environment, and then optimal visual effect is brought to user.In this way, since second as area source can be passed through
Display screen carries out light filling to terminal local environment, to realize the purpose for treating reference object light filling, therefore enables to be radiated at
The distribution of the light on object to be captured in the environment is more uniform, so as to improve shooting effect to a certain extent.
S202, terminal judge whether the first brightness value is within the scope of predetermined luminance value.
In the embodiment of the present invention, if terminal determines the first brightness value, (being denoted as L below) is not within the scope of predetermined luminance value,
Then terminal can continue to execute following S203;If terminal determines that the first brightness value is within the scope of predetermined luminance value, terminal
It can return and continue to execute above-mentioned S201.
In the embodiment of the present invention, above-mentioned predetermined luminance value may range from the closed interval of [a, b].Illustratively, if a≤L
≤ b, then the first brightness value is within the scope of predetermined luminance value;If L<a or L>b, the first brightness value is not at predetermined luminance value
In range.
Optionally, in the embodiment of the present invention, above-mentioned predetermined luminance value range be can also be open interval (such as (a, b)), or
Person's half-open intervals (such as [a, b) or (a, b]), it can specifically be determined according to actual use demand, the embodiment of the present invention
It is not construed as limiting.
Optionally, in the embodiment of the present invention, above-mentioned predetermined luminance value range can be that system is pre-set to be suitable for using
The range of the brightness value of the shooting of family using terminal or progress recognition of face can specifically determine, this hair according to actual use demand
Bright embodiment is not construed as limiting.
Second brightness value of second display screen is adjusted to target brightness value by S203, terminal.
Wherein, after the second brightness value of second display screen being adjusted to target brightness value, the first brightness value be may be at
Within the scope of above-mentioned predetermined luminance value.I.e. the target brightness value can be understood as second display screen and carry out light filling to terminal local environment
Effect it is relatively good when second display screen brightness value.
In the embodiment of the present invention, after terminal can be not within the scope of predetermined luminance value determining the first brightness value, from
It is dynamic that second brightness value of second display screen is adjusted to target brightness value.Illustratively, it is opened when the camera in terminal is in
State, and display screen light filling function it is in the open state under when, terminal can pass through light sensor obtain terminal local environment
Brightness value (i.e. the first brightness value), when the brightness value of terminal local environment is not within the scope of predetermined luminance value (such as less than
First luminance threshold is higher than the second luminance threshold) when, the second brightness value of second display screen is adjusted to target automatically by terminal
Brightness value.Certainly, terminal may also respond to the input of user at the terminal, adjust the second display according to the demands of individuals of user
Second brightness value of screen.It can specifically be determined according to actual use demand, the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, terminal can obtain the first brightness value and judge the first brightness in real time (or periodically)
Whether value is within the scope of predetermined luminance value.Illustratively, terminal judge after obtaining the first brightness value the first brightness value whether
Within the scope of predetermined luminance value, in the case where terminal judges that the first brightness value is not within the scope of predetermined luminance value, terminal can be with
Second brightness value of second display screen is adjusted into preset magnitude (such as Δ 1).Correspondingly, the first brightness value is (i.e. locating for terminal
The brightness value of environment) also changing a certain amount value with the variation of the second brightness value, (such as Δ 2, Δ 2 are approximately equal to Δ
1).Then, terminal obtains the first brightness value again, and judges the first brightness value whether within the scope of predetermined luminance value, in terminal
In the case where judging that the first brightness value is within the scope of predetermined luminance value, indicate that the second brightness value is adjusted to target by terminal
Brightness value.That is, the second brightness value can be increased or decreased preset magnitude by terminal step by step, until the first brightness value
Within the scope of predetermined luminance value.Wherein, above-mentioned preset magnitude can specifically determine that the present invention is real according to actual use demand
Example is applied to be not construed as limiting.
It should be noted that illustrating terminal by second display screen in the embodiment of the present invention by taking the process of Primary regulation as an example
Second brightness value is adjusted to the process of target brightness value.It is appreciated that in actual implementation, terminal can be by repeatedly adjusting
Second brightness value of second display screen is adjusted to target brightness value by journey, so that the first brightness value (i.e. ring locating for terminal
The brightness value in border) it may be within the scope of predetermined luminance value, and then realize the light filling to terminal local environment, to reach preferable
Shooting effect.
In the embodiment of the present invention, the first display screen can be the main screen (front that the main screen can be located at terminal) of terminal,
Second display screen can be the vice screen (back side that the vice screen can be located at terminal) of terminal;Or first display screen can be terminal
Vice screen, second display screen can be terminal main screen.Specifically it can determine that the embodiment of the present invention is not according to actual use demand
It limits.
The embodiment of the present invention can be applied in the various scenes of the camera of user's using terminal.For example, user uses
The scene of the camera shooting (such as self-timer or non-self-timer) of terminal, the camera of user's using terminal scans the two-dimensional code or bar shaped
The scene of code etc. and the camera of user's using terminal carry out recognition of face with the scene for unlocking screen or payment.Under
Face is using the first display screen as the main screen of terminal and the main screen is located at the front (hereinafter referred to as positive main screen) of terminal, the second display
Screen is the vice screen of terminal and the vice screen is located at for the back side (hereinafter referred to as back side vice screen) of terminal, illustrates the present invention reality
The brightness adjusting method of example offer is provided.
Illustratively, in the dark of terminal local environment, if user's using terminal self-timer, user can be with
Triggering carries out light filling to terminal local environment using positive main screen live preview shooting picture, and using back side vice screen.Specifically,
Second brightness value of second display screen can be adjusted to target brightness value (Primary regulation or repeatedly adjusting) by terminal, and incited somebody to action
Second brightness value of second display screen is adjusted to after target brightness value, and terminal can reacquire the first brightness value, then again
In the case where the first brightness value is within the scope of above-mentioned predetermined luminance value, user can be by observing preview image perception in real time
Shooting effect, when user sees the shooting effect of oneself satisfaction, user can be clapped by pressing the modes such as shooting key to trigger
Event is taken the photograph, such terminal can control the image of camera acquisition user after the shooting event for detecting user's triggering, from
And complete the process of user's self-timer.
It is again illustrative, in the dark of terminal local environment, if user's using terminal scans the two-dimensional code or item
When shape code, then user, which can trigger, shows scan box and relevant information using positive main screen, and using back side vice screen to terminal
Local environment carries out light filling.
It is illustrative again, in the dark of terminal local environment, if user's using terminal carry out recognition of face with
When payment, then user, which can trigger, shows payment interface using positive main screen, and light filling is carried out to environment using back side vice screen.
Brightness adjusting method provided in an embodiment of the present invention can show screen display preview image in the first of terminal
The face-image of (such as when shooting) or acquisition user with for the first display screen carry out recognition of face (such as in unlock or
When payment) in the case where, the first brightness value is obtained, which is the brightness value of terminal local environment;And it is bright first
In the case that angle value is not within the scope of predetermined luminance value, the second brightness value of second display screen is adjusted to target brightness value;
Wherein, after the second brightness value of second display screen being adjusted to target brightness value, the first brightness value is in predetermined luminance value model
In enclosing.With this solution, preview image is shown in the first display screen of terminal or carry out recognition of face for the first display screen
In the case of, due to can (i.e. the brightness value of terminal local environment be not at default than darker or brighter in terminal local environment
In range of luminance values) when, by adjust terminal second display screen brightness value adaptively to adjust terminal local environment
Brightness value, therefore can reach and light filling is carried out to terminal local environment by second display screen, to realize that treating reference object mends
Light so that first display screen display preview image or for the first display screen carry out recognition of face when acquisition use
The face-image at family is clearer.In this way, since second display screen is to treat reference object light filling as area source, it can
So that the distribution for the light being radiated on object to be captured is more uniform, so as to improve shooting effect to a certain extent
Fruit.
Optionally, before S203, brightness adjusting method provided in an embodiment of the present invention can also include following S204.
S204, terminal displaying target image on a second display.
Wherein, above-mentioned target image can be monochrome image.
In the embodiment of the present invention, target image refers to the image for carrying out light filling to terminal local environment (alternatively referred to as
Light filling image).The target image can be high-brghtness picture images or low-luminosity picture.Specifically, high-brghtness picture images can be any
The high brightness monochrome image of color, such as high brightness white image;It is also possible to the high brightness being spliced by different colours color lump
Image;It can also be the figuratum high-brghtness picture images of tool.Low-luminosity picture can be the low-light level monochrome image of random color, example
Such as low-light level black image;It is also possible to the low-luminosity picture being spliced by different colours color lump;It can also be that tool is figuratum
Low-luminosity picture can specifically determine that the embodiment of the present invention is not construed as limiting according to actual use demand.In addition, the present invention is implemented
The specific brightness value of target image is not construed as limiting in example.
It is appreciated that above-mentioned high-brghtness picture images are used for the blast of terminal local environment (i.e. increase light exposure);It is above-mentioned low bright
Image is spent for (i.e. reduction light exposure) dim to terminal local environment.Pass through the displaying target figure on the second display screen of terminal
Picture, the light that second display screen can be enabled to issue is irradiated to object to be captured, to treat reference object blast or subtract
It is bright, and then realize and treat reference object light filling.
Illustratively, in the embodiment of the present invention, starting camera applications is triggered in user and open display screen light filling function
In the case of, terminal can show screen display preview image, and displaying target image on a second display first.Such as
This, can show the effect carried out by second display screen to terminal local environment after light filling, in turn on the first display screen
So that user's more intuitively preview object to be captured.
Optionally, above-mentioned unlatching display screen light filling function can be opened by user's triggering terminal, can also be detected in terminal
Automatic opening when being unsatisfactory for condition to the brightness value (the first i.e. above-mentioned brightness value) of terminal local environment.It specifically can be according to reality
Border use demand determines that the embodiment of the present invention is not construed as limiting.
Optionally, in conjunction with Fig. 2, as shown in figure 3, above-mentioned S203 specifically can be by following in the embodiment of the present invention
S203a and S203b is realized.
S203a, the first brightness value be less than first threshold (being denoted as a below) in the case where (L < a as shown in Figure 3),
Second brightness value is increased to target brightness value by terminal.
S203b, the first brightness value L be greater than second threshold (being denoted as b below) in the case where (L > b as shown in Figure 3),
Second brightness value is decreased to target brightness value by terminal.
Wherein, first threshold can be the lower limit value of above-mentioned predetermined luminance value range, and second threshold can be above-mentioned default
The upper limit value of range of luminance values.
Illustratively, in the embodiment of the present invention, as shown in Figure 3, it is assumed that above-mentioned predetermined luminance value range is the closed zone of [a, b]
Between, wherein a is the lower limit value of predetermined luminance value range, and b is the upper limit value of predetermined luminance value range, the L<a or L>b the case where
Under, indicate that the first brightness value is not within the scope of predetermined luminance value.
In the case where L < a, indicate that the brightness value of terminal local environment is smaller (i.e. the dark of terminal local environment),
It is unfavorable for the shooting of user's using terminal or carries out recognition of face, thus needs to increase the brightness value of terminal local environment.This hair
Bright embodiment can be by increasing to target brightness value for the second brightness value of second display screen, so that the first brightness value is (i.e.
The brightness value of terminal local environment) also increase accordingly, when the first brightness value is within the scope of predetermined luminance value, indicate terminal
The light of local environment is brighter, so can be improved the shooting effect of user's using terminal shooting or improves progress recognition of face
Accuracy.
In the case where L > b, indicate that the brightness value of terminal local environment is larger (i.e. the light of terminal local environment is brighter),
It is unfavorable for the shooting of user's using terminal or carries out recognition of face, thus needs to reduce the brightness value of terminal local environment.This hair
Bright embodiment can be by being decreased to target brightness value for the second brightness value of second display screen, so that the first brightness value is (i.e.
The brightness value of terminal local environment) also corresponding reduction, when the first brightness value is within the scope of predetermined luminance value, expression terminal
The bright-dark degree of the light of local environment is in normal range (NR), so can be improved user's using terminal shooting shooting effect or
Improve the accuracy for carrying out recognition of face.
In general, different objects have different reflection coefficient or absorption coefficient to light.For example, reflection system of the white image to light
Number is larger, and about the 20% of incident light quantity can be absorbed, reflect about the 80% of incident light quantity;Absorption coefficient of the black image to light
It is larger, about the 97% of incident light quantity can be absorbed, reflect about the 3% of incident light quantity.
Specifically, in the embodiment of the present invention, in the case where L < a, since the brightness value of terminal local environment is smaller (i.e. eventually
Hold the dark of local environment), it needs to increase the brightness value of terminal local environment, therefore terminal can be in second display screen
On be displayed in white image (i.e. above-mentioned target image), due to white image can preferably reflection light, increase can be passed through
The brightness value of the white image shown on second display screen effectively increases the brightness value of terminal local environment.L > b the case where
Under, since the brightness value of terminal local environment is larger (i.e. the light of terminal local environment is brighter), need terminal local environment
Brightness value reduce, therefore terminal can show dark images (such as black image) on a second display, since dead color is schemed
As can preferably absorb light, therefore can be by the brightness value of the dark images shown on reduction second display screen, effectively
Reduce the brightness value of terminal local environment.
Optionally, before above-mentioned S203, brightness adjusting method provided in an embodiment of the present invention can also include following
S205。
S205, terminal obtain angle value.
Wherein, above-mentioned angle value can angle between the first plane and the second plane, the first plane can be for wait clap
The plane where the line between the central point of object and the central point of second display screen is taken the photograph, the second plane can be the second display
Plane where shielding.
In the embodiment of the present invention, as shown in figure 4, the central point O of object to be captured1With the central point O of second display screen2It
Between line where plane be the first plane (be denoted as P1), the plane where second display screen is that the second plane (is denoted as P2), the
One plane P1With the second plane P2Between angle be α, the angle value of the available angle α of terminal.The angle value of the angle α can
Positional relationship when with for indicating user's using terminal between second display screen and object to be captured.
Illustratively, when α is equal to 90 °, plane does not have deflection relative to object to be captured where indicating second display screen,
Thus when the second display screen by terminal carries out light filling to terminal local environment, the light that second display screen issues can be equal
It is even to be irradiated on object to be captured.It is appreciated that carrying out light filling to terminal local environment by the second display screen of terminal at this time
Effect not will receive the influence of α, therefore α can be ignored during adjusting the brightness value of second display screen.
It should be noted that being equal to 90 ° of illustrations in the embodiment of the present invention with α.Theoretically α can be 90 °, actually
α can in [90 °-Δ, 90 °+Δ] range, wherein Δ be relative to 90 ° of very small error amounts, for example, Δ can be 3 °,
It can specifically be determined according to actual use demand, the embodiment of the present invention is not construed as limiting.
Again illustrative, in the case that α is not equal to 90 °, plane is relative to be captured right where indicating second display screen
As there is deflection, thus when the second display screen by terminal carries out light filling to terminal local environment, what second display screen issued
Light is irradiated on object to be captured, it is possible that the non-uniform phenomenon of light and shade.It is appreciated that passing through the second of terminal at this time
The effect that display screen carries out light filling to terminal local environment may be subjected to the influence of α, therefore adjust the bright of second display screen
It needs to consider α during angle value.
Optionally, in the embodiment of the present invention, above-mentioned S203 can specifically be realized by following S203c.
S203c, angle model is not in the angle value that the first brightness value is not at predetermined luminance value range and terminal acquisition
In the case where enclosing, the second brightness value is adjusted to target brightness value by terminal.
In the embodiment of the present invention, above-mentioned angular range can be [90 °-Δ, 90 °+Δ], and wherein Δ is non-relative to 90 °
Often small error amount.Predetermined luminance value range (i.e. the dark of terminal local environment) and α are not in the first brightness value
When angle value is not at angular range (i.e. plane where second display screen has deflection relative to object to be captured), terminal difference
In terms of integrally-regulated brightness (hereinafter referred to coarse adjustment) and according to angle value adjusting brightness (hereinafter referred to accurate adjustment) two, by the
Two brightness values are adjusted to target brightness value.The embodiment of the present invention can be during carrying out light filling to environment on the basis of coarse adjustment
On remake accurate adjustment so that the distribution for the light being radiated on object to be captured is more uniform, so as to improve shooting effect.
Optionally, it in the embodiment of the present invention, when terminal adjusts the brightness value of second display screen according to above-mentioned angle value, adjusts
Target brightness value after section may include at least one sub- brightness value.
Illustratively, in the embodiment of the present invention, above-mentioned S203c can specifically be realized by following S203d.
S203d, angle model is not in the angle value that the first brightness value is not at predetermined luminance value range and terminal acquisition
In the case where enclosing, terminal by second brightness value in each region at least one region on second display screen be adjusted to respectively to
A sub- brightness value in a few sub- brightness value.
Wherein, with the increase of the distance between the central point of each region and object to be captured, each region is corresponding
Sub- brightness value is sequentially increased.
In the embodiment of the present invention, second display screen may include M*N element, wherein each element corresponds to a sub- brightness
Value, thus at least one above-mentioned sub- brightness value may include M*N sub- brightness values, wherein M and N is positive integer.Assuming that in M row
The corresponding region (i.e. second display screen includes M region) of every a line, and sub- brightness value (i.e. each area in each region
The corresponding sub- brightness value of N number of element in domain) it is equal, it is described in detail on the basis of above-mentioned hypothesis according to above-mentioned angle below
Value adjusts the process of the brightness value of second display screen.
Illustratively, as shown in figure 5, α is not equal to 90 °, plane is relative to object to be captured where indicating second display screen
There are deflection, and the central point O of object to be captured1To the central point X of one end (hereinafter referred to as top) of second display screen1Between
Distance (be denoted as O1X1) it is less than the central point O of object to be captured1Into the other end (hereinafter referred to as bottom end) of second display screen
Heart point X2The distance between (be denoted as O1X2).The angle value that predetermined luminance value range and terminal obtain is not in the first brightness value
In the case where being not at angular range, terminal can be by second brightness value in each region in M region on second display screen
A sub- brightness value being adjusted in M sub- brightness values respectively.Wherein, along from the top of second display screen to the direction of bottom end
(i.e. along from X1To X2Direction), with second display screen each region and object to be captured the distance between central point
Increase, the corresponding sub- brightness value in each region is sequentially increased.That is, the corresponding sub- brightness value in region locating for top is most
Small, the corresponding sub- brightness value in region locating for bottom end is maximum, can so make the center in second display screen with object to be captured
It is relatively fewer that reference object light filling is treated in the close region of point in light filling, and make in second display screen with object to be captured
To treat reference object light filling in light filling relatively more in central point separate region, uniformly mended to realize and treat reference object
The effect of light.
Optionally, in the embodiment of the present invention, it is less than the angle value that first threshold and terminal obtain in the first brightness value and does not locate
In the case where angular range, terminal can increase to corresponding second brightness value in each region on second display screen respectively
A sub- brightness value at least one sub- brightness value, wherein on second display screen between the central point of object to be captured
The corresponding sub- brightness value in the smallest region of distance (such as region locating for top as shown in Figure 5) it is corresponding with respect to other regions
Sub- brightness value is minimum, and the sub- brightness value is greater than the second brightness value.
Optionally, in the embodiment of the present invention, do not locate in the angle value that the first brightness value is greater than second threshold and terminal obtains
In the case where angular range, terminal corresponding second brightness value in each region on second display screen can be respectively reduced to
A sub- brightness value at least one sub- brightness value, wherein on second display screen between the central point of object to be captured
The corresponding sub- brightness value in the maximum region of distance (such as region locating for bottom end as shown in Figure 5) it is corresponding with respect to other regions
Sub- brightness value is maximum, and the sub- brightness value is less than the second brightness value.
Optionally, in the embodiment of the present invention, above-mentioned M*N sub- brightness values can be identical, can be entirely different, can also
It is identical with part.It can specifically be determined according to actual use demand, the embodiment of the present invention is not construed as limiting.
Illustratively, in the embodiment of the present invention, predetermined luminance value range is not in the first brightness value and angle value is in
In the case where angular range, during the second brightness value is adjusted to target brightness value by terminal, due to passing through the of terminal
The effect that two display screens carry out light filling to terminal local environment not will receive the influence of the angle value, therefore in this case, on
The M*N sub- brightness values stated at least one sub- brightness value can be identical.
Illustratively, in the embodiment of the present invention, predetermined luminance value range is not in the first brightness value and angle value is not located
In the case where angular range, during the second brightness value is adjusted to target brightness value by terminal, due to passing through terminal
The effect that second display screen carries out light filling to terminal local environment may be subjected to the influence of the angle value, therefore such case
Under, M*N at least one above-mentioned sub- brightness value sub- brightness values can entirely different or part it is identical.
In the embodiment of the present invention, pass through coarse adjustment when having deflection relative to object to be captured for plane where second display screen
Treat reference object light filling may non-uniform situation, can by according to above-mentioned angle value by each region of second display screen
The second brightness value to adjust (i.e. accurate adjustment) respectively be different sub- brightness values, treat the effect of the uniform light filling of reference object to realize
Fruit.
As shown in fig. 6, the embodiment of the present invention provides a kind of terminal 300, which may include the first display screen and
Two display screens, the terminal 300 can also include obtaining module 301 and adjustment module 302.
Module 301 is obtained, for obtaining the first brightness value, which can in the case where meeting goal condition
Think that the brightness value of terminal local environment, goal condition can be in the first display screen display preview image or acquisition use
The face-image at family, the face-image can be used for carrying out recognition of face for the first display screen;Adjustment module 302 is used for
In the case that the first brightness value that acquisition module 301 obtains is not within the scope of predetermined luminance value, by the second of second display screen
Brightness value is adjusted to target brightness value;Wherein, after the second brightness value of second display screen being adjusted to target brightness value, first
Brightness value may be within the scope of predetermined luminance value.
Optionally, in the embodiment of the present invention, adjustment module 302, specifically for being less than first threshold in the first brightness value
In the case of, the second brightness value is increased into target brightness value;Alternatively, in the case where the first brightness value is greater than second threshold, it will
Second brightness value is decreased to target brightness value;Wherein, first threshold can be the lower limit value of predetermined luminance value range, second threshold
It can be the upper limit value of predetermined luminance value range.
Optionally, in the embodiment of the present invention, module 301 is obtained, is also used to the of second display screen in adjustment module 302
Two brightness values are adjusted to before target brightness value, obtain angle value, folder of the angle value between the first plane and the second plane
Angle, the plane where line of first plane between the central point of object to be captured and the central point of second display screen, second
Plane is the plane where second display screen;Adjustment module 302, specifically for being not at predetermined luminance value model in the first brightness value
It encloses and in the case that angle value is not at angular range, the second brightness value is adjusted to target brightness value.
Optionally, in the embodiment of the present invention, target brightness value may include at least one sub- brightness value.
Optionally, in the embodiment of the present invention, adjustment module 302, specifically for being not at predetermined luminance in the first brightness value
In the case that value range and angle value are not at angular range, by each region at least one region on second display screen
The second brightness value be adjusted to a sub- brightness value at least one sub- brightness value respectively;Wherein, with each region with to
The increase of the distance between the central point of reference object, the corresponding sub- brightness value in each region can be sequentially increased.
Optionally, in conjunction with Fig. 6, with reference to Fig. 7, terminal 300 provided in an embodiment of the present invention can also include display module
303。
Display module 303 is also used to that second brightness value of second display screen is adjusted to object brightness in adjustment module 302
Before value, displaying target image, the target image can be monochrome image on a second display.
Terminal provided in an embodiment of the present invention can be realized each process that terminal is realized in above method embodiment, to keep away
Exempt to repeat, which is not described herein again.
The embodiment of the present invention provides a kind of terminal, which can show screen display preview image in the first of terminal
The face-image of (such as when shooting) or acquisition user with for the first display screen carry out recognition of face (such as in unlock or
When payment) in the case where, the first brightness value is obtained, which is the brightness value of terminal local environment;And it is bright first
In the case that angle value is not within the scope of predetermined luminance value, the second brightness value of second display screen is adjusted to object brightness by terminal
Value;Wherein, after the second brightness value of second display screen being adjusted to target brightness value, the first brightness value is in predetermined luminance value
In range.With this solution, preview image is shown in the first display screen of terminal or carry out recognition of face for the first display screen
In the case where, since terminal can (i.e. the brightness value of terminal local environment not be located than darker or brighter in terminal local environment
In within the scope of predetermined luminance value) when, by adjust terminal second display screen brightness value adaptively to adjust locating for terminal
The brightness value of environment, therefore terminal can reach through second display screen to terminal local environment progress light filling, be treated with realizing
Reference object light filling, so that first shows the preview image of screen display or carry out recognition of face for the first display screen
When the face-image of user that acquires it is clearer.In this way, since second display screen is to treat reference object as area source to mend
Light, therefore the distribution for the light being radiated on object to be captured can be made more uniform, so as to a certain extent
Improve shooting effect.
A kind of hardware structural diagram of Fig. 8 terminal of each embodiment to realize the present invention.As shown in figure 8, the terminal
800 include but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, sensor
805, display unit 806, user input unit 807, interface unit 808, memory 809, processor 810 and power supply 811 etc.
Component.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 8, terminal can be with
Including perhaps combining certain components or different component layouts than illustrating more or fewer components.In the embodiment of the present invention
In, terminal include but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device and
Pedometer etc..
Wherein, processor 810, for obtaining the first brightness value, first brightness value in the case where meeting goal condition
For the brightness value of terminal local environment, above-mentioned goal condition is in the first display screen display preview image or to acquire user's
Face-image, the face-image are used to carry out recognition of face for the first display screen;And it is not in the first brightness value default
In the case where in range of luminance values, the second brightness value of second display screen is adjusted to target brightness value;Wherein, by the second display
Second brightness value of screen is adjusted to after target brightness value, and the first brightness value is within the scope of predetermined luminance value.
The embodiment of the present invention provides a kind of terminal, which can show screen display preview image in the first of terminal
The face-image of (such as when shooting) or acquisition user with for the first display screen carry out recognition of face (such as in unlock or
When payment) in the case where, the first brightness value is obtained, which is the brightness value of terminal local environment;And it is bright first
In the case that angle value is not within the scope of predetermined luminance value, the second brightness value of second display screen is adjusted to object brightness by terminal
Value;Wherein, after the second brightness value of second display screen being adjusted to target brightness value, the first brightness value is in predetermined luminance value
In range.With this solution, preview image is shown in the first display screen of terminal or carry out recognition of face for the first display screen
In the case where, since terminal can (i.e. the brightness value of terminal local environment not be located than darker or brighter in terminal local environment
In within the scope of predetermined luminance value) when, by adjust terminal second display screen brightness value adaptively to adjust locating for terminal
The brightness value of environment, therefore terminal can reach through second display screen to terminal local environment progress light filling, be treated with realizing
Reference object light filling, so that first shows the preview image of screen display or carry out recognition of face for the first display screen
When the face-image of user that acquires it is clearer.In this way, since second display screen is to treat reference object as area source to mend
Light, therefore the distribution for the light being radiated on object to be captured can be made more uniform, so as to a certain extent
Improve shooting effect.
It should be understood that the embodiment of the present invention in, radio frequency unit 801 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 810 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 801 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 801 can also by wireless communication system and network and other set
Standby communication.
Terminal provides wireless broadband internet by network module 802 for user and accesses, and such as user is helped to receive and dispatch electricity
Sub- mail, browsing webpage and access streaming video etc..
Audio output unit 803 can be received by radio frequency unit 801 or network module 802 or in memory 809
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 803 can also provide and end
The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 800 executes.Sound
Frequency output unit 803 includes loudspeaker, buzzer and receiver etc..
Input unit 804 is for receiving audio or video signal.Input unit 804 may include graphics processor
(graphics processing unit, GPU) 8041 and microphone 8042, graphics processor 8041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 806.Through graphics processor 8041, treated that picture frame can be deposited
Storage is sent in memory 809 (or other storage mediums) or via radio frequency unit 801 or network module 802.Mike
Wind 8042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 801 is converted in the case where telephone calling model.
Terminal 800 further includes at least one sensor 805, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjusts the brightness of display panel 8061, and proximity sensor can close display panel when terminal 800 is moved in one's ear
8061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 805 can be with
Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer,
Infrared sensor etc., details are not described herein.
Display unit 806 is for showing information input by user or being supplied to the information of user.Display unit 806 can wrap
Display panel 8061 is included, liquid crystal display (liquid crystal display, LCD), Organic Light Emitting Diode can be used
Forms such as (organic light-emitting diode, OLED) configure display panel 8061.
User input unit 807 can be used for receiving the number or character information of input, and generates and set with the user of terminal
It sets and the related key signals of function control inputs.Specifically, user input unit 807 include touch panel 8071 and other
Input equipment 8072.Touch panel 8071, also referred to as touch screen, collect user on it or nearby touch operation (such as
User is using any suitable objects or attachment such as finger, stylus on touch panel 8071 or near touch panel 8071
Operation).Touch panel 8071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 810, receives processor 810
The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch panel 8071.In addition to touch panel 8071, user input unit 807 can also include other input equipments 8072.
Specifically, other input equipments 8072 can include but is not limited to physical keyboard, function key (such as volume control button, switch
Key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 8071 can be covered on display panel 8061, when touch panel 8071 is detected at it
On or near touch operation after, send processor 810 to determine the type of touch event, be followed by subsequent processing device 810 according to touching
The type for touching event provides corresponding visual output on display panel 8061.Although in fig. 8, touch panel 8071 and display
Panel 8061 is the function that outputs and inputs of realizing terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of terminal is realized so that touch panel 8071 and display panel 8061 is integrated, is not limited herein specifically
It is fixed.
Interface unit 808 is the interface that external device (ED) is connect with terminal 800.For example, external device (ED) may include it is wired or
Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port,
For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification module
Etc..Interface unit 808 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will
One or more elements that the input received is transferred in terminal 800 or can be used for terminal 800 and external device (ED) it
Between transmit data.
Memory 809 can be used for storing software program and various data.Memory 809 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 809 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 810 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to
It crosses operation or executes the software program and/or module being stored in memory 809, and call and be stored in memory 809
Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 810 may include one
Or multiple processing units;Optionally, processor 810 can integrate application processor and modem processor, wherein application processing
The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage
Solution, above-mentioned modem processor can not also be integrated into processor 810.
Terminal 800 can also include the power supply 811 (such as battery) powered to all parts, and optionally, power supply 811 can be with
It is logically contiguous by power-supply management system and processor 810, thus by power-supply management system realize management charging, electric discharge, with
And the functions such as power managed.
In addition, terminal 800 includes some unshowned functional modules, details are not described herein.
Optionally, the embodiment of the present invention also provides a kind of terminal, including processor 810 as shown in Figure 8, memory 809,
It is stored in the computer program that can be run on memory 809 and on the processor 810, the computer program is by processor
810 realize each process of above-mentioned brightness adjusting method embodiment when executing, and can reach identical technical effect, to avoid weight
Multiple, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned brightness adjusting method embodiment, and energy when being executed by processor
Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, which may include
Read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic
Dish or CD etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (11)
1. a kind of brightness adjusting method is applied to terminal, which is characterized in that the terminal includes the first display screen and the second display
Screen, which comprises
In the case where meeting goal condition, the first brightness value is obtained, first brightness value is the terminal local environment
Brightness value, the goal condition are the face-image in the first display screen display preview image or acquisition user, institute
State face-image for for first display screen progress recognition of face;
In the case where first brightness value is not within the scope of predetermined luminance value, by the second brightness of the second display screen
Value is adjusted to target brightness value;
Wherein, after second brightness value of the second display screen being adjusted to the target brightness value, described first is bright
Angle value is within the scope of the predetermined luminance value.
2. the method according to claim 1, wherein described be not at predetermined luminance value in first brightness value
In the case where in range, the second brightness value of the second display screen is adjusted to target brightness value, comprising:
In the case where first brightness value is less than first threshold, second brightness value is increased into the object brightness
Value;
In the case where first brightness value is greater than second threshold, second brightness value is decreased to the object brightness
Value;
Wherein, the first threshold is the lower limit value of the predetermined luminance value range, and the second threshold is the predetermined luminance
It is worth the upper limit value of range.
3. method according to claim 1 or 2, which is characterized in that it is described first brightness value be not at preset it is bright
In the case where within the scope of angle value, before the second brightness value of the second display screen is adjusted to target brightness value, the method
Further include:
Angle value, angle of the angle value between the first plane and the second plane are obtained, first plane is to be captured
The plane where line between the central point of object and the central point of the second display screen, second plane are described the
Plane where two display screens;
It is described in the case where first brightness value is not within the scope of predetermined luminance value, by the second of the second display screen
Brightness value is adjusted to target brightness value, comprising:
The case where first brightness value is not at the predetermined luminance value range and the angle value is not at angular range
Under, second brightness value is adjusted to the target brightness value.
4. according to the method described in claim 3, it is characterized in that, the target brightness value includes at least one sub- brightness value;
It is described to be not at the predetermined luminance value range in first brightness value and the angle value is not at angular range
In the case of, second brightness value is adjusted to the target brightness value, comprising:
The predetermined luminance value range is not in first brightness value and the angle value is not at the angular range
In the case of, by second brightness value in each region at least one region on the second display screen be adjusted to respectively it is described extremely
A sub- brightness value in a few sub- brightness value;
Wherein, with the increase of the distance between the central point of each region and object to be captured, each region pair
The sub- brightness value answered is sequentially increased.
5. method according to claim 1 or 2, which is characterized in that it is described first brightness value be not at preset it is bright
In the case where within the scope of angle value, before the second brightness value of the second display screen is adjusted to target brightness value, the method
Further include:
The displaying target image on the second display screen, the target image are monochrome image.
6. a kind of terminal, which is characterized in that the terminal includes the first display screen and second display screen, and the terminal further includes obtaining
Modulus block and adjustment module;
The acquisition module, for obtaining the first brightness value, first brightness value is institute in the case where meeting goal condition
The brightness value of terminal local environment is stated, the goal condition is to use in the first display screen display preview image or acquisition
The face-image at family, the face-image are used to carry out recognition of face for first display screen;
The adjustment module, first brightness value for obtaining in the acquisition module are not within the scope of predetermined luminance value
In the case where, the second brightness value of the second display screen is adjusted to target brightness value;
Wherein, after second brightness value of the second display screen being adjusted to the target brightness value, described first is bright
Angle value is within the scope of the predetermined luminance value.
7. terminal according to claim 6, which is characterized in that the adjustment module is specifically used in first brightness
In the case that value is less than first threshold, second brightness value is increased into the target brightness value;Alternatively, bright described first
In the case that angle value is greater than second threshold, second brightness value is decreased to the target brightness value;
Wherein, the first threshold is the lower limit value of the predetermined luminance value range, and the second threshold is the predetermined luminance
It is worth the upper limit value of range.
8. terminal according to claim 6 or 7, which is characterized in that the acquisition module is also used in the adjustment module
Before second brightness value of the second display screen is adjusted to target brightness value, angle value is obtained, the angle value is first
Angle between straight line and the first plane, the first straight line are in the central point and the second display screen of object to be captured
The straight line where line between heart point, first plane are the plane where object to be captured;
The adjustment module, specifically for being not at the predetermined luminance value range and the angle in first brightness value
In the case that value is not at angular range, second brightness value is adjusted to the target brightness value.
9. terminal according to claim 8, which is characterized in that the target brightness value includes at least one sub- brightness value;
The adjustment module, specifically for being not at the predetermined luminance value range and the angle in first brightness value
In the case that value is not at the angular range, by second of each region at least one region on the second display screen
Brightness value is adjusted to a sub- brightness value at least one described sub- brightness value respectively;
Wherein, with the increase of the distance between the central point of each region and object to be captured, each region pair
The sub- brightness value answered is sequentially increased.
10. terminal according to claim 6 or 7, which is characterized in that the terminal further includes display module;
The display module is also used to that the second brightness value of the second display screen is adjusted to target in the adjustment module bright
Before angle value, the displaying target image on the second display screen, the target image is monochrome image.
11. a kind of terminal, which is characterized in that including processor, memory and be stored on the memory and can be at the place
The computer program run on reason device is realized when the computer program is executed by the processor as appointed in claim 1 to 5
The step of brightness adjusting method described in one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810738985.6A CN108965728B (en) | 2018-07-06 | 2018-07-06 | Brightness adjusting method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810738985.6A CN108965728B (en) | 2018-07-06 | 2018-07-06 | Brightness adjusting method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108965728A true CN108965728A (en) | 2018-12-07 |
CN108965728B CN108965728B (en) | 2021-05-18 |
Family
ID=64482623
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810738985.6A Active CN108965728B (en) | 2018-07-06 | 2018-07-06 | Brightness adjusting method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108965728B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110097761A (en) * | 2019-05-17 | 2019-08-06 | 江苏航天大为科技股份有限公司 | Illumination adaptive video frequency vehicle flow detection mode switching system and method |
CN110533971A (en) * | 2019-07-19 | 2019-12-03 | 山东至信信息科技有限公司 | A kind of intelligent tutoring system deeply interacted |
CN111901519A (en) * | 2020-06-23 | 2020-11-06 | 维沃移动通信有限公司 | Screen light supplement method and device and electronic equipment |
CN112799433A (en) * | 2021-01-20 | 2021-05-14 | 深圳市达特文化科技股份有限公司 | Character display system based on point light source |
CN114173158A (en) * | 2021-11-29 | 2022-03-11 | 北京百度网讯科技有限公司 | Face recognition method, cloud device, client device, electronic device and medium |
CN116456199A (en) * | 2023-06-16 | 2023-07-18 | Tcl通讯科技(成都)有限公司 | Shooting light supplementing method, shooting light supplementing device, electronic equipment and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150373242A1 (en) * | 2014-06-23 | 2015-12-24 | Canon Kabushiki Kaisha | Image pickup apparatus and control method |
CN106603929A (en) * | 2017-02-08 | 2017-04-26 | 惠州Tcl移动通信有限公司 | Screen fill-in light camera method and system based on mobile terminal |
CN107786817A (en) * | 2017-10-20 | 2018-03-09 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN108040164A (en) * | 2017-10-27 | 2018-05-15 | 努比亚技术有限公司 | Close shot image pickup method, terminal and computer-readable recording medium |
CN108040209A (en) * | 2017-12-20 | 2018-05-15 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
CN108063901A (en) * | 2017-12-27 | 2018-05-22 | 努比亚技术有限公司 | A kind of image-pickup method, terminal and computer readable storage medium |
-
2018
- 2018-07-06 CN CN201810738985.6A patent/CN108965728B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150373242A1 (en) * | 2014-06-23 | 2015-12-24 | Canon Kabushiki Kaisha | Image pickup apparatus and control method |
CN106603929A (en) * | 2017-02-08 | 2017-04-26 | 惠州Tcl移动通信有限公司 | Screen fill-in light camera method and system based on mobile terminal |
CN107786817A (en) * | 2017-10-20 | 2018-03-09 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN108040164A (en) * | 2017-10-27 | 2018-05-15 | 努比亚技术有限公司 | Close shot image pickup method, terminal and computer-readable recording medium |
CN108040209A (en) * | 2017-12-20 | 2018-05-15 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
CN108063901A (en) * | 2017-12-27 | 2018-05-22 | 努比亚技术有限公司 | A kind of image-pickup method, terminal and computer readable storage medium |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110097761A (en) * | 2019-05-17 | 2019-08-06 | 江苏航天大为科技股份有限公司 | Illumination adaptive video frequency vehicle flow detection mode switching system and method |
CN110097761B (en) * | 2019-05-17 | 2021-02-09 | 江苏航天大为科技股份有限公司 | Illumination self-adaptive video vehicle flow detection mode switching system and method |
CN110533971A (en) * | 2019-07-19 | 2019-12-03 | 山东至信信息科技有限公司 | A kind of intelligent tutoring system deeply interacted |
CN111901519A (en) * | 2020-06-23 | 2020-11-06 | 维沃移动通信有限公司 | Screen light supplement method and device and electronic equipment |
CN111901519B (en) * | 2020-06-23 | 2022-01-28 | 维沃移动通信有限公司 | Screen light supplement method and device and electronic equipment |
CN112799433A (en) * | 2021-01-20 | 2021-05-14 | 深圳市达特文化科技股份有限公司 | Character display system based on point light source |
CN114173158A (en) * | 2021-11-29 | 2022-03-11 | 北京百度网讯科技有限公司 | Face recognition method, cloud device, client device, electronic device and medium |
CN116456199A (en) * | 2023-06-16 | 2023-07-18 | Tcl通讯科技(成都)有限公司 | Shooting light supplementing method, shooting light supplementing device, electronic equipment and computer readable storage medium |
CN116456199B (en) * | 2023-06-16 | 2023-10-03 | Tcl通讯科技(成都)有限公司 | Shooting light supplementing method, shooting light supplementing device, electronic equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108965728B (en) | 2021-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108965728A (en) | A kind of brightness adjusting method and terminal | |
CN108182896B (en) | A kind of brightness detection method, device and mobile terminal | |
CN109934137A (en) | A kind of photoelectricity fingerprint identification device, terminal and fingerprint identification method | |
JP6105953B2 (en) | Electronic device, line-of-sight input program, and line-of-sight input method | |
CN108989678A (en) | A kind of image processing method, mobile terminal | |
CN109743506A (en) | A kind of image capturing method and terminal device | |
CN109218626A (en) | A kind of photographic method and terminal | |
CN108960179A (en) | A kind of image processing method and mobile terminal | |
CN110300267A (en) | Photographic method and terminal device | |
CN109241832A (en) | A kind of method and terminal device of face In vivo detection | |
CN109521978A (en) | A kind of content display method and terminal device | |
CN110007758A (en) | A kind of control method and terminal of terminal | |
CN109461124A (en) | A kind of image processing method and terminal device | |
CN110516488A (en) | A kind of barcode scanning method and mobile terminal | |
CN109379539A (en) | A kind of screen light compensation method and terminal | |
CN109544172A (en) | A kind of display methods and terminal device | |
CN109005314A (en) | A kind of image processing method and terminal | |
CN109257463A (en) | A kind of terminal device and its control method | |
CN108881723A (en) | A kind of image preview method and terminal | |
CN110532820A (en) | Graphic code shows, scan method and terminal | |
CN109639981A (en) | A kind of image capturing method and mobile terminal | |
CN110493454A (en) | A kind of image pickup method and terminal device | |
CN109859637A (en) | A kind of electronic equipment and its control method | |
CN109859718A (en) | Screen brightness regulation method and terminal device | |
CN109104522B (en) | Face recognition method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |