CN104902177A - Intelligent photographing method and terminal - Google Patents

Intelligent photographing method and terminal Download PDF

Info

Publication number
CN104902177A
CN104902177A CN201510275824.4A CN201510275824A CN104902177A CN 104902177 A CN104902177 A CN 104902177A CN 201510275824 A CN201510275824 A CN 201510275824A CN 104902177 A CN104902177 A CN 104902177A
Authority
CN
China
Prior art keywords
terminal
camera
parameter
picture frame
graph picture
Prior art date
Application number
CN201510275824.4A
Other languages
Chinese (zh)
Other versions
CN104902177B (en
Inventor
李小朋
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Priority to CN201510275824.4A priority Critical patent/CN104902177B/en
Publication of CN104902177A publication Critical patent/CN104902177A/en
Application granted granted Critical
Publication of CN104902177B publication Critical patent/CN104902177B/en

Links

Abstract

The embodiment of the invention discloses an intelligent photographing method and a terminal. The method comprises the steps as follows: receiving a starting instruction of a camera, and collecting a preview image frame shot by the camera; judging whether the preview image frame comprises a facial image area; obtaining a sensitivity value of the camera if the preview image frame comprises the facial image area, generating a target beauty parameter according to the sensitivity value, performing image processing to the facial image are in the preview image frame according to the target beauty parameter. The intelligent photographing method of the embodiment of the invention can be used for dynamically adjusting the beauty parameter of the terminal according to the brightness of a shot environment to enable the setting of beauty parameter to more flexible and the terminal to photograph more intelligently.

Description

A kind of Intelligent photographing method and terminal
Technical field
The present invention relates to shooting technology field, particularly relate to a kind of Intelligent photographing method and terminal.
Background technology
Along with the development of the communication technology, the function of mobile terminal is increasingly abundant, greatly facilitates the work of people, study and amusement, makes it to become a part indispensable in people's daily life.Wherein, the camera function on mobile terminal, makes user additionally need not carry camera and also can record whenever and wherever possible and share the animation of oneself and beautiful scenery at one's side, dark liking by users.
At present, market is proposed the mobile terminal of many moneys with U.S. face camera function, and classification process has been carried out to reach different U.S. face effects to the U.S. face effect of mobile terminal, user can arrange U.S. face effect according to self selective, and the gained photo that makes to take pictures is not only true but also attractive in appearance.But the optimum configurations of U.S. face effect when existing mobile terminal is taken pictures is usually built-in good when dispatching from the factory, and it is almost impossible to change U.S. face effect that user wants to revise some parameters, and U.S. face effect is single, and underaction, affects Consumer's Experience, and manufacturer does not consider environmental factor when arranging the parameter of U.S. face effect, under practical application scene, residing for user, the luminous intensity of environment is different, the imaging effect of itself can be caused different, such as when light is very sufficient, the imaging of user's face seem natively can smoother whiter, the fixing U.S. face effect set as now adopted again, facial imaging can be made to cross white and seem untrue, and take pictures in the environment of dim light, adopt the fixing U.S. face effect set that facial imaging can be made again to seem pale not attractive in appearance.
Summary of the invention
Embodiments provide a kind of Intelligent photographing method and terminal, according to the U.S. face parameter of the adjustment terminal of the luminance dynamic of shooting environmental, the setting of U.S. face parameter can be made more flexible, terminal is taken pictures more intelligent.
Embodiments provide a kind of Intelligent photographing method, described method comprises:
Receive camera enabled instruction, gather the preview graph picture frame that described camera photographs;
Judge whether comprise facial image region in described preview graph picture frame;
If so, obtain the sensitivity value of described camera, generate the U.S. face parameter of target according to described sensitivity value;
According to the U.S. face parameter of described target, image procossing is carried out to the facial image region in described preview graph picture frame.
Accordingly, embodiments provide a kind of terminal, described terminal comprises:
Image acquisition units, for receiving camera enabled instruction, gathers the preview graph picture frame that described camera photographs;
Face identification unit, for judging whether comprise facial image region in described preview graph picture frame;
Photosensitivity acquiring unit, during for the judged result of described face identification unit for being, obtains the sensitivity value of described camera;
U.S. face setting unit, for generating the U.S. face parameter of target according to described sensitivity value;
Graphics processing unit, for according to the U.S. face parameter of described target, carries out image procossing to the facial image region in described preview graph picture frame.
The embodiment of the present invention, can receive camera enabled instruction, gathers the preview graph picture frame that described camera photographs; Also can judge whether comprise facial image region in described preview graph picture frame; If the determination result is YES, obtain the sensitivity value of described camera, generate the U.S. face parameter of target according to described sensitivity value; And then according to the U.S. face parameter of described target, image procossing is carried out to the facial image region in described preview graph picture frame, according to the U.S. face parameter of the adjustment terminal of the luminance dynamic of shooting environmental, the setting of U.S. face parameter can be made more flexible, terminal taken pictures more intelligent.
Accompanying drawing explanation
In order to be illustrated more clearly in embodiment of the present invention technical scheme, below the accompanying drawing used required in describing embodiment is briefly described, 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 a kind of Intelligent photographing method schematic flow sheet that the embodiment of the present invention provides;
Fig. 2 is the another kind of Intelligent photographing method schematic flow sheet that the embodiment of the present invention provides;
Fig. 3 is a kind of terminal structure schematic diagram that the embodiment of the present invention provides;
Fig. 4 is the photosensitivity acquiring unit structural representation that the embodiment of the present invention provides;
Fig. 5 is the U.S. face setting unit structural representation that the embodiment of the present invention provides.
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.
In specific implementation, terminal mentioned in the embodiment of the present invention includes but not limited to: the electronic equipments such as smart mobile phone (as Android phone, IOS mobile phone), panel computer, notebook computer, palmtop PC and wearable intelligent equipment.
A kind of Intelligent photographing method provided the embodiment of the present invention below in conjunction with Fig. 1 to Fig. 5 and terminal are specifically described.
See Fig. 1, be a kind of Intelligent photographing method schematic flow sheet that the embodiment of the present invention provides, Intelligent photographing method as shown in the figure can comprise the following steps:
S101, receives camera enabled instruction, gathers the preview graph picture frame that described camera photographs.
In specific implementation, if terminal be only have take pictures or the camera of camera function time, when user opens the power button of terminal, be considered as user and input camera enabled instruction; If when user is for using the terminal of such as smart mobile phone class to take pictures, first to start the application of taking pictures in terminal, start this take pictures application time, be considered as input camera enabled instruction.This camera enabled instruction is generally that user inputted by the input unit (physical keyboard or touch-screen) of terminal.
It should be noted that the camera mentioned by the present embodiment can be the camera of terminal built-in, as carried the mobile phone of camera; Also can be the outside camera be connected with terminal, if terminal is PC (Personal Computer, personal computer), in PC, camera is not set, but PC be connected with outside camera.This step terminal, when receiving camera enabled instruction, starts the camera of terminal built-in or the outside camera that is connected with terminal, and the preview graph picture frame that collection is photographed by camera.
S102, judges whether comprise facial image region in described preview graph picture frame.
In specific implementation, the main application scenarios of the present embodiment is the photo of shooting with facial image, and dynamically goes to adjust the U.S. face parameter preset, and makes the facial image in the photo taken pale and attractive in appearance.Terminal can be supplied to the U.S. face the mode option of user, and when user opens this option, terminal adopts U.S. face exposal model.Its Sino-U.S.'s face exposal model specifically refers to: according to the U.S. face parameter preset in U.S. face pattern, as ground skin index, whitening index and thin face index, image procossing is carried out in facial image region in the preview graph picture frame photograph camera, makes facial image region more attractive in appearance.
Actual implement in the process of this enforcement, in the preview graph picture frame first collected by face recognition technology identification step S101, whether comprise facial image region.If comprise facial image region in preview graph picture frame, perform step S103 ~ step S104, the U.S. face parameter of going dynamic adjustment to preset with environmentally brightness makes the facial image that finally photographs true and attractive in appearance; If do not comprise facial image region in preview graph picture frame, can not subsequent step be performed, and keep terminal to continue repeatedly to perform step S102, until camera is closed or determined in the picture frame of camera collection comprise facial image region.
S103, if so, obtains the sensitivity value of described camera, generates the U.S. face parameter of target according to described sensitivity value.
In specific implementation, photosensitivity originally refers to film in film camera and, to the susceptibility (film is to the chemical reaction velocity of light) of light, usually can be divided three classes: low speed (being often referred to below ISO50), middle photosensitivity (ISO100 ~ 200) and ISO (more than ISO400).When ambient light is not enough under certain aperture and shutter, the brightness of the image arrived by camera collection can be lower, image can seem the scenery very secretly even not seeing Chu's shooting, therefore needs the film adopting photosensitivity higher, improves light sensitive degree to improve the brightness of image; Otherwise in the well-lighted situation of environment, according to above-mentioned same aperture and shutter, the image brightness of collection will be higher, therefore only need the film adopting photosensitivity lower.
Application scenarios in the present embodiment mainly utilizes digital camera to take pictures (such as the terminal such as mobile phone, panel computer its take pictures be all adopt the shooting style of digital camera), the susceptibility remained light that the photosensitivity that the photosensitivity of digital camera is similar to film camera refers to, but the photosensitivity of digital camera mainly refers to the light sensitive degree of built-in sensor devices.This sensor devices comprises CCD (Charge Coupled Device, charge coupled device) and COMS (Comple-mentary Metal Oxicle Semiconductor, complementary metal oxide semiconductors (CMOS)), its principle is for when light therethrough camera lens is irradiated on sensor devices, optical signalling is converted to the signal of telecommunication by sensor devices, and this signal of telecommunication becomes data image signal to form image through amplification and analog-to-digital conversion.
In the present embodiment, the sensitivity value of camera specifically refers to the sensitivity value of the sensor devices that terminal camera adopts.At present, the terminal of more existing types can carry out the photosensitivity of sensor devices in Intelligent adjustment terminal according to the brightness of the current image collected, such as, when startup terminal is taken pictures with the photosensitivity preset, terminal calculates the brightness value of the current image collected, if the lower photosensitivity just improving terminal sensor devices of brightness value, if brightness value adopts the lower photosensitivity preset compared with higher position.Therefore, the sensitivity value that terminal can adopt according to current camera judges the brightness of environment, and namely sensitivity value height illustrates that the not enough brightness of ambient light is low, and photosensitivity low explanation ambient light adequate brightness is high.
Wherein, U.S. face parameter includes but not limited to: mill skin index, whitening index and thin face index etc.The mapping relations table of the U.S. face parameter of the photosensitivity that can prestore in the terminal and terminal Sino-U.S. face pattern, such as, in U.S. face pattern adjustable according to photosensitivity U.S. face parameter comprises mill skin exponential sum whitening index, the photosensitivity of terminal support is ISO50, ISO200 and ISO400, the mill skin index that predeterminable photosensitivity ISO50 is corresponding is 20%, whitening index is 2, is lower mill skin and whitening dynamics; The mill skin index that ISO200 is corresponding is 40%, and whitening index is 4, is medium mill skin and whitening dynamics; The mill skin index that ISO400 is corresponding is 80%, and whitening index is 8, is higher mill skin and whitening dynamics.Just the U.S. face parameter of corresponding target can be found according to this mapping relations table after terminal gets the sensitivity value of current camera employing.
In above-mentioned example, the basic principle that mapping relations table is followed is: improve U.S. face parameter under the environment of low light, reduce U.S. face parameter under the environment of Gao Guang, thus the setting of U.S. face can be adjusted dynamically in brightness environmentally, make the photo of shooting true and attractive in appearance.
S104, according to the U.S. face parameter of described target, carries out image procossing to the facial image region in described preview graph picture frame.
In specific implementation, after generating the U.S. face parameter of target in step s 103, among this step, image procossing can be carried out to the facial image region recognized in step S102 according to the U.S. face parameter of target.The sensitivity value that such as, in present terminal sensor devices adopts is ISO50, in corresponding U.S. face parameter, whitening index is 2, now terminal does to the people face part in facial image region the whitening that dynamics is 2 according to whitening index, people face part is brightened a little, and can, by the preview image frame display after process to taking pictures in preview interface, allow user watch current image effect.
In another embodiment, in the method shown in Fig. 1, described method also comprises: receive photographing instruction, obtains the current preview graph picture frame carried out after described image procossing collected and exports as image of taking pictures.
In specific implementation, after the photosensitivity of the good camera of terminal brightness regulation environmentally, terminal generates the U.S. face parameter of corresponding target according to the sensitivity value of camera, and then according to this target U.S. face parameter, image procossing is carried out to the human face region of preview graph picture frame, and the preview graph picture frame after process is shown to takes pictures in preview interface.If user just can input photographing instruction to current imaging effect is satisfied, when terminal receives this photographing instruction, just obtain the current preview graph picture frame carried out after described image procossing collected and export as image of taking pictures.Optionally, this photographing instruction is that systemic presupposition triggers, and is that timing is taken pictures, arrives photo opporunity terminal and trigger photographing instruction, or after presetting execution of step S104 in terminal, automatically trigger photographing instruction, to obtain image of taking pictures as what adopt.
In another embodiment, in the method shown in Fig. 1, described method also comprises: receive U.S. face and cancel instruction, described preview graph picture frame is returned to the state of carrying out before described image procossing and is shown in described preview interface.
In specific implementation, terminal can be supplied to the U.S. face pattern of user and cancel option, such as user does not want when taking pictures to adopt U.S. face pattern, just can input U.S. face and cancel instruction, now terminal does not do the relevant process of any and U.S. face to the facial image region in preview image, the facial image region in preview graph picture frame return to image procossing before state be shown in described preview interface.
The embodiment of the present invention, when receiving camera enabled instruction, can gather the preview graph picture frame that described camera photographs; Also can judge whether comprise facial image region in described preview graph picture frame; If the determination result is YES, obtain the sensitivity value of described camera, generate the U.S. face parameter of target according to described sensitivity value; And then according to the U.S. face parameter of described target, image procossing is carried out to the facial image region in described preview graph picture frame, according to the U.S. face parameter of the adjustment terminal of the luminance dynamic of shooting environmental, the setting of U.S. face parameter can be made more flexible, terminal taken pictures more intelligent.
See Fig. 2, be the another kind of Intelligent photographing method schematic flow sheet that the embodiment of the present invention provides, Intelligent photographing method as shown in the figure can comprise the following steps:
S201, receives camera enabled instruction, gathers the preview graph picture frame that described camera photographs.
In specific implementation, if terminal be only have take pictures or the camera of camera function time, when user opens the power button of terminal, be considered as user and input camera enabled instruction; If when user is for using the terminal of such as smart mobile phone class to take pictures, first to start the application of taking pictures in terminal, start this take pictures application time, be considered as input camera enabled instruction.This camera enabled instruction is generally that user inputted by the input unit (physical keyboard or touch-screen) of terminal.
It should be noted that the camera mentioned by the present embodiment can be the camera of terminal built-in, as carried the mobile phone of camera; Also can be the outside camera be connected with terminal, if terminal is PC (Personal Computer, personal computer), in PC, camera is not set, but PC be connected with outside camera.This step and receive camera enabled instruction time, start the camera of terminal built-in or the outside camera that is connected with terminal, and the preview graph picture frame that collection is photographed by camera.
S202, judges whether comprise facial image region in described preview graph picture frame.
In specific implementation, the main application scenarios of the present embodiment is the photo of shooting with facial image, and dynamically goes to adjust the U.S. face parameter preset, and makes the facial image in the photo taken pale and attractive in appearance.Terminal can be supplied to the U.S. face the mode option of user, and when user opens this option, terminal adopts U.S. face exposal model.Its Sino-U.S.'s face exposal model specifically refers to: according to the U.S. face parameter preset in U.S. face pattern, as ground skin index, whitening index and thin face index, image procossing is carried out in facial image region in the preview graph picture frame photograph camera, makes facial image region more attractive in appearance.
Actual implement in the process of this enforcement, in the preview graph picture frame first collected by face recognition technology identification step S201, whether comprise facial image region.If comprise facial image region in preview graph picture frame, perform step S203 ~ step S206, the U.S. face parameter of going dynamic adjustment to preset with environmentally brightness makes the facial image that finally photographs true and attractive in appearance; If do not comprise facial image region in preview graph picture frame, can not subsequent step be performed, and keep terminal to continue repeatedly to perform step S202, until camera is closed or determined in the picture frame of camera collection comprise facial image region.
S203, if so, obtains the brightness value of shooting environmental by built-in sensor devices.
In specific implementation, described sensor devices, also can be described as: imageing sensor, comprise CCD and COMS, its principle is for when light therethrough camera lens is irradiated on sensor devices, optical signalling is converted to the signal of telecommunication by sensor devices, and this signal of telecommunication becomes data image signal to form image through amplification and analog-to-digital conversion.When the sensor devices in terminal gathers preview graph picture frame with the photosensitivity preset, terminal can judge the brightness of environment according to the brightness of current gathered preview graph picture frame.
S204, according to described brightness value, regulates the sensitivity value of described camera.
In specific implementation, the terminal of more existing types can carry out the photosensitivity of sensor devices in Intelligent adjustment terminal according to the brightness of the current image collected, such as, when startup terminal is taken pictures with the photosensitivity preset, terminal calculates the brightness value of the current image collected, if the lower photosensitivity just improving terminal of brightness value, if brightness value adopts the lower photosensitivity preset compared with higher position.
S205, obtains the mapping relations table of photosensitivity and the U.S. face parameter preset, and obtains the U.S. face parameter of corresponding target according to described sensitivity value.
In specific implementation, the mapping relations table of the U.S. face parameter of the photosensitivity that can prestore in the terminal and terminal Sino-U.S. face pattern, such as, in U.S. face pattern adjustable according to photosensitivity U.S. face parameter comprises mill skin exponential sum whitening index, the photosensitivity of terminal support is ISO50, ISO200 and ISO400, the mill skin index that predeterminable photosensitivity ISO50 is corresponding is 20%, whitening index is 2, is lower mill skin and whitening dynamics; The mill skin index that ISO200 is corresponding is 40%, and whitening index is 4, is medium mill skin and whitening dynamics; The mill skin index that ISO400 is corresponding is 80%, and whitening index is 8, is higher mill skin and whitening dynamics.Just the U.S. face parameter of corresponding target can be found according to this mapping relations table after terminal gets the sensitivity value of current camera employing.Wherein, U.S. face parameter includes but not limited to: mill skin index, whitening index and thin face index etc.
S206, according to the U.S. face parameter of described target, carries out image procossing to the facial image region in described preview graph picture frame.
In specific implementation, got the U.S. face parameter of target in step S205 after, among this step, image procossing can be carried out to the facial image region recognized in step S202 according to the U.S. face parameter of target.The sensitivity value that such as current camera adopts is ISO50, in corresponding U.S. face parameter, whitening index is 2, now terminal does to the people face part in facial image region the whitening that dynamics is 2 according to whitening index, people face part is brightened a little, and can, by the preview image frame display after process to taking pictures in preview interface, allow user watch current image effect.
The embodiment of the present invention, can when receiving camera enabled instruction, gather the preview graph picture frame that described camera photographs, also can when interpretation comprises facial image region to described preview graph picture frame, the brightness value of shooting environmental is obtained by built-in sensor devices, and according to described brightness value, regulate the sensitivity value of described camera; And then obtain the mapping relations table of photosensitivity and the U.S. face parameter preset, and obtain the U.S. face parameter of corresponding target according to described sensitivity value; Finally according to the U.S. face parameter of described target, image procossing is carried out to the facial image region in described preview graph picture frame, according to the U.S. face parameter of the adjustment terminal of the luminance dynamic of shooting environmental, the setting of U.S. face parameter can be made more flexible, terminal taken pictures more intelligent.
See Fig. 3, a kind of terminal structure schematic diagram that the embodiment of the present invention provides, terminal at least can comprise as shown in the figure: image acquisition units 301, face identification unit 302, photosensitivity acquiring unit 303, U.S. face setting unit 304 and graphics processing unit 305.
Image acquisition units 301, for receiving camera enabled instruction, gathers the preview graph picture frame that described camera photographs.
In specific implementation, if terminal be only have take pictures or the camera of camera function time, when user opens the power button of terminal, be considered as user and input camera enabled instruction; If when user is for using the terminal of such as smart mobile phone class to take pictures, first to start the application of taking pictures in terminal, start this take pictures application time, be considered as input camera enabled instruction.This camera enabled instruction is generally that user inputted by the input unit (physical keyboard or touch-screen) of terminal.When image acquisition units 301 receives camera enabled instruction, start camera and start to gather the preview graph picture frame photographed.
It should be noted that the camera mentioned by the present embodiment can be the camera of terminal built-in, as carried the mobile phone of camera; Also can be the outside camera be connected with terminal, if terminal is PC (Personal Computer, personal computer), in PC, camera is not set, but PC be connected with outside camera.This step and image acquisition units 301 receives camera enabled instruction time, start the camera of terminal built-in or the outside camera that is connected with terminal, and the preview graph picture frame that collection is photographed by camera.
Face identification unit 302, for judging whether comprise facial image region in described preview graph picture frame.
In specific implementation, the main application scenarios of the present embodiment is the photo of shooting with facial image, and dynamically goes to adjust the U.S. face parameter preset, and makes the facial image in the photo taken pale and attractive in appearance.Terminal can be supplied to the U.S. face the mode option of user, and when user opens this option, terminal adopts U.S. face exposal model.Its Sino-U.S.'s face exposal model specifically refers to: according to the U.S. face parameter preset in U.S. face pattern, as ground skin index, whitening index and thin face index, image procossing is carried out in facial image region in the preview graph picture frame photograph camera, makes facial image region more attractive in appearance.
Actual implement in the process of this enforcement, in the preview graph picture frame that first face identification unit 302 collects by face recognition technology recognition image collecting unit 301, whether comprise facial image region.If comprise facial image region in preview graph picture frame, make the facial image that finally photographs true and attractive in appearance by photosensitivity acquiring unit 303 and the U.S. face setting unit 304 U.S. face parameter that environmentally brightness goes dynamic adjustment to preset.
Photosensitivity acquiring unit 303, during for the judged result of described face identification unit for being, obtains the sensitivity value of described camera.
In specific implementation, photosensitivity originally refers to film in film camera and, to the susceptibility (film is to the chemical reaction velocity of light) of light, usually can be divided three classes: low speed (being often referred to below ISO50), middle photosensitivity (ISO100 ~ 200) and ISO (more than ISO400).Application scenarios in the present embodiment mainly utilizes digital camera to take pictures (such as the terminal such as mobile phone, panel computer its take pictures be all adopt the shooting style of digital camera), the susceptibility remained light that the photosensitivity that the photosensitivity of digital camera is similar to film camera refers to, but the photosensitivity of digital camera mainly refers to the light sensitive degree of built-in sensor devices (CCD and COMS).
In the present embodiment, the sensitivity value of camera specifically refers to the sensitivity value of the sensor devices that terminal camera adopts.When ambient light is not enough under certain aperture and shutter, the brightness of the image arrived by camera collection can be lower, image can seem the scenery very secretly even not seeing Chu's shooting, and therefore sensor devices need adopt higher photosensitivity, improves light sensitive degree to improve the brightness of image; Otherwise in the well-lighted situation of environment, according to above-mentioned same aperture and shutter, the image brightness of collection will be higher, therefore only need to adopt lower photosensitivity.
Further, be the photosensitivity acquiring unit structural representation that the embodiment of the present invention provides see Fig. 4, Fig. 4, the photosensitivity acquiring unit in the present embodiment as shown in the figure can comprise: brightness value obtains subelement 3301 and photosensitivity regulates subelement 3302.
Brightness value obtains subelement 3301, for being obtained the brightness value of shooting environmental by built-in sensor devices;
Photosensitivity regulates subelement 3302, for according to described brightness value, regulates the sensitivity value of described camera.
In specific implementation, described sensor devices, also can be described as: imageing sensor, comprise CCD and COMS, its principle is for when light therethrough camera lens is irradiated on sensor devices, optical signalling is converted to the signal of telecommunication by sensor devices, and this signal of telecommunication becomes data image signal to form image through amplification and analog-to-digital conversion.When the sensor devices in terminal gathers preview graph picture frame with the photosensitivity preset, brightness value obtains subelement 3301 can judge environment brightness according to the brightness of current gathered preview graph picture frame.The photosensitivity height that usual sensor devices adopts illustrates that the not enough brightness of ambient light is low, and the photosensitivity low explanation ambient light adequate brightness that sensor devices adopts is high.
At present, the terminal of more existing types can carry out the photosensitivity of sensor devices in Intelligent adjustment terminal according to the brightness of the current image collected, such as, when startup terminal is taken pictures with the photosensitivity preset, terminal calculates the brightness value of the current image collected, if brightness value regulates subelement 3302 to improve the photosensitivity of sensor devices compared with low speed, if brightness value regulates subelement 3302 just to reduce the photosensitivity of high sensor devices compared with ISO.
U.S. face setting unit 304, for generating the U.S. face parameter of target according to described sensitivity value.
Wherein, U.S. face parameter includes but not limited to: mill skin index, whitening index and thin face index etc.
Further, be the U.S. face setting unit structural representation that the embodiment of the present invention provides see Fig. 5, Fig. 5, U.S. face setting unit 304 as described in Figure can comprise: mapping table obtains subelement 3401 and U.S. face parameter acquiring subelement 3402.
Mapping table obtains subelement 3401, for obtaining the mapping relations table of default photosensitivity and U.S. face parameter;
U.S. face parameter acquiring subelement 3402, for obtaining the U.S. face parameter of corresponding target according to described sensitivity value, described U.S. face parameter comprises whitening index and/or mill skin index.
In specific implementation, the mapping relations table of the U.S. face parameter of the photosensitivity that can prestore in the terminal and terminal Sino-U.S. face pattern, such as, in U.S. face pattern adjustable according to photosensitivity U.S. face parameter comprises mill skin exponential sum whitening index, the photosensitivity of terminal support is ISO50, ISO200 and ISO400, the mill skin index that predeterminable photosensitivity ISO50 is corresponding is 20%, whitening index is 2, is lower mill skin and whitening dynamics; The mill skin index that ISO200 is corresponding is 40%, and whitening index is 4, is medium mill skin and whitening dynamics; The mill skin index that ISO400 is corresponding is 80%, and whitening index is 8, is higher mill skin and whitening dynamics.After photosensitivity acquiring unit 303 gets the sensitivity value of current camera employing, mapping table obtains the mapping relations table that subelement 3401 obtains the U.S. face parameter of photosensitivity and the terminal Sino-U.S. face pattern prestored, and U.S. face parameter acquiring subelement 3402 just can find the U.S. face parameter of corresponding target according to this mapping relations table.
Wherein, the basic principle that mapping relations table is followed is: improve U.S. face parameter under the environment of low light, reduce U.S. face parameter under the environment of Gao Guang, thus the setting of U.S. face can be adjusted dynamically in brightness environmentally, make the photo of shooting true and attractive in appearance.
Graphics processing unit 305, for according to the U.S. face parameter of described target, carries out image procossing to the facial image region in described preview graph picture frame.
In specific implementation, after U.S. face setting unit 304 generates the U.S. face parameter of target, graphics processing unit 305 can carry out image procossing according to the U.S. face parameter of target to the facial image region that face identification unit 302 recognizes.The sensitivity value that such as, in present terminal sensor devices adopts is ISO50, in corresponding U.S. face parameter, whitening index is 2, now graphics processing unit 305 does to the people face part in facial image region the whitening that dynamics is 2 according to whitening index, people face part is brightened a little, and can, by the preview image frame display after process to taking pictures in preview interface, allow user watch current image effect.
In another embodiment, described terminal also comprises: photo acquiring unit 306, for receiving photographing instruction, obtaining the current preview graph picture frame carried out after described image procossing collected and exporting as image of taking pictures.
In specific implementation, after the photosensitivity of the good sensor devices of terminal brightness regulation environmentally, U.S. face setting unit 304 generates the U.S. face parameter of corresponding target according to sensitivity value, and then graphics processing unit 305 carries out image procossing according to the U.S. face parameter of this target to the human face region of preview graph picture frame, and the preview graph picture frame after process is shown to takes pictures in preview interface.If user just can input photographing instruction to current imaging effect is satisfied, when photo acquiring unit 306 receives this photographing instruction, just obtain the current preview graph picture frame carried out after described image procossing collected and export as image of taking pictures.Optionally, this photographing instruction is that systemic presupposition triggers, and is that timing is taken pictures as what adopt, arrive photo opporunity terminal and trigger photographing instruction, or after pre-set image processing unit 305 processes preview graph picture frame in terminal, automatically trigger photographing instruction, to obtain image of taking pictures.
In another embodiment, described terminal also comprises: image restoration unit 307, receives U.S. face and cancels instruction, described preview graph picture frame is returned to the state of carrying out before described image procossing and is shown in described preview interface.
In specific implementation, terminal can be supplied to the U.S. face pattern of user and cancel option, such as user does not want when taking pictures to adopt U.S. face pattern, just can input U.S. face and cancel instruction, now terminal does not do the relevant process of any and U.S. face to the facial image region in preview image, the facial image region in preview graph picture frame return to image procossing before state be shown in described preview interface.
The embodiment of the present invention, when realizing receiving camera enabled instruction by image acquisition units 301, gather the preview graph picture frame that described camera photographs, and the sensitivity value obtaining described camera when described preview graph picture frame comprises facial image region is determined by face identification unit 302 and photosensitivity acquiring unit 303, also generate the U.S. face parameter of target by U.S. face setting unit 304 according to described sensitivity value, finally by graphics processing unit 305 according to the U.S. face parameter of described target, image procossing is carried out to the facial image region in described preview graph picture frame, can according to the U.S. face parameter of the adjustment terminal of the luminance dynamic of shooting environmental, make the setting of U.S. face parameter more flexible, terminal is taken pictures more intelligent.
For each embodiment of the method aforesaid, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the application is not by the restriction of described sequence of movement, because according to the application, certain some step can adopt other orders or carry out simultaneously.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 application is necessary.
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 a 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 access memory (Random Access Memory is called for short RAM) etc.
Above a kind of Intelligent photographing method disclosed in the embodiment of the present invention and terminal are described in detail, above disclosedly be only present pre-ferred embodiments, certainly the interest field of the present invention can not be limited with this, therefore according to the equivalent variations that the claims in the present invention are done, the scope that the present invention is contained still is belonged to.

Claims (10)

1. an Intelligent photographing method, is characterized in that, comprising:
Receive camera enabled instruction, gather the preview graph picture frame that described camera photographs;
Judge whether comprise facial image region in described preview graph picture frame;
If so, obtain the sensitivity value of described camera, generate the U.S. face parameter of target according to described sensitivity value;
According to the U.S. face parameter of described target, image procossing is carried out to the facial image region in described preview graph picture frame.
2. method according to claim 1, is characterized in that, describedly generates the U.S. face parameter of target according to described sensitivity value and comprises:
Obtain the mapping relations table of photosensitivity and the U.S. face parameter preset, obtain the U.S. face parameter of corresponding target according to described sensitivity value, described U.S. face parameter comprises whitening index and/or mill skin index.
3. method according to claim 1, is characterized in that, described method also comprises:
Receive photographing instruction, obtain the current preview graph picture frame carried out after described image procossing collected and export as image of taking pictures.
4. method according to claim 1, is characterized in that, described method also comprises:
Receive U.S. face and cancel instruction, described preview graph picture frame is returned to the state of carrying out before described image procossing and is shown in described preview interface.
5. method according to claim 1, is characterized in that, the sensitivity value of the described camera of described acquisition comprises:
The brightness value of shooting environmental is obtained by built-in sensor devices;
According to described brightness value, regulate the sensitivity value of described camera.
6. a terminal, is characterized in that, described terminal comprises:
Image acquisition units, for receiving camera enabled instruction, gathers the preview graph picture frame that described camera photographs;
Face identification unit, for judging whether comprise facial image region in described preview graph picture frame;
Photosensitivity acquiring unit, during for the judged result of described face identification unit for being, obtains the sensitivity value of described camera;
U.S. face setting unit, for generating the U.S. face parameter of target according to described sensitivity value;
Graphics processing unit, for according to the U.S. face parameter of described target, carries out image procossing to the facial image region in described preview graph picture frame.
7. terminal according to claim 6, is characterized in that, described U.S. face setting unit comprises:
Mapping table obtains subelement, for obtaining the mapping relations table of default photosensitivity and U.S. face parameter;
U.S. face parameter acquiring subelement, for obtaining the U.S. face parameter of corresponding target according to described sensitivity value, described U.S. face parameter comprises whitening index and/or mill skin index.
8. terminal according to claim 6, is characterized in that, described terminal also comprises:
Photo acquiring unit, for receiving photographing instruction, obtaining the current preview graph picture frame carried out after described image procossing collected and exporting as image of taking pictures.
9. terminal according to claim 6, is characterized in that, described terminal also comprises:
Image restoration unit, cancelling instruction for receiving U.S. face, described preview graph picture frame being returned to the state of carrying out before described image procossing and is shown in described preview interface.
10. terminal according to claim 6, is characterized in that, described photosensitivity acquiring unit comprises:
Brightness value obtains subelement, for being obtained the brightness value of shooting environmental by built-in sensor devices;
Photosensitivity regulates subelement, for according to described brightness value, regulates the sensitivity value of described camera.
CN201510275824.4A 2015-05-26 2015-05-26 A kind of Intelligent photographing method and terminal CN104902177B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510275824.4A CN104902177B (en) 2015-05-26 2015-05-26 A kind of Intelligent photographing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510275824.4A CN104902177B (en) 2015-05-26 2015-05-26 A kind of Intelligent photographing method and terminal

Publications (2)

Publication Number Publication Date
CN104902177A true CN104902177A (en) 2015-09-09
CN104902177B CN104902177B (en) 2018-03-02

Family

ID=54034543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510275824.4A CN104902177B (en) 2015-05-26 2015-05-26 A kind of Intelligent photographing method and terminal

Country Status (1)

Country Link
CN (1) CN104902177B (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979195A (en) * 2016-05-26 2016-09-28 努比亚技术有限公司 Video image processing apparatus and method
CN106056533A (en) * 2016-05-26 2016-10-26 维沃移动通信有限公司 Photographing method and terminal
CN106161962A (en) * 2016-08-29 2016-11-23 广东欧珀移动通信有限公司 A kind of image processing method and terminal
CN106210516A (en) * 2016-07-06 2016-12-07 广东欧珀移动通信有限公司 One is taken pictures processing method and terminal
CN106326849A (en) * 2016-08-17 2017-01-11 北京小米移动软件有限公司 Beauty processing method and device
CN106506945A (en) * 2016-11-02 2017-03-15 努比亚技术有限公司 A kind of control method and terminal
CN106612396A (en) * 2016-11-15 2017-05-03 努比亚技术有限公司 Photographing device, photographing terminal and photographing method
WO2017076199A1 (en) * 2015-11-04 2017-05-11 阿里巴巴集团控股有限公司 Image preview method and apparatus for camera application, and camera application system
CN106791016A (en) * 2016-11-29 2017-05-31 努比亚技术有限公司 A kind of photographic method and terminal
CN106897963A (en) * 2017-01-04 2017-06-27 奇酷互联网络科技(深圳)有限公司 Adjust method, device and the terminal device of brightness of image
CN106991654A (en) * 2017-03-09 2017-07-28 广东欧珀移动通信有限公司 Human body beautification method and apparatus and electronic installation based on depth
CN107483833A (en) * 2017-09-22 2017-12-15 维沃移动通信有限公司 The display methods and mobile terminal of a kind of camera function
WO2018019068A1 (en) * 2016-07-27 2018-02-01 中兴通讯股份有限公司 Photographing method and device, and mobile terminal
CN107690804A (en) * 2015-10-28 2018-02-13 华为技术有限公司 A kind of image processing method and user terminal
CN107798652A (en) * 2017-10-31 2018-03-13 广东欧珀移动通信有限公司 Image processing method, device, readable storage medium storing program for executing and electronic equipment
CN107808137A (en) * 2017-10-31 2018-03-16 广东欧珀移动通信有限公司 Image processing method, device, electronic equipment and computer-readable recording medium
CN107995415A (en) * 2017-11-09 2018-05-04 深圳市金立通信设备有限公司 A kind of image processing method, terminal and computer-readable medium
CN108574807A (en) * 2018-04-28 2018-09-25 上海商汤智能科技有限公司 A kind of image treatment method and relevant device
CN109089041A (en) * 2018-08-22 2018-12-25 Oppo广东移动通信有限公司 Recognition methods, device, electronic equipment and the storage medium of photographed scene
CN110248141A (en) * 2019-06-10 2019-09-17 广州视源电子科技股份有限公司 A kind of video pictures brightness adjusting method, device, equipment and readable storage medium storing program for executing
CN110731076A (en) * 2018-07-31 2020-01-24 深圳市大疆创新科技有限公司 Shooting processing method and device and storage medium
CN111193874A (en) * 2020-01-07 2020-05-22 青岛海信移动通信技术股份有限公司 Image display parameter adjusting method and mobile terminal
US10825150B2 (en) 2017-10-31 2020-11-03 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image processing method and device, electronic device and computer-readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130208165A1 (en) * 2012-02-15 2013-08-15 Samsung Electronics Co., Ltd. Data processing apparatus and method using a camera
CN103413268A (en) * 2013-08-06 2013-11-27 厦门美图移动科技有限公司 Photographing method capable of automatically optimizing facial form
CN103716547A (en) * 2014-01-15 2014-04-09 厦门美图之家科技有限公司 Smart mode photographing method
CN103841323A (en) * 2014-02-20 2014-06-04 小米科技有限责任公司 Shooting parameter allocation method and device and terminal device
CN103841324A (en) * 2014-02-20 2014-06-04 小米科技有限责任公司 Shooting processing method and device and terminal device
CN104159032A (en) * 2014-08-20 2014-11-19 广东欧珀移动通信有限公司 Method and device of adjusting facial beautification effect in camera photographing in real time
CN104537630A (en) * 2015-01-22 2015-04-22 厦门美图之家科技有限公司 Method and device for image beautifying based on age estimation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130208165A1 (en) * 2012-02-15 2013-08-15 Samsung Electronics Co., Ltd. Data processing apparatus and method using a camera
CN103413268A (en) * 2013-08-06 2013-11-27 厦门美图移动科技有限公司 Photographing method capable of automatically optimizing facial form
CN103716547A (en) * 2014-01-15 2014-04-09 厦门美图之家科技有限公司 Smart mode photographing method
CN103841323A (en) * 2014-02-20 2014-06-04 小米科技有限责任公司 Shooting parameter allocation method and device and terminal device
CN103841324A (en) * 2014-02-20 2014-06-04 小米科技有限责任公司 Shooting processing method and device and terminal device
CN104159032A (en) * 2014-08-20 2014-11-19 广东欧珀移动通信有限公司 Method and device of adjusting facial beautification effect in camera photographing in real time
CN104537630A (en) * 2015-01-22 2015-04-22 厦门美图之家科技有限公司 Method and device for image beautifying based on age estimation

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107690804A (en) * 2015-10-28 2018-02-13 华为技术有限公司 A kind of image processing method and user terminal
CN107690804B (en) * 2015-10-28 2020-08-25 华为技术有限公司 Image processing method and user terminal
WO2017076199A1 (en) * 2015-11-04 2017-05-11 阿里巴巴集团控股有限公司 Image preview method and apparatus for camera application, and camera application system
CN105979195A (en) * 2016-05-26 2016-09-28 努比亚技术有限公司 Video image processing apparatus and method
CN106056533B (en) * 2016-05-26 2019-08-20 维沃移动通信有限公司 A kind of method and terminal taken pictures
CN105979195B (en) * 2016-05-26 2019-04-19 努比亚技术有限公司 A kind of video image processing device and method
CN106056533A (en) * 2016-05-26 2016-10-26 维沃移动通信有限公司 Photographing method and terminal
CN106210516A (en) * 2016-07-06 2016-12-07 广东欧珀移动通信有限公司 One is taken pictures processing method and terminal
CN106210516B (en) * 2016-07-06 2019-05-14 Oppo广东移动通信有限公司 One kind is taken pictures processing method and terminal
WO2018019068A1 (en) * 2016-07-27 2018-02-01 中兴通讯股份有限公司 Photographing method and device, and mobile terminal
CN106326849A (en) * 2016-08-17 2017-01-11 北京小米移动软件有限公司 Beauty processing method and device
CN106161962A (en) * 2016-08-29 2016-11-23 广东欧珀移动通信有限公司 A kind of image processing method and terminal
CN106161962B (en) * 2016-08-29 2018-06-29 广东欧珀移动通信有限公司 A kind of image processing method and terminal
CN106506945A (en) * 2016-11-02 2017-03-15 努比亚技术有限公司 A kind of control method and terminal
CN106612396A (en) * 2016-11-15 2017-05-03 努比亚技术有限公司 Photographing device, photographing terminal and photographing method
CN106791016A (en) * 2016-11-29 2017-05-31 努比亚技术有限公司 A kind of photographic method and terminal
CN106897963A (en) * 2017-01-04 2017-06-27 奇酷互联网络科技(深圳)有限公司 Adjust method, device and the terminal device of brightness of image
CN106991654A (en) * 2017-03-09 2017-07-28 广东欧珀移动通信有限公司 Human body beautification method and apparatus and electronic installation based on depth
CN106991654B (en) * 2017-03-09 2021-02-05 Oppo广东移动通信有限公司 Human body beautifying method and device based on depth and electronic device
CN107483833A (en) * 2017-09-22 2017-12-15 维沃移动通信有限公司 The display methods and mobile terminal of a kind of camera function
WO2019085792A1 (en) * 2017-10-31 2019-05-09 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image processing method and device, readable storage medium and electronic device
CN107798652A (en) * 2017-10-31 2018-03-13 广东欧珀移动通信有限公司 Image processing method, device, readable storage medium storing program for executing and electronic equipment
CN107808137A (en) * 2017-10-31 2018-03-16 广东欧珀移动通信有限公司 Image processing method, device, electronic equipment and computer-readable recording medium
US10825150B2 (en) 2017-10-31 2020-11-03 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image processing method and device, electronic device and computer-readable storage medium
CN107995415A (en) * 2017-11-09 2018-05-04 深圳市金立通信设备有限公司 A kind of image processing method, terminal and computer-readable medium
CN108574807A (en) * 2018-04-28 2018-09-25 上海商汤智能科技有限公司 A kind of image treatment method and relevant device
CN110731076A (en) * 2018-07-31 2020-01-24 深圳市大疆创新科技有限公司 Shooting processing method and device and storage medium
WO2020024112A1 (en) * 2018-07-31 2020-02-06 深圳市大疆创新科技有限公司 Photography processing method, device and storage medium
CN109089041A (en) * 2018-08-22 2018-12-25 Oppo广东移动通信有限公司 Recognition methods, device, electronic equipment and the storage medium of photographed scene
CN110248141A (en) * 2019-06-10 2019-09-17 广州视源电子科技股份有限公司 A kind of video pictures brightness adjusting method, device, equipment and readable storage medium storing program for executing
CN111193874A (en) * 2020-01-07 2020-05-22 青岛海信移动通信技术股份有限公司 Image display parameter adjusting method and mobile terminal

Also Published As

Publication number Publication date
CN104902177B (en) 2018-03-02

Similar Documents

Publication Publication Date Title
CN104869320B (en) Electronic equipment and controlling electronic devices operating method
KR101772177B1 (en) Method and apparatus for obtaining photograph
CN107820021B (en) Automatic image capture
CN105227858B (en) A kind of image processing method and mobile terminal
EP3076659B1 (en) Photographing apparatus, control method thereof, and non-transitory computer-readable recording medium
US8760534B2 (en) Image processing apparatus with function for specifying image quality, and method and storage medium
CN104754218B (en) A kind of Intelligent photographing method and terminal
KR101712301B1 (en) Method and device for shooting a picture
CN1926851B (en) Method and apparatus for optimizing capture device settings through depth information
CN104205804B (en) Image processing apparatus, filming apparatus and image processing method
CN103945121B (en) A kind of information processing method and electronic equipment
US8233789B2 (en) Dynamic exposure metering based on face detection
KR20190064958A (en) Method and system for providing recommendation information related to photography
RU2639739C1 (en) Method and device for adjusting photography parameters
CN101257580B (en) Image pickup apparatus, and device and method for control of image pickup
JP2017516421A (en) Mobile terminal and imaging method thereof
JP4149467B2 (en) How to adjust camera exposure
CN105874776B (en) Image processing apparatus and method
US20120157169A1 (en) Portable electronic equipment with automatic control to keep display turned on and method
US9036038B2 (en) Information processing apparatus and method for extracting and categorizing postures of human figures
RU2649773C2 (en) Controlling camera with face detection
US10074165B2 (en) Image composition device, image composition method, and recording medium
CN104038704B (en) The shooting processing method and processing device of backlight portrait scene
CN106878605B (en) Image generation method based on electronic equipment and electronic equipment
US20130021512A1 (en) Framing of Images in an Image Capture Device

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CP01 Change in the name or title of a patent holder