CN109379539A - A kind of screen light compensation method and terminal - Google Patents
A kind of screen light compensation method and terminal Download PDFInfo
- Publication number
- CN109379539A CN109379539A CN201811406077.3A CN201811406077A CN109379539A CN 109379539 A CN109379539 A CN 109379539A CN 201811406077 A CN201811406077 A CN 201811406077A CN 109379539 A CN109379539 A CN 109379539A
- Authority
- CN
- China
- Prior art keywords
- display area
- screen
- brightness
- camera
- terminal
- 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.)
- Pending
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/74—Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
Abstract
The embodiment of the invention provides a kind of screen light compensation method and terminals.The screen light compensation method comprises determining that target image the first display area displayed in the screen, wherein the target image is the image of target object captured by the camera of the terminal;According to first display area, the second display area in the screen is determined, wherein second display area includes first display area;According to the target object to the distance of the camera, the brightness of second display area is adjusted, and display area blank screen of the control screen in addition to second display area is shown.Screen light compensation method in the embodiment of the present invention, not only can satisfy lighting demand when different distance, can also reduce the power consumption of screen light filling while guaranteeing that user can check image shooting cases.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of screen light compensation method and terminals.
Background technique
With the development of smart phone and universal, the function of smart phone is become stronger day by day, and in addition to commonly taking pictures, face is known
Other popularization degree is also higher and higher.For recognition of face, when illumination condition is poor, face can be carried out by screen light filling
Identification.But when screen light filling, if screen intensity is high, will cause using screen light filling it is dazzling, especially apart from it is close when,
Therefore screen intensity when general setting unlock is relatively low.But in this case, but be difficult to take into account face apart from screen farther out when
Lighting demand.When face apart from screen farther out when, since the illuminance of screen is with the increase decline sharply of distance, cause to take the photograph
As the facial image brightness that head is taken pictures is very low, it is more likely that recognition of face is caused to fail.It follows that screen in the prior art
The problem of light filling cannot be taken into account between distance and lighting demand well.In addition, the prior art is in screen light filling, entire screen
All be it is bright, increase power consumption.
Summary of the invention
The present embodiments relate to a kind of screen light compensation method and terminals, to solve screen light filling effect in the prior art
Poor and big power consumption problem.
In order to solve the above-mentioned technical problem, the present invention adopts the following technical scheme:
In a first aspect, providing a kind of screen light compensation method, it is applied to terminal.Wherein, which comprises
Determine target image the first display area displayed in the screen, wherein the target image is the terminal
The image of target object captured by camera;
According to first display area, the second display area in the screen is determined, wherein second viewing area
Domain includes first display area;
According to the target object to the distance of the camera, the brightness of second display area, and control are adjusted
Display area blank screen of the screen in addition to second display area is made to show.
Second aspect provides a kind of terminal, comprising:
First determining module, for determining target image the first display area displayed in the screen, wherein the target
Image is the image of target object captured by the camera of the terminal;
Second determining module, the first display area for being determined according to first determining module, determines the screen
In the second display area, wherein second display area includes first display area;
First control module adjusts described second and determines for the distance according to the target object to the camera
The brightness for the second display area that module determines, and display area of the control screen in addition to second display area
Blank screen is shown.
The third aspect provides a kind of terminal, comprising: processor, memory and is stored on the memory and can be
The computer program run on the processor realizes screen as described above when the computer program is executed by the processor
The step of curtain light compensation method.
Fourth aspect provides a kind of computer readable storage medium, stores meter on the computer readable storage medium
The step of calculation machine program, the computer program realizes screen light compensation method as described above when being executed by processor.
In the embodiment of the present invention, in screen light filling, according to the distance of target object to camera, the in screen is controlled
The brightness of two display areas.The distance of target object to camera is remoter, and the second display area brightness controlled in screen is higher
It is some;The distance of target object to camera is closer, and the second display area brightness controlled in screen is more lower, in this way can be with
Meet lighting demand when different distance, promotes the usage experience of user.It is wrapped in addition, only being controlled in screen in the embodiment of the present invention
A part of display area (i.e. the second display area) for including the image of target object lights, and carries out screen light filling, and other show
Then blank screen is shown in region, in this way while guaranteeing that user can check image shooting cases, can reduce the power consumption of screen light filling.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill of field, without any creative labor, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 shows the flow charts of screen light compensation method provided in an embodiment of the present invention;
Fig. 2 indicates exemplary flow chart provided in an embodiment of the present invention;
Fig. 3 indicates one of the schematic diagram of the second display area in screen provided in an embodiment of the present invention;
Fig. 4 indicates the two of the schematic diagram of the second display area in screen provided in an embodiment of the present invention;
Fig. 5 indicates the three of the schematic diagram of the second display area in screen provided in an embodiment of the present invention;
Fig. 6 indicates the four of the schematic diagram of the second display area in screen provided in an embodiment of the present invention;
Fig. 7 indicates the five of the schematic diagram of the second display area in screen provided in an embodiment of the present invention;
Fig. 8 shows the six of the schematic diagram of the second display area in screen provided in an embodiment of the present invention;
Fig. 9 indicates one of the block diagram of terminal provided in an embodiment of the present invention;
Figure 10 indicates the two of the block diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment that the present invention will be described in more detail below with reference to accompanying drawings.Although showing the present invention in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here
It is limited.It is to be able to thoroughly understand the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention
It is fully disclosed to those skilled in the art.
One aspect according to an embodiment of the present invention provides a kind of screen light compensation method.The screen light compensation method application
In terminal.
As shown in Figure 1, the screen light compensation method includes:
Step 101: determining target image the first display area displayed in the screen.
Wherein, target image described here is the image of target object captured by the camera in terminal.Here institute
The target object stated can be the object of the focus position of camera.The target object can be user's face, or
Other objects being taken.About the focus of camera, camera auto-focusing can be, be also possible to user and manually control coke
The position of point.
In the embodiment of the present invention, after camera gets the image of target object, determine that the image of target object is shielding
Display area in curtain, i.e. the first display area.
Step 102: according to the first display area, determining the second display area in screen.
Wherein, the second display area includes the first display area.Generally, the second display area is the entire viewing area of screen
The regional area in domain.
In the embodiment of the present invention, according to the image of target object the first display area displayed in the screen, one is determined
First display area is included by second display area larger than the first display area range, second display area.
About the size for specifically how determining the second display area, can design according to actual needs, the embodiment of the present invention to this without
It limits, for example, can be determined as by the first display area according to display area is obtained after a preset ratio value (being greater than 1) amplification
Second display area.
Step 103: according to the distance of target object to camera, adjusting brightness and the control flow of the second display area
Display area blank screen of the curtain in addition to the second display area is shown.
In the embodiment of the present invention, after determining the second display area, according to the distance of target object to camera, control the
Two display areas are shown according to predetermined luminance.Preferably, the brightness of the second display area and target object to the camera
Distance apart from correlation, i.e. target object to the camera is closer, and the brightness for controlling the second display area is lower;
Conversely, the distance of target object to the camera is remoter, the brightness for controlling the second display area is higher.In this way, not only can be with
The shooting situation that image is checked convenient for user, also can satisfy lighting demand when different distance, promote the usage experience of user.
In addition, also on-screen display (osd) area blank screen of the control in addition to the second display area is shown in the embodiment of the present invention, it in this way can be significantly
Reduce the power consumption of screen light filling.
Specifically, in the embodiment of the present invention, can preset the target object that is taken to camera different distance,
With the corresponding relationship between required screen intensity, in this way, when adjusting the brightness of the second display area, it can according to default
Different distance and screen brightness value corresponding relationship, determine corresponding at a distance from target object to camera screen intensity
Value, the second display area of control are shown according to determining screen brightness value.
Specifically, in the embodiment of the present invention, camera focusing, the ranging of dual camera binocular, infrared sensor can be passed through
Flight time distance measurement function, ultrasonic sensor flight time distance measurement function, range sensor or other similar sensors,
Come judge target object to camera distance.
Specifically, general screen light filling is used under the environment of illumination condition difference, therefore, true executing step 101
Before the image that sets the goal the first display area displayed in the screen, the brightness of environment light can detect.It is small in the brightness of environment light
When predetermined luminance, the step of determining target image the first display area displayed in the screen is executed.
Wherein, predetermined luminance value is the lesser numerical value of brightness.If the brightness of environment light is lower than predetermined luminance value, illustrate to work as
Preceding illumination condition is poor, should open screen light compensating lamp and carry out light filling, to guarantee that camera can take the image being more clear.
Specifically, screen light compensation method provided in an embodiment of the present invention, can be applied in recognition of face scene, to guarantee
Under the environment of illumination condition difference, the normal work of recognition of face, therefore, when screen light compensation method provided in an embodiment of the present invention,
When applied in recognition of face scene, terminal can first detect whether getting recognition of face request with recognition of face request
When, then execute step 101.
For a better understanding of the present invention embodiment provide screen light compensation method, below by face unlock scene for into
Row further illustrates.
As shown in Fig. 2, the example includes:
Step 201: judging whether user has unlock demand.
The general settable lift wrist unlock of terminal, when detecting that terminal has shift action or rotational action, triggering unlock is asked
It asks;Or user presses the power key of terminal, triggers unlocking request.
Wherein, 202 are entered step when determining that user has unlock demand.
Step 202: judging the brightness of environment light.
Generally, when the brightness of current environment light is less than predetermined luminance, illustrate that current light condition is poor, face needs when unlocking
Light filling.
Wherein, 203 and step 204 are entered step respectively when the brightness of current environment light is less than predetermined luminance.
Step 203: determining the facial image of user the first display area displayed in the screen.
Wherein, 205 are entered step behind the display area in the facial image for determining user in screen.
Step 204: determining the face of user to the distance of camera.
Wherein, 205 are entered step after the distance of the face for determining user to camera.
Step 205: according to the first display area, determining the second display area in screen.
Wherein, the second display area described here includes the first display area, and the second display area is greater than first and shows
Show region.
Wherein, 206 are entered step after determining the second display area.
Step 206: according to the distance of user's face to camera, adjusting the brightness of the second display area.
As shown in figure 3, when face apart from camera farther out and face and when screen centering, facial image accounts for the display of screen
Region is smaller.At this point, OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) display screen is without whole
A screen is all bright, only need to control the second display area including facial image and light.Wherein, face distance camera shooting in Fig. 2
Farther out, the brightness number of the second display area can be higher for head.Farther out due to distance, the brightness promoted in this way not will cause dazzling
Problem.
As shown in figure 4, facial image accounts for the display of screen when face relatively close and face and screen centering apart from camera
Region is bigger.At this point, display screen is all bright without entire screen, it only need to control the second display area including facial image and light
?.The brightness number of second display area can be lower.Although the brightness number of the second display area is relatively low, due to away from
It is dazzling from relatively closely, not only can avoid, and can satisfy unlock demand.
As shown in Fig. 5 to Fig. 8, when face and screen misalign, when on the upper side, on the lower side, to the left or to the right, display screen without
Entire screen is all bright, only needs correspond to human face region display area on the lower side to the left or to the right on the upper side in screen that (i.e. second shows
Show region) it lights.
It is in a word exactly relative position of the terminal according to facial image and display screen, dynamic adjusts OLED display screen corresponding region
Brightness number and brightness area figures.In this way, one is the dazzling problem that can avoid short distance, one be can avoid at a distance
Identification problem, another is can to reduce and balance power problems.
Step 208: judging whether face unlock succeeds.
Wherein, the light that the second display area issues reaches human face region, is reflected back in camera, and camera generates current
The facial image of user.If camera obtain facial image and pre-set facial image successful match, unlock at
Function, subsequently into step 208.
Step 208: being successfully entered terminal interface, normal use terminal.
In conclusion in the embodiment of the present invention, in screen light filling, according to the distance of target object to camera, control
The brightness of the second display area in screen.The distance of target object to camera is remoter, controls the second viewing area in screen
Domain brightness is higher;The distance of target object to camera is closer, controls the second display area brightness lower one in screen
A bit, it can satisfy lighting demand when different distance in this way, promote the usage experience of user.In addition, in the embodiment of the present invention only
A part of display area (i.e. the second display area) of the image including target object lights in control screen, carries out screen benefit
Light, and then blank screen is shown for other display areas, in this way while guaranteeing that user can check image shooting cases, can be reduced
The power consumption of screen light filling.
Other side according to an embodiment of the present invention provides a kind of terminal.The terminal is able to achieve above-mentioned screen and mends
Details in light method, and reach identical effect.
As shown in figure 9, the terminal includes:
First determining module 901, for determining target image the first display area displayed in the screen.
Wherein, the target image is the image of target object captured by the camera of the terminal.
Second determining module 902, the first display area for being determined according to first determining module 901, determines institute
State the second display area in screen.
Wherein, second display area includes first display area.
First control module 903 adjusts described second really for the distance according to the target object to the camera
The brightness for the second display area that cover half block 902 determines, and the control screen are aobvious in addition to second display area
Show that region blank screen is shown.
Wherein, the brightness of second display area is positively correlated pass at a distance from the target object to the camera
System.
Optionally, the target object is the object of the focus position of the camera.
Specifically, first control module 903 includes:
Determination unit, for the corresponding relationship according to preset different distance and screen brightness value, the determining and target
The corresponding screen brightness value of the distance of object to the camera;
Adjustment unit, the screen brightness value for being determined according to the determination unit, adjusts second viewing area
The brightness in domain.
Specifically, the terminal further include:
Detection module, for determining target image the first display displayed in the screen in first determining module 901
Before region, the brightness of environment light is detected;
Second control module, when for detecting that the brightness of the environment light is less than predetermined luminance in the detection module,
It controls first control module 903 and determines target image the first display area displayed in the screen.
Specifically, the terminal further include:
Module is obtained, for determining target image the first display displayed in the screen in first determining module 901
Before region, recognition of face request is obtained;
Third control module, for controlling first control when the acquisition module detects recognition of face request
Module 903 determines target image the first display area displayed in the screen.
In the embodiment of the present invention, in screen light filling, according to the distance of target object to camera, the in screen is controlled
The brightness of two display areas.The distance of target object to camera is remoter, and the second display area brightness controlled in screen is higher
It is some;The distance of target object to camera is closer, and the second display area brightness controlled in screen is more lower, in this way can be with
Meet lighting demand when different distance, promotes the usage experience of user.It is wrapped in addition, only being controlled in screen in the embodiment of the present invention
A part of display area (i.e. the second display area) for including the image of target object lights, and carries out screen light filling, and other show
Then blank screen is shown in region, in this way while guaranteeing that user can check image shooting cases, can reduce the function of screen light filling
Consumption.
A kind of hardware structural diagram of Figure 10 terminal of each embodiment to realize the present invention.
The terminal 1000 includes but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, defeated
Enter unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009,
The components such as processor 1010 and power supply 1011.It will be understood by those skilled in the art that terminal structure shown in Figure 10 is not
The restriction of structure paired terminal, terminal may include perhaps combining certain components or difference than illustrating more or fewer components
Component layout.In embodiments of the present invention, terminal includes but is not limited to mobile phone, tablet computer, laptop, palm electricity
Brain, car-mounted terminal, wearable device and pedometer etc..
Wherein, which further includes a Curved screen, the corresponding glass cover-plate of the curvature portion of the Curved screen it is interior
Side is provided with a fingerprint mould group.
Wherein, processor 1010, for determining target image the first display area displayed in the screen;According to described
One display area determines the second display area in the screen;According to the target object to the distance of the camera, adjust
The brightness of whole second display area, and display area blank screen of the control screen in addition to second display area
Display.
Wherein, the target image is the image of target object captured by the camera of the terminal;Described second is aobvious
Show that region includes first display area;The brightness of second display area and the target object to the camera
Apart from correlation.
In the embodiment of the present invention, in screen light filling, according to the distance of target object to camera, the in screen is controlled
The brightness of two display areas.The distance of target object to camera is remoter, and the second display area brightness controlled in screen is higher
It is some;The distance of target object to camera is closer, and the second display area brightness controlled in screen is more lower, in this way can be with
Meet lighting demand when different distance, promotes the usage experience of user.It is wrapped in addition, only being controlled in screen in the embodiment of the present invention
A part of display area (i.e. the second display area) for including the image of target object lights, and carries out screen light filling, and other show
Then blank screen is shown in region, in this way while guaranteeing that user can check image shooting cases, can reduce the power consumption of screen light filling.
It should be understood that the embodiment of the present invention in, radio frequency unit 1001 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 1010 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 1001 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 1001 can also by wireless communication system and network and other
Equipment communication.
Terminal provides wireless broadband internet by network module 1002 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 1003 can be received by radio frequency unit 1001 or network module 1002 or in memory
The audio data stored in 1009 is converted into audio signal and exports to be sound.Moreover, audio output unit 1003 can be with
Audio output relevant to the specific function that terminal 1000 executes is provided (for example, call signal receives sound, message sink sound
Etc.).Audio output unit 1003 includes loudspeaker, buzzer and receiver etc..
Input unit 1004 is for receiving audio or video signal.Input unit 1004 may include graphics processor
(Graphics Processing Unit, GPU) 10041 and microphone 10042, graphics processor 10041 are captured in video
In mode or image capture mode by image capture apparatus (such as camera) obtain static images or video image data into
Row processing.Treated, and picture frame may be displayed on display unit 1006.Through treated the picture frame of graphics processor 10041
It can store in memory 1009 (or other storage mediums) or carried out via radio frequency unit 1001 or network module 1002
It sends.Microphone 10042 can receive sound, and can be audio data by such acoustic processing.Audio that treated
Data can be converted to the lattice that mobile communication base station can be sent to via radio frequency unit 1001 in the case where telephone calling model
Formula output.
Terminal 1000 further includes at least one sensor 1005, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment light
The light and shade of line adjusts the brightness of display panel 10061, and proximity sensor can close display when terminal 1000 is moved in one's ear
Panel 10061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three in all directions
Axis) acceleration size, 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 1005
It can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperature
Meter, infrared sensor etc. are spent, details are not described herein.
Display unit 1006 is for showing information input by user or being supplied to the information of user.Display unit 1006 can
Including display panel 10061, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes can be used
Forms such as (Organic Light-Emitting Diode, OLED) are managed to configure display panel 10061.
User input unit 1007 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 1007 include touch panel 10071 and its
His input equipment 10072.Touch panel 10071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 10071 or in touch panel
Operation near 10071).Touch panel 10071 may include both touch detecting apparatus and touch controller.Wherein, it touches
The touch orientation of detection device detection user is touched, and detects touch operation bring signal, transmits a signal to touch controller;
Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 1010,
It receives the order that processor 1010 is sent and is executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface
The multiple types such as sound wave realize touch panel 10071.In addition to touch panel 10071, user input unit 1007 can also include
Other input equipments 10072.Specifically, other input equipments 10072 can include but is not limited to physical keyboard, function key (ratio
Such as volume control button, switch key), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 10071 can be covered on display panel 10061, when touch panel 10071 detects
After touch operation on or near it, processor 1010 is sent to determine the type of touch event, is followed by subsequent processing device 1010
Corresponding visual output is provided on display panel 10061 according to the type of touch event.Although in Figure 10, touch panel
10071 and display panel 10061 are the functions that outputs and inputs of realizing terminal as two independent components, but certain
In embodiment, touch panel 10071 and display panel 10061 can be integrated and be realized the function that outputs and inputs of terminal, tool
Body is herein without limitation.
Interface unit 1008 is the interface that external device (ED) is connect with terminal 1000.For example, external device (ED) may include wired
Or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 1008 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in terminal 1000 or can be used in terminal 1000 and external dress
Data are transmitted between setting.
Memory 1009 can be used for storing software program and various data.Memory 1009 can mainly include storage program
Area and storage data area, wherein storing program area can application program needed for storage program area, at least one function (such as
Sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses created data (ratio according to mobile phone
Such as audio data, phone directory) etc..In addition, memory 1009 may include high-speed random access memory, it can also include non-
Volatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 1010 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection,
By running or execute the software program and/or module that are stored in memory 1009, and calls and be stored in memory 1009
Interior data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 1010 may include
One or more processing units;Preferably, processor 1010 can integrate application processor and modem processor, wherein answer
With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 1010.
Terminal 1000 can also include the power supply 1011 (such as battery) powered to all parts, it is preferred that power supply 1011
Can be logically contiguous by power-supply management system and processor 1010, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, terminal 1000 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal, including processor 1010, and memory 1009 is stored in
On reservoir 1009 and the computer program that can run on the processor 1010, the computer program are executed by processor 1010
Each process of the above-mentioned screen light compensation method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here
It repeats no more.
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 screen light compensation method embodiment, and energy when being executed by processor
Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic or disk 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 (10)
1. a kind of screen light compensation method is applied to terminal, which is characterized in that the described method includes:
Determine target image the first display area displayed in the screen, wherein the target image is the camera shooting of the terminal
The image of target object captured by head;
According to first display area, the second display area in the screen is determined, wherein the second display area packet
Include first display area;
According to the target object to the distance of the camera, the brightness of second display area, and control institute are adjusted
Display area blank screen of the screen in addition to second display area is stated to show.
2. the method according to claim 1, wherein the brightness of second display area and the target object
To the camera apart from correlation.
3. method according to claim 1 or 2, which is characterized in that described according to the target object to the camera
Distance, the step of adjusting the brightness of second display area, comprising:
According to the corresponding relationship of preset different distance and screen brightness value, the determining and target object to the camera
Apart from corresponding screen brightness value;
According to the determining screen brightness value, the brightness of second display area is adjusted.
4. method according to claim 1 or 2, which is characterized in that displayed in the screen in the determining target image
Before the step of first display area, the method also includes:
Detect the brightness of environment light;
When the brightness of the environment light is less than predetermined luminance, target image the first display area displayed in the screen is determined.
5. method according to claim 1 or 2, which is characterized in that displayed in the screen in the determining target image
Before the step of first display area, the method also includes:
It detects whether with recognition of face request;
When detecting recognition of face request, target image the first display area displayed in the screen is determined.
6. a kind of terminal, which is characterized in that the terminal includes:
First determining module, for determining target image the first display area displayed in the screen, wherein the target image
The image of target object captured by camera for the terminal;
Second determining module, the first display area for being determined according to first determining module, determines in the screen
Second display area, wherein second display area includes first display area;
First control module adjusts second determining module for the distance according to the target object to the camera
The brightness of the second determining display area, and display area blank screen of the control screen in addition to second display area
Display.
7. terminal according to claim 6, which is characterized in that the brightness of second display area and the target object
To the camera apart from correlation.
8. terminal according to claim 6 or 7, which is characterized in that first control module includes:
Determination unit, for the corresponding relationship according to preset different distance and screen brightness value, the determining and target object
To the corresponding screen brightness value of distance of the camera;
Adjustment unit, the screen brightness value for being determined according to the determination unit, adjusts second display area
Brightness.
9. a kind of terminal characterized by comprising 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 screen light compensation method described in one.
10. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium
Sequence, the screen light compensation method as described in any one of claims 1 to 5 is realized when the computer program is executed by processor
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811406077.3A CN109379539A (en) | 2018-11-23 | 2018-11-23 | A kind of screen light compensation method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811406077.3A CN109379539A (en) | 2018-11-23 | 2018-11-23 | A kind of screen light compensation method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109379539A true CN109379539A (en) | 2019-02-22 |
Family
ID=65383405
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811406077.3A Pending CN109379539A (en) | 2018-11-23 | 2018-11-23 | A kind of screen light compensation method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109379539A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110458062A (en) * | 2019-07-30 | 2019-11-15 | 深圳市商汤科技有限公司 | Face identification method and device, electronic equipment and storage medium |
CN113840062A (en) * | 2021-07-27 | 2021-12-24 | 深圳传音控股股份有限公司 | Camera control method, mobile terminal and readable storage medium |
CN113923375A (en) * | 2021-12-14 | 2022-01-11 | 龙旗电子(惠州)有限公司 | Method, device and equipment for supplementing light for shooting and storage medium |
CN114281284A (en) * | 2021-07-14 | 2022-04-05 | 海信视像科技股份有限公司 | Display apparatus and image display method |
CN116456199A (en) * | 2023-06-16 | 2023-07-18 | Tcl通讯科技(成都)有限公司 | Shooting light supplementing method, shooting light supplementing device, electronic equipment and computer readable storage medium |
CN114281284B (en) * | 2021-07-14 | 2024-04-26 | 海信视像科技股份有限公司 | Display apparatus and image display method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060044422A1 (en) * | 2004-08-31 | 2006-03-02 | Canon Kabushiki Kaisha | Image capture apparatus and control method therefor |
CN104424467A (en) * | 2013-08-21 | 2015-03-18 | 中移电子商务有限公司 | Face image acquisition method and apparatus, and terminal |
CN105554411A (en) * | 2016-02-15 | 2016-05-04 | 广东欧珀移动通信有限公司 | Photographing method and device based on screen light compensation and mobile terminal |
CN105744175A (en) * | 2016-02-15 | 2016-07-06 | 广东欧珀移动通信有限公司 | Screen light fill method and device and mobile terminal |
CN105744176A (en) * | 2016-02-15 | 2016-07-06 | 广东欧珀移动通信有限公司 | Screen light supplementing method and device as well as mobile terminal |
CN107220621A (en) * | 2017-05-27 | 2017-09-29 | 北京小米移动软件有限公司 | Terminal carries out the method and device of recognition of face |
CN107645609A (en) * | 2017-10-18 | 2018-01-30 | 维沃移动通信有限公司 | A kind of brightness adjusting method and mobile terminal |
-
2018
- 2018-11-23 CN CN201811406077.3A patent/CN109379539A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060044422A1 (en) * | 2004-08-31 | 2006-03-02 | Canon Kabushiki Kaisha | Image capture apparatus and control method therefor |
CN104424467A (en) * | 2013-08-21 | 2015-03-18 | 中移电子商务有限公司 | Face image acquisition method and apparatus, and terminal |
CN105554411A (en) * | 2016-02-15 | 2016-05-04 | 广东欧珀移动通信有限公司 | Photographing method and device based on screen light compensation and mobile terminal |
CN105744175A (en) * | 2016-02-15 | 2016-07-06 | 广东欧珀移动通信有限公司 | Screen light fill method and device and mobile terminal |
CN105744176A (en) * | 2016-02-15 | 2016-07-06 | 广东欧珀移动通信有限公司 | Screen light supplementing method and device as well as mobile terminal |
CN107220621A (en) * | 2017-05-27 | 2017-09-29 | 北京小米移动软件有限公司 | Terminal carries out the method and device of recognition of face |
CN107645609A (en) * | 2017-10-18 | 2018-01-30 | 维沃移动通信有限公司 | A kind of brightness adjusting method and mobile terminal |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110458062A (en) * | 2019-07-30 | 2019-11-15 | 深圳市商汤科技有限公司 | Face identification method and device, electronic equipment and storage medium |
WO2021017561A1 (en) * | 2019-07-30 | 2021-02-04 | 深圳市商汤科技有限公司 | Face recognition method and apparatus, electronic device, and storage medium |
CN114281284A (en) * | 2021-07-14 | 2022-04-05 | 海信视像科技股份有限公司 | Display apparatus and image display method |
CN114281284B (en) * | 2021-07-14 | 2024-04-26 | 海信视像科技股份有限公司 | Display apparatus and image display method |
CN113840062A (en) * | 2021-07-27 | 2021-12-24 | 深圳传音控股股份有限公司 | Camera control method, mobile terminal and readable storage medium |
CN113840062B (en) * | 2021-07-27 | 2023-08-22 | 深圳传音控股股份有限公司 | Camera control method, mobile terminal and readable storage medium |
CN113923375A (en) * | 2021-12-14 | 2022-01-11 | 龙旗电子(惠州)有限公司 | Method, device and equipment for supplementing light for shooting and storage 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 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108803896B (en) | Method, device, terminal and storage medium for controlling screen | |
CN110266930A (en) | Light compensation method, mobile terminal and the light adjusting method of image taking | |
CN107943551A (en) | A kind of screen display method and mobile terminal | |
CN109379539A (en) | A kind of screen light compensation method and terminal | |
CN108182896B (en) | A kind of brightness detection method, device and mobile terminal | |
JP6105953B2 (en) | Electronic device, line-of-sight input program, and line-of-sight input method | |
CN103473494A (en) | Application running method, device and terminal device | |
CN109788174B (en) | Light supplementing method and terminal | |
CN108491123A (en) | A kind of adjusting application program image target method and mobile terminal | |
CN107864336B (en) | A kind of image processing method, mobile terminal | |
CN110300267A (en) | Photographic method and terminal device | |
CN109381165A (en) | A kind of skin detecting method and mobile terminal | |
CN107948498B (en) | A kind of elimination camera Morie fringe method and mobile terminal | |
CN109240577A (en) | A kind of screenshotss method and terminal | |
CN107786811B (en) | A kind of photographic method and mobile terminal | |
CN107831891A (en) | A kind of brightness adjusting method and mobile terminal | |
CN108960179A (en) | A kind of image processing method and mobile terminal | |
CN108924362A (en) | A kind of notification event processing method and terminal | |
CN109522848A (en) | A kind of fingerprint mould group, the control method and terminal of fingerprint mould group | |
CN108984082A (en) | A kind of image display method and mobile terminal | |
CN109688253A (en) | A kind of image pickup method and terminal | |
CN109658886A (en) | A kind of control method and terminal of display screen | |
CN109145731A (en) | A kind of fingerprint identification method, device and mobile terminal | |
CN108460599B (en) | Mobile payment method and mobile terminal | |
CN109727212A (en) | A kind of image processing 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190222 |