CN104754219A - Terminal - Google Patents

Terminal Download PDF

Info

Publication number
CN104754219A
CN104754219A CN201510104383.1A CN201510104383A CN104754219A CN 104754219 A CN104754219 A CN 104754219A CN 201510104383 A CN201510104383 A CN 201510104383A CN 104754219 A CN104754219 A CN 104754219A
Authority
CN
China
Prior art keywords
face
ratio
terminal
state
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510104383.1A
Other languages
Chinese (zh)
Other versions
CN104754219B (en
Inventor
李祯钰
陈斐斐
陈洁波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Microphone Holdings Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510104383.1A priority Critical patent/CN104754219B/en
Publication of CN104754219A publication Critical patent/CN104754219A/en
Application granted granted Critical
Publication of CN104754219B publication Critical patent/CN104754219B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a terminal. The terminal comprises a receiving unit, a starting unit, an obtaining unit, a judging unit, an adjusting unit and a control unit, wherein the receiving unit is used for receiving a photographing application starting instruction input by a user; the starting unit is used for responding the photographing application starting instruction to start the photographing application; the obtaining unit is used for obtaining a set state of a flashlight in the photographing application; the judging unit is used for judging whether a human face screen occupying rate of a current acquired human face image is more than a pre-set rate threshold value or not when the set state is not a closed state; the adjusting unit is used for adjusting the set state of the flashlight into the closed state when the judging result is the closed state; the control unit is used for photographing a target object by the photographing application when receiving the photographing instruction. With the adoption of the terminal, the flashlight is automatically turned off when a user photographs the photographing object in a near distance and the photographing object is a person, so that the damages to eyes of the photographing object, caused by the flashlight, are avoided, and the user experience is improved.

Description

A kind of terminal
Technical field
The present invention relates to technique for taking field, particularly relate to a kind of terminal.
Background technology
Along with the continuous progress and development of electronics and mechanics of communication, the use of camera application in people's daily life is more and more extensive, and increasing smart machine is all provided with camera application, such as: the smart machines such as mobile phone, panel computer, notebook computer are all provided with camera application.In addition, current camera application major part is all configured with photoflash lamp, opens the quality of taking pictures under photoflash lamp can improve low light environment.But, in actual applications, when user closely for reference object is taken pictures and reference object for personage time, open photoflash lamp easily the eyes of reference object are damaged.
Summary of the invention
Embodiments provide a kind of terminal, can user closely for reference object is taken pictures and reference object for personage time automatically close photoflash lamp, avoid the injury that the eyes of photoflash lamp to reference object cause.
The embodiment of the invention discloses a kind of terminal, comprising:
Receiving element, for receiving the camera application enabled instruction of user's input;
Start unit, for responding described camera application enabled instruction, starts camera application;
Acquiring unit, arranges state for what obtain photoflash lamp in described camera application, wherein, described arrange that state comprises in closed condition, opening and auto state any one;
Judging unit, for when described to arrange state be not described closed condition time, judge that the first face of the current facial image collected accounts for screen ratio and whether is greater than pre-set ratio threshold value;
Adjustment unit, for account for when described first face screen ratio be greater than described pre-set ratio threshold value time, the state that arranges of described photoflash lamp is adjusted to described closed condition;
First control unit, for when receiving shooting instruction, controlling described camera application and taking destination object.
In the embodiment of the present invention, this terminal comprises receiving element, start unit, acquiring unit, judging unit, adjustment unit and control unit, receiving element is for receiving the camera application enabled instruction of user's input, start unit starts camera application for responding camera application enabled instruction, acquiring unit arranges state for what obtain photoflash lamp in camera application, wherein, this arranges state and comprises closed condition, any one in opening and auto state, judging unit is used for when arranging state and not being closed condition, judge that the face of the current facial image collected accounts for screen ratio and whether is greater than pre-set ratio threshold value, when adjustment unit is greater than pre-set ratio threshold value for accounting for screen ratio when face, the state that arranges of above-mentioned photoflash lamp is adjusted to closed condition, control unit is used for when receiving shooting instruction, control above-mentioned camera application to take destination object.Implement the embodiment of the present invention can user closely for reference object is taken pictures and reference object be personage time automatically close photoflash lamp, avoid the injury that the eyes of photoflash lamp to reference object cause, improve the experience of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method for a kind of shooting disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the method for the disclosed another kind of shooting of the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the method for the embodiment of the present invention another shooting disclosed;
Fig. 4 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of the embodiment of the present invention another terminal disclosed;
Fig. 7 is the mapping relations table that a kind of dissimilar face disclosed in the embodiment of the present invention accounts between screen ratio and brightness of flash lamp value.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of terminal, can user closely for reference object is taken pictures and reference object for personage time automatically close photoflash lamp, avoid the injury that the eyes of photoflash lamp to reference object cause, improve the experience of user.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of the method for a kind of shooting disclosed in the embodiment of the present invention.Wherein, method shown in Fig. 1 can be applied to smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palmtop PC and mobile internet device (Mobile Internet Devices, MID), PAD etc. and be provided with in the terminal of camera application.As shown in Figure 1, the method for this shooting can comprise the following steps:
The camera application enabled instruction of S101, reception user input.
In the embodiment of the present invention, camera application enabled instruction can be the instruction that user passes through to touch the input of camera application icon, also can be the instruction of user by the physical button input in terminal, can also be the instruction that user inputs according to predefined number of times whipping terminal, the embodiment of the present invention be not construed as limiting.
S102, respond above-mentioned camera application enabled instruction, start camera application.
In the embodiment of the present invention, terminal can respond this camera application enabled instruction after receiving the camera application enabled instruction of user's input, starts camera application.Wherein, this camera application can comprise one or more in front-facing camera and post-positioned pick-up head.For example, when user selects to autodyne, then terminal can open front-facing camera, and user one or more in the size of the color parameter value of manual adjustments terminal screen, the backlight brightness values of terminal screen, the size of the light-emitting zone of terminal screen and the imaging region of terminal screen can improve shooting effect.
S103, obtain photoflash lamp in above-mentioned camera application state is set.
In the embodiment of the present invention, the state of setting can comprise in closed condition, opening and auto state any one, wherein, when the state of setting is auto state, when terminal can decide shooting according to the brightness value of current environment, whether open photoflash lamp.
S104, when arranging state and not being closed condition, judge the face of the current facial image collected account for screen ratio whether be greater than pre-set ratio threshold value.
In the embodiment of the present invention, when face account for screen ratio be greater than pre-set ratio threshold value time, terminal perform step S105, when face account for screen ratio be not more than pre-set ratio threshold value time, terminal directly can perform step S106.
In the embodiment of the present invention, the number of the facial image that terminal collects can equal 1, also 1 can be greater than, as when user autodynes, the number of the facial image that terminal collects is 1, when multiple user autodynes or user takes pictures for other users multiple together, the number of the facial image that terminal collects is greater than 1, then above-mentioned face accounts for the ratio that the screen ratio face images that can collect for terminal accounts for whole preview area, also can be the ratio that in the face images that collects of terminal, maximum face image accounts for whole preview area, it can also be the average ratio of all ratios that terminal is determined, wherein, all ratios is the set that each facial image that terminal is determined accounts for the ratio of whole preview area, the embodiment of the present invention does not limit.And in terminal, be previously stored with the pre-set ratio threshold value accounting for screen ratio for dissimilar face: account for pre-set ratio threshold value corresponding to the ratio of whole preview area and the corresponding different pre-set ratio threshold value of the facial image of different number from face images, 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 can be 30% etc.; Pre-set ratio threshold value corresponding to the ratio of whole preview area is accounted for, as 15% etc. with maximum face image in face images; The pre-set ratio threshold value corresponding with the average ratio of all ratios that terminal is determined, as 15% etc., the embodiment of the present invention does not limit.
S105, when above-mentioned face account for screen ratio be greater than pre-set ratio threshold value time, the state that arranges of photoflash lamp is adjusted to closed condition.
In the embodiment of the present invention, when judge face account for screen ratio be greater than pre-set ratio threshold value time, the state that arranges of photoflash lamp is adjusted to closed condition by non-closed condition by terminal.Concrete, when the state that arranges that the sudden strain of a muscle got in step S103 is turned off the light is opening, terminal is adjusted to closed condition, when the state that arranges that the sudden strain of a muscle got in step S103 is turned off the light is auto state, terminal is adjusted to closed condition, can avoid the injury that the eyes of photoflash lamp to the destination object entering preview area cause like this.
In the embodiment of the present invention, for example, supposing that above-mentioned face accounts for screen ratio is that in the face images that collects of terminal, maximum face image accounts for the ratio of whole preview area and its size is 17%, the pre-set ratio threshold value that the face for the type prestored in terminal accounts for screen ratio is 15%, then the state that arranges of photoflash lamp is adjusted to closed condition by terminal.
S106, when receive shooting instruction time, control this camera application and destination object taken.
In the embodiment of the present invention, when face account for screen ratio be not more than pre-set ratio threshold value time, receive shooting instruction after, terminal can be taken destination object according to the state that arranges of the photoflash lamp got in step S103.
In the embodiment of the present invention, when face account for screen ratio be greater than pre-set ratio threshold value time, receive shooting instruction after, terminal can control camera application and take destination object under photoflash lamp is in closed condition.Owing to now the state that arranges of photoflash lamp being adjusted to closed condition, if the brightness value of current environment is lower, then the shooting effect of terminal by regulating the attribute of terminal screen to improve terminal.For example, when autodyning at cloudy weather, because the brightness value of current environment is lower, then user manually can heighten the backlight brightness values of terminal screen, color parameter value, the according to a certain percentage relation of adjustment terminal screen tunes up the size of light-emitting zone and turn one or more in the size of imaging region down to improve the shooting effect of terminal, and the embodiment of the present invention is not construed as limiting.
As the optional execution mode of one, when face account for screen ratio be greater than pre-set ratio threshold value time, terminal is after the S106 step that is finished, and terminal can also perform following operation:
By photoflash lamp arrange recovering state to adjustment before state is set, what namely the state that arranges of photoflash lamp was returned to by closed condition the photoflash lamp that terminal in step S103 gets by terminal automatically arranges state, that manually recovers photoflash lamp without the need to user arranges state, maintain the use habit of user, improve the experience of user.
In the embodiment of the present invention, when after the camera application enabled instruction receiving user's input, this camera application enabled instruction of terminal response start camera application and obtain photoflash lamp in camera application state is set, wherein, this arranges state and comprises closed condition, any one in opening and auto state, when arranging state and not being closed condition, judge that the face of the current facial image collected accounts for screen ratio and whether is greater than pre-set ratio threshold value, and when face account for screen ratio be greater than pre-set ratio threshold value time, the state that arranges of above-mentioned photoflash lamp is adjusted to closed condition, when receiving shooting instruction, control above-mentioned camera application to take destination object.Implement the embodiment of the present invention can user closely for reference object is taken pictures and reference object be personage time automatically close photoflash lamp, avoid the injury that the eyes of photoflash lamp to reference object cause, improve the experience of user.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of the method for the disclosed another kind of shooting of the embodiment of the present invention.Wherein, method shown in Fig. 2 can be applied to smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palmtop PC and mobile internet device (Mobile Internet Devices, MID), PAD etc. and be provided with in the terminal of camera application.As shown in Figure 2, the method for this shooting can comprise the following steps:
The camera application enabled instruction of S201, reception user input.
In the embodiment of the present invention, camera application enabled instruction can be the instruction that user passes through to touch the input of camera application icon, also can be the instruction of user by the physical button input in terminal, can also be the instruction that user inputs according to predefined number of times whipping terminal, the embodiment of the present invention be not construed as limiting.
S202, respond above-mentioned camera application enabled instruction, start camera application.
S203, obtain photoflash lamp in above-mentioned camera application state is set.
In the embodiment of the present invention, the state of setting can comprise in closed condition, opening and auto state any one, wherein, when the state of setting is auto state, when terminal can decide shooting according to the brightness value of current environment, whether open photoflash lamp.
S204, when above-mentioned to arrange state be auto state time, 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 performs step S206, and when the first brightness value is not less than predetermined luminance threshold value, terminal directly can perform step S208.
In the embodiment of the present invention, when after the first brightness value getting current environment, the first environment brightness value got and predetermined luminance threshold value compare by terminal, and decide next step action performed of terminal by comparative result.As: when judging that the first brightness value is more than or equal to predetermined luminance threshold value, illustrate that the light of current environment is better, terminal can be taken destination object without the need to opening photoflash lamp, when judging that the first brightness value is less than predetermined luminance threshold value, illustrate that the light of current environment is poor, terminal first need open photoflash lamp, and then takes destination object.
S206, when above-mentioned first brightness value is less than predetermined luminance threshold value, judge the first face of the current facial image collected account for screen ratio whether be greater than pre-set ratio threshold value.
In the embodiment of the present invention, when the first face account for screen ratio be greater than pre-set ratio threshold value time, terminal perform step S207, when face account for screen ratio be not more than pre-set ratio threshold value time, terminal directly can perform step S208.
S207, when above-mentioned first face account for screen ratio be greater than pre-set ratio threshold value time, the state that arranges of photoflash lamp is adjusted to this closed condition.
S208, when receive shooting instruction time, control camera application destination object is taken.
As the optional execution mode of one, before step S206, terminal can also perform following operation:
Start recognition of face pattern;
When identifying the current image collected and comprise one or more facial feature image under recognition of face pattern, calculate the ratio that all facial feature image account for imaging region, account for screen ratio as the first face; Or calculate maximum facial feature image in this one or more facial feature image and account for the ratio of imaging region, account for screen ratio as the first face; Or first calculate each facial feature image and account for the ratio of imaging region to obtain one or more ratio, and then calculate the mean value of all ratios in this one or more ratio, account for screen ratio as the first face.And in terminal, be previously stored with the pre-set ratio threshold value accounting for screen ratio for the first dissimilar face: account for pre-set ratio threshold value corresponding to the ratio of whole preview area with all facial feature image, and the pre-set ratio threshold value that the facial feature image of different number is corresponding different, as when the number of facial feature image is 1, pre-set ratio threshold value can be 15%, when the number of facial feature image is 2, pre-set ratio threshold value can be 30% etc.; The pre-set ratio threshold value corresponding with the ratio that facial feature image maximum in all facial feature image accounts for whole preview area, as 15% etc.; The pre-set ratio threshold value corresponding with the average ratio of all ratios that terminal is determined, as 15% etc., wherein, all ratios is the set that each facial feature image that terminal is determined accounts for the ratio of whole preview area, and the embodiment of the present invention does not limit.
As the optional execution mode of one, before step S207, terminal can also perform following operation:
Judge whether that the photoflash lamp receiving user's input arranges status modifier instruction, when the photoflash lamp not receiving user's input arranges status modifier instruction, the state that arranges of photoflash lamp is adjusted to closed condition by terminal.That can determine photoflash lamp so further arranges state, and when the state that arranges of photoflash lamp does not change, the state that arranges of photoflash lamp is adjusted to closed condition by terminal, avoids the injury that the eyes of photoflash lamp to destination object cause.
As the optional execution mode of one, before the photoflash lamp judging whether to receive user's input arranges status modifier instruction, terminal can also perform following operation:
Information is exported to user, this information arranges state for what point out user whether to adjust photoflash lamp, receive the response instruction that user inputs for this information, this response instruction comprises photoflash lamp and arranges status modifier instruction or photoflash lamp arranges state hold instruction.User can be made like this to determine whether make terminal that the state that arranges of photoflash lamp is adjusted to closed condition, to improve the experience of user according to self-demand.
In the embodiment of the present invention, above-mentioned information include but not limited in information of voice prompt, text prompt information and vibration prompt information one or more, the embodiment of the present invention does not limit.
For example, when terminal according to the first brightness value of current environment and the first face account for screen ratio determine need the state that arranges of photoflash lamp to be adjusted to closed condition time, terminal exports information, when user want keep photoflash lamp state is set time, user inputs photoflash lamp and arranges state hold instruction, and the injury that user can avoid the eyes of photoflash lamp to destination object to cause by the distance between adjustment terminal and destination object.
As the optional execution mode of one, when above-mentioned first face account for screen ratio be greater than pre-set ratio threshold value time, terminal is after the S208 step that is finished, and terminal can also perform following operation:
By photoflash lamp arrange recovering state to adjustment before state is set, what namely the state that arranges of photoflash lamp was returned to by closed condition the photoflash lamp that terminal in step S203 gets by terminal automatically arranges state, that manually recovers photoflash lamp without the need to user arranges state, maintain the use habit of user, improve the experience of user.
In the embodiment of the present invention, when the state that arranges of the photoflash lamp of camera application is auto state, what according to the brightness value of current environment and the face of destination object entering preview area, terminal can account for that screen ratio determines whether adjusting photoflash lamp arranges state, and determining that the state that the arranges rear line needing to adjust photoflash lamp exports information, what determine whether terminal adjust photoflash lamp to make user according to self-demand arranges state, improve the experience of user, and automatically the state that arranges of photoflash lamp is adjusted to closed condition when the state that arranges of the non-manual modification photoflash lamp of user, avoid the injury that the eyes of photoflash lamp to reference object cause, further increase the experience of user.
Refer to Fig. 3, Fig. 3 is the schematic flow sheet of the method for the embodiment of the present invention another shooting disclosed; Wherein, method shown in Fig. 3 can be applied to smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palmtop PC and mobile internet device (Mobile Internet Devices, MID), PAD etc. and be provided with in the terminal of camera application.As shown in Figure 3, the method for this shooting can comprise the following steps:
The camera application enabled instruction of S301, reception user input.
In the embodiment of the present invention, camera application enabled instruction can be the instruction that user passes through to touch the input of camera application icon, also can be the instruction of user by the physical button input in terminal, can also be the instruction that user inputs according to predefined number of times whipping terminal, the embodiment of the present invention be not construed as limiting.
S302, respond above-mentioned camera application enabled instruction, start camera application.
S303, obtain photoflash lamp in above-mentioned camera application state is set.
In the embodiment of the present invention, the state of setting can comprise in closed condition, opening and auto state any one, the embodiment of the present invention does not limit.
S304, when the state of setting is closed condition, 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 the first brightness value of the current environment that in the embodiment shown in Fig. 2, terminal gets when the state that arranges of photoflash lamp 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 perform step S306, when above-mentioned second brightness value is not less than predetermined luminance threshold value, terminal directly can perform step S308, and namely terminal is taken destination object under photoflash lamp is in closed condition.
In the embodiment of the present invention, the predetermined luminance threshold value in step S305 can be equal with the predetermined luminance threshold value in step S205 in the embodiment shown in Fig. 2.
S306, when above-mentioned second brightness value is less than predetermined luminance threshold value, judge the second face of the current facial image collected account for screen ratio whether be greater than pre-set ratio threshold value.
In the embodiment of the present invention, when the second face account for screen ratio be not more than pre-set ratio threshold value time, terminal can perform step S307, when the second face account for screen ratio be greater than pre-set ratio threshold value time, terminal directly can perform step S308, and namely terminal is taken destination object under photoflash lamp is in closed condition.
In the embodiment of the present invention, second face accounts for the first face that the screen ratio face be different from the embodiment shown in Fig. 1 in step S104 accounts in screen ratio and the embodiment shown in Fig. 2 in step S206 and accounts for screen ratio, and the pre-set ratio threshold value in step S306 can equal the pre-set ratio threshold value in pre-set ratio threshold value in the embodiment shown in Fig. 1 in step S104 and the embodiment shown in Fig. 2 in step S206.Namely the second face accounts for screen ratio is that the face that terminal gets when the state that arranges of photoflash lamp is closed condition accounts for screen ratio, wherein, the number of the facial image that terminal collects can equal 1, also 1 can be greater than, as when user autodynes, the number of the facial image that terminal collects is 1, when multiple user autodynes or user takes pictures for other users multiple together, the number of the facial image that terminal collects is greater than 1, then above-mentioned second face accounts for the ratio that the screen ratio face images that can collect for terminal accounts for whole preview area, also can be the ratio that in the face images that collects of terminal, maximum face image accounts for whole preview area, it can also be the average ratio of all ratios that terminal is determined, wherein, all ratios is the set that each facial image that terminal is determined accounts for the ratio of whole preview area, the embodiment of the present invention does not limit.And in terminal, be previously stored with the pre-set ratio threshold value accounting for screen ratio for the second dissimilar face: account for pre-set ratio threshold value corresponding to the ratio of whole preview area and the corresponding different pre-set ratio threshold value of the facial image of different number from face images, 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 can be 30% etc.; Pre-set ratio threshold value corresponding to the ratio of whole preview area is accounted for, as 15% etc. with maximum face image in face images; The pre-set ratio threshold value corresponding with the average ratio of all ratios that terminal is determined, as 15% etc., the embodiment of the present invention does not limit.
S307, when above-mentioned second face account for screen ratio be not more than pre-set ratio threshold value time, be adjusted to opening by dodging the state that arranges of turning off the light.
S308, when receive shooting instruction time, control above-mentioned camera application and destination object taken.
In the embodiment of the present invention, second brightness value of current environment is less than predetermined luminance threshold value and the second face accounts for screen ratio when being not more than pre-set ratio threshold value, the state that arranges of photoflash lamp is adjusted to opening and takes the destination object entering preview area by terminal automatically, can improve the shooting effect of camera application under low light environment like this.
As the optional execution mode of one, when the second brightness value be less than predetermined luminance threshold value and the second face account for screen ratio be not more than pre-set ratio threshold value time, the above-mentioned camera application of terminal control is carried out shooting to destination object and can be comprised:
Account for screen ratio according to the second face and calculate flash luminance value;
Control above-mentioned camera application to take destination object under flashing bright angle value.
Optionally, the concrete mode that terminal accounts for screen ratio calculating flash luminance value according to the second face can be:
Account for screen ratio from the face obtained in advance and determine the mapping relations between flashing bright angle value to account for the second face to shield flashing bright angle value corresponding to ratio.
In the embodiment of the present invention, terminal can be previously stored with face and account for the mapping relations of shielding between ratio and brightness of flash lamp value, these mapping relations can calculate in advance by experiment, also can be that user inputs according to self-demand, and dissimilar face accounts for screen ratio and face different from the mapping relations between brightness of flash lamp value accounts for that to shield ratio larger, brightness of flash lamp value is less.For example, the mapping relations that the dissimilar face stored in terminal accounts between screen ratio and brightness of flash lamp value can be as shown in Figure 7, Fig. 7 is the mapping relations table that a kind of dissimilar face disclosed in the embodiment of the present invention accounts between screen ratio and brightness of flash lamp value, wherein, the unit of brightness of flash lamp value is for moral drawing every square meter (cd/m2).
Optionally, the concrete mode that terminal accounts for screen ratio calculating flash luminance value according to the second face can be:
Calculate to account for the second face according to the brightness of flash lamp value computation rule that gets in advance and shield flashing bright angle value corresponding to ratio.
In the embodiment of the present invention, above-mentioned brightness of flash lamp value computation rule can calculate in advance by experiment, and also can be that the operational order inputted by user is generated, the embodiment of the present invention limit.
As the optional execution mode of one, when the second brightness value be less than predetermined luminance threshold value and the second face account for screen ratio be not more than pre-set ratio threshold value time, terminal is after the S308 step that is finished, and terminal can also perform following operation:
By photoflash lamp arrange recovering state to adjustment before state is set, what namely the state that arranges of photoflash lamp was returned to by closed condition the photoflash lamp that terminal in step S303 gets by terminal automatically arranges state, that manually recovers photoflash lamp without the need to user arranges state, maintain the use habit of user, improve the experience of user.
In the embodiment of the present invention, when the state that arranges of photoflash lamp be closed condition, the brightness value of current environment be less than predetermined luminance threshold value and face account for screen ratio be not more than pre-set ratio threshold value time, the state that arranges of photoflash lamp can be adjusted to opening by closed condition by terminal automatically, can improve the shooting effect of camera application under low light environment like this.
Refer to Fig. 4, Fig. 4 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention.As shown in Figure 4, this terminal 400 can comprise receiving element 401, start unit 402, acquiring unit 403, judging unit 404, adjustment unit 405 and control unit 406, wherein:
Receiving element 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 instruction that user passes through to touch the input of camera application icon, also can be the instruction of user by the physical button input in terminal 400, can also be the instruction that user inputs according to predefined number of times whipping terminal 400, the embodiment of the present invention be not construed as limiting.
Start unit 402, for responding above-mentioned camera application enabled instruction, starts camera application.
In the embodiment of the present invention, after receiving element 401 receives the camera application enabled instruction of user's input, start unit 402 can respond this camera application enabled instruction, starts camera application.Wherein, this camera application can comprise one or more in front-facing camera and post-positioned pick-up head.For example, when user selects to autodyne, then start unit 402 can start front-facing camera, and user one or more in the size of the color parameter value of manual adjustments terminal 400 screen, the backlight brightness values of terminal 400 screen, the size of the light-emitting zone of terminal screen 400 and the imaging region of terminal 400 screen can improve shooting effect, the embodiment of the present invention does not limit.
Acquiring unit 403, arranges state for what obtain photoflash lamp in above-mentioned camera application.
In the embodiment of the present invention, the state of setting can comprise in closed condition, opening and auto state any one, wherein, when the state of setting is auto state, when terminal 400 can decide shooting according to the brightness value of current environment, whether open photoflash lamp.
Judging unit 404, for when above-mentioned to arrange state be not closed condition time, judge that the face of the current facial image collected accounts for screen ratio and whether is greater than pre-set ratio threshold value.
In the embodiment of the present invention, when the state that arranges that the photoflash lamp that acquiring unit 403 gets is current is not closed condition, namely when the state that arranges of photoflash lamp be opening or auto state time, terminal 400 gathers the image when the destination object advancing into preview area and calculates the ratio (namely the face of facial image accounts for screen ratio) that this image accounts for whole preview area, and judging unit 404 judges that the face of the current facial image collected accounts for screen ratio and whether is greater than pre-set ratio threshold value.
In the embodiment of the present invention, the number of the facial image that terminal 400 collects can equal 1, also 1 can be greater than, as when user autodynes, the number of the facial image that terminal 400 collects is 1, when multiple user autodynes or user takes pictures for other users multiple together, the number of the facial image that terminal 400 collects is greater than 1, then above-mentioned face accounts for the ratio that the screen ratio face images that can collect for terminal 400 accounts for whole preview area, also can be the ratio that in the face images that collects of terminal 400, maximum face image accounts for whole preview area, it can also be the average ratio of all ratios that terminal 400 is determined, wherein, all ratios is the set that each facial image that terminal 400 is determined accounts for the ratio of whole preview area, the embodiment of the present invention does not limit.And in terminal 400, be previously stored with the pre-set ratio threshold value accounting for screen ratio for dissimilar face: account for pre-set ratio threshold value corresponding to the ratio of whole preview area and the corresponding different pre-set ratio threshold value of the facial image of different number from face images; Pre-set ratio threshold value corresponding to the ratio of whole preview area is accounted for maximum face image in face images; The pre-set ratio threshold value corresponding with the average ratio of all ratios that terminal is determined, wherein, all ratios is the set that each facial image that terminal 400 is determined accounts for the ratio of whole preview area, and the embodiment of the present invention does not limit.
Adjustment unit 405, for account for when above-mentioned face screen ratio be greater than pre-set ratio threshold value time, the state that arranges of photoflash lamp is adjusted to this closed condition.
In the embodiment of the present invention, when judging unit 404 judge face account for screen ratio be greater than pre-set ratio threshold value time, the state that arranges of photoflash lamp is adjusted to closed condition by non-closed condition by adjustment unit 405.
Control unit 406, for when receiving shooting instruction, controlling camera application and taking destination object.
In the embodiment of the present invention, control unit 406, specifically for when receiving shooting instruction, controlling camera application and taking destination object under photoflash lamp is in closed condition.
As the optional execution mode of one, when the state that arranges of the photoflash lamp that acquiring unit 403 gets be closed condition or judging unit 404 judge face account for screen ratio be not more than pre-set ratio threshold value time, control unit 406 can also be used for controlling camera application and take destination object under photoflash lamp is in the state that arranges that acquiring unit 403 gets.
Implement the embodiment of the present invention can user closely for reference object is taken pictures and reference object be personage time automatically close photoflash lamp, avoid the injury that the eyes of photoflash lamp to reference object cause.
Refer to Fig. 5, Fig. 5 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention.Wherein, the terminal 500 shown in Fig. 5 is that terminal 400 is as shown in Figure 4 optimized and obtains.As shown in Figure 5, this terminal 500 can comprise receiving element 501, start unit 502, acquiring unit 503, first computing unit 504, judging unit 505, output unit 506, adjustment unit 507, first control unit 508 and recovery unit 509, wherein:
Receiving element 501, for receiving the camera application enabled instruction of user's input.
Start unit 502, for responding above-mentioned camera application enabled instruction, starts camera application.
Acquiring unit 503, arranges state for what obtain photoflash lamp in above-mentioned camera application.
In the embodiment of the present invention, the state of setting can comprise in closed condition, opening and auto state any one.
Start unit 502, can also be used for when the state that arranges of above-mentioned photoflash lamp is not closed condition, starts recognition of face pattern.
First computing unit 504, for when identifying the current image collected and comprise one or more facial feature image under above-mentioned recognition of face pattern, calculates the ratio that all facial feature image account for imaging region, accounts for screen ratio as the first face; Or calculate maximum facial feature image in this one or more facial feature image and account for the ratio of imaging region, account for screen ratio as the first face; Or first calculate each facial feature image and account for the ratio of imaging region to obtain one or more ratio, and then calculate the mean value of all ratios in this one or more ratio, account for screen ratio as the first face.And in terminal 500, be previously stored with the pre-set ratio threshold value accounting for screen ratio for the first dissimilar face: account for pre-set ratio threshold value corresponding to the ratio of whole preview area with all facial feature image, and the pre-set ratio threshold value that the facial feature image of different number is corresponding different; The pre-set ratio threshold value corresponding with the ratio that facial feature image maximum in all facial feature image accounts for whole preview area; The pre-set ratio threshold value corresponding with the average ratio of all ratios that terminal is determined, wherein, all ratios is the set that each facial feature image that terminal 500 is determined accounts for the ratio of whole preview area, and the embodiment of the present invention does not limit.
Judging unit 505, for judging that the first face accounts for screen ratio and whether is greater than pre-set ratio threshold value.
Output unit 506, for judge when judging unit 505 first face account for screen ratio be greater than pre-set ratio threshold value time, export information to user, wherein, information arranges state for what point out user whether to adjust photoflash lamp.
Receiving element 501, can also be used for receiving the response instruction that user inputs for above-mentioned information, and wherein, response instruction comprises photoflash lamp and arranges status modifier instruction or photoflash lamp arranges state hold instruction.
Judging unit 505, the photoflash lamp that can also be used for judging whether to receive user's input arranges status modifier instruction.
Adjustment unit 507, when the photoflash lamp for not receiving user's input when judging unit 505 arranges status modifier instruction, is adjusted to closed condition by the state that arranges of above-mentioned photoflash lamp.
First control unit 508, for when receiving shooting instruction, controlling camera application and taking destination object under photoflash lamp is in closed condition.
Recovery unit 509, for by above-mentioned photoflash lamp arrange recovering state to adjustment before state is set.
Concrete, recovery unit 509 arranges state for what the state that arranges of above-mentioned photoflash lamp was reverted to by closed condition the photoflash lamp that acquiring unit 503 gets.
As the optional execution mode of one, when the state that arranges of the photoflash lamp that acquiring unit 503 gets is auto state, acquiring unit 503, can also be used for the first brightness value obtaining current environment.
Judging unit 505, can also be used for judging whether above-mentioned first brightness value is less than predetermined luminance threshold value, and when above-mentioned first brightness value is less than predetermined luminance threshold value, judges that above-mentioned first face accounts for screen ratio and whether is greater than pre-set ratio threshold value.
As the optional execution mode of one, when the state that arranges of the photoflash lamp that acquiring unit 503 gets is closed condition, acquiring unit 503, can also be used for the second brightness value obtaining current environment.
Judging unit 505, can also be used for judging whether above-mentioned second brightness value is less than predetermined luminance threshold value, and when above-mentioned second brightness value is less than predetermined luminance threshold value, judge that the second face of the current facial image collected accounts for screen ratio and whether is greater than pre-set ratio threshold value.
In the embodiment of the present invention, it is that the face that terminal 500 gets when the state that arranges of photoflash lamp is closed condition accounts for screen ratio that second face accounts for screen ratio, wherein, the number of the facial image that terminal 500 collects can equal 1, also 1 can be greater than, as when user autodynes, the number of the facial image that terminal 500 collects is 1, when multiple user autodynes or user takes pictures for other users multiple together, the number of the facial image that terminal 500 collects is greater than 1, then above-mentioned second face accounts for the ratio that the screen ratio face images that can collect for terminal 500 accounts for whole preview area, also can be the ratio that in the face images that collects of terminal 500, maximum face image accounts for whole preview area, it can also be the average ratio of all ratios that terminal 500 is determined, wherein, all ratios is the set that each facial image that terminal 500 is determined accounts for the ratio of whole preview area, the embodiment of the present invention does not limit.And in terminal 500, be previously stored with the pre-set ratio threshold value accounting for screen ratio for the second dissimilar face: account for pre-set ratio threshold value corresponding to the ratio of whole preview area and the corresponding different pre-set ratio threshold value of the facial image of different number from face images; Pre-set ratio threshold value corresponding to the ratio of whole preview area is accounted for maximum face image in face images; The pre-set ratio threshold value corresponding with the average ratio of all ratios that terminal is determined, the embodiment of the present invention does not limit.
Adjustment unit 507, can also be used for when above-mentioned second face account for screen ratio be not more than pre-set ratio threshold value time, the state that arranges of above-mentioned sudden strain of a muscle being turned off the light is adjusted to opening.
First control unit 508, can also be used for, when receiving shooting instruction, controlling above-mentioned camera application and taking destination object under photoflash lamp is in opening.
Optionally, as shown in Figure 5, the first control unit 508 can comprise the second computing unit 5081 and the second control unit 5082, wherein:
Second computing unit 5081, calculates flash luminance value for accounting for screen ratio according to the second face.
Second control unit 5082, takes destination object under above-mentioned flashing bright angle value for controlling camera application.
Optionally, the concrete mode that the second computing unit 5081 accounts for screen ratio calculating flash luminance value according to the second face can be:
Account for screen ratio from the face obtained in advance and determine the mapping relations between flashing bright angle value to account for the second face to shield flashing bright angle value corresponding to ratio.
In the embodiment of the present invention, terminal 500 can be previously stored with face and account for the mapping relations of shielding between ratio and brightness of flash lamp value, these mapping relations can calculate in advance by experiment, also can be that user inputs according to self-demand, and dissimilar face accounts for screen ratio and face different from the mapping relations between brightness of flash lamp value accounts for that to shield ratio larger, brightness of flash lamp value is less.For example, the mapping relations that the dissimilar face stored in terminal 500 accounts between screen ratio and brightness of flash lamp value can be as shown in Figure 7, Fig. 7 is the mapping relations table that a kind of dissimilar face disclosed in the embodiment of the present invention accounts between screen ratio and brightness of flash lamp value, wherein, the unit of brightness of flash lamp value is for moral drawing every square meter (cd/m2).
Optionally, the concrete mode that the second computing unit 5081 accounts for screen ratio calculating flash luminance value according to the second face can be:
Calculate to account for the second face according to the brightness of flash lamp value computation rule that gets in advance and shield flashing bright angle value corresponding to ratio.
In the embodiment of the present invention, above-mentioned brightness of flash lamp value computation rule can calculate in advance by experiment, and also can be that the operational order inputted by user is generated, the embodiment of the present invention limit.
Recovery unit 509, can also be used for the state that arranges of photoflash lamp to revert to closed condition by opening.
In the embodiment of the present invention, when the state that arranges of the photoflash lamp of camera application is auto state, what according to the brightness value of current environment and the face of destination object entering preview area, terminal can account for that screen ratio determines whether adjusting photoflash lamp arranges state, and determining that the state that the arranges rear line needing to adjust photoflash lamp exports information, what determine whether terminal adjust photoflash lamp to make user according to self-demand arranges state, improve the experience of user, and automatically the state that arranges of photoflash lamp is adjusted to closed condition when the state that arranges of the non-manual modification photoflash lamp of user, avoid the injury that the eyes of photoflash lamp to the destination object entering preview area cause, further increase the experience of user, and when the state that arranges of photoflash lamp is closed condition, the brightness value of current environment is less than predetermined luminance threshold value and face accounts for screen ratio when being not more than pre-set ratio threshold value, the state that arranges of photoflash lamp can be adjusted to opening by closed condition by terminal automatically, the shooting effect of camera application under low light environment can be improved like this.
Refer to Fig. 6, Fig. 6 is the structural representation of the embodiment of the present invention another terminal disclosed.As shown in Figure 6, this terminal 600 can comprise: at least one processor 601, 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, also can be non-labile memory (non-volatile memory), as at least one magnetic disc store, optionally, memory 604 can also be that at least one is positioned at the storage device away from aforementioned processor 601.Wherein:
Communication bus 605, for realizing the connection communication between these assemblies;
Input unit 602, for receiving the camera application enabled instruction of user's input, wherein, input unit 602 can comprise in the gravity sensor in the display screen in terminal 600, the physical button in terminal 600 and terminal 600 any one.
Processor 601 calls the program code stored in memory 604, for performing following operation:
Respond above-mentioned camera application enabled instruction, start the camera application of terminal 600;
What obtain photoflash lamp in above-mentioned camera application arranges state, wherein, the state of setting comprise in closed condition, opening and auto state any one;
When above-mentioned to arrange state be not closed condition time, judge that the first face of the current facial image collected accounts for screen ratio and whether is greater than pre-set ratio threshold value;
When the first face account for screen ratio be greater than pre-set ratio threshold value time, the state that arranges of above-mentioned photoflash lamp is adjusted to closed condition;
When receiving shooting instruction, controlling camera application and destination object is taken.
In one embodiment, when the state of setting is auto state, before processor 601 judges to account for screen by the first face whether ratio is greater than pre-set ratio threshold value, input unit 602, the first brightness value obtaining current environment can also be used for, wherein, input unit 602 can also comprise the luminance sensor in terminal 600.
Processor 601 calls the program code stored in memory 604, also for performing 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 brightness value is less than predetermined luminance value, judge that the first face of the current facial image collected accounts for screen ratio and whether is greater than pre-set ratio threshold value.
In one embodiment, before processor 601 judges to account for screen by the first face of the current facial image collected whether ratio be greater than pre-set ratio threshold value, processor 601 calls the program code stored in memory 604, also for performing following operation:
Start recognition of face pattern;
When identifying the current image collected and comprise one or more facial feature image under above-mentioned recognition of face pattern, calculate the ratio that facial feature image accounts for imaging region, screen ratio is accounted for as the first face, or calculate maximum facial feature image in this one or more facial feature image and account for the ratio of imaging region, account for screen ratio as the first face; Or calculate each facial feature image and account for the ratio of imaging region to obtain one or more ratio, and calculate the mean value of all ratios in one or more ratio, account 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 time, before the state that arranges of above-mentioned photoflash lamp is adjusted to closed condition by processor 601, processor 601 calls the program code stored in memory 604, also for performing following operation:
Judge input unit 602 whether receive user input photoflash lamp status modifier instruction is set, and do not receive user input photoflash lamp status modifier instruction is set time, the state that arranges of above-mentioned photoflash lamp is adjusted to closed condition.
In one embodiment, output device 603, for judge at processor 601 input unit 602 whether receive user input photoflash lamp status modifier instruction is set before, information is exported to user, this information arranges state for what point out user whether to adjust above-mentioned photoflash lamp, wherein, output device 603 can comprise the display screen in terminal 600 or the loudspeaker etc. in terminal 600.
Input unit 602, also for receiving the response instruction that user inputs for information, wherein, response instruction comprises photoflash lamp and arranges status modifier instruction or photoflash lamp arranges state hold instruction, and input unit 602 can also comprise the microphone etc. in terminal 600.
In one embodiment, when processor 601 gets the state of setting for this closed condition, input unit 602, can also be used for the second brightness value obtaining current environment.
Processor 601 calls the program code stored in memory 604, also for performing following operation:
Judge whether the second brightness value of the current environment that input unit 602 gets 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 the current facial image collected accounts for screen ratio and whether is greater than pre-set ratio threshold value.
When the second face account for screen ratio be not more than this pre-set ratio threshold value time, the state that arranges of above-mentioned sudden strain of a muscle being turned off the light is adjusted to this opening.
When input unit 602 receives shooting instruction, control camera application and destination object is taken.
In one embodiment, when the second brightness value is less than predetermined luminance threshold value, processor 601 controls this camera application and takes destination object, specifically comprises:
Account for screen ratio according to the second face and calculate flash luminance value.
The camera application of control terminal 600 is taken destination object under above-mentioned flashing bright angle value.
In one embodiment, the concrete mode that processor 601 accounts for screen ratio calculating flash luminance value according to the second face can be:
The face obtained in advance from terminal 600 accounts for screen ratio and determines the mapping relations between flashing bright angle value to account for the second face to shield flashing bright angle value corresponding to ratio.
In one embodiment, the concrete mode that processor 601 accounts for screen ratio calculating flash luminance value according to the second face can be:
Calculate to account for this second face according to the brightness of flash lamp value computation rule that gets in advance and shield flashing bright angle value corresponding to ratio.
In one embodiment, processor 601 calls the program code stored in memory 604, also for performing following operation:
By the photoflash lamp of terminal 600 arrange recovering state to adjustment before state is set.
Implement the embodiment of the present invention can user closely for reference object is taken pictures and reference object be personage time automatically close photoflash lamp, avoid the injury that the eyes of photoflash lamp to reference object cause.
It should be noted that, in the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and unit might not be that the present invention is necessary.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention terminal can carry out merging, divide and deleting according to actual needs.
Unit described in the embodiment of the present invention, universal integrated circuit can be passed through, such as CPU (CentralProcessing Unit, central processing unit), or realized by ASIC (Application Specific IntegratedCircuit, application-specific integrated circuit (ASIC)).
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Be described in detail a kind of terminal disclosed in the embodiment of the present invention above, apply instantiation herein and set forth principle of the present invention and execution mode, the explanation of above embodiment just understands the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a terminal, is characterized in that, comprising:
Receiving element, for receiving the camera application enabled instruction of user's input;
Start unit, for responding described camera application enabled instruction, starts camera application;
Acquiring unit, arranges state for what obtain photoflash lamp in described camera application, wherein, described arrange that state comprises in closed condition, opening and auto state any one;
Judging unit, for when described to arrange state be not described closed condition time, judge that the first face of the current facial image collected accounts for screen ratio and whether is greater than pre-set ratio threshold value;
Adjustment unit, for account for when described first face screen ratio be greater than described pre-set ratio threshold value time, the state that arranges of described photoflash lamp is adjusted to described closed condition;
First control unit, for when receiving shooting instruction, controlling described camera application and taking destination object.
2. terminal according to claim 1, is characterized in that, described acquiring unit, also for when described to arrange state be described auto state time, obtain the first brightness value of current environment;
Described judging unit, also for judging whether described first brightness value is less than predetermined luminance threshold value, when described first brightness value is less than described predetermined luminance threshold value, judge that the first face of the current facial image collected accounts for screen ratio and whether is greater than pre-set ratio threshold value.
3. terminal according to claim 2, is characterized in that, described start unit, also for starting recognition of face pattern;
Described terminal also comprises the first computing unit, wherein:
Described first computing unit, for when identifying the current image collected and comprise one or more facial feature image under described recognition of face pattern, calculate the ratio that all described facial feature image account for imaging region, screen ratio is accounted for as described first face, or the maximum facial feature image calculated in described one or more facial feature image accounts for the ratio of imaging region, screen ratio is accounted for as the first face, or calculate each described facial feature image and account for the ratio of imaging region to obtain one or more ratio, and calculate the mean value of all ratios in described one or more ratio, screen ratio is accounted for as the first face.
4. terminal according to claim 3, it is characterized in that, described judging unit, also for judging whether that the photoflash lamp receiving user's input arranges status modifier instruction, when the photoflash lamp not receiving user's input arranges status modifier instruction, the state that arranges of described photoflash lamp is adjusted to described closed condition by described adjustment unit.
5. terminal according to claim 4, is characterized in that, described terminal also comprises output unit, wherein:
Described output unit, for exporting information to user, described information arranges state for what point out user whether to adjust described photoflash lamp;
Described receiving element, also for receiving the response instruction that user inputs for described information, described response instruction comprises photoflash lamp and arranges status modifier instruction or photoflash lamp arranges state hold instruction.
6. terminal according to claim 1, is characterized in that, described acquiring unit, also for when described to arrange state be described closed condition time, obtain the second brightness value of current environment;
Described judging unit, also for judging whether described second brightness value is less than described predetermined luminance threshold value, and when described second brightness value is less than described predetermined luminance threshold value, judge that the second face of the current facial image collected accounts for screen ratio and whether is greater than pre-set ratio threshold value;
Described adjustment unit, also for account for when described second face screen ratio be not more than described pre-set ratio threshold value time, the state that arranges of described sudden strain of a muscle being turned off the light is adjusted to described opening;
Described first control unit, also for when receiving shooting instruction, controlling described camera application and taking destination object.
7. terminal according to claim 6, is characterized in that, described first control unit comprises the second computing unit and the second control unit, wherein:
Described second computing unit, calculates flash luminance value for accounting for screen ratio according to described second face;
Described second control unit, takes destination object under described flashing bright angle value for controlling described camera application.
8. terminal according to claim 7, is characterized in that, the concrete mode that described second computing unit accounts for screen ratio calculating flash luminance value according to described second face is:
Account for screen ratio from the face obtained in advance and determine the mapping relations between flashing bright angle value to account for described second face to shield flashing bright angle value corresponding to ratio.
9. terminal according to claim 8, is characterized in that, the concrete mode that described second computing unit accounts for screen ratio calculating flash luminance value according to described second face is:
Calculate to account for described second face according to the brightness of flash lamp value computation rule that gets in advance and shield flashing bright angle value corresponding to ratio.
10. the terminal according to any one of claim 1 ~ 9, is characterized in that, described terminal also comprises recovery unit, wherein:
Described recovery unit, for by described photoflash lamp arrange recovering state to adjustment before state is set.
CN201510104383.1A 2015-03-10 2015-03-10 A kind of terminal Active CN104754219B (en)

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 true CN104754219A (en) 2015-07-01
CN104754219B 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)

Cited By (9)

* Cited by examiner, † Cited by third party
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
CN105245787A (en) * 2015-09-14 2016-01-13 努比亚技术有限公司 Photographing control method and mobile terminal thereof
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
CN106131424A (en) * 2016-07-26 2016-11-16 维沃移动通信有限公司 A kind of method and apparatus of shooting
CN107544265A (en) * 2016-06-27 2018-01-05 石飞 Wireless intelligent house system
CN107911585A (en) * 2017-11-28 2018-04-13 维沃移动通信有限公司 Image processing method and device, the mobile terminal of a kind of mobile terminal
WO2019062431A1 (en) * 2017-09-28 2019-04-04 维沃移动通信有限公司 Photographing method and mobile terminal
CN113824895A (en) * 2021-09-24 2021-12-21 上海闻泰信息技术有限公司 Flash lamp, electronic equipment and flash lamp control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090201389A1 (en) * 2008-02-11 2009-08-13 Samsung Techwin Co., Ltd. Digital image processing apparatus and method of controlling the same
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
US20140285700A1 (en) * 2013-03-22 2014-09-25 Panasonic Corporation Image capturing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090201389A1 (en) * 2008-02-11 2009-08-13 Samsung Techwin Co., Ltd. Digital image processing apparatus and method of controlling the same
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
US20140285700A1 (en) * 2013-03-22 2014-09-25 Panasonic Corporation Image capturing device
CN103929542A (en) * 2014-04-29 2014-07-16 深圳市中兴移动通信有限公司 Mobile terminals and photographing method and device thereof

Cited By (11)

* Cited by examiner, † Cited by third party
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
CN105245787A (en) * 2015-09-14 2016-01-13 努比亚技术有限公司 Photographing control method and mobile terminal thereof
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
WO2019062431A1 (en) * 2017-09-28 2019-04-04 维沃移动通信有限公司 Photographing method and mobile terminal
CN107911585A (en) * 2017-11-28 2018-04-13 维沃移动通信有限公司 Image processing method and device, the mobile terminal of a kind of 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

Also Published As

Publication number Publication date
CN104754219B (en) 2019-05-14

Similar Documents

Publication Publication Date Title
CN104754219A (en) Terminal
CN104754220A (en) Shooting method
CN110929651B (en) Image processing method, image processing device, electronic equipment and storage medium
CN105049726B (en) A kind of mobile terminal photographic method and mobile terminal
CN104735355B (en) The image capture method and device of a kind of intelligent terminal
CN104902177B (en) A kind of Intelligent photographing method and terminal
CN110012210B (en) Photographing method and device, storage medium and electronic equipment
WO2017016030A1 (en) Image processing method and terminal
US9413967B2 (en) Apparatus and method for photographing an image using photographing guide
CN108322663B (en) Photographing method, device, terminal and storage medium
CN105426079B (en) The method of adjustment and device of picture luminance
US11297230B2 (en) Shooting method, device and computer-readable storage medium
CN105204734A (en) Brightness control method and system
TW201439890A (en) Method and system for adjusting fonts of an electronic device
KR20210053096A (en) Method for providing preview and electronic device using the same
CN107454344B (en) A kind of acquisition parameters setting method and user terminal
WO2019213818A1 (en) Photographing control method, and electronic device
KR20100047521A (en) Method for displaying image by virtual lighting and mobile terminal using the same
EP3062513A1 (en) Video apparatus and photography method thereof
CN104636036A (en) Image display control method and device
CN104580892A (en) Method for terminal to take images
CN108564537B (en) Image processing method, image processing device, electronic equipment and medium
CN110868533A (en) HDR mode determination method, device, storage medium and terminal
CN104780465B (en) Frame parameter adjusting method and device
EP4072121A1 (en) Photographing method and apparatus, storage medium, and electronic 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
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.