[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107341762A - Take pictures processing method, device and terminal device - Google Patents

Take pictures processing method, device and terminal device Download PDF

Info

Publication number
CN107341762A
CN107341762A CN201710458357.8A CN201710458357A CN107341762A CN 107341762 A CN107341762 A CN 107341762A CN 201710458357 A CN201710458357 A CN 201710458357A CN 107341762 A CN107341762 A CN 107341762A
Authority
CN
China
Prior art keywords
face
parameter
pictures
taking pictures
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710458357.8A
Other languages
Chinese (zh)
Other versions
CN107341762B (en
Inventor
曾元清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710458357.8A priority Critical patent/CN107341762B/en
Publication of CN107341762A publication Critical patent/CN107341762A/en
Application granted granted Critical
Publication of CN107341762B publication Critical patent/CN107341762B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Studio Devices (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)

Abstract

The present invention proposes that one kind is taken pictures processing method, device and terminal device, wherein, method includes:Record is with U.S. face pattern when being taken pictures, and takes pictures the first U.S. face parameter used by obtained multiple pictures;Face in photo is identified, to establish face and photo comprising face used by corresponding relation between multiple first U.S. face parameters;According to the multiple first U.S. face parameters that corresponding relation with face be present, the second U.S. face parameter of face is calculated;When being taken pictures with U.S. face pattern to face, processing of taking pictures is carried out using the second U.S. face parameter.Thus, select U.S. face parameter to carry out U.S. face according to the personal like of user, meet the individual demand of user.

Description

Take pictures processing method, device and terminal device
Technical field
The present invention relates to technical field of imaging, more particularly to one kind is taken pictures processing method, device and terminal device.
Background technology
With raising of the user to the demand of taking pictures, the pattern of photographing camera also more tends to variation, wherein, U.S. face mould Formula, can U.S. flesh and the U.S. type of intelligence automatically, overturn tradition and take pictures effect, moment, U.S. face, perfection retained facial detail automatically, by User's likes.
However, in correlation technique, when being taken pictures with U.S. face pattern, U.S. face grade is divided according to unified standard, such as, according to Parameter designing U.S. face grades such as age of user, sex, but this setup orients each user with being unable to precision Hobby, the accurate U.S. face effect completed user and wanted.
The content of the invention
It is contemplated that at least solves one of technical problem in correlation technique to a certain extent.
Therefore, first purpose of the present invention is to propose that one kind is taken pictures processing method, to realize the individual according to user Hobby selects U.S. face parameter to carry out U.S. face, meets the individual demand of user.
Second object of the present invention is to propose that one kind is taken pictures processing unit.
Third object of the present invention is to propose a kind of terminal device.
Fourth object of the present invention is to propose a kind of computer program product.
The 5th purpose of the present invention is to propose a kind of non-transitorycomputer readable storage medium.
For the above-mentioned purpose, one kind that first aspect present invention embodiment proposes is taken pictures processing method, including:Record is with U.S. When face pattern is taken pictures, the first U.S. face parameter used by obtained multiple pictures is taken pictures;Face in the photo is known Not, to establish the face and photo comprising the face used by corresponding relation between multiple first U.S. face parameters; According to the multiple first U.S. face parameters that corresponding relation with the face be present, the second U.S. face parameter of the face is calculated; When being taken pictures with U.S. face pattern to the face, processing of taking pictures is carried out using the described second U.S. face parameter.
The processing method of taking pictures of the embodiment of the present invention, record when being taken pictures with U.S. face pattern, take pictures obtained multiple pictures institute The the first U.S. face parameter used, the face in photo is identified, used by establishing face and the photo comprising face Corresponding relation between multiple first U.S. face parameters, according to the multiple first U.S. face parameters that corresponding relation with face be present, calculate The second U.S. face parameter of face is obtained, when being taken pictures with U.S. face pattern to face, is taken pictures using the second U.S. face parameter Processing.Thus, select U.S. face parameter to carry out U.S. face according to the personal like of user, meet the individual demand of user.
For the above-mentioned purpose, one kind that second aspect of the present invention embodiment proposes is taken pictures processing unit, including:Record mould Block, when being taken pictures for recording with U.S. face pattern, take pictures the first U.S. face parameter used by obtained multiple pictures;Establish module, For the face in the photo to be identified, to establish the face and the photo comprising the face used by it is multiple Corresponding relation between first U.S. face parameter;Computing module, for having multiple the first of corresponding relation according to the face U.S. face parameter, the second U.S. face parameter of the face is calculated;Processing module, for entering with U.S. face pattern to the face When row is taken pictures, processing of taking pictures is carried out using the described second U.S. face parameter.
The processing unit of taking pictures of the embodiment of the present invention, record when being taken pictures with U.S. face pattern, take pictures obtained multiple pictures institute The the first U.S. face parameter used, the face in photo is identified, used by establishing face and the photo comprising face Corresponding relation between multiple first U.S. face parameters, according to the multiple first U.S. face parameters that corresponding relation with face be present, calculate The second U.S. face parameter of face is obtained, when being taken pictures with U.S. face pattern to face, is taken pictures using the second U.S. face parameter Processing.Thus, select U.S. face parameter to carry out U.S. face according to the personal like of user, meet the individual demand of user.
For the above-mentioned purpose, a kind of terminal device that third aspect present invention embodiment proposes, including with next or more Individual component:Housing and processor, memory and display interface in the housing, wherein, the processor passes through reading The executable program code stored in the memory runs program corresponding with the executable program code, for reality The now processing method of taking pictures as described in first aspect present invention embodiment.
To achieve these goals, fourth aspect present invention embodiment proposes a kind of computer program product, when described When instruction in computer program product is by computing device, perform for realizing as described in first aspect present invention embodiment Processing method of taking pictures.
To achieve these goals, fifth aspect present invention embodiment proposes a kind of computer-readable storage of non-transitory Medium, it is stored thereon with computer program, it is characterised in that realized when the computer program is executed by processor such as the present invention the Processing method of taking pictures described in one side embodiment.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Substantially and it is readily appreciated that, wherein:
Fig. 1 is the flow chart of the processing method of taking pictures of one embodiment of the invention;
Fig. 2 is the flow chart according to the processing method of taking pictures of a specific embodiment of the invention;And
Fig. 3 is the structural representation of processing unit according to an embodiment of the invention of taking pictures.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings processing method of taking pictures, device and the terminal device of the embodiment of the present invention are described.
Fig. 1 is the flow chart of the processing method of taking pictures of one embodiment of the invention.
Analysis is understood based on more than, in the prior art, U.S. face grade is divided using relatively uniform standard, it is impossible to according to The personal like at family carries out U.S. face, causes user to be unsatisfied with to U.S. face effect, such as, for the female user at same age A and female user B, it is divided into according to age and sex and carries out U.S. face with a U.S. face grade, however, user A may be wished Hope that the grade of U.S. face is some higher, such as, it is desirable to the U.S. face effect of chin is more more acute, and according to the U.S. face of unified standard division Grade carries out the effect of U.S. face, can not meet user A personalized U.S. face demand.
For this problem, the embodiments of the invention provide processing method of taking pictures, and is liked with realizing according to user with people U.S. face is carried out, processing method comprises the following steps as shown in figure 1, this is taken pictures:
S101, record when being taken pictures with U.S. face pattern, take pictures the first U.S. face parameter used by obtained multiple pictures.
Wherein, the first U.S. face parameter is included under corresponding U.S. face pattern, the value of each parameter of corresponding U.S. face action, such as including Grind skin brightness, bright eye size, whitening degree etc..
It should be appreciated that during the taking pictures of reality, corresponding application program sets some silent according to masses' hobby The U.S. face parameter recognized, so as to which user with U.S. face pattern when being taken pictures, according to personal like, on the basis of the U.S. face parameter of acquiescence The upper U.S. face parameter of adjustment is with the used first U.S. face parameter that obtains taking pictures.
Certainly, in actual applications, it is if not beautiful previously according to the popular U.S. face parameter for liking and setting and giving tacit consent to, first Face parameter can be some U.S. face parameters that user voluntarily selects according to individual demand.
It should be noted that according to the difference of concrete application scene, it can in different ways record and be clapped with U.S. face pattern According to when, take pictures the first U.S. face parameter used by obtained photo, illustrate as follows:
The first example:
In this example, provided in related application under U.S. face pattern, the function button of the first U.S. face parameter, so as to, User is identified to the trigger action of correlation function button, when being taken pictures to record with U.S. face pattern, the photo for taking pictures to obtain is used The first U.S. face parameter.
Certainly, in this example, user can also use other modes to trigger function button corresponding to the first U.S. face parameter, than Such as, user sends phonetic order, so as to know that user wishes the first U.S. face parameter of triggering by the identification to phonetic order.
Second of example:
In this example, when being taken pictures with U.S. face pattern, periodically photo current and original image are contrasted, according to right Identify that user takes pictures the first U.S. face parameter used by obtained photo than result, such as, by photo current and original image Contrast, find photo current than original image white color some, then know the first U.S. face ginseng that the photo for taking pictures to obtain uses Number includes whitening.
It is emphasized that in the present embodiment, the first U.S. face parameter can be one and also may be used used by every photo To be multiple, the first U.S. face parameter can be the same or different used by different photos.
S102, the face in photo is identified, to establish face and the photo comprising the face used by it is more Corresponding relation between individual first U.S. face parameter.
Specifically, the first U.S. face parameter corresponds to user to obtain the U.S. face effect oneself liked, implemented to one The application of a little U.S. face functions, in order to orient the personal like of user, the first U.S. face parameter and specific face are mapped, The face in photo is identified, to establish the corresponding relation of face and the first U.S. face parameter.For example identify in photo Face A, establish the U.S. face parameter whitenings of face A and first, go acne design parameter value corresponding relation.
It should be noted that in actual applications, according to the difference of concrete application scene, it can compare in different ways Face in piece is identified, such as, corresponding outline identification algorithm can be combined, is realized by identifying the profile of face The identification of face, and for example, the identification to face characteristic position, such as human eye, mouth can be realized out by feature recognition algorithms The identification of lip etc., so as to identify the face in photo according to the face characteristic position identified.
S103, according to the multiple first U.S. face parameters that corresponding relation with face be present, the second U.S. face of face is calculated Parameter.
Wherein, the second U.S. face parameter corresponds to the specific parameter value of the part or all of first U.S. face parameter.
It should be appreciated that above-mentioned the first U.S. face parameter for being directed to a photo comprising face simply corresponds to user and existed When being taken pictures with U.S. face pattern, once U.S. face operation therein, there is certain randomness, such as, user this with U.S. face pattern The purpose taken pictures is to make the photo on resume, and therefore, this U.S. face action may be less.However, photo is used The first U.S. face parameter when carrying out U.S. face, although used first U.S. face parameter is probably incomplete same every time, Be due to that the hobby of user is relatively fixed, therefore, can according to the operation of the multiple U.S. face of user, learnt with calculate with The second U.S. face parameter that user preferences match.
Wherein, according to the difference of concrete application scene, there can be corresponding relation according to face in different ways Multiple first U.S. face parameters, the second U.S. face parameter of face is calculated, illustrates as follows:
The first example:
According to the U.S. face effect using face during each first U.S. face parameter, learnt, obtain the second of institute's face U.S. face parameter.
It is appreciated that in this example, by for the multiple pictures of the face of same user, corresponding to use first U.S. face effect after U.S. face parameter U.S. face is quantified, to be imitated according to using the U.S. face of face during each first U.S. face parameter Fruit, learnt to obtain the second of face the U.S. face parameter.
In the present embodiment, U.S. face effect can be quantified in different ways according to the difference of application demand, than Such as, after U.S. face is carried out using each U.S. face parameter, gather the score information of user, with according to the score information of user to U.S. Face effect is quantified.
Again for example, operation behavior of the user to U.S. face parameter can be identified, if user is selecting some first U.S. face When parameter carries out U.S. face to photo, U.S. face operation is and then cancelled, then has been determined as U.S. face of the user to the first U.S. face parameter Effect is unsatisfied with, and a lower value is assigned to the first U.S. face parameter, for example assigns 0 point (5 points of systems), if user is selecting certain When one the first U.S. face parameter carries out U.S. face, the U.S. face operation is repeated again, then it is assumed that user thinks the first U.S. face parameter Dynamics is inadequate, therefore, first U.S. one value of face parameter is assigned according to number of repetition, and number of repetition is more, and assignment is lower, if User is confirmed after it have selected some first U.S. face parameter and carry out U.S. face, then it is assumed that user joins to the first U.S. face Several U.S. face effects is more satisfied, so as to assign first U.S. one high value of face parameter.
Second of example:
In this example, the first U.S. face parameter includes the parameter value of multiple dimensions, wherein, the dimension corresponds to each of U.S. face The different function of kind, for example mill skin, thin face, whitening, bright eye etc. can be included.Certainly, the division of the dimension can be retouched as above That states dividing according to the function of U.S. face or being divided according to U.S. face position, if being divided according to position, then often The U.S. face parameter at the corresponding position of the parameter value of individual dimension.
So as to, for each dimension of the first U.S. face parameter, the parameter value that multiple U.S. face parameters use is counted respectively, than Such as, the first U.S. face parameter used by the N photos obtained for face A, including M dimension, then statistics is in N photos In, parameter value used by N number of U.S. face parameter of each dimension, and then, the multiple U.S. face parameters obtained according to statistics use Parameter value, parameter value of the second U.S. face parameter in the dimension is calculated.
Wherein, in different application scenarios, the second U.S. face parameter can be calculated in different ways in the dimension Parameter value, such as, the multiple parameter values of the U.S. face parameter of same dimension are averaged, joined with obtaining the second of the dimension the U.S. face Several parameter value, and for example, the multiple parameter values of the U.S. face parameter of same dimension are taken with being averaged for maximum and minimum value sum Value, the parameter value of the second U.S. face parameter as the dimension.
For example, the first U.S. face parameter used by 5 photos obtained for face A, including 2 dimension U.S.s White and sharp face, then for statistics in 5 photos, the parameter value of whitening be a1, a2, a3, a4 and a5, whitening dimension in the second U.S. face parameter The U.S. face parameter value of degree is (a1+a2+a3+a4+a5)/5, and in 5 photos, the parameter value of sharp face is b1, b2, b3, b4 and b5, The U.S. face parameter value of sharp face dimension is (b1+b2+b3+b4+b5)/5 in second U.S. face parameter.
It is emphasized that in actual applications, the conventional user to take pictures is relatively-stationary, such as, it is user And the household of user or the good friend of user, therefore, in order to improve treatment effeciency, avoid to accidentally use the camera other It is non-to determine user's progress aforesaid operations, it is necessary to Screening Treatment corresponding to being carried out to active user.
In one embodiment of the invention, in order to improve treatment effeciency of taking pictures, the operand of related terminal device is mitigated,
According to the multiple first U.S. face parameters that corresponding relation with face be present, be calculated face the second U.S. face parameter it Before, may further determine that the frequency of taking pictures of face is more than first threshold, the wherein first threshold is demarcated according to lot of experimental data, If the beat frequency of face is more than first threshold, it is relatively-stationary user to prove the user, wherein, the number that learns to take pictures is big It can also make it that study result is more accurate in the photo of first threshold.
Certainly, in actual applications, it is possible to number of taking pictures be more than first threshold user have it is multiple, therefore, in order to enter One step improves treatment effeciency, and can also determine face takes pictures the frequency in the frequency of taking pictures of whole faces, and ranking is more than second Threshold value, wherein, the Second Threshold is demarcated according to lot of experimental data, so as to be more than the user of first threshold in the frequency of taking pictures In further filter out ranking be more than Second Threshold user, to determine really fix user, further improve handle imitates Rate.
Wherein, the above-mentioned frequency of taking pictures can be by current total number or within a period of time of taking pictures Take pictures number, be not limited herein.
For example, first threshold is 50 times, Second Threshold 5, it is determined that user of the number more than 50 times that go out to take pictures has 10, then it is the fixed user used that may only have in 10 users several, thus, in order to further improve treatment effeciency, Face corresponding to the user of 5 is filtered out before number of taking pictures in 10 users as pending face.
S104, when being taken pictures with U.S. face pattern to face, processing of taking pictures is carried out using the second U.S. face parameter.
Specifically, the second of above-mentioned acquisition the U.S. face parameter is demarcated according to the personal like of user, thus, when with When U.S. face pattern is taken pictures to face, processing of taking pictures is carried out using the second U.S. face parameter, it will obtain the individual character for meeting user The U.S. face effect of change demand.
In one embodiment of the invention, when detecting that user is taken pictures with U.S. face pattern, the face taken pictures, root are identified According to the face identified, the second U.S. face parameter of face is inquired, and then, processing of taking pictures is carried out using the second U.S. face parameter.
In order that obtaining those skilled in the art is more apparent from the present invention, enter with reference to specific application scenarios Row is illustrated to the handling process of taking pictures of the embodiment of the present invention, is described as follows:
Wherein, in this example, first threshold 50, Second Threshold 5.
In this example, will most as shown in Fig. 2 when user's using terminal equipment carries the U.S. face such as camera or photograph album Whole U.S. face reference record in U.S. face picture (S201), and then, using existing photograph album classification feature, count face in photograph album The number (S202) of appearance, determine whether to occur more than the face (S203) of 50 times, if it is not, may now learn Sample is inadequate, thus, do not process, U.S. face demand (S204) of the user to photo is completed using the U.S. face parameter of acquiescence.
It is more than the facial image of 50 times if there is the number of appearance, then calculates the people that occurrence number in photograph album is more than 50 times Face feature, if the number of user of the face occurrence number more than 50 times more than 5, at most calculates people corresponding to 5 users Face characteristic corresponding to face image, and then, U.S. face parameter (the first U.S. face parameter) corresponding to face characteristic corresponding to acquisition (S205)。
Further, face characteristic information and corresponding U.S. face parameter are uploaded into Cloud Server or directly made locally Analyzed with deep learning, calculate the U.S. face parameter (the second U.S. face parameter) (S206) for being best suitable for corresponding user, now, when corresponding User when using U.S. face camera herein, advanced pedestrian's face matching, then will corresponding to be adapted to face parameter be passed to camera complete it is beautiful Face, if it fails to match, using the U.S. face parameter of acquiescence to user U.S. face (S207).
In summary, the processing method of taking pictures of the embodiment of the present invention, record when being taken pictures with U.S. face pattern, take pictures to obtain more First U.S. face parameter used by photo, the face in photo is identified, to establish face and the photo comprising face Corresponding relation between used multiple first U.S. face parameters, according to the multiple first U.S. face ginsengs that corresponding relation with face be present Number, is calculated the second U.S. face parameter of face, when being taken pictures with U.S. face pattern to face, is entered using the second U.S. face parameter Capable processing of taking pictures.Thus, U.S. face parameter is selected to carry out U.S. face according to the personal like of user, meeting the personalized of user needs Ask.
In order to realize above-described embodiment, the present invention also proposes that one kind is taken pictures processing unit.
Fig. 3 is the structural representation of processing unit according to an embodiment of the invention of taking pictures, as shown in figure 3, this is taken pictures Processing unit includes logging modle 100, establishes module 200, computing module 300 and processing module 400.
Wherein, logging modle 100, when being taken pictures for recording with U.S. face pattern, used by taking pictures obtained multiple pictures First U.S. face parameter.
Module 200 is established, for the face in photo to be identified, is adopted with establishing face with the photo comprising face Corresponding relation between multiple first U.S. face parameters.
Computing module 300, for according to the multiple first U.S. face parameters that corresponding relation with face be present, face to be calculated The second U.S. face parameter.
In one embodiment of the invention, computing module 300 is according to using face during each first U.S. face parameter U.S. face effect, is learnt, and obtains the second U.S. face parameter of face.
Processing module 400, for when being taken pictures with U.S. face pattern to face, being taken pictures using the second U.S. face parameter Processing.
It should be noted that the foregoing explanation to processing method embodiment of taking pictures is also applied for taking pictures for the embodiment Processing unit, here is omitted.
In summary, the processing unit of taking pictures of the embodiment of the present invention, record when being taken pictures with U.S. face pattern, take pictures to obtain more First U.S. face parameter used by photo, the face in photo is identified, to establish face and the photo comprising face Corresponding relation between used multiple first U.S. face parameters, according to the multiple first U.S. face ginsengs that corresponding relation with face be present Number, is calculated the second U.S. face parameter of face, when being taken pictures with U.S. face pattern to face, is entered using the second U.S. face parameter Capable processing of taking pictures.Thus, U.S. face parameter is selected to carry out U.S. face according to the personal like of user, meeting the personalized of user needs Ask.
In order to realize above-described embodiment, the present invention also proposes a kind of terminal device, including:Housing and the place in housing Manage device, memory and display interface, wherein, the executable program code that processor is stored by reading in memory come run with Program corresponding to executable program code, for realizing the processing method of taking pictures of above-described embodiment description.
In order to realize above-described embodiment, the present invention also proposes a kind of computer program product, when the computer program produces When instruction in product is by computing device, the processing method of taking pictures as described in above-mentioned embodiment is performed.
In order to realize above-described embodiment, the present invention also proposes a kind of non-transitorycomputer readable storage medium, deposited thereon Computer program is contained, the processing method of taking pictures as described in above-mentioned embodiment is realized when the computer program is executed by processor.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area Art personnel can be tied the different embodiments or example and the feature of different embodiments or example described in this specification Close and combine.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the invention, " multiple " are meant that at least two, such as two, three It is individual etc., unless otherwise specifically defined.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize custom logic function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium, which can even is that, to print the paper of described program thereon or other are suitable Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage Or firmware is realized.Such as, if realized with hardware with another embodiment, following skill well known in the art can be used Any one of art or their combination are realized:With the logic gates for realizing logic function to data-signal from Logic circuit is dissipated, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile Journey gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries Suddenly it is that by program the hardware of correlation can be instructed to complete, described program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can also That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, can also be realized in the form of software function module.The integrated module is such as Fruit is realized in the form of software function module and as independent production marketing or in use, can also be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although have been shown and retouch above Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention System, one of ordinary skill in the art can be changed to above-described embodiment, change, replace and become within the scope of the invention Type.

Claims (10)

  1. The processing method 1. one kind is taken pictures, it is characterised in that comprise the following steps:
    Record is with U.S. face pattern when being taken pictures, and takes pictures the first U.S. face parameter used by obtained multiple pictures;
    Face in the photo is identified, to establish the face and the photo comprising the face used by it is multiple Corresponding relation between first U.S. face parameter;
    According to the multiple first U.S. face parameters that corresponding relation with the face be present, the second U.S. face that the face is calculated is joined Number;
    When being taken pictures with U.S. face pattern to the face, processing of taking pictures is carried out using the described second U.S. face parameter.
  2. 2. processing method according to claim 1 of taking pictures, it is characterised in that the basis has corresponding close with the face Multiple first U.S. face parameters of system, the second U.S. face parameter of the face is calculated, including:
    According to the U.S. face effect using face during each first U.S. face parameter, learnt, obtain the of the face Two U.S. face parameters.
  3. 3. processing method according to claim 1 of taking pictures, it is characterised in that the first U.S. face parameter includes multiple dimensions Parameter value, the multiple first U.S. face parameters of corresponding relation with the face be present, the face be calculated in the basis Second U.S. face parameter, including:
    For each dimension of the first U.S. face parameter, the parameter value that multiple U.S. face parameters use is counted respectively;
    The parameter value that the multiple U.S. face parameters obtained according to statistics use, is calculated the described second U.S. face parameter in the dimension Parameter value.
  4. 4. according to the processing method of taking pictures described in claim any one of 1-3, it is characterised in that the basis is deposited with the face In the multiple first U.S. face parameters of corresponding relation, it is calculated before the second U.S. face parameter of the face, in addition to:
    Determine that the frequency of taking pictures of the face is more than first threshold;
    And/or determine the face takes pictures the frequency in the frequency of taking pictures of whole faces, ranking is more than Second Threshold.
  5. 5. according to the processing method of taking pictures described in claim any one of 1-3, it is characterised in that described to work as with U.S. face pattern to institute When stating face and being taken pictures, processing of taking pictures is carried out using the described second U.S. face parameter, including:
    When being taken pictures with U.S. face pattern, the face taken pictures is identified;
    Inquire about the second U.S. face parameter of the face;
    Processing of taking pictures is carried out using the described second U.S. face parameter.
  6. The processing unit 6. one kind is taken pictures, it is characterised in that including:
    Logging modle, when being taken pictures for recording with U.S. face pattern, take pictures the first U.S. face parameter used by obtained multiple pictures;
    Module is established, for the face in the photo to be identified, with the photograph established the face Yu include the face Corresponding relation used by piece between multiple first U.S. face parameters;
    Computing module, for according to the multiple first U.S. face parameters that corresponding relation with the face be present, the people to be calculated Second U.S. face parameter of face;
    Processing module, for when being taken pictures with U.S. face pattern to the face, being clapped using the described second U.S. face parameter According to processing.
  7. 7. processing unit according to claim 6 of taking pictures, it is characterised in that the computing module is specifically used for:
    According to the U.S. face effect using face during each first U.S. face parameter, learnt, obtain the of the face Two U.S. face parameters.
  8. 8. a kind of terminal device, it is characterised in that including following one or more assemblies:Housing and the place in the housing Device, memory and display interface are managed, wherein, the processor is by reading the executable program code stored in the memory To run program corresponding with the executable program code, for realizing taking pictures as described in any in claim 1-5 Processing method.
  9. 9. a kind of computer program product, when the instruction in the computer program product is by computing device, perform as weighed Profit requires the processing method of taking pictures any one of 1-5.
  10. 10. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, it is characterised in that the calculating The processing method of taking pictures as any one of claim 1-5 is realized when machine program is executed by processor.
CN201710458357.8A 2017-06-16 2017-06-16 Photographing processing method and device and terminal equipment Expired - Fee Related CN107341762B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710458357.8A CN107341762B (en) 2017-06-16 2017-06-16 Photographing processing method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710458357.8A CN107341762B (en) 2017-06-16 2017-06-16 Photographing processing method and device and terminal equipment

Publications (2)

Publication Number Publication Date
CN107341762A true CN107341762A (en) 2017-11-10
CN107341762B CN107341762B (en) 2021-04-16

Family

ID=60220640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710458357.8A Expired - Fee Related CN107341762B (en) 2017-06-16 2017-06-16 Photographing processing method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN107341762B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107820017A (en) * 2017-11-30 2018-03-20 广东欧珀移动通信有限公司 Image capturing method, device, computer-readable recording medium and electronic equipment
CN107862653A (en) * 2017-11-30 2018-03-30 广东欧珀移动通信有限公司 Method for displaying image, device, storage medium and electronic equipment
CN107862654A (en) * 2017-11-30 2018-03-30 广东欧珀移动通信有限公司 Image processing method, device, computer-readable recording medium and electronic equipment
CN107993209A (en) * 2017-11-30 2018-05-04 广东欧珀移动通信有限公司 Image processing method, device, computer-readable recording medium and electronic equipment
CN108447026A (en) * 2018-01-31 2018-08-24 上海思愚智能科技有限公司 Acquisition methods, terminal and the computer readable storage medium of U.S. face parameter attribute value
CN108566487A (en) * 2018-03-27 2018-09-21 广东欧珀移动通信有限公司 photo processing method, device and mobile terminal
CN109285135A (en) * 2018-12-04 2019-01-29 厦门美图之家科技有限公司 Face image processing process and device
CN109410128A (en) * 2018-09-21 2019-03-01 联想(北京)有限公司 A kind of image processing method, device and electronic equipment
CN111402157A (en) * 2020-03-12 2020-07-10 维沃移动通信有限公司 Image processing method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104715236A (en) * 2015-03-06 2015-06-17 广东欧珀移动通信有限公司 Face beautifying photographing method and device
CN104853092A (en) * 2015-04-30 2015-08-19 广东欧珀移动通信有限公司 Photographing method and device
US20160014333A1 (en) * 2003-06-26 2016-01-14 Fotonation Limited Digital Image Processing Using Face Detection and Skin Tone Information
CN105530435A (en) * 2016-02-01 2016-04-27 深圳市金立通信设备有限公司 Shooting method and mobile terminal
CN105825486A (en) * 2016-04-05 2016-08-03 北京小米移动软件有限公司 Beautifying processing method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160014333A1 (en) * 2003-06-26 2016-01-14 Fotonation Limited Digital Image Processing Using Face Detection and Skin Tone Information
CN104715236A (en) * 2015-03-06 2015-06-17 广东欧珀移动通信有限公司 Face beautifying photographing method and device
CN104853092A (en) * 2015-04-30 2015-08-19 广东欧珀移动通信有限公司 Photographing method and device
CN105530435A (en) * 2016-02-01 2016-04-27 深圳市金立通信设备有限公司 Shooting method and mobile terminal
CN105825486A (en) * 2016-04-05 2016-08-03 北京小米移动软件有限公司 Beautifying processing method and apparatus

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107862653A (en) * 2017-11-30 2018-03-30 广东欧珀移动通信有限公司 Method for displaying image, device, storage medium and electronic equipment
CN107862654A (en) * 2017-11-30 2018-03-30 广东欧珀移动通信有限公司 Image processing method, device, computer-readable recording medium and electronic equipment
CN107993209A (en) * 2017-11-30 2018-05-04 广东欧珀移动通信有限公司 Image processing method, device, computer-readable recording medium and electronic equipment
CN107820017A (en) * 2017-11-30 2018-03-20 广东欧珀移动通信有限公司 Image capturing method, device, computer-readable recording medium and electronic equipment
CN107820017B (en) * 2017-11-30 2020-03-27 Oppo广东移动通信有限公司 Image shooting method and device, computer readable storage medium and electronic equipment
CN107862653B (en) * 2017-11-30 2021-08-17 Oppo广东移动通信有限公司 Image display method, image display device, storage medium and electronic equipment
CN108447026A (en) * 2018-01-31 2018-08-24 上海思愚智能科技有限公司 Acquisition methods, terminal and the computer readable storage medium of U.S. face parameter attribute value
CN108566487B (en) * 2018-03-27 2020-08-14 Oppo广东移动通信有限公司 Photo processing method and device and mobile terminal
CN108566487A (en) * 2018-03-27 2018-09-21 广东欧珀移动通信有限公司 photo processing method, device and mobile terminal
CN109410128A (en) * 2018-09-21 2019-03-01 联想(北京)有限公司 A kind of image processing method, device and electronic equipment
CN109285135A (en) * 2018-12-04 2019-01-29 厦门美图之家科技有限公司 Face image processing process and device
CN111402157A (en) * 2020-03-12 2020-07-10 维沃移动通信有限公司 Image processing method and electronic equipment
CN111402157B (en) * 2020-03-12 2024-04-09 维沃移动通信有限公司 Image processing method and electronic equipment

Also Published As

Publication number Publication date
CN107341762B (en) 2021-04-16

Similar Documents

Publication Publication Date Title
CN107341762A (en) Take pictures processing method, device and terminal device
US11854070B2 (en) Generating virtual makeup products
US11854072B2 (en) Applying virtual makeup products
US11321385B2 (en) Visualization of image themes based on image content
US10360710B2 (en) Method of establishing virtual makeup data and electronic device using the same
US10936853B1 (en) Skin tone assisted digital image color matching
CN108174099A (en) Method for displaying image, device and computer readable storage medium
WO2018012136A1 (en) Makeup assistance device and makeup assistance method
JP7242848B2 (en) Systems and methods for providing personalized product recommendations using deep learning
CN108182232A (en) Personage's methods of exhibiting, electronic equipment and computer storage media based on e-book
US12136173B2 (en) Digital makeup palette
CN111080746A (en) Image processing method, image processing device, electronic equipment and storage medium
CN113689324A (en) Automatic adding and deleting method and device for portrait object based on two classification labels
CN112785488A (en) Image processing method and device, storage medium and terminal
CN113361419A (en) Image processing method, device, equipment and medium
CN109376661A (en) Method and apparatus for output information
CN109829364A (en) A kind of expression recognition method, device and recommended method, device
KR102342866B1 (en) A method streaming and displaying custom content
KR101757184B1 (en) System for automatically generating and classifying emotionally expressed contents and the method thereof
CN107341774A (en) Facial image U.S. face processing method and processing device
CN110163049A (en) A kind of face character prediction technique, device and storage medium
KR102430742B1 (en) Apparatus and method for developing space analysis model based on data augmentation
US11321882B1 (en) Digital makeup palette
KR102342843B1 (en) A method of serving customized content considering circumstance
Zaib et al. Personalized saliency prediction using color spaces

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
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210416