CN107948534A - A kind of photographic method based on human body complexion difference, device and mobile terminal - Google Patents

A kind of photographic method based on human body complexion difference, device and mobile terminal Download PDF

Info

Publication number
CN107948534A
CN107948534A CN201810005031.4A CN201810005031A CN107948534A CN 107948534 A CN107948534 A CN 107948534A CN 201810005031 A CN201810005031 A CN 201810005031A CN 107948534 A CN107948534 A CN 107948534A
Authority
CN
China
Prior art keywords
module
skin
human body
colour
camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810005031.4A
Other languages
Chinese (zh)
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.)
Shanghai Chuanying Information Technology Co Ltd
Original Assignee
Shanghai Chuanying Information Technology 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 Shanghai Chuanying Information Technology Co Ltd filed Critical Shanghai Chuanying Information Technology Co Ltd
Priority to CN201810005031.4A priority Critical patent/CN107948534A/en
Publication of CN107948534A publication Critical patent/CN107948534A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2621Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability

Abstract

The invention discloses a kind of photographic method based on human body complexion difference, device and mobile terminal, this method comprises the following steps:Step 1:Open camera and enter shooting state;Step 2:Determine the colour of skin of human body in the camera shooting interface;Step 3:Matching and the corresponding beautification algorithm of the colour of skin;Step 4:Taken pictures according to the beautification algorithm.For the difference of the current all parts of the world area ethnic group colour of skin, the present invention can meet shooting and the imaging aesthetic requirement of different colour of skin users, and for user's shooting effect intelligent Matching beautification algorithm of the different colours of skin, to obtain optimal landscaping effect.

Description

A kind of photographic method based on human body complexion difference, device and mobile terminal
Technical field
The present invention relates to the field of camera in mobile equipment, and in particular to a kind of bat based on human body complexion difference According to method, device and mobile terminal.
Background technology
Possess with the development of society, mobile terminal with advances in technology and there are more and more amusement functions, it has melted In the life for entering us, and have the function that more more important.As user terminal (such as smart mobile phone, tablet computer) is clapped According to becoming stronger day by day for function, more and more users like taking pictures using user terminal.Wherein, camera function is as joy One of core of happy function, becomes the importance that user considers mobile terminal.And camera of the prior art is taken pictures Function, some also have U.S. face tupe, such as Auto-Sensing face, amplification eyes, whitening and mill skin processing etc., Neng Gouti concurrently The imaging effect of high face.
The all built-in U.S. face camera function of current mobile terminals more and more on the market.In the prior art, user uses Above-mentioned U.S.'s face camera function needs manual setting U.S. face parameter and takes pictures effect to reach the U.S. face that user wants.However, set manually It is more complicated to put the mode of U.S. face parameter, inadequate hommization;And user does not know which kind of U.S. face parameter is adapted to the skin of oneself yet Color, can not accurately set U.S. face parameter, the problem of causing U.S. face effect poor.
In addition, as intelligent terminal continues to develop, it is more and more available for the intelligent terminal taken pictures, such as mobile phone of intelligence, Digital camera, tablet computer etc..User is more next in order to take satisfied photo when being taken pictures using these intelligent terminals The built-in U.S. face function of more intelligent terminal manufacturer, in addition, application program market also provides more and more U.S. face applications Program.In the prior art, for for the U.S. face function built in intelligent terminal, or U.S. face application program, or by identifying people Face loads U.S. face effect automatically, U.S. face effect is either loaded by identifying background light intensity or by identifying face The colour of skin loads U.S. face effect.But existing U.S. face effect is still not enough enriched, customization that can not be more intelligent is more More U.S. face effects, user experience are poor.
In the prior art, some softwares of taking pictures can provide different exposal models, such as skin-whitening pattern, skin Soft pattern of color etc.;Meanwhile also have some U.S. figure softwares, landscaping treatment can be carried out to the skin area of portrait photographs.But It is that generally only there is single skin beautifying functions, such as the skin brightening by personage in photo in this kind of software of taking pictures, or It is that skin color is adjusted to wheat.When user takes pictures to the personage of the different colours of skin, while need to carry out personage's colour of skin If correction, flesh correction difference on effect is be easy to cause, can not unify to carry out flesh correction.Such as female user happiness at home The joyous colour of skin of oneself seems more pale, and some American-European users with white skin, more likes the skin of wheat.This Sample, camera or mobile phone with a correct skin tones effect are likely difficult to meet different regions consumer demand at the same time.
The content of the invention
The object of the present invention is to provide a kind of photographic method based on human body complexion difference, device and mobile terminal, with solution Certainly above-mentioned problem of the prior art.
To reach above-mentioned purpose, the present invention provides a kind of photographic method based on human body complexion difference, it includes following Step:
Step 1:Open camera and enter shooting state;
Step 2:Determine the colour of skin of human body in the camera shooting interface;
Step 3:Matching and the corresponding beautification algorithm of the colour of skin;
Step 4:Taken pictures according to the beautification algorithm.
The above-mentioned photographic method based on human body complexion difference, wherein, step 2 specifically includes following steps:
Step 2.1:Human bioequivalence is carried out first in the camera shoots interface, to judge to whether there is human body shadow Picture;
Step 2.2:If there are body image, and then skin color model is carried out, to judge the colour of skin of human body.
The above-mentioned photographic method based on human body complexion difference, wherein, step 2.2 specifically includes following steps:
Step 2.2.1:Recognition of face is carried out first in body image, to determine human face region;
Step 2.2.2:The colour of skin colourity average value of the human face region is calculated, to determine the colour of skin of human body.
The above-mentioned photographic method based on human body complexion difference, wherein, the step 3 specifically includes following steps:
Step 3.1:Establish human body complexion database:It is divided into four colourity sections to deep from shallow according to the colour of skin:Black chtominance Section, brown colourity section, yellow chrominance section and white chromaticity section;Each colourity section is further divided into multiple Between colourity subprovince;A beautification algorithm is corresponded between each colourity subprovince respectively;
Step 3.2:Database matching is carried out to the obtained colour of skin colourity average values of step 2.2.2, to determine correspondingly Beautify algorithm.
Present invention also offers a kind of camera arrangement based on human body complexion difference, it includes:
Starting module, it, which is used to opening camera, enters shooting state;
The acquisition module being connected with starting module, it is used for the colour of skin for determining human body in the camera shooting interface;
The matching module being connected with acquisition module, it is used to match and the corresponding beautification algorithm of the colour of skin;
The photo module being connected with matching module, it is used to be taken pictures according to the beautification algorithm.
The above-mentioned camera arrangement based on human body complexion difference, wherein, it further includes the amendment mould being connected with matching module Block, it is used for the brightness and the colourity that obtain the environment on human body periphery, and then the beautification algorithm is modified.
The above-mentioned camera arrangement based on human body complexion difference, wherein, the acquisition module includes:
The human bioequivalence module being connected with starting module, it is used to carry out human body first in the camera shoots interface Identification, to judge to whether there is body image:
The skin color model module being connected respectively with human bioequivalence module and matching module, if it is used for there are body image, And then skin color model is carried out, to judge the colour of skin of human body.
The above-mentioned camera arrangement based on human body complexion difference, wherein, the skin color model module includes:
The face recognition module being connected with human bioequivalence module, it is used in body image carry out recognition of face first, To determine human face region;
The chrominance distortion module being connected respectively with face recognition module and matching module, it is used to calculate the human face region Colour of skin colourity average value, with determine human body the colour of skin.
The above-mentioned camera arrangement based on human body complexion difference, wherein, the matching module includes:
Database module, it is used to establish human body complexion database;
The algorithm search module being connected respectively with chrominance distortion module, database module and photo module, it is used for color Spend the obtained colour of skin colourity average value of computing module and carry out database matching, to determine correspondingly to beautify algorithm.
Present invention also offers a kind of mobile terminal, the camera for taking pictures is provided with the mobile terminal;It is described The above-mentioned camera arrangement based on human body complexion difference is additionally provided with mobile terminal.
Relative to the prior art, the invention has the advantages that:
For the difference of the current all parts of the world area ethnic group colour of skin, the present invention can meet different colour of skin users shooting and Aesthetic requirement is imaged, and for user's shooting effect intelligent Matching beautification algorithm of the different colours of skin, is imitated with obtaining optimal beautification Fruit.
Brief description of the drawings
Fig. 1 is that the flow of the photographic method embodiment one provided in an embodiment of the present invention based on human body complexion difference is illustrated Figure;
Fig. 2 is that the flow of the photographic method embodiment two provided in an embodiment of the present invention based on human body complexion difference is illustrated Figure;
Fig. 3 is that the flow of the photographic method embodiment three provided in an embodiment of the present invention based on human body complexion difference is illustrated Figure;
Fig. 4 is that the flow of the photographic method example IV provided in an embodiment of the present invention based on human body complexion difference is illustrated Figure;
Fig. 5 is the structural representation of the camera arrangement embodiment one provided in an embodiment of the present invention based on human body complexion difference Figure;
Fig. 6 is the structural representation of the camera arrangement embodiment two provided in an embodiment of the present invention based on human body complexion difference Figure;
Fig. 7 is the structural representation of the camera arrangement embodiment three provided in an embodiment of the present invention based on human body complexion difference Figure;
Fig. 8 is the structural representation of the camera arrangement example IV provided in an embodiment of the present invention based on human body complexion difference Figure;
Fig. 9 is the structural representation of the camera arrangement embodiment five provided in an embodiment of the present invention based on human body complexion difference Figure.
Embodiment
Below in conjunction with attached drawing, by specific embodiment, the invention will be further described, these embodiments are merely to illustrate The present invention, is not limiting the scope of the invention.
The present invention provides a kind of photographic method based on human body complexion difference, it comprises the following steps:
Step 1:Open camera and enter shooting state;
Step 2:Determine the colour of skin of human body in the camera shooting interface;
Step 3:Matching and the corresponding beautification algorithm of the colour of skin;
Step 4:Taken pictures according to the beautification algorithm.
The step 2 specifically includes following steps:
Step 2.1:Human bioequivalence is carried out first in the camera shoots interface, to judge to whether there is human body shadow Picture;
Step 2.2:If there are body image, and then skin color model is carried out, to judge the colour of skin of human body.
The step 2.2 specifically includes following steps:
Step 2.2.1:Recognition of face is carried out first in body image, to determine human face region;
Step 2.2.2:The colour of skin colourity average value of the human face region is calculated, to determine the colour of skin of human body.
The step 3 specifically includes following steps:
Step 3.1:Establish human body complexion database:It is divided into four colourity sections to deep from shallow according to the colour of skin:Black chtominance Section, brown colourity section, yellow chrominance section and white chromaticity section;Each colourity section is further divided into multiple Between colourity subprovince;A beautification algorithm is corresponded between each colourity subprovince respectively;
Step 3.2:Database matching is carried out to the obtained colour of skin colourity average values of step 2.2.2, to determine correspondingly Beautify algorithm.
Present invention also offers a kind of camera arrangement based on human body complexion difference, it includes:
Starting module, it, which is used to opening camera, enters shooting state;
The acquisition module being connected with starting module, it is used for the colour of skin for determining human body in the camera shooting interface;
The matching module being connected with acquisition module, it is used to match and the corresponding beautification algorithm of the colour of skin;
The photo module being connected with matching module, it is used to be taken pictures according to the beautification algorithm.
The camera arrangement based on human body complexion difference further includes the correcting module being connected with matching module, it is used to obtain Brightness and the colourity of the environment on human body periphery are taken, and then the beautification algorithm is modified.
The acquisition module includes:
The human bioequivalence module being connected with starting module, it is used to carry out human body first in the camera shoots interface Identification, to judge to whether there is body image:
The skin color model module being connected respectively with human bioequivalence module and matching module, if it is used for there are body image, And then skin color model is carried out, to judge the colour of skin of human body.
The skin color model module includes:
The face recognition module being connected with human bioequivalence module, it is used in body image carry out recognition of face first, To determine human face region;
The chrominance distortion module being connected respectively with face recognition module and matching module, it is used to calculate the human face region Colour of skin colourity average value, with determine human body the colour of skin.
The matching module includes:
Database module, it is used to establish human body complexion database;
The algorithm search module being connected respectively with chrominance distortion module, database module and photo module, it is used for color Spend the obtained colour of skin colourity average value of computing module and carry out database matching, to determine correspondingly to beautify algorithm.
Present invention also offers a kind of mobile terminal, the camera for taking pictures is provided with the mobile terminal;It is described The above-mentioned camera arrangement based on human body complexion difference is additionally provided with mobile terminal.
As shown in Figure 1, the stream for the photographic method embodiment one provided in an embodiment of the present invention based on human body complexion difference Journey schematic diagram.It includes following steps:
Step 1:Open camera and enter shooting state;
Step 2:Determine the colour of skin of human body in the camera shooting interface;
Step 3:Matching and the corresponding beautification algorithm of the colour of skin;
Step 4:Taken pictures according to the beautification algorithm.
As shown in Fig. 2, the stream for the photographic method embodiment two provided in an embodiment of the present invention based on human body complexion difference Journey schematic diagram.It includes following steps:
Step 1:Open camera and enter shooting state;
Step 2.1:Human bioequivalence is carried out first in the camera shoots interface, to judge to whether there is human body shadow Picture;
Step 2.2:If there are body image, and then skin color model is carried out, to judge the colour of skin of human body;Step 3:Matching With the corresponding beautification algorithm of the colour of skin;
Step 4:Taken pictures according to the beautification algorithm.
As shown in figure 3, the stream for the photographic method embodiment three provided in an embodiment of the present invention based on human body complexion difference Journey schematic diagram.It includes following steps:
Step 1:Open camera and enter shooting state;
Step 2.1:Human bioequivalence is carried out first in the camera shoots interface, to judge to whether there is human body shadow Picture;
Step 2.2:If there are body image, and then skin color model is carried out, to judge the colour of skin of human body;
Step 2.2.1:Recognition of face is carried out first in body image, to determine human face region;
Step 2.2.2:The colour of skin colourity average value of the human face region is calculated, to determine the colour of skin of human body;
Step 3:Matching and the corresponding beautification algorithm of the colour of skin;
Step 4:Taken pictures according to the beautification algorithm.
As shown in figure 4, the stream for the photographic method example IV provided in an embodiment of the present invention based on human body complexion difference Journey schematic diagram.It includes following steps:
Step 1:Open camera and enter shooting state;
Step 2.1:Human bioequivalence is carried out first in the camera shoots interface, to judge to whether there is human body shadow Picture;
Step 2.2:If there are body image, and then skin color model is carried out, to judge the colour of skin of human body;
Step 2.2.1:Recognition of face is carried out first in body image, to determine human face region;
Step 2.2.2:The colour of skin colourity average value of the human face region is calculated, to determine the colour of skin of human body;
Step 3.1:Establish human body complexion database:It is divided into four colourity sections to deep from shallow according to the colour of skin:Black chtominance Section, brown colourity section, yellow chrominance section and white chromaticity section;Each colourity section is further divided into multiple Between colourity subprovince;A beautification algorithm is corresponded between each colourity subprovince respectively;
Step 3.2:Database matching is carried out to the obtained colour of skin colourity average values of step 2.2.2, to determine correspondingly Beautify algorithm;
Step 4:Taken pictures according to the beautification algorithm.
As shown in figure 5, the knot for the camera arrangement embodiment one provided in an embodiment of the present invention based on human body complexion difference Structure schematic diagram.It includes:
Starting module 1, it, which is used to opening camera, enters shooting state;
The acquisition module 2 being connected with starting module 1, it is used for the colour of skin for determining human body in the camera shooting interface;
The matching module 3 being connected with acquisition module 2, it is used to match and the corresponding beautification algorithm of the colour of skin;
The photo module 4 being connected with matching module 3, it is used to be taken pictures according to the beautification algorithm.
As shown in fig. 6, the knot for the camera arrangement embodiment two provided in an embodiment of the present invention based on human body complexion difference Structure schematic diagram.It includes:
Starting module 1, it, which is used to opening camera, enters shooting state;
The acquisition module 2 being connected with starting module 1, it is used for the colour of skin for determining human body in the camera shooting interface;
The matching module 3 being connected with acquisition module 2, it is used to match and the corresponding beautification algorithm of the colour of skin;
The photo module 4 being connected with matching module 3, it is used to be taken pictures according to the beautification algorithm;
The correcting module being connected with matching module 3, it is used for the brightness and the colourity that obtain the environment on human body periphery, and then right The beautification algorithm is modified.
As shown in fig. 7, the knot for the camera arrangement embodiment three provided in an embodiment of the present invention based on human body complexion difference Structure schematic diagram.It includes:
Starting module 1, it, which is used to opening camera, enters shooting state;
The acquisition module 2 being connected with starting module 1, it is used for the colour of skin for determining human body in the camera shooting interface;
The matching module 3 being connected with acquisition module 2, it is used to match and the corresponding beautification algorithm of the colour of skin;
The photo module 4 being connected with matching module 3, it is used to be taken pictures according to the beautification algorithm;
The acquisition module 2 includes:
The human bioequivalence module 21 being connected with starting module 1, it is used in the camera shoots interface carry out first Human bioequivalence, to judge to whether there is body image:
The skin color model module 22 being connected respectively with human bioequivalence module 21 and matching module 3, if it is used for, there are human body Image, and then skin color model is carried out, to judge the colour of skin of human body.
As shown in figure 8, the knot for the camera arrangement example IV provided in an embodiment of the present invention based on human body complexion difference Structure schematic diagram.It includes:
Starting module 1, it, which is used to opening camera, enters shooting state;
The acquisition module 2 being connected with starting module 1, it is used for the colour of skin for determining human body in the camera shooting interface;
The matching module 3 being connected with acquisition module 2, it is used to match and the corresponding beautification algorithm of the colour of skin;
The photo module 4 being connected with matching module 3, it is used to be taken pictures according to the beautification algorithm;
The acquisition module 2 includes:
The human bioequivalence module 21 being connected with starting module 1, it is used in the camera shoots interface carry out first Human bioequivalence, to judge to whether there is body image:
The skin color model module 22 being connected respectively with human bioequivalence module 21 and matching module 3, if it is used for, there are human body Image, and then skin color model is carried out, to judge the colour of skin of human body;
The skin color model module 22 includes:
The face recognition module 221 being connected with human bioequivalence module 21, it is used in body image carry out face first Identification, to determine human face region;
The chrominance distortion module 222 being connected respectively with face recognition module 221 and matching module 3, it is used to calculate described The colour of skin colourity average value of human face region, to determine the colour of skin of human body.
As shown in figure 9, the knot for the camera arrangement embodiment five provided in an embodiment of the present invention based on human body complexion difference Structure schematic diagram.It includes:
Starting module 1, it, which is used to opening camera, enters shooting state;
The acquisition module 2 being connected with starting module 1, it is used for the colour of skin for determining human body in the camera shooting interface;
The matching module 3 being connected with acquisition module 2, it is used to match and the corresponding beautification algorithm of the colour of skin;
The photo module 4 being connected with matching module 3, it is used to be taken pictures according to the beautification algorithm;
The acquisition module 2 includes:
The human bioequivalence module 21 being connected with starting module 1, it is used in the camera shoots interface carry out first Human bioequivalence, to judge to whether there is body image:
The skin color model module 22 being connected respectively with human bioequivalence module 21 and matching module 3, if it is used for, there are human body Image, and then skin color model is carried out, to judge the colour of skin of human body;
The skin color model module 22 includes:
The face recognition module 221 being connected with human bioequivalence module 21, it is used in body image carry out face first Identification, to determine human face region;
The chrominance distortion module 222 being connected respectively with face recognition module 221 and matching module 3, it is used to calculate described The colour of skin colourity average value of human face region, to determine the colour of skin of human body;
The matching module 3 includes:
Database module 31, it is used to establish human body complexion database;
The algorithm search module 32 being connected respectively with chrominance distortion module 222, database module 31 and photo module 4, its For carrying out database matching to the obtained colour of skin colourity average value of chrominance distortion module 222, to determine that correspondingly beautification is calculated Method.
In mobile terminal embodiment one provided by the invention, the camera for taking pictures is provided with the mobile terminal; The camera arrangement based on human body complexion difference is additionally provided with the mobile terminal, it includes:
Starting module 1, it, which is used to opening camera, enters shooting state;
The acquisition module 2 being connected with starting module 1, it is used for the colour of skin for determining human body in the camera shooting interface;
The matching module 3 being connected with acquisition module 2, it is used to match and the corresponding beautification algorithm of the colour of skin;
The photo module 4 being connected with matching module 3, it is used to be taken pictures according to the beautification algorithm.
In mobile terminal embodiment two provided by the invention, the camera for taking pictures is provided with the mobile terminal; The camera arrangement based on human body complexion difference is additionally provided with the mobile terminal, it includes:
Starting module 1, it, which is used to opening camera, enters shooting state;
The acquisition module 2 being connected with starting module 1, it is used for the colour of skin for determining human body in the camera shooting interface;
The matching module 3 being connected with acquisition module 2, it is used to match and the corresponding beautification algorithm of the colour of skin;
The photo module 4 being connected with matching module 3, it is used to be taken pictures according to the beautification algorithm;
The correcting module being connected with matching module 3, it is used for the brightness and the colourity that obtain the environment on human body periphery, and then right The beautification algorithm is modified.
In mobile terminal embodiment three provided by the invention, the camera for taking pictures is provided with the mobile terminal; The camera arrangement based on human body complexion difference is additionally provided with the mobile terminal, it includes:
Starting module 1, it, which is used to opening camera, enters shooting state;
The acquisition module 2 being connected with starting module 1, it is used for the colour of skin for determining human body in the camera shooting interface;
The matching module 3 being connected with acquisition module 2, it is used to match and the corresponding beautification algorithm of the colour of skin;
The photo module 4 being connected with matching module 3, it is used to be taken pictures according to the beautification algorithm;
The acquisition module 2 includes:
The human bioequivalence module 21 being connected with starting module 1, it is used in the camera shoots interface carry out first Human bioequivalence, to judge to whether there is body image:
The skin color model module 22 being connected respectively with human bioequivalence module 21 and matching module 3, if it is used for, there are human body Image, and then skin color model is carried out, to judge the colour of skin of human body.
In mobile terminal example IV provided by the invention, the camera for taking pictures is provided with the mobile terminal; The camera arrangement based on human body complexion difference is additionally provided with the mobile terminal, it includes:
Starting module 1, it, which is used to opening camera, enters shooting state;
The acquisition module 2 being connected with starting module 1, it is used for the colour of skin for determining human body in the camera shooting interface;
The matching module 3 being connected with acquisition module 2, it is used to match and the corresponding beautification algorithm of the colour of skin;
The photo module 4 being connected with matching module 3, it is used to be taken pictures according to the beautification algorithm;
The acquisition module 2 includes:
The human bioequivalence module 21 being connected with starting module 1, it is used in the camera shoots interface carry out first Human bioequivalence, to judge to whether there is body image:
The skin color model module 22 being connected respectively with human bioequivalence module 21 and matching module 3, if it is used for, there are human body Image, and then skin color model is carried out, to judge the colour of skin of human body;
The skin color model module 22 includes:
The face recognition module 221 being connected with human bioequivalence module 21, it is used in body image carry out face first Identification, to determine human face region;
The chrominance distortion module 222 being connected respectively with face recognition module 221 and matching module 3, it is used to calculate described The colour of skin colourity average value of human face region, to determine the colour of skin of human body.
In mobile terminal embodiment five provided by the invention, the camera for taking pictures is provided with the mobile terminal; The camera arrangement based on human body complexion difference is additionally provided with the mobile terminal, it includes:
Starting module 1, it, which is used to opening camera, enters shooting state;
The acquisition module 2 being connected with starting module 1, it is used for the colour of skin for determining human body in the camera shooting interface;
The matching module 3 being connected with acquisition module 2, it is used to match and the corresponding beautification algorithm of the colour of skin;
The photo module 4 being connected with matching module 3, it is used to be taken pictures according to the beautification algorithm;
The acquisition module 2 includes:
The human bioequivalence module 21 being connected with starting module 1, it is used in the camera shoots interface carry out first Human bioequivalence, to judge to whether there is body image:
The skin color model module 22 being connected respectively with human bioequivalence module 21 and matching module 3, if it is used for, there are human body Image, and then skin color model is carried out, to judge the colour of skin of human body;
The skin color model module 22 includes:
The face recognition module 221 being connected with human bioequivalence module 21, it is used in body image carry out face first Identification, to determine human face region;
The chrominance distortion module 222 being connected respectively with face recognition module 221 and matching module 3, it is used to calculate described The colour of skin colourity average value of human face region, to determine the colour of skin of human body;
The matching module 3 includes:
Database module 31, it is used to establish human body complexion database;
The algorithm search module 32 being connected respectively with chrominance distortion module 222, database module 31 and photo module 4, its For carrying out database matching to the obtained colour of skin colourity average value of chrominance distortion module 222, to determine that correspondingly beautification is calculated Method.
In conclusion for the difference of the current all parts of the world area ethnic group colour of skin, the present invention can meet different colour of skin users Shooting and imaging aesthetic requirement, and for the different colours of skin user's shooting effect intelligent Matching beautification algorithm, with obtain most Excellent landscaping effect.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to. For system class embodiment, since it is substantially similar to embodiment of the method, so description is fairly simple, related part ginseng See the part explanation of embodiment of the method.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements not only include those key elements, and And other elements that are not explicitly listed are further included, or further include as this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including wanting Also there are other identical element in the process of element, method, article or system.
It will be appreciated by those skilled in the art that realize that all or part of step of above-described embodiment can be by hardware come complete Into relevant hardware can also being instructed to complete by program, which can be stored in a certain hardware in mobile terminal.
In addition, the mobile terminal device of the present invention is made of associated component, wherein, some components are the hardware of mobile terminal Comprising modules, alternatively, the component of intelligent terminal include processor, and the various hardware composition mould in addition to processor Block.
Although present disclosure is discussed in detail by above preferred embodiment, but it should be appreciated that above-mentioned Description is not considered as limitation of the present invention.After those skilled in the art have read the above, for the present invention's A variety of modifications and substitutions all will be apparent.Therefore, protection scope of the present invention should be limited to the appended claims.

Claims (10)

1. a kind of photographic method based on human body complexion difference, it is characterised in that it comprises the following steps:
Step 1:Open camera and enter shooting state;
Step 2:Determine the colour of skin of human body in the camera shooting interface;
Step 3:Matching and the corresponding beautification algorithm of the colour of skin;
Step 4:Taken pictures according to the beautification algorithm.
2. the photographic method as claimed in claim 1 based on human body complexion difference, it is characterised in that step 2 specifically include with Lower step:
Step 2.1:Human bioequivalence is carried out first in the camera shoots interface, to judge to whether there is body image;
Step 2.2:If there are body image, and then skin color model is carried out, to judge the colour of skin of human body.
3. the photographic method as claimed in claim 2 based on human body complexion difference, it is characterised in that step 2.2 specifically includes Following steps:
Step 2.2.1:Recognition of face is carried out first in body image, to determine human face region;
Step 2.2.2:The colour of skin colourity average value of the human face region is calculated, to determine the colour of skin of human body.
4. the photographic method as claimed in claim 3 based on human body complexion difference, it is characterised in that the step 3 is specifically wrapped Include following steps:
Step 3.1:Establish human body complexion database:It is divided into four colourity sections to deep from shallow according to the colour of skin:Black chtominance section, Brown colourity section, yellow chrominance section and white chromaticity section;Each colourity section is further divided into multiple colourities Between subprovince;A beautification algorithm is corresponded between each colourity subprovince respectively;
Step 3.2:Database matching is carried out to the obtained colour of skin colourity average values of step 2.2.2, to determine correspondingly to beautify Algorithm.
5. a kind of camera arrangement based on human body complexion difference, it is characterised in that it includes:
Starting module, it, which is used to opening camera, enters shooting state;
The acquisition module being connected with starting module, it is used for the colour of skin for determining human body in the camera shooting interface;
The matching module being connected with acquisition module, it is used to match and the corresponding beautification algorithm of the colour of skin;
The photo module being connected with matching module, it is used to be taken pictures according to the beautification algorithm.
6. the camera arrangement as claimed in claim 5 based on human body complexion difference, it is characterised in that it is further included with matching mould The correcting module of block connection, it is used for the brightness and the colourity that obtain the environment on human body periphery, and then the beautification algorithm is carried out Correct.
7. the camera arrangement as claimed in claim 5 based on human body complexion difference, it is characterised in that the acquisition module bag Include:
The human bioequivalence module being connected with starting module, it is used to carry out human body knowledge first in the camera shoots interface Not, to judge to whether there is body image:
The skin color model module being connected respectively with human bioequivalence module and matching module, if it is used for there are body image, and then Skin color model is carried out, to judge the colour of skin of human body.
8. the camera arrangement as claimed in claim 7 based on human body complexion difference, it is characterised in that the skin color model module Including:
The face recognition module being connected with human bioequivalence module, it is used in body image carry out recognition of face first, with true Determine human face region;
The chrominance distortion module being connected respectively with face recognition module and matching module, it is used for the skin for calculating the human face region Chroma color average value, to determine the colour of skin of human body.
9. the camera arrangement as claimed in claim 8 based on human body complexion difference, it is characterised in that the matching module bag Include:
Database module, it is used to establish human body complexion database;
The algorithm search module being connected respectively with chrominance distortion module, database module and photo module, it is used for colorimeter Calculate the obtained colour of skin colourity average value of module and carry out database matching, to determine correspondingly to beautify algorithm.
10. a kind of mobile terminal, it is characterised in that the camera for taking pictures is provided with the mobile terminal;The movement The camera arrangement based on human body complexion difference as described in any one in claim 5-9 is additionally provided with terminal.
CN201810005031.4A 2018-01-03 2018-01-03 A kind of photographic method based on human body complexion difference, device and mobile terminal Pending CN107948534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810005031.4A CN107948534A (en) 2018-01-03 2018-01-03 A kind of photographic method based on human body complexion difference, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810005031.4A CN107948534A (en) 2018-01-03 2018-01-03 A kind of photographic method based on human body complexion difference, device and mobile terminal

Publications (1)

Publication Number Publication Date
CN107948534A true CN107948534A (en) 2018-04-20

Family

ID=61937347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810005031.4A Pending CN107948534A (en) 2018-01-03 2018-01-03 A kind of photographic method based on human body complexion difference, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN107948534A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113524A (en) * 2019-04-11 2019-08-09 深圳传音通讯有限公司 User's smart machine and its camera parameter intelligent configuration method based on geographical location
CN110751607A (en) * 2019-10-21 2020-02-04 浙江大华技术股份有限公司 Skin color correction method and device, storage medium and electronic device
CN111031179A (en) * 2019-12-19 2020-04-17 上海传英信息技术有限公司 Interface display method, device and computer readable storage medium
CN112714251A (en) * 2020-12-24 2021-04-27 联想(北京)有限公司 Shooting method and shooting terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100271507A1 (en) * 2009-04-24 2010-10-28 Qualcomm Incorporated Image capture parameter adjustment using face brightness information
CN105279487A (en) * 2015-10-15 2016-01-27 广东欧珀移动通信有限公司 Beauty tool screening method and system
CN106097261A (en) * 2016-06-01 2016-11-09 广东欧珀移动通信有限公司 Image processing method and device
CN106210521A (en) * 2016-07-15 2016-12-07 深圳市金立通信设备有限公司 A kind of photographic method and terminal
CN107302662A (en) * 2017-07-06 2017-10-27 维沃移动通信有限公司 A kind of method, device and mobile terminal taken pictures

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100271507A1 (en) * 2009-04-24 2010-10-28 Qualcomm Incorporated Image capture parameter adjustment using face brightness information
CN105279487A (en) * 2015-10-15 2016-01-27 广东欧珀移动通信有限公司 Beauty tool screening method and system
CN106097261A (en) * 2016-06-01 2016-11-09 广东欧珀移动通信有限公司 Image processing method and device
CN106210521A (en) * 2016-07-15 2016-12-07 深圳市金立通信设备有限公司 A kind of photographic method and terminal
CN107302662A (en) * 2017-07-06 2017-10-27 维沃移动通信有限公司 A kind of method, device and mobile terminal taken pictures

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113524A (en) * 2019-04-11 2019-08-09 深圳传音通讯有限公司 User's smart machine and its camera parameter intelligent configuration method based on geographical location
CN110751607A (en) * 2019-10-21 2020-02-04 浙江大华技术股份有限公司 Skin color correction method and device, storage medium and electronic device
CN111031179A (en) * 2019-12-19 2020-04-17 上海传英信息技术有限公司 Interface display method, device and computer readable storage medium
CN112714251A (en) * 2020-12-24 2021-04-27 联想(北京)有限公司 Shooting method and shooting terminal

Similar Documents

Publication Publication Date Title
CN107948534A (en) A kind of photographic method based on human body complexion difference, device and mobile terminal
WO2020125410A1 (en) Image processing method and electronic device
CN113810602B (en) Shooting method and electronic equipment
CN104735362B (en) Photographic method and device
CN104144289B (en) Photographic method and device
CN108337433A (en) A kind of photographic method, mobile terminal and computer readable storage medium
CN109495688A (en) Method for previewing of taking pictures, graphic user interface and the electronic equipment of electronic equipment
CN104076928B (en) A kind of method for adjusting text importing image
US20090251484A1 (en) Avatar for a portable device
WO2015001437A1 (en) Image processing method and apparatus, and electronic device
CN107302662A (en) A kind of method, device and mobile terminal taken pictures
CN106507021A (en) Method for processing video frequency and terminal device
WO2021035505A1 (en) Image processing method and device
CN110111245A (en) Image processing method, device, terminal and computer readable storage medium
CN112887582A (en) Image color processing method and device and related equipment
CN108550106B (en) Color correction method and device for panoramic image and electronic equipment
CN111784568A (en) Face image processing method and device, electronic equipment and computer readable medium
CN103065290A (en) Device and method for correcting skin color in photo
CN110197420A (en) A kind of intelligent dressing system
US20220327749A1 (en) Method and electronic device for processing images
CN106097261B (en) Image processing method, device, storage medium and terminal device
US7697164B2 (en) Mutually different color conversion image processing device
CN112541955A (en) Image processing method, device and equipment
WO2023010912A1 (en) Image processing method and electronic device
JP2011044964A (en) Imaging apparatus, imaging method and computer program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180420