CN104754219B - A kind of terminal - Google Patents
A kind of terminal Download PDFInfo
- Publication number
- CN104754219B CN104754219B CN201510104383.1A CN201510104383A CN104754219B CN 104754219 B CN104754219 B CN 104754219B CN 201510104383 A CN201510104383 A CN 201510104383A CN 104754219 B CN104754219 B CN 104754219B
- Authority
- CN
- China
- Prior art keywords
- face
- ratio
- unit
- flash lamp
- state
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The embodiment of the invention discloses a kind of terminals, the terminal includes receiving unit, start unit, acquiring unit, judging unit, adjustment unit and control unit, receiving unit is used to receive the camera application enabled instruction of user's input, start unit is for responding camera application enabled instruction starting camera application, acquiring unit is used to obtain the setting state of flash lamp in camera application, judging unit accounts for whether screen ratio is greater than pre-set ratio threshold value for judging the face of current collected facial image when the setting state is not closed state, the setting state adjustment of flash lamp for being in off state by adjustment unit when the judgment result is yes, control unit is used to control camera application when receiving shooting instruction and shoot to target object.Implementing the embodiment of the present invention can be closely that flash lamp is automatically closed when reference object is taken pictures and reference object is personage in user, avoid flash lamp injury caused by the eyes of reference object, improve the usage experience of user.
Description
Technical field
The present invention relates to technique for taking field more particularly to a kind of terminals.
Background technique
Being constantly progressive and develop with electronics and mechanics of communication, the use of camera application in people's daily life is more next
It is more extensive, and it is fitted with camera application on more and more smart machines, such as: mobile phone, tablet computer, laptop etc.
Camera application is fitted on smart machine.In addition, current camera application is largely equipped with flash lamp, flash lamp is opened
The quality that photo is shot under low light environment can be improved.However, in practical applications, when user closely takes pictures for reference object
And reference object be personage when, open flash lamp be easy the eyes of reference object are damaged.
Summary of the invention
The embodiment of the invention provides a kind of terminals, can be closely that reference object is taken pictures and reference object is in user
Flash lamp is automatically closed when personage, avoids flash lamp injury caused by the eyes of reference object.
The embodiment of the invention discloses a kind of terminals, comprising:
Receiving unit, for receiving the camera application enabled instruction of user's input;
Start unit starts camera application for responding the camera application enabled instruction;
Acquiring unit, for obtaining the setting state of flash lamp in the camera application, wherein the setting state includes
Any one in closed state, open state and auto state;
Judging unit, for when the setting state is not the closed state, judging current collected face figure
First face of picture accounts for whether screen ratio is greater than pre-set ratio threshold value;
Adjustment unit, for when first face account for screen ratio be greater than the pre-set ratio threshold value when, by the flash of light
The setting state of lamp is adjusted to the closed state;
First control unit claps target object for when receiving shooting instruction, controlling the camera application
It takes the photograph.
In the embodiment of the present invention, which includes receiving unit, start unit, acquiring unit, judging unit, adjustment unit
And control unit, receiving unit are used to receive the camera application enabled instruction of user's input, start unit is for responding shooting
Start camera application using enabled instruction, acquiring unit is used to obtain the setting state of flash lamp in camera application, wherein this sets
The state of setting includes any one in closed state, open state and auto state, and judging unit is used to work as setting state not
When being closed state, judge that the face of current collected facial image accounts for whether screen ratio is greater than pre-set ratio threshold value, adjusts
Unit is used to be adjusted to the setting state of above-mentioned flash lamp to close shape when face accounts for screen ratio and is greater than pre-set ratio threshold value
State, control unit are used for when receiving shooting instruction, control above-mentioned camera application and shoot to target object.Implement this hair
Bright embodiment can be closely that flash lamp is automatically closed when reference object is taken pictures and reference object is personage in user, avoid
Flash lamp is injured caused by the eyes of reference object, improves the usage experience of user.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of the method for shooting disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of the method for another shooting disclosed by the embodiments of the present invention;
Fig. 3 is the flow diagram of the method for another shooting disclosed by the embodiments of the present invention;
Fig. 4 is a kind of structural schematic diagram of terminal disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another terminal disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of another terminal disclosed by the embodiments of the present invention;
Fig. 7 is that a kind of different types of face disclosed by the embodiments of the present invention accounts between screen ratio and brightness of flash lamp value
Mapping table.
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 embodiment of the invention discloses a kind of terminals, can be closely that reference object is taken pictures and reference object is in user
Flash lamp is automatically closed when personage, avoids flash lamp injury caused by the eyes of reference object, improves the use of user
Experience.It is described in detail separately below.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of the method for shooting disclosed by the embodiments of the present invention.Wherein, Fig. 1
Shown in method can be applied to smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and shifting
Dynamic internet device (Mobile Internet Devices, MID), PAD etc. are equipped in the terminal of camera application.Such as Fig. 1 institute
Show, the method for the shooting may comprise steps of:
S101, the camera application enabled instruction for receiving user's input.
In the embodiment of the present invention, camera application enabled instruction can be the finger that user inputs by touching camera application icon
It enables, is also possible to the instruction that user is inputted by the physical button in terminal, can also be user according to number predetermined
Whipping terminal and the instruction inputted, the embodiment of the present invention are not construed as limiting.
S102, the above-mentioned camera application enabled instruction of response, start camera application.
In the embodiment of the present invention, after terminal receives the camera application enabled instruction of user's input, the shooting can be responded
Using enabled instruction, start camera application.Wherein, which may include in front camera and rear camera
It is one or more.For example, when user selects self-timer, then terminal can open front camera, and user is manually adjustable
The color parameter value of terminal screen, the backlight brightness values of terminal screen, terminal screen light emitting region size and end panel
One of size of imaging region of curtain a variety of improves shooting effect.
S103, the setting state for obtaining flash lamp in above-mentioned camera application.
In the embodiment of the present invention, setting state may include any in closed state, open state and auto state
It is a kind of, wherein when it is auto state that state, which is arranged, when terminal can determine shooting according to the brightness value of current environment whether
Open flash lamp.
S104, when setting state is not closed state, judge that the face of current collected facial image accounts for screen ratio
Whether pre-set ratio threshold value is greater than.
In the embodiment of the present invention, when face, which accounts for screen ratio, is greater than pre-set ratio threshold value, terminal executes step S105, works as people
When face accounts for screen ratio no more than pre-set ratio threshold value, terminal can directly execute step S106.
In the embodiment of the present invention, the number of the collected facial image of terminal can be equal to 1, can also be greater than 1, such as work as and use
When the self-timer of family, the number of the collected facial image of terminal is 1, when self-timer or user are other multiple use to multiple users together
When family is taken pictures, the number of the collected facial image of terminal is greater than 1, then it can be that terminal is collected that above-mentioned face, which accounts for screen ratio,
Face images account for the ratio of entire preview area, are also possible to maximum face figure in the collected face images of terminal
As accounting for the ratio of entire preview area, the average ratio for all ratios that terminal is determined can also be, wherein all ratios are
Each facial image that terminal is determined accounts for the set of the ratio of entire preview area, and the embodiment of the present invention is without limitation.And eventually
It is previously stored with the pre-set ratio threshold value for accounting for screen ratio for different types of face in end: being accounted for face images entire pre-
It lookes at the corresponding pre-set ratio threshold value of ratio in region and the facial image of different number corresponds to different pre-set ratio threshold values, such as work as
When the number of facial image is 1, pre-set ratio threshold value can be 15%, when the number of facial image is 2, pre-set ratio threshold value
It can be 30% etc.;The corresponding pre-set ratio threshold of the ratio of entire preview area is accounted for maximum face image in face images
Value, such as 15%;Pre-set ratio threshold value corresponding with the average ratio for all ratios that terminal is determined, such as 15%, this hair
Bright embodiment is without limitation.
S105, when above-mentioned face account for screen ratio be greater than pre-set ratio threshold value when, the setting state of flash lamp is adjusted to close
Closed state.
In the embodiment of the present invention, when judging that face accounts for screen ratio and is greater than pre-set ratio threshold value, terminal is by flash lamp
Setting state is in off state by the adjustment of non-closed state.Specifically, working as the setting shape that the sudden strain of a muscle got in step S103 is turned off the light
When state is open state, terminal is adjusted to closed state, when the setting state that the sudden strain of a muscle got in step S103 is turned off the light is
When auto state, terminal is adjusted to closed state, in this way can be to avoid flash lamp to the target object for entering preview area
Eyes caused by injure.
In the embodiment of the present invention, for example, assuming that it is the collected all face figures of terminal that above-mentioned face, which accounts for screen ratio,
Maximum face image accounts for the ratio of entire preview area as in and its size is 17%, pre-stored in terminal to be directed to the type
Face to account for the pre-set ratio threshold value of screen ratio be 15%, then the adjustment of the setting state of flash lamp is in off state by terminal.
S106, when receiving shooting instruction, control the camera application and target object shot.
In the embodiment of the present invention, when face accounts for screen ratio no more than pre-set ratio threshold value, after receiving shooting instruction,
Terminal can shoot target object according to the setting state of the flash lamp got in step S103.
In the embodiment of the present invention, when face, which accounts for screen ratio, is greater than pre-set ratio threshold value, after receiving shooting instruction, eventually
It holds controllable camera application to be in close state in flash lamp lower to shoot target object.Due at this time by flash lamp
The adjustment of setting state be in off state, if the brightness value of current environment is lower, terminal, which can pass through, adjusts terminal screen
Attribute improves the shooting effect of terminal.For example, when cloudy weather carries out self-timer, due to the brightness value of current environment
Relatively low, then user can be by the way that the backlight brightness values of terminal screen be turned up manually, the color parameter value for adjusting terminal screen, press
Certain proportionate relationship tunes up the size of light emitting region and one of the size of turning imaging region down or a variety of improves end
The shooting effect at end, the embodiment of the present invention are not construed as limiting.
As an alternative embodiment, terminal is executing when face accounts for screen ratio and is greater than pre-set ratio threshold value
After finishing S106 step, following operation is can also be performed in terminal:
The setting state of flash lamp is restored into the setting state to adjustment, i.e., terminal is automatically by the setting state of flash lamp
The setting state for restoring the flash lamp that terminal is got into step S103 by closed state, restores flash lamp without user manually
Setting state, maintain the use habit of user, improve the usage experience of user.
In the embodiment of the present invention, after receiving the camera application enabled instruction of user's input, terminal responds the shooting and answers
Start camera application with enabled instruction and obtain the setting state of flash lamp in camera application, wherein the setting state includes closing
Any one in closed state, open state and auto state judges current acquisition when setting state is not closed state
To the face of facial image account for whether screen ratio is greater than pre-set ratio threshold value, and be greater than pre-set ratio threshold when face accounts for screen ratio
When value, the setting state adjustment of above-mentioned flash lamp is in off state, when receiving shooting instruction, controls above-mentioned camera application
Target object is shot.Implementing the embodiment of the present invention can be closely that reference object is taken pictures and reference object is in user
Flash lamp is automatically closed when personage, avoids flash lamp injury caused by the eyes of reference object, improves the use of user
Experience.
Referring to Fig. 2, Fig. 2 is the flow diagram of the method for another shooting disclosed by the embodiments of the present invention.Wherein, scheme
Method shown in 2 can be applied to smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and
Mobile internet device (Mobile Internet Devices, MID), PAD etc. are equipped in the terminal of camera application.Such as Fig. 2
Shown, the method for the shooting may comprise steps of:
S201, the camera application enabled instruction for receiving user's input.
In the embodiment of the present invention, camera application enabled instruction can be the finger that user inputs by touching camera application icon
It enables, is also possible to the instruction that user is inputted by the physical button in terminal, can also be user according to number predetermined
Whipping terminal and the instruction inputted, the embodiment of the present invention are not construed as limiting.
S202, the above-mentioned camera application enabled instruction of response, start camera application.
S203, the setting state for obtaining flash lamp in above-mentioned camera application.
In the embodiment of the present invention, setting state may include any in closed state, open state and auto state
It is a kind of, wherein when it is auto state that state, which is arranged, when terminal can determine shooting according to the brightness value of current environment whether
Open flash lamp.
S204, when above-mentioned setting state be auto state when, obtain the first brightness value of current environment.
S205, judge whether above-mentioned first brightness value is less than predetermined luminance threshold value.
In the embodiment of the present invention, when the first brightness value is less than predetermined luminance threshold value, terminal executes step S206, when first
Brightness value is not less than predetermined luminance threshold value, and terminal can directly execute step S208.
In the embodiment of the present invention, after getting the first brightness value of current environment, first environment that terminal will acquire
Brightness value is compared with predetermined luminance threshold value, and the movement of terminal next step execution is determined by comparing result.Such as: when sentencing
It is disconnected go out the first brightness value when being more than or equal to predetermined luminance threshold value, illustrate that the light of current environment is preferable, terminal is without opening flash of light
Lamp can shoot target object, when judging that the first brightness value is less than predetermined luminance threshold value, illustrate current environment
Light is poor, and terminal need to first open flash lamp, then shoots again to target object.
S206, when above-mentioned first brightness value is less than predetermined luminance threshold value, judge the first of current collected facial image
Face accounts for whether screen ratio is greater than pre-set ratio threshold value.
In the embodiment of the present invention, when the first face, which accounts for screen ratio, is greater than pre-set ratio threshold value, terminal executes step S207,
When face accounts for screen ratio no more than pre-set ratio threshold value, terminal can directly execute step S208.
S207, when above-mentioned first face accounts for screen ratio and is greater than pre-set ratio threshold value, the setting state of flash lamp is adjusted
For the closed state.
S208, when receiving shooting instruction, control camera application target object is shot.
As an alternative embodiment, following operation can also be performed in terminal before step S206:
Start recognition of face mode;
When identifying current acquired image under recognition of face mode includes one or more facial feature images,
The ratio that all facial feature images account for imaging region is calculated, accounts for screen ratio as the first face;Or calculate the one or more
Maximum facial feature image accounts for the ratio of imaging region in facial feature image, accounts for screen ratio as the first face;Or it first calculates
Each facial feature image accounts for the ratio of imaging region to obtain one or more ratios, then calculates the one or more ratio again
The average value of all ratios in rate accounts for screen ratio as the first face.And it is previously stored in terminal for different types of
One face accounts for the pre-set ratio threshold value of screen ratio: corresponding with the ratio that all facial feature images account for entire preview area default
Rate threshold, and the facial feature image of different numbers corresponds to different pre-set ratio threshold values, such as of facial feature image
When number is 1, pre-set ratio threshold value can be 15%, and when the number of facial feature image is 2, pre-set ratio threshold value can be
30% etc.;The corresponding pre-set ratio of the ratio of entire preview area is accounted for facial feature image maximum in all facial feature images
Threshold value, such as 15%;Pre-set ratio threshold value corresponding with the average ratio for all ratios that terminal is determined, such as 15%,
In, all ratios are the set for the ratio that each facial feature image that terminal is determined accounts for entire preview area, and the present invention is real
Apply example without limitation.
As an alternative embodiment, following operation can also be performed in terminal before step S207:
Judge whether that the flash lamp setting status modifier for receiving user's input instructs, when the sudden strain of a muscle for not receiving user's input
When status modifier instruction is arranged in light lamp, the setting state adjustment of flash lamp is in off state by terminal.It in this way can further really
The setting state of fixed flashing light lamp, and when the setting state of flash lamp does not change, terminal is by the setting state tune of flash lamp
It is whole to be in off state, avoid flash lamp injury caused by the eyes of target object.
As an alternative embodiment, judging whether that receiving the flash lamp setting status modifier that user inputs refers to
Before order, following operation is can also be performed in terminal:
Prompt information is exported to user, which is used to prompt the user whether the setting state of adjustment flash lamp, connects
User is received for the response instruction of prompt information input, response instruction includes that flash lamp setting status modifier is instructed or dodged
Light lamp is arranged state and keeps instruction.Family can be used in this way and decide whether the setting shape for making terminal for flash lamp according to self-demand
State adjustment is in off state, and improves the usage experience of user.
In the embodiment of the present invention, above-mentioned prompt information include but is not limited to speech prompt information, text prompt information and
One of vibration prompt information is a variety of, and the embodiment of the present invention is without limitation.
For example, needs are determined when terminal accounts for screen ratio according to the first brightness value and the first face of current environment
When the setting state adjustment of flash lamp is in off state, terminal exports prompt information, when user thinks the setting of holding flash lamp
When state, user inputs flash lamp setting state and keeps instruction, and user can be by adjusting between terminal and target object
Distance avoids flash lamp injury caused by the eyes of target object.
As an alternative embodiment, when above-mentioned first face accounts for screen ratio and is greater than pre-set ratio threshold value, terminal
After the S208 step that is finished, following operation is can also be performed in terminal:
The setting state of flash lamp is restored into the setting state to adjustment, i.e., terminal is automatically by the setting state of flash lamp
The setting state for restoring the flash lamp that terminal is got into step S203 by closed state, restores flash lamp without user manually
Setting state, maintain the use habit of user, improve the usage experience of user.
In the embodiment of the present invention, when the setting state of the flash lamp of camera application is auto state, terminal can basis
The face of the brightness value of current environment and the target object into preview area accounts for screen ratio to decide whether to adjust flash lamp
Setting state, and prompt information is exported in the setting state rear line for determining to need to adjust flash lamp, so that user's root
It determines whether terminal adjusts the setting state of flash lamp according to self-demand, improves the usage experience of user, and in the non-hand of user
The setting state adjustment of flash lamp is in off state automatically in the case where the setting state of dynamic modification flash lamp, avoids flash of light
Lamp is injured caused by the eyes of reference object, further improves the usage experience of user.
Referring to Fig. 3, Fig. 3 is the flow diagram of the method for another shooting disclosed by the embodiments of the present invention;Wherein, scheme
Method shown in 3 can be applied to smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and
Mobile internet device (Mobile Internet Devices, MID), PAD etc. are equipped in the terminal of camera application.Such as Fig. 3
Shown, the method for the shooting may comprise steps of:
S301, the camera application enabled instruction for receiving user's input.
In the embodiment of the present invention, camera application enabled instruction can be the finger that user inputs by touching camera application icon
It enables, is also possible to the instruction that user is inputted by the physical button in terminal, can also be user according to number predetermined
Whipping terminal and the instruction inputted, the embodiment of the present invention are not construed as limiting.
S302, the above-mentioned camera application enabled instruction of response, start camera application.
S303, the setting state for obtaining flash lamp in above-mentioned camera application.
In the embodiment of the present invention, setting state may include any in closed state, open state and auto state
One kind, the embodiment of the present invention is without limitation.
S304, when setting state is in off state, obtain the second brightness value of current environment.
In the embodiment of the present invention, the second brightness value of current environment is different from embodiment shown in Fig. 2 when flash lamp
First brightness value of the current environment that terminal is got when setting state is auto state.
S305, judge whether above-mentioned second brightness value is less than predetermined luminance threshold value.
In the embodiment of the present invention, when above-mentioned second brightness value is less than predetermined luminance threshold value, terminal can execute step
S306, when above-mentioned second brightness value is not less than predetermined luminance threshold value, terminal can directly execute step S308, i.e. terminal is being glistened
Lamp, which is in close state, lower to be shot target object.
In the embodiment of the present invention, the predetermined luminance threshold value in step S305 can be with step in embodiment shown in Fig. 2
Predetermined luminance threshold value in S205 is equal.
S306, when above-mentioned second brightness value is less than predetermined luminance threshold value, judge the of current collected facial image
Two faces account for whether screen ratio is greater than pre-set ratio threshold value.
In the embodiment of the present invention, when the second face accounts for screen ratio no more than pre-set ratio threshold value, terminal can execute step
Rapid S307, when the second face, which accounts for screen ratio, is greater than pre-set ratio threshold value, terminal can directly execute step S308, i.e. terminal exists
Flash lamp, which is in close state, lower to be shot target object.
In the embodiment of the present invention, the second face accounts for screen ratio and is different from people in embodiment shown in FIG. 1 in step S104
The first face that face accounts in screen ratio and embodiment shown in Fig. 2 in step S206 accounts for screen ratio, and pre- in step S306
If rate threshold can be equal to pre-set ratio threshold value and implementation shown in Fig. 2 in embodiment shown in FIG. 1 in step S104
Pre-set ratio threshold value in example in step S206.That is it is when the setting state of flash lamp is in off state that the second face, which accounts for screen ratio,
When the face that gets of terminal account for screen ratio, wherein the number of the collected facial image of terminal can be equal to 1, can also be big
In 1, such as when user's self-timer, the number of the collected facial image of terminal is 1, when self-timer or user are multiple users together
When multiple other users are taken pictures, the number of the collected facial image of terminal is greater than 1, then above-mentioned second face account for screen ratio can be with
The ratio that entire preview area is accounted for for the collected face images of terminal is also possible to the collected all face figures of terminal
Maximum face image accounts for the ratio of entire preview area as in, can also be the average ratio for all ratios that terminal is determined,
Wherein, all ratios are the set that each facial image that terminal is determined accounts for the ratio of entire preview area, and the present invention is implemented
Example is without limitation.And the pre-set ratio threshold value that screen ratio is accounted for for different types of second face is previously stored in terminal: with
Face images account for the corresponding pre-set ratio threshold value of ratio of entire preview area and the facial image of different numbers is corresponding not
Same pre-set ratio threshold value, such as when the number of facial image is 1, pre-set ratio threshold value can be 15%, when facial image
When number is 2, pre-set ratio threshold value can be 30% etc.;Entire preview area is accounted for maximum face image in face images
The corresponding pre-set ratio threshold value of ratio, such as 15%;It is corresponding with the average ratio for all ratios that terminal is determined default
Rate threshold, such as 15%, the embodiment of the present invention is without limitation.
S307, when above-mentioned second face accounts for screen ratio no more than pre-set ratio threshold value, the setting state tune turned off the light will be dodged
Whole is open state.
S308, when receiving shooting instruction, control above-mentioned camera application and target object shot.
In the embodiment of the present invention, the second brightness value of current environment is less than predetermined luminance threshold value and the second face accounts for screen ratio
When no more than pre-set ratio threshold value, terminal by the setting state of flash lamp be automatically regulated to be open state and to enter preview area
Target object shot, the shooting effect of the camera application under low light environment can be improved in this way.
As an alternative embodiment, when the second brightness value is less than predetermined luminance threshold value and the second face accounts for screen ratio
When no more than pre-set ratio threshold value, the above-mentioned camera application of terminal control carries out shooting to target object and may include:
Screen ratio calculation flashing bright angle value is accounted for according to the second face;
Above-mentioned camera application is controlled to shoot target object under flashing bright angle value.
Optionally, terminal can be with according to the concrete mode that the second face accounts for screen ratio calculation flashing bright angle value are as follows:
It determines from the mapping relations that the face obtained in advance accounts between screen ratio and flashing bright angle value and is accounted for the second face
Shield the corresponding flashing bright angle value of ratio.
In the embodiment of the present invention, terminal can be previously stored with the mapping that face accounts between screen ratio and brightness of flash lamp value
Relationship, the mapping relations can be it is pre- first pass through experimental calculation go out, be also possible to what user inputted according to self-demand, and not
The mapping relations that the face of same type accounts between screen ratio and brightness of flash lamp value are different and face bigger, the flash lamp that accounts for screen ratio
Brightness value is smaller.For example, the different types of face stored in terminal accounts for reflecting between screen ratio and brightness of flash lamp value
The relationship of penetrating can be as shown in fig. 7, Fig. 7 be that a kind of different types of face disclosed by the embodiments of the present invention accounts for screen ratio and flash lamp
Mapping table between brightness value, wherein the unit of brightness of flash lamp value is the every square meter of candelas (cd/m2).
Optionally, terminal can be with according to the concrete mode that the second face accounts for screen ratio calculation flashing bright angle value are as follows:
It is calculated to account for the second face according to the brightness of flash lamp value computation rule that gets in advance and shields the corresponding flash of light of ratio
Brightness value.
In the embodiment of the present invention, above-mentioned brightness of flash lamp value computation rule can be it is pre- first pass through experimental calculation go out,
It can be the operational order generation inputted by user, the embodiment of the present invention is without limitation.
As an alternative embodiment, when the second brightness value is less than predetermined luminance threshold value and the second face accounts for screen ratio
When no more than pre-set ratio threshold value, for terminal after the S308 step that is finished, following operation is can also be performed in terminal:
The setting state of flash lamp is restored into the setting state to adjustment, i.e., terminal is automatically by the setting state of flash lamp
The setting state for restoring the flash lamp that terminal is got into step S303 by closed state, restores flash lamp without user manually
Setting state, maintain the use habit of user, improve the usage experience of user.
In the embodiment of the present invention, when the setting state of flash lamp is in off state, the brightness value of current environment is less than default
When luminance threshold and face account for screen ratio no more than pre-set ratio threshold value, terminal can be automatically by the setting state of flash lamp by closing
Closed state is adjusted to open state, can improve the shooting effect of the camera application under low light environment in this way.
Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram of terminal disclosed by the embodiments of the present invention.As shown in figure 4, the end
End 400 may include receiving unit 401, start unit 402, acquiring unit 403, judging unit 404, adjustment unit 405 and
Control unit 406, in which:
Receiving unit 401, for receiving the camera application enabled instruction of user's input.
In the embodiment of the present invention, camera application enabled instruction can be the finger that user inputs by touching camera application icon
It enables, is also possible to user by the instruction of the physical button input in terminal 400, can also be user according to predetermined time
The instruction for counting whipping terminal 400 and inputting, the embodiment of the present invention are not construed as limiting.
Start unit 402 starts camera application for responding above-mentioned camera application enabled instruction.
In the embodiment of the present invention, after receiving unit 401 receives the camera application enabled instruction of user's input, start unit
402 can respond the camera application enabled instruction, start camera application.Wherein, the camera application may include front camera with
And one of rear camera or a variety of.For example, when user selects self-timer, then start unit 402 can start preposition
Camera, and color parameter value, the backlight brightness values of 400 screen of terminal, end panel of manually adjustable 400 screen of terminal of user
One of size of imaging region of 400 screen of size and terminal of light emitting region of curtain 400 a variety of improves shooting
Effect, the embodiment of the present invention is without limitation.
Acquiring unit 403, for obtaining the setting state of flash lamp in above-mentioned camera application.
In the embodiment of the present invention, setting state may include any in closed state, open state and auto state
It is a kind of, wherein when it is auto state that state, which is arranged, when terminal 400 can determine shooting according to the brightness value of current environment
Whether flash lamp is opened.
Judging unit 404, for when above-mentioned setting state is not closed state, judging current collected facial image
Face account for screen ratio whether be greater than pre-set ratio threshold value.
In the embodiment of the present invention, when the current setting state of the flash lamp that acquiring unit 403 is got is not closed state
When, i.e., when the setting state of flash lamp is open state or auto state, the acquisition of terminal 400 is currently entering preview area
The image of target object simultaneously calculates the ratio (i.e. the face of facial image accounts for screen ratio) that the image accounts for entire preview area, judgement
Unit 404 judges that the face of current collected facial image accounts for whether screen ratio is greater than pre-set ratio threshold value.
In the embodiment of the present invention, the number of the collected facial image of terminal 400 can be equal to 1, can also be greater than 1, such as
When user's self-timer, the number of the collected facial image of terminal 400 is 1, when self-timer or user are more to multiple users together
When a other users are taken pictures, the number of the collected facial image of terminal 400 is greater than 1, then above-mentioned face, which accounts for screen ratio, to be
The collected face images of terminal 400 account for the ratio of entire preview area, are also possible to the collected owner of terminal 400
Maximum face image accounts for the ratio of entire preview area in face image, can also be the flat of all ratios that terminal 400 is determined
Equal ratio, wherein all ratios are the set for the ratio that each facial image that terminal 400 is determined accounts for entire preview area,
The embodiment of the present invention is without limitation.And the default ratio that screen ratio is accounted for for different types of face is previously stored in terminal 400
Rate threshold value: the face figure of pre-set ratio threshold value corresponding from the ratio that face images account for entire preview area and different numbers
As corresponding different pre-set ratio threshold value;It is corresponding that the ratio of entire preview area is accounted for maximum face image in face images
Pre-set ratio threshold value;Pre-set ratio threshold value corresponding with the average ratio for all ratios that terminal is determined, wherein all ratios
Rate is the set for the ratio that each facial image that terminal 400 is determined accounts for entire preview area, and the embodiment of the present invention does not limit
It is fixed.
Adjustment unit 405, for when above-mentioned face account for screen ratio be greater than pre-set ratio threshold value when, by the setting shape of flash lamp
State is adjusted to the closed state.
In the embodiment of the present invention, when judging unit 404 judges that face accounts for screen ratio greater than pre-set ratio threshold value, adjustment
The setting state of flash lamp is in off state by unit 405 by the adjustment of non-closed state.
Control unit 406, for when receiving shooting instruction, control camera application to shoot target object.
In the embodiment of the present invention, control unit 406, specifically for when receiving shooting instruction, control camera application exists
Flash lamp, which is in close state, lower to be shot target object.
As an alternative embodiment, the setting state for working as the flash lamp that acquiring unit 403 is got is to close shape
When state or judging unit 404 judge that face accounts for screen ratio no more than pre-set ratio threshold value, control unit 406 can be also used for controlling
Camera application processed shoots target object in the case where flash lamp is in the setting state that acquiring unit 403 is got.
Implement the embodiment of the present invention can user closely be when reference object is taken pictures and reference object is personage it is automatic
Flash lamp is closed, flash lamp injury caused by the eyes of reference object is avoided.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of another terminal disclosed by the embodiments of the present invention.Wherein, shown in Fig. 5
Terminal 500 be that terminal 400 as shown in Figure 4 optimizes.As shown in figure 5, the terminal 500 may include receiving list
Member 501, start unit 502, acquiring unit 503, the first computing unit 504, judging unit 505, output unit 506, adjustment are single
Member 507, first control unit 508 and recovery unit 509, in which:
Receiving unit 501, for receiving the camera application enabled instruction of user's input.
Start unit 502 starts camera application for responding above-mentioned camera application enabled instruction.
Acquiring unit 503, for obtaining the setting state of flash lamp in above-mentioned camera application.
In the embodiment of the present invention, setting state may include any in closed state, open state and auto state
It is a kind of.
Start unit 502 can be also used for when the setting state of above-mentioned flash lamp is not closed state, and starting face is known
Other mode.
First computing unit 504 identifies that current acquired image includes under above-mentioned recognition of face mode for working as
When one or more facial feature images, the ratio that all facial feature images account for imaging region is calculated, is accounted for as the first face
Shield ratio;Or the ratio that maximum facial feature image in the one or more facial feature image accounts for imaging region is calculated, as
First face accounts for screen ratio;Or it first calculates each facial feature image and accounts for the ratio of imaging region to obtain one or more ratios
Rate, then calculates the average value of all ratios in the one or more ratio again, accounts for screen ratio as the first face.And terminal
The pre-set ratio threshold value that screen ratio is accounted for for different types of first face is previously stored in 500: with all facial characteristics figures
As accounting for the corresponding pre-set ratio threshold value of ratio of entire preview area, and the facial feature image of different numbers correspond to it is different pre-
If rate threshold;It is corresponding default that the ratio of entire preview area is accounted for facial feature image maximum in all facial feature images
Rate threshold;Pre-set ratio threshold value corresponding with the average ratio for all ratios that terminal is determined, wherein all ratios are eventually
Each facial feature image that end 500 is determined accounts for the set of the ratio of entire preview area, and the embodiment of the present invention is without limitation.
Judging unit 505, for judging that the first face accounts for whether screen ratio is greater than pre-set ratio threshold value.
Output unit 506, for judging that the first face accounts for screen ratio and is greater than pre-set ratio threshold value when judging unit 505
When, prompt information is exported to user, wherein prompt information is used to prompt the user whether the setting state of adjustment flash lamp.
Receiving unit 501 can be also used for the response instruction for receiving user for the input of above-mentioned prompt information, wherein ring
It should instruct and keep instruction including flash lamp setting status modifier instruction or flash lamp setting state.
Judging unit 505, the flash lamp setting status modifier that can be also used for judging whether to receive user's input instruct.
Adjustment unit 507, the flash lamp setting status modifier for not receiving user's input when judging unit 505 instruct
When, the setting state adjustment of above-mentioned flash lamp is in off state.
First control unit 508, for when receiving shooting instruction, control camera application to be in flash lamp and closes shape
Target object is shot under state.
Recovery unit 509, for the setting state of above-mentioned flash lamp to be restored to the setting state to adjustment.
Specifically, recovery unit 509 is used to the setting state of above-mentioned flash lamp reverting to acquiring unit by closed state
The setting state of 503 flash lamps got.
As an alternative embodiment, the setting state for working as the flash lamp that acquiring unit 503 is got is automatic shape
When state, acquiring unit 503 can be also used for the first brightness value for obtaining current environment.
Judging unit 505 can be also used for judging whether above-mentioned first brightness value is less than predetermined luminance threshold value, and when above-mentioned
When first brightness value is less than predetermined luminance threshold value, judge that above-mentioned first face accounts for whether screen ratio is greater than pre-set ratio threshold value.
As an alternative embodiment, the setting state for working as the flash lamp that acquiring unit 503 is got is to close shape
When state, acquiring unit 503 can be also used for the second brightness value for obtaining current environment.
Judging unit 505 can be also used for judging whether above-mentioned second brightness value is less than predetermined luminance threshold value, and when above-mentioned
When second brightness value is less than predetermined luminance threshold value, judge whether the second face of current collected facial image accounts for screen ratio big
In pre-set ratio threshold value.
In the embodiment of the present invention, it is the terminal when the setting state of flash lamp is in off state that the second face, which accounts for screen ratio,
500 faces got account for screen ratio, wherein the number of the collected facial image of terminal 500 can be equal to 1, can also be big
In 1, such as when user's self-timer, the number of the collected facial image of terminal 500 is 1, when multiple users self-timer or use together
When family is that multiple other users are taken pictures, the number of the collected facial image of terminal 500 is greater than 1, then above-mentioned second face accounts for screen
Ratio can account for the ratio of entire preview area for the collected face images of terminal 500, be also possible to the acquisition of terminal 500
To face images in maximum face image account for the ratio of entire preview area, can also be the institute that terminal 500 is determined
There is the average ratio of ratio, wherein all ratios are the ratio that each facial image that terminal 500 is determined accounts for entire preview area
The set of rate, the embodiment of the present invention is without limitation.And it is previously stored in terminal 500 and accounts for screen for different types of second face
The pre-set ratio threshold value of ratio: pre-set ratio threshold value corresponding with the ratio that face images account for entire preview area and difference
The facial image of number corresponds to different pre-set ratio threshold values;Entire preview region is accounted for maximum face image in face images
The corresponding pre-set ratio threshold value of the ratio in domain;Pre-set ratio threshold corresponding with the average ratio for all ratios that terminal is determined
Value, the embodiment of the present invention is without limitation.
Adjustment unit 507 can be also used for when above-mentioned second face accounts for screen ratio no more than pre-set ratio threshold value, will be upper
It states the setting state dodged and turned off the light and is adjusted to open state.
First control unit 508 can be also used for when receiving shooting instruction, control above-mentioned camera application in flash lamp
It is in the open state lower target object to be shot.
Optionally, as shown in figure 5, first control unit 508 may include the second computing unit 5081 and the second control
Unit 5082, in which:
Second computing unit 5081, for accounting for screen ratio calculation flashing bright angle value according to the second face.
Second control unit 5082 claps target object under above-mentioned flashing bright angle value for controlling camera application
It takes the photograph.
Optionally, the second computing unit 5081 can according to the concrete mode that the second face accounts for screen ratio calculation flashing bright angle value
With are as follows:
It determines from the mapping relations that the face obtained in advance accounts between screen ratio and flashing bright angle value and is accounted for the second face
Shield the corresponding flashing bright angle value of ratio.
In the embodiment of the present invention, terminal 500 can be previously stored with face and account between screen ratio and brightness of flash lamp value
Mapping relations, the mapping relations can be it is pre- first pass through experimental calculation go out, be also possible to what user inputted according to self-demand,
And the mapping relations that account between screen ratio and brightness of flash lamp value of different types of face are different and face to account for screen ratio bigger, dodge
Light lamp brightness value is smaller.For example, the different types of face stored in terminal 500 account for screen ratio and brightness of flash lamp value it
Between mapping relations can with as shown in fig. 7, Fig. 7 be a kind of different types of face disclosed by the embodiments of the present invention account for screen ratio with
Mapping table between brightness of flash lamp value, wherein the unit of brightness of flash lamp value is the every square meter of candelas (cd/m2)
Optionally, the second computing unit 5081 can according to the concrete mode that the second face accounts for screen ratio calculation flashing bright angle value
With are as follows:
It is calculated to account for the second face according to the brightness of flash lamp value computation rule that gets in advance and shields the corresponding flash of light of ratio
Brightness value.
In the embodiment of the present invention, above-mentioned brightness of flash lamp value computation rule can be it is pre- first pass through experimental calculation go out,
It can be the operational order generation inputted by user, the embodiment of the present invention is without limitation.
Recovery unit 509 can be also used for for the setting state of flash lamp being in off state by open state recovery.
In the embodiment of the present invention, when the setting state of the flash lamp of camera application is auto state, terminal can basis
The face of the brightness value of current environment and the target object into preview area accounts for screen ratio to decide whether to adjust flash lamp
Setting state, and prompt information is exported in the setting state rear line for determining to need to adjust flash lamp, so that user's root
It determines whether terminal adjusts the setting state of flash lamp according to self-demand, improves the usage experience of user, and in the non-hand of user
The setting state adjustment of flash lamp is in off state automatically in the case where the setting state of dynamic modification flash lamp, avoids flash of light
It is injured caused by eyes of the lamp the target object for entering preview area, further improves the usage experience of user, and when sudden strain of a muscle
The setting state of light lamp is in off state, the brightness value of current environment is less than predetermined luminance threshold value and face accounts for screen ratio and is not more than
When pre-set ratio threshold value, the setting state of flash lamp can be adjusted to open state by closed state automatically by terminal, in this way may be used
To improve the shooting effect of the camera application under low light environment.
Referring to Fig. 6, Fig. 6 is the structural schematic diagram of another terminal disclosed by the embodiments of the present invention.As shown in fig. 6, should
Terminal 600 may include: at least one processor 601, such as CPU, input unit 602, output device 603, memory 604 and
At least one communication bus 605, memory 604 can be high speed RAM memory, be also possible to non-labile memory
(non-volatile memory), such as at least one magnetic disk storage, optionally, memory 604 can also be at least one position
In the storage device far from aforementioned processor 601.Wherein:
Communication bus 605, for realizing the connection communication between these components;
Input unit 602, for receiving the camera application enabled instruction of user's input, wherein input unit 602 can wrap
Include the display screen in terminal 600, the physical button in terminal 600 and any one in the gravity sensor in terminal 600.
Processor 601 calls the program code stored in memory 604, for performing the following operations:
Above-mentioned camera application enabled instruction is responded, the camera application of terminal 600 is started;
Obtain the setting state of flash lamp in above-mentioned camera application, wherein setting state includes closed state, open state
And any one in auto state;
When above-mentioned setting state is not closed state, judge that the first face of current collected facial image accounts for screen ratio
Whether rate is greater than pre-set ratio threshold value;
When the first face, which accounts for screen ratio, is greater than pre-set ratio threshold value, the setting state of above-mentioned flash lamp is adjusted to close
State;
When receiving shooting instruction, control camera application shoots target object.
In one embodiment, when it is auto state that state, which is arranged, judge that the first face accounts for screen ratio in processor 601
Whether it is greater than before pre-set ratio threshold value, input unit 602, can be also used for the first brightness value for obtaining current environment, wherein
Input unit 602 can also include the luminance sensor in terminal 600.
Processor 601 calls the program code stored in memory 604, is also used to execute following operation:
Judge whether above-mentioned first brightness value is less than predetermined luminance threshold value, and when processor 601 judges that above-mentioned first is bright
When angle value is less than predetermined luminance value, judge that the first face of current collected facial image accounts for whether screen ratio is greater than default ratio
Rate threshold value.
In one embodiment, judge that the first face of current collected facial image accounts for screen ratio in processor 601
Whether be greater than before pre-set ratio threshold value, processor 601 calls the program code that stores in memory 604, be also used to execute with
Lower operation:
Start recognition of face mode;
When identifying that current acquired image includes one or more facial characteristics figures under above-mentioned recognition of face mode
When picture, the ratio that facial feature image accounts for imaging region is calculated, accounts for screen ratio as the first face, or calculate the one or more
Maximum facial feature image accounts for the ratio of imaging region in facial feature image, accounts for screen ratio as the first face;Or it calculates every
A facial feature image accounts for the ratio of imaging region to obtain one or more ratios, and calculates in one or more ratios and own
The average value of ratio accounts for screen ratio as the first face.
In one embodiment, when the first face account for screen ratio be greater than pre-set ratio threshold value when, processor 601 will be above-mentioned
Before the setting state adjustment of flash lamp is in off state, processor 601 calls the program code stored in memory 604, also
For performing the following operations:
Judge whether input unit 602 receives the flash lamp setting status modifier instruction of user's input, and is not receiving
When being instructed to the flash lamp setting status modifier that user inputs, the setting state adjustment of above-mentioned flash lamp is in off state.
In one embodiment, output device 603, for judging whether input unit 602 receives use in processor 601
Before the flash lamp setting status modifier of family input instructs, prompt information is exported to user, the prompt information is for prompting user
Whether the setting state of above-mentioned flash lamp is adjusted, wherein output device 603 may include display screen or terminal in terminal 600
Loudspeaker etc. on 600.
Input unit 602 is also used to receive user for the response instruction of prompt information input, wherein response instruction packet
It includes flash lamp setting status modifier instruction or flash lamp setting state keeps instruction, and input unit 602 can also include terminal
Microphone etc. on 600.
In one embodiment, when it is the closed state that processor 601, which gets setting state, input unit 602, also
It can be used for obtaining the second brightness value of current environment.
Processor 601 calls the program code stored in memory 604, is also used to execute following operation:
Judge whether the second brightness value of the current environment that input unit 602 is got is less than predetermined luminance threshold value.
When the second brightness value is less than predetermined luminance threshold value, judge that the second face of current collected facial image accounts for screen
Whether ratio is greater than pre-set ratio threshold value.
When the second face accounts for screen ratio no more than the pre-set ratio threshold value, the setting state that above-mentioned sudden strain of a muscle is turned off the light is adjusted to
The open state.
When input unit 602 receives shooting instruction, control camera application shoots target object.
In one embodiment, when the second brightness value is less than predetermined luminance threshold value, processor 601 controls the camera application
Target object is shot, is specifically included:
Screen ratio calculation flashing bright angle value is accounted for according to the second face.
The camera application of controlling terminal 600 shoots target object under above-mentioned flashing bright angle value.
In one embodiment, processor 601 accounts for the concrete mode of screen ratio calculation flashing bright angle value according to the second face
It can be with are as follows:
The face obtained in advance from terminal 600 is accounted in the mapping relations between screen ratio and flashing bright angle value and is determined and second
Face accounts for the corresponding flashing bright angle value of screen ratio.
In one embodiment, processor 601 accounts for the concrete mode of screen ratio calculation flashing bright angle value according to the second face
It can be with are as follows:
It is calculated to account for second face according to the brightness of flash lamp value computation rule that gets in advance and shields the corresponding sudden strain of a muscle of ratio
Brightness values.
In one embodiment, processor 601 calls the program code stored in memory 604, is also used to execute following
Operation:
The setting state of the flash lamp of terminal 600 is restored to the setting state to adjustment.
Implement the embodiment of the present invention can user closely be when reference object is taken pictures and reference object is personage it is automatic
Flash lamp is closed, flash lamp injury caused by the eyes of reference object is avoided.
It should be noted that in the above-described embodiments, all emphasizing particularly on different fields to the description of each embodiment, in some embodiment
The part being not described in, reference can be made to the related descriptions of other embodiments.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related movement and unit are not necessarily of the invention
It is necessary.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit in the terminal of that embodiment of the invention can be combined, divided and deleted according to actual needs.
Unit described in the embodiment of the present invention can pass through universal integrated circuit, such as CPU (Central
Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated
Circuit, specific integrated circuit) Lai Shixian.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
A kind of terminal disclosed by the embodiments of the present invention is described in detail above, specific example pair used herein
The principle of the present invention and embodiment are expounded, the above embodiments are only used to help understand the present invention and its core
Thought is thought;At the same time, for those skilled in the art in specific embodiment and applies model according to the thought of the present invention
Place that there will be changes, in conclusion the contents of this specification are not to be construed as limiting the invention.
Claims (7)
1. a kind of terminal characterized by comprising
Receiving unit, for receiving the camera application enabled instruction of user's input;
Start unit starts camera application for responding the camera application enabled instruction;
Acquiring unit, for obtaining the setting state of flash lamp in the camera application, wherein the setting state includes closing
Any one in state, open state and auto state;
The acquiring unit is also used to obtain the first brightness of current environment when the setting state is the auto state
Value;
The acquiring unit is also used to obtain the second brightness of current environment when the setting state is the closed state
Value;
The start unit is also used to start recognition of face mode;
First computing unit identifies that current acquired image includes multiple faces under the recognition of face mode for working as
When characteristic image, the ratio that all facial feature images account for imaging region is calculated, accounts for screen ratio, or meter as the first face
It calculates each facial feature image and accounts for the ratio of imaging region to obtain one or more ratios, and calculate one or more
The average value of all ratios in a ratio accounts for screen ratio as the first face;
Judging unit, for when the setting state is the open state, judging the of current collected facial image
One face accounts for whether screen ratio is greater than pre-set ratio threshold value;
The judging unit is also used to whether judge first brightness value when the setting state is the auto state
Less than predetermined luminance threshold value, when first brightness value is less than the predetermined luminance threshold value, current collected face is judged
First face of image accounts for whether screen ratio is greater than pre-set ratio threshold value;
The judging unit, be also used to the setting state be the closed state when, judge whether second brightness value small
In the predetermined luminance threshold value, and when second brightness value is less than the predetermined luminance threshold value, judgement is currently collected
Facial image the second face account for screen ratio whether be greater than pre-set ratio threshold value, wherein second face account for screen ratio be
The face that terminal is got when the setting state of flash lamp is in off state accounts for screen ratio;
It is previously stored with the pre-set ratio threshold value for accounting for screen ratio for different types of face in terminal: being accounted for face images
The facial image of the corresponding pre-set ratio threshold value of ratio of entire preview area and different numbers corresponds to different pre-set ratio thresholds
Value;
Adjustment unit, for when first face account for screen ratio be greater than the pre-set ratio threshold value when, by the flash lamp
Setting state is adjusted to the closed state;
The adjustment unit is also used to when second face accounts for screen ratio no more than the pre-set ratio threshold value, will be described
The setting state of flash lamp is adjusted to the open state;
First control unit shoots target object for when receiving shooting instruction, controlling the camera application.
2. terminal according to claim 1, which is characterized in that the judging unit is also used to judge whether to receive use
The flash lamp setting status modifier of family input instructs, when the flash lamp setting status modifier for not receiving user's input instructs,
The setting state of the flash lamp is adjusted to the closed state by the adjustment unit.
3. terminal according to claim 2, which is characterized in that the terminal further includes output unit, in which:
The output unit, for exporting prompt information to user, the prompt information is for prompting the user whether described in adjustment
The setting state of flash lamp;
The receiving unit is also used to receive user for the response instruction of prompt information input, the response instruction packet
It includes flash lamp setting status modifier instruction or flash lamp setting state keeps instruction.
4. terminal according to claim 1, which is characterized in that the first control unit include the second computing unit and
Second control unit, in which:
Second computing unit, for accounting for screen ratio calculation flashing bright angle value according to second face;
Second control unit claps target object under the flashing bright angle value for controlling the camera application
It takes the photograph.
5. terminal according to claim 4, which is characterized in that second computing unit accounts for screen according to second face
The concrete mode of ratio calculation flashing bright angle value are as follows:
It determines from the mapping relations that the face obtained in advance accounts between screen ratio and flashing bright angle value and is accounted for second face
Shield the corresponding flashing bright angle value of ratio.
6. terminal according to claim 5, which is characterized in that second computing unit accounts for screen according to second face
The concrete mode of ratio calculation flashing bright angle value are as follows:
It is calculated to account for second face according to the brightness of flash lamp value computation rule that gets in advance and shields the corresponding flash of light of ratio
Brightness value.
7. described in any item terminals according to claim 1~6, which is characterized in that the terminal further includes recovery unit,
In:
The recovery unit, for the setting state of the flash lamp to be restored to the setting state to adjustment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510104383.1A CN104754219B (en) | 2015-03-10 | 2015-03-10 | A kind of terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510104383.1A CN104754219B (en) | 2015-03-10 | 2015-03-10 | A kind of terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104754219A CN104754219A (en) | 2015-07-01 |
CN104754219B true CN104754219B (en) | 2019-05-14 |
Family
ID=53593261
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510104383.1A Active CN104754219B (en) | 2015-03-10 | 2015-03-10 | A kind of terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104754219B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105141854A (en) * | 2015-08-26 | 2015-12-09 | 广东欧珀移动通信有限公司 | Flashlight control method, flashlight control device and terminal equipment |
CN105245787B (en) * | 2015-09-14 | 2019-04-02 | 努比亚技术有限公司 | Filming control method and its mobile terminal |
CN105245714A (en) * | 2015-10-23 | 2016-01-13 | 上海斐讯数据通信技术有限公司 | Proximity-sensor-based smartphone flash fast switching method and system |
CN105827872A (en) * | 2016-06-07 | 2016-08-03 | 维沃移动通信有限公司 | Control method of mobile terminal and mobile terminal |
CN107544265A (en) * | 2016-06-27 | 2018-01-05 | 石飞 | Wireless intelligent house system |
CN106131424A (en) * | 2016-07-26 | 2016-11-16 | 维沃移动通信有限公司 | A kind of method and apparatus of shooting |
CN107734156A (en) * | 2017-09-28 | 2018-02-23 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
CN107911585B (en) * | 2017-11-28 | 2020-06-09 | 维沃移动通信有限公司 | Image processing method and device of mobile terminal and mobile terminal |
CN113824895A (en) * | 2021-09-24 | 2021-12-21 | 上海闻泰信息技术有限公司 | Flash lamp, electronic equipment and flash lamp control method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102081278A (en) * | 2010-11-19 | 2011-06-01 | 华为终端有限公司 | Flash control method and device |
CN103024165A (en) * | 2012-12-04 | 2013-04-03 | 华为终端有限公司 | Method and device for automatically setting shooting mode |
CN103929542A (en) * | 2014-04-29 | 2014-07-16 | 深圳市中兴移动通信有限公司 | Mobile terminals and photographing method and device thereof |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090086754A (en) * | 2008-02-11 | 2009-08-14 | 삼성디지털이미징 주식회사 | Apparatus and method for digital picturing image |
JP2014187456A (en) * | 2013-03-22 | 2014-10-02 | Panasonic Corp | Imaging apparatus and sound pickup device |
-
2015
- 2015-03-10 CN CN201510104383.1A patent/CN104754219B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102081278A (en) * | 2010-11-19 | 2011-06-01 | 华为终端有限公司 | Flash control method and device |
CN103024165A (en) * | 2012-12-04 | 2013-04-03 | 华为终端有限公司 | Method and device for automatically setting shooting mode |
CN103929542A (en) * | 2014-04-29 | 2014-07-16 | 深圳市中兴移动通信有限公司 | Mobile terminals and photographing method and device thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104754219A (en) | 2015-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104754219B (en) | A kind of terminal | |
CN105049726B (en) | A kind of mobile terminal photographic method and mobile terminal | |
AU2022200580B2 (en) | Photographing method, photographing apparatus, and mobile terminal | |
CN104902177B (en) | A kind of Intelligent photographing method and terminal | |
CN105791708B (en) | A kind of filming control method, device and intelligent terminal | |
CN110012210B (en) | Photographing method and device, storage medium and electronic equipment | |
WO2017161867A1 (en) | Screen brightness adjustment method and apparatus, and intelligent terminal | |
CN106210330B (en) | A kind of image processing method and terminal | |
CN104754220A (en) | Shooting method | |
WO2022028184A1 (en) | Photography control method and apparatus, electronic device, and storage medium | |
CN104853111B (en) | A kind of image pickup method and terminal | |
CN104811620B (en) | A kind of focusing method and focusing system | |
CN105679253B (en) | A kind of terminal backlight adjusting method and device | |
CN108307120B (en) | Image shooting method and device and electronic terminal | |
CN110211549A (en) | A kind of screen brightness regulation method, device, terminal and storage medium | |
CN106060417A (en) | Flashlight control method and terminal | |
CN107333069A (en) | A kind of proactive photographic method of bright screen light filling and mobile terminal | |
CN105005390A (en) | Terminal adjusting method, terminal adjusting device, and terminal | |
CN106778623A (en) | A kind of terminal screen control method, device and electronic equipment | |
CN105892965A (en) | Screen display method and device | |
CN107835359A (en) | Triggering method of taking pictures, mobile terminal and the storage device of a kind of mobile terminal | |
CN105808997A (en) | Control method and electronic equipment | |
CN104267933A (en) | Flashlight adjusting method | |
CN111771372A (en) | Method and device for determining camera shooting parameters | |
CN103685948A (en) | Shooting method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210427 Address after: DESAY No. 9789 building, 518057 Guangdong city of Shenzhen province Nanshan District Guangdong streets Shennan Road sign layer 17 layer (natural layer 15) No. 1702-1703 Patentee after: Shenzhen Microphone Holdings Co.,Ltd. Address before: 518040, 21 floor, Times Technology Building, 7028 Shennan Road, Futian District, Guangdong, Shenzhen Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |