Embodiment one
In order to allow those skilled in the art that can understand the technical solution in the embodiment of the present application clear and completely, belowSpecific descriptions in, will be illustrated so that electronic equipment is mobile phone as an example, and below with reference to example, introduce in the embodiment of the present application sideThe specific implementation process of method:
Referring to FIG. 1, embodiments herein one provides a kind of specific implementation process of information processing method.This method packetInclude following steps:
S101: acquisition includes between the first image of the first face information and the pre-set image for including default face informationThe first human face similarity degree value;
S102: the first human face similarity degree value and the first default human face similarity degree value obtain the first comparison result;
S103: being that the first human face similarity degree value is similar less than the described first default face in first comparison resultWhen angle value, at least one parameter information is obtained;
S104: it is based on the first human face similarity degree value and at least one described parameter information, determines the first imageAffiliated group is Band 1;
S105: the first image is added to the Band 1.
Further, referring to FIG. 2, being specifically included during step S101 specific implementation:
S201: N number of key point information of the first image is obtained, and obtains the N number of pre- of the default facial imageIf key point information, N is the integer more than or equal to 1;
S202: N number of key point information and N number of default key point information obtain N number of key point and compare knotFruit;
S203: being based on N number of key point comparison result, obtains between the first image and the default facial imageFirst human face similarity degree value.
Further, referring to FIG. 3, after step S102 has been executed, when the first comparison result is first faceWhen similarity value is more than or equal to the described first default human face similarity degree value, mobile phone directly executes step: by the first image plusEnter into the Band 1;When the first comparison result is that the first human face similarity degree value is less than the described first default face phaseWhen like angle value, mobile phone can execute step S103: be described in the first human face similarity degree value is less than in first comparison resultWhen the first default human face similarity degree value, at least one parameter information is obtained.
Further, since in this application, the parameter information of acquisition at least following two is respectively:
The first parameter: the image capturing time of the first image.
Second of parameter: the first storage routing information of the image capturing time of the first image and the first image.
Certainly both parameters are also not necessarily limited to, and mobile phone can execute not when executing step S104 according to different parametersSame method is realized by two kinds of embodiments respectively for every kind of parameter, so at least there are four types of more specific real by the applicationMode is applied, but is not limited only to these four embodiments, these four embodiments are described in detail below:
It is specific as follows to please refer to Fig. 3 execution step for the first embodiment under the first parameter:
S401: judging whether described image shooting time meets preset time condition corresponding with the Band 1, obtainsObtain the first judging result;
S402: when first judging result, which is, is, the described first default human face similarity degree value adjustment first is presetValue obtains the first default human face similarity degree adjusted value;
S403: whether the first human face similarity degree value is more than or equal to the described first default human face similarity degree adjustmentValue obtains the second comparison result;
S404: when second comparison result, which is, is, determine that the first image belongs to the Band 1, whereinThe human face similarity degree value for the Band 1 image for including in the Band 1 both greater than be equal to based on first preset value intoDescribed first default human face similarity degree adjusted value of row adjustment.
It is specific as follows to please refer to Fig. 4 execution step for second of embodiment under the first parameter:
S501: judging whether described image shooting time meets preset time condition corresponding with the Band 1, obtainsObtain the first judging result;
S502: when first judging result, which is, is, the first human face similarity degree value is adjusted into the first preset value, is obtainedObtain the first human face similarity degree adjusted value;
S503: whether the first human face similarity degree adjusted value is more than or equal to the described first default human face similarity degreeValue obtains the second comparison result;
S504: when second comparison result, which is, is, determine that the first image belongs to the Band 1, whereinThe human face similarity degree adjustment of the Band 1 image for including in the Band 1 being adjusted based on first preset valueValue is both greater than equal to the described first default human face similarity degree value.
It is specific as follows to please refer to Fig. 5 execution step for the first embodiment under second of parameter:
S601: judging whether described image shooting time meets preset time condition corresponding with the Band 1, obtainsObtain the first judging result;
S602: when first judging result is no, the first storage routing information is obtained;
S603: judge whether the first storage routing information meets default storage corresponding with Band 1 pathCondition obtains the second judging result;
S604: when second judging result, which is, is, the described first default human face similarity degree value adjustment second is presetValue obtains the first default human face similarity degree adjusted value;
S605: whether the first human face similarity degree value is more than or equal to the described first default human face similarity degree adjustmentValue obtains third comparison result;
S606: when the third comparison result, which is, is, determine that the first image belongs to the Band 1, whereinThe human face similarity degree value for the Band 1 image for including in the Band 1 both greater than be equal to based on second preset value intoDescribed first default human face similarity degree adjusted value of row adjustment.
It is specific as follows to please refer to Fig. 6 execution step for second of embodiment under second of parameter:
S701: judging whether described image shooting time meets preset time condition corresponding with the Band 1, obtainsObtain the first judging result;
S702: when first judging result is no, the first storage routing information is obtained;
S703: judge whether the first storage routing information meets default storage corresponding with Band 1 pathCondition obtains the second judging result;
S704: when second judging result, which is, is, the first human face similarity degree value is adjusted into the second preset value, is obtainedObtain the first human face similarity degree adjusted value;
S705: whether the first human face similarity degree adjusted value is more than or equal to the described first default human face similarity degreeValue obtains third comparison result;
S706: when the third comparison result, which is, is, determine that the first image belongs to the Band 1, whereinThe human face similarity degree adjustment of the Band 1 image for including in the Band 1 being adjusted based on second preset valueValue is both greater than equal to the described first default human face similarity degree value.
No matter by any in above four kinds of specific embodiments, mobile phone all can be true by the affiliated group of the first imageIt fixes, later, mobile phone executes step S105, and the first image is added in corresponding group, completes automatic point to imageGroup.
Below by specific example, the specific implementation process of information processing method in the embodiment of the present application is described:
The mobile phone of user A includes the facial image of user A in having named image category, and user passes through computer for 6It opens new images and imported into mobile phone, the specifying information of this 6 images is the 1st image, is that the front of user A is shone, clearly reflectsThe facial characteristics of user A;The front of 2nd image and user are shone, and also can clearly reflect that the face of user A is specialSign;3rd image is that the side face of user is shone, can not clearly reflect the facial characteristics of user A;4th image is to useThe front at family is shone, but the problem of due to exposure angle, can not clearly reflect the facial characteristics of user A;5th figurePicture does not include user A, is that the front of user B is shone;6th image, the feature of face, is not that a landscape shines;MeanwhileThe specific storage attribute of this 6 images in a computer are as follows: the 1st image, the 2nd image, the 3rd image and the 4th storageUnder first file, the 5th image storage under second file, the 6th image storage under third file,And the 1st image, second image, the 3rd image and the 5th image taking time be that on the same day, and the 4th image is clappedWhat is taken the photograph is time and above-mentioned 4 image differences.
After mobile phone detects this 6 images, first this 6 images are put into the unnamed image category of mobile phone, andAnd start execute S101: acquisition include the first face information the first image and include default face information pre-set imageBetween the first human face similarity degree value, continue the example above, due to the 6th image be landscape shine, not include face information, instituteDirectly the 6th image has been placed in the landscape group in unnamed image category with mobile phone, and the 1st image is schemed to the 5thAs due to all include face feature, so, mobile phone will execute step S201, S202 and S203.
Step S201 is first carried out: obtaining N number of key point information of the first image, and obtains the default faceN number of default key point information of image, N are the integer more than or equal to 1, are continued the example above specifically, it is assumed that key pointInformation and default key point information are all 4, are respectively: two distances, the size of nose, the size of mouth, two ears heightDegree.At this point, mobile phone obtains the 1st image to the correspondence key point information of the 5th image, it is shown in Table one:
Table one:
It should be noted that the data in bracket are the real data in image, the data of bracket are not mobile phone inspectionsThe data measured, since the side face that the 3rd image is user A is shone, and the exposure of the 4th image and bad, affect mobile phone pairThe acquisition of key point, so the numerical value and actual numerical value detected has operative gap in the 3rd image and the 4th image.It connects, mobile phone obtains 4 default key point informations of user's A face in pre-set image specifically: 6 centimetres of two distances,4 square centimeters of the size of nose, 3 square centimeters of the size of mouth, 5 centimetres of the height of two ears.
After executing the step S201, step S202 is executed: N number of key point information and described N number of defaultKey point information obtains N number of key point comparison result, continues the example above specifically, and the 1st image is schemed to the 5th4 key point informations of picture and the key point information of user A in pre-set image compare, and obtain table two:
Table two:
| Two similarities | Nose similarity | Mouth similarity | Two ear similarities |
| 1st image | 9.8 | 9.7 | 10 | 9.8 |
| 2nd image | 9.0 | 9.0 | 9.0 | 9.0 |
| 3rd image | 8.6 | 6.5 | 5.3 | 9.6 |
| 4th image | 10 | 6.0 | 5.0 | 9.2 |
| 5th image | 8.8 | 6.2 | 0 | 7.6 |
It should be noted that the similarity obtained in table two is calculated according to more complicated formula, at thisIn repeat no more.
After executing the step S202, step S203 is executed: N number of key point comparison result is based on, described in acquisitionThe first human face similarity degree value between first image and the pre-set image, it is assumed that calculating the first face phase in the embodiment of the present applicationObtaining formula like angle value is 1 similarity of weight 1* key point+2 similarities of weight 2* key point+3 similarities of weight 3* key point+powerValue 4* key point similarity, it is assumed that weight 1 to weight 4 is all 0.25, then according to above-mentioned formula, the 1st image it is the firstFace similarity degree value is 0.25*9.8+0.25*9.7+0.25*10+0.25*9.8=9.825, and the first face of the 2nd image is similarAngle value is 0.25*9+0.25*9+0.25*9+0.25*9=9, and the first human face similarity degree value of the 3rd image is 0.25*10+0.25*6.5+0.25*5.3+0.25*9.6=7.5, the first human face similarity degree value of the 4th image are 0.25*10+0.25*6.0+ 0.25*5+0.25*9.2=7.55, the first human face similarity degree value of the 5th image are 0.25*8.8+0.25*6.2+0.25*0+0.25*7.6=5.65.
After executing the step S203, execute step S102: the first human face similarity degree value is default with firstHuman face similarity degree value obtains the first comparison result, continues the example above specifically, it is assumed that first is pre- in the embodiment of the present applicationIf human face similarity degree value is 9, then first human face similarity degree value and first default face phase of the 1st image to the 5th imageThree are shown in Table like the comparison result of angle value:
Table three:
| First human face similarity degree | First default human face similarity degree | First comparison result |
| 1st image | 9.825 | 9.0 | It is greater than |
| 2nd image | 9.0 | 9.0 | It is equal to |
| 3rd image | 7.5 | 9.0 | It is less than |
| 4th image | 7.55 | 9.0 | It is less than |
| 5th image | 5.65 | 9.0 | It is less than |
When first, which compares, is more than or equal to the first default human face similarity degree value for the first human face similarity degree value, step is executed:The first image is added in the Band 1, is continued the example above, due to the 1st image and the 2nd imageFirst comparison result is eligible, so, the 1st image and the 2nd image have been placed in unnamed image category by mobile phoneIn Band 1.
When the first comparison result be the first human face similarity degree value less than the first default human face similarity degree value when, mobile phone executes stepRapid S103: being that the first human face similarity degree value is less than the described first default human face similarity degree value in first comparison resultWhen, obtain at least one parameter information, continue the example above specifically, in this application, the parameter information of acquisition have withLower two kinds, both are of course not solely limited to, is respectively:
Obtain the image capturing time of the first image;Or
Obtain the image capturing time of the first image and the first storage routing information of the first image.
For both parameters, there are two types of embodiments respectively in the specific implementation process for mobile phone, specifically, firstThe first embodiment under kind parameter:
Step S401 is first carried out: it is corresponding with the Band 1 default to judge whether described image shooting time meetsTime conditions obtain the first judging result, continue the example above specifically, due to the 3rd image, the 4th image and the 5thThe first comparison result for opening image is ineligible, so, grouping has not been completed in this three images, obtains this three figures firstThe shooting time of picture, since the 3rd image and the 5th image capturing time are identical, and the shooting time of the 4th image with it is above-mentionedTwo image differences, it is assumed that the shooting time of the 3rd image and the 5th image is on January 1st, 2014, the shooting of the 4th imageTime is on 2 7th, 2014, and the shooting time and the 3rd image of the 1st image in Band 1 and the 2nd image andThe shooting time of 5th image be all be on January 1st, 2014 on the same day, then the preset time condition that mobile phone obtains at this time canThink that shooting time is on January 1st, 2014, be also possible to a range, such as on January 1st, 2014 to January 31, mobile phone judgementWhether the shooting time of the 3rd image to the 5th image meets preset time conditions, so, the first judging result specifically:3rd image meets preset time condition, and the 4th image does not meet preset time condition, and the 5th image meets preset time articlePart.
After executing the step S401, step S402 is executed: when first judging result, which is, is, by described firstDefault human face similarity degree value adjusts the first preset value, obtains the first default human face similarity degree adjusted value, continues the example above toolFor body, due to the first judging result of the 3rd image and the 5th image be all it is yes, mobile phone is preset the first of pre-set imageHuman face similarity degree value reduces by 30%, obtains the first default human face similarity degree value adjusted value, is also not necessarily limited to reduction by 30% certainly,In specific implementation process, value appropriate can be made to the first preset value according to the accuracy of algorithm, at this point, first is pre-If human face similarity degree adjusted value is specially 6.3.
After executing the step S402, execute step S403: whether the first human face similarity degree value is greater thanIn the described first default human face similarity degree adjusted value, the second comparison result is obtained, is continued the example above specifically, mobile phone is rungStep S403 is answered, the first human face similarity degree and the first default human face similarity degree for comparing the 3rd image and the 5th image adjustValue, since the first human face similarity degree value that the first human face similarity degree value of the 3rd image is the 7.5, the 5th image is 5.65, instituteBe with, the second comparison result of the 3rd image it is yes, the second comparison result of the 5th image is no.
S403 is being executed the step, step S404 is executed: when second comparison result, which is, is, determining first figureAs belonging to the Band 1, wherein the human face similarity degree value for the Band 1 image for including in the Band 1 is both greater thanEqual to the described first default human face similarity degree adjusted value being adjusted based on first preset value, tool is continued the example aboveFor body, due to the second comparison result of the 3rd image be it is yes, the result of the 5th image is no, so mobile phone is by the 3rdThe affiliated group of image is determined as Band 1, and at this moment, determines the 1st image, the 2nd image in Band 16.3 are all greater than with the first human face similarity degree of the 3rd image.
Second of embodiment under the first parameter:
Step S501 is first carried out: it is corresponding with the Band 1 default to judge whether described image shooting time meetsTime conditions, obtain the first judging result, continue example above-mentioned, specifically, compare the 3rd image, the 4th image andWhen first judging result of the 5th image is no, the first comparison result of the 3rd image, the 4th image and the 5th image is notIt is eligible, so, grouping has not been completed in this three images, the shooting time of this three images is obtained first, due to the 3rdImage and the 5th image capturing time are identical, and the shooting time of the 4th image and above-mentioned two image differences, it is assumed that the 3rdThe shooting time of image and the 5th image is on January 1st, 2014, and the shooting time of the 4th image is on 2 7th, 2014, andThe shooting time of the shooting time and the 3rd image and the 5th image of the 1st image and the 2nd image in Band 1 isIt on the same day, be all preset time condition that on January 1st, 2014, so mobile phone obtained at this time can be shooting time be 2014 1Month 1 day, it is also possible to a range, such as on January 1st, 2014 to January 31, mobile phone judges the 3rd image to the 5th imageWhether shooting time meets preset time conditions, and the first judging result is specially that the 3rd image meets preset time condition, the4 images do not meet preset time condition, and the 5th image meets preset time condition.
After step S501 completion, step S502 is continued to execute: when first judging result, which is, is, by described theOne human face similarity degree value adjusts the first preset value, obtains the first human face similarity degree adjusted value, continues the example above specifically,Due to the first judging result of the 3rd image and the 5th image be all it is yes, mobile phone is by the first of the 3rd image and the 5th imageHuman face similarity degree value all improves 30% respectively, obtains the first human face similarity degree adjusted value and the 5th image of the 3rd imageFirst human face similarity degree adjusted value, is also not necessarily limited to raising 30% certainly, in the specific implementation process, can be according to the essence of algorithmExactness makes value appropriate to the first preset value, at this point, the first human face similarity degree adjusted value of the 3rd image is 9.75, theFirst human face similarity degree adjusted value of 5 images is 7.345, and the first default human face similarity degree value is 9.0.
After executing the step S502, execute step S503: whether the first human face similarity degree adjusted value is bigIn being equal to the described first default human face similarity degree value, the second comparison result is obtained, is continued the example above specifically, mobile phone is rungStep S503 is answered, the first human face similarity degree adjusted value and the first default human face similarity degree of the 3rd image and the 5th image are comparedValue, obtained the second comparison result of the 3rd image be it is yes, the second comparison result of the 5th image is no.
After completing step S503, step S504 is executed: when second comparison result, which is, is, determining described firstImage belongs to the Band 1, wherein the Band 1 image for including in the Band 1 is preset based on described firstThe human face similarity degree adjusted value that value is adjusted both greater than is equal to the described first default human face similarity degree value, continues the example aboveSpecifically, due to the second comparison result of the 3rd image be it is yes, the result of the 5th image is no, so mobile phone is by the 3rdThe affiliated group for opening image is determined as Band 1, and the first human face similarity degree value of the 1st image is the 9.875, the 2nd at this timeFirst human face similarity degree value of image is that the first human face similarity degree value of the 9.0, the 3rd image is 9.75, is both greater than equal to firstDefault human face similarity degree value 9.
Certainly under second of parameter, mobile phone when executing step S104, also can there are two types of specific embodiment, in conjunction withAbove-mentioned example, continues to describe.
The first embodiment under second of parameter:
Step S601 is first carried out: it is corresponding with the Band 1 default to judge whether described image shooting time meetsTime conditions, obtain the first judging result, continue the example above specifically, compare the 3rd image, the 4th image andWhen first judging result of the 5th image is no, the first comparison result of the 3rd image, the 4th image and the 5th image is notIt is eligible, so, grouping has not been completed in this three images, the shooting time of this three images is obtained first, due to the 3rdImage and the 5th image capturing time are identical, and the shooting time of the 4th image and above-mentioned two image differences, it is assumed that the 3rdThe shooting time of image and the 5th image is on January 1st, 2014, and the shooting time of the 4th image is on 2 7th, 2014, andThe shooting time of the shooting time and the 3rd image and the 5th image of the 1st image and the 2nd image in Band 1 isIt on the same day, be all preset time condition that on January 1st, 2014, so mobile phone obtained at this time can be shooting time be 2014 1Month 1 day, it is also possible to a range, such as on January 1st, 2014 to January 31, mobile phone judges the 3rd image to the 5th imageWhether shooting time meets preset time conditions, and the first judging result is specially that the 3rd image meets preset time condition, the4 images do not meet preset time condition, and the 5th image meets preset time condition.
After executing the step S601, step S602 is executed: when first judging result is no, obtaining described theOne storage routing information, continues the example above specifically, since the 4th image does not meet preset time condition, at this point, handChance obtains storage address of the 4th image storage in computer, and storing address as the aforementioned is first file.
After executing the step S602, execute step S603: judge it is described first storage routing information whether meet andThe corresponding default storage path condition of the Band 1, obtains the second judging result, continue the example above specifically,After mobile phone obtains the storage address of the 4th image storage in a computer as first file, mobile phone obtains firstThe 1st image and the 2nd image in group are first files calculating the storage location of machine, so the 4th imageThe first storage routing information meet the corresponding default storage routing information of Band 1, so the second judging result is yes.
After executing the step S603, step S604 is executed: when second judging result, which is, is, by described firstDefault human face similarity degree value adjusts the second preset value, obtains the first default human face similarity degree adjusted value, continues the example above toolFor body, due to the second judging result of the 4th image be it is yes, so mobile phone response of step S604, by the first default face phase20% is reduced like angle value, the first default human face similarity degree adjusted value is obtained, is of course not solely limited to reduction by 20%, specifically implementingIn the process, value appropriate can be made to the second preset value according to the accuracy of algorithm, at this point, the first default face is similarSpending adjusted value is 7.2.
After executing the step S604, execute step S605: whether the first human face similarity degree value is greater thanIn the described first default human face similarity degree adjusted value, third comparison result is obtained, is continued the example above specifically, mobile phone existsAfter obtaining the first default human face similarity degree adjusted value, whether the first human face similarity degree value for comparing the 4th image is greater thanIn the first default human face similarity degree adjusted value, since the human face similarity degree value of the 4th image is 7.55, and the first default face phaseIt is 7.2 like degree adjusted value, so, the third comparison result of the 4th image is yes.
After executing the step S605, step S606 is executed: when the third comparison result, which is, is, determining described theOne image belongs to the Band 1, wherein the human face similarity degree value for the Band 1 image for including in the Band 1 is allMore than or equal to the described first default human face similarity degree adjusted value being adjusted based on second preset value, the example continued the aboveSon specifically, since the third comparison result of the 4th image is yes, so the affiliated group of the 4th image is determined as theOne group, and at this point, the first human face similarity degree value of the 1st image, the 2nd image and the 4th image is both greater than firstHuman face similarity degree adjusted value 7.2.
Second of embodiment under second of parameter:
Step S701 is first carried out: it is corresponding with the Band 1 default to judge whether described image shooting time meetsTime conditions, obtain the first judging result, continue the example above specifically, compare the 3rd image, the 4th image andWhen first judging result of the 5th image is no, the first comparison result of the 3rd image, the 4th image and the 5th image is notEligible, described, grouping has not been completed in this three images, the shooting time of this three images is obtained first, due to the 3rdImage and the 5th image capturing time are identical, and the shooting time of the 4th image and above-mentioned two image differences, it is assumed that the 3rdThe shooting time of image and the 5th image is on January 1st, 2014, and the shooting time of the 4th image is on 2 7th, 2014, andThe shooting time of the shooting time and the 3rd image and the 5th image of the 1st image and the 2nd image in Band 1 isIt on the same day, be all preset time condition that on January 1st, 2014, so mobile phone obtained at this time can be shooting time be 2014 1Month 1 day, it is also possible to a range, such as on January 1st, 2014 to January 31, mobile phone judges the 3rd image to the 4th imageWhether shooting time meets preset time conditions, and the first judging result is specially that the 3rd image meets preset time condition, the4 images do not meet preset time condition, and the 5th image meets preset time condition.
After step S701 completion, step S702 is continued to complete: when first judging result is no, described in acquisitionFirst storage routing information, continues the example above specifically, since the 4th image does not meet preset time condition, at this point,Mobile phone can obtain storage address of the 5th image storage in computer, and storing address as the aforementioned is first file.
After step S702 completion, step S703 is continued to complete: judging whether the first storage routing information meetsDefault storage path condition corresponding with the Band 1 obtains the second judging result, continues the example above specifically,It is obtained after the storage address of the 4th image storage in a computer is first file in mobile phone, mobile phone obtains theThe 1st image and the 2nd image in one group are first files calculating the storage location of machine, so the 4th figureFirst storage routing information of picture meets the corresponding default storage routing information of Band 1, so the second judging result isIt is.
After executing step S703, step S704 is executed:, will be described the first when second judging result, which is, isFace similarity degree value adjust the second preset value, obtain the first human face similarity degree adjusted value, continue the example above specifically, due toSecond judging result of the 4th image be it is yes, so mobile phone response of step S704, by the first human face similarity degree of the 4th imageValue improves 20%, is of course not solely limited to raising 20%, in the specific implementation process, can be according to the accuracy of algorithm, to theTwo preset values make value appropriate, at this point, the first human face similarity degree adjusted value of the 4th image is 9.06, the first default peopleFace similarity degree value is 9.0.
After executing the step S704, execute step S705: whether the first human face similarity degree adjusted value is bigIn being equal to the described first default human face similarity degree value, third comparison result is obtained, is continued the example above specifically, mobile phone existsAfter the first human face similarity degree adjusted value for obtaining the 4th image, compare the first human face similarity degree adjusted value of the 4th imageWhether the first default human face similarity degree value is more than or equal to, since the first default human face similarity degree value is 9, and the first default face phaseIt is 9.06 like degree adjusted value, so, the third comparison result of the 4th image is yes.
After executing the step S705, step S706 is executed: when the third comparison result, which is, is, determining described theOne image belongs to the Band 1, wherein the Band 1 image for including in the Band 1 it is pre- based on described secondIf the human face similarity degree adjusted value that value is adjusted both greater than is equal to the described first default human face similarity degree value, the example continued the aboveSon specifically, since the third comparison result of the 4th image is, so the affiliated group of the 4th image is determined as firstGroup, and at this point, the first human face similarity degree value of the 1st image is the first human face similarity degree of the 9.825, the 2nd imageValue is that the first human face similarity degree adjusted value of the 9.0, the 4th image is 9.06, is both greater than equal to the first default human face similarity degree value9.0。
No matter by which kind of mode, mobile phone all can change specific embodiment, pass through ginseng by the difference of parameter informationNumber information is to inaccurate because of parts of images first time recognition of face caused by light or other factors after first time recognition of faceThe problem of, second of recognition of face is carried out, so that the group of other images is redefined, so, which kind of side either passed throughFormula, mobile phone execute step S105: the first image are added to the Band 1, tie after executing the step S104It closes and states example, if the 1st image, the 2nd image and the 3rd image are just determined as under the first Parameter ConditionsOne group, and this three images are added to Band a kind;If in second under Parameter Conditions, just by the 1st image,2 images, the 4th image are added in Band 1;Certain those skilled in the art can easily combine both ginsengsSpecific embodiment under several, to will determine that the 1st image, the 2nd image, the 3rd image and the 4th image are determined as theOne group, and this 4 images are added in Band 1, specific process just repeats no more.Embodiment two
Referring to FIG. 7, a kind of electronic equipment is also provided based on the same inventive concept in the embodiment of the present application, it is specific to wrapIt includes:
First obtains unit 10 includes the first image of the first face information and includes default face letter for obtainingThe first human face similarity degree value between the pre-set image of breath;
Comparing unit 20 obtains for the first human face similarity degree value and the first default human face similarity degree valueOne comparison result;
Second obtaining unit 30, for being that the first human face similarity degree value is less than described the in first comparison resultWhen one default human face similarity degree value, at least one parameter information is obtained;
Determination unit 40 determines institute for being based on the first human face similarity degree value and at least one described parameter informationStating the affiliated group of the first image is Band 1;
Adding unit 50, for the first image to be added to the Band 1.
Optionally, first obtains unit 10 specifically include:
Key point obtains module, for obtaining N number of key point information of the first image, and the acquisition default figureN number of default key point information of picture, N are the integer more than or equal to 1;
Key point comparison module obtains N for N number of key point information and N number of default key point informationA key point comparison result;
Similarity obtain module, for be based on N number of key point comparison result, obtain the first image with it is described pre-If the first human face similarity degree value between image.
It optionally, is that the first human face similarity degree value is more than or equal to the described first default people in first comparison resultWhen face similarity degree value, executes step: the first image is added in the Band 1.
Optionally, the determination unit 40, specifically includes:
First judgment module, for being specially the image capturing time of the first image at least one described parameterWhen, judge whether described image shooting time meets preset time condition corresponding with the Band 1, obtains the first judgementAs a result;
The first adjustment module, for first judging result be when, by the described first default human face similarity degree valueThe first preset value is adjusted, the first default human face similarity degree adjusted value is obtained;
Whether the first comparison module is more than or equal to the described first default face for the first human face similarity degree valueSimilarity adjusted value obtains the second comparison result;
First determining module, for when second comparison result, which is, is, determining that the first image belongs to described theOne group, wherein the human face similarity degree value for the Band 1 image for including in the Band 1 is both greater than equal to based on describedThe described first default human face similarity degree adjusted value that first preset value is adjusted.
Optionally, the determination unit 40, specifically includes:
First judgment module, for being specially the image capturing time of the first image at least one described parameterWhen, judge whether described image shooting time meets preset time condition corresponding with the Band 1, obtains the first judgementAs a result;
The first adjustment module, for when first judging result, which is, is, the first human face similarity degree value to be adjustedFirst preset value obtains the first human face similarity degree adjusted value;
First comparison module is preset for whether the first human face similarity degree adjusted value to be more than or equal to described firstHuman face similarity degree value obtains the second comparison result;
First determining module, for when second comparison result, which is, is, determining that the first image belongs to described theOne group, wherein the people of the Band 1 image for including in the Band 1 being adjusted based on first preset valueFace similarity degree adjusted value is both greater than equal to the described first default human face similarity degree value.
Optionally, the determination unit 40, specifically includes:
Second judgment module, for be specially at least one described parameter the first image image capturing time andWhen the first storage routing information of the first image, judge whether described image shooting time meets and the Band 1 pairThe preset time condition answered obtains the first judging result;
First obtains module, for when first judging result is no, obtaining the first storage routing information;
Third judgment module, for judging it is corresponding with the Band 1 whether the first storage routing information meetsDefault storage path condition obtains the second judging result;
Second adjustment module, for second judging result be when, by the described first default human face similarity degree valueThe second preset value is adjusted, the first default human face similarity degree adjusted value is obtained;
Whether the second comparison module is more than or equal to the described first default face for the first human face similarity degree valueSimilarity adjusted value obtains third comparison result;
Second determining module, for when the third comparison result, which is, is, determining that the first image belongs to described theOne group, wherein the human face similarity degree value for the Band 1 image for including in the Band 1 is both greater than equal to based on describedThe described first default human face similarity degree adjusted value that second preset value is adjusted.
Optionally, the determination unit 40, specifically includes:
Second judgment module, for be specially at least one described parameter the first image image capturing time andWhen the first storage routing information of the first image, judge whether described image shooting time meets and the Band 1 pairThe preset time condition answered obtains the first judging result;
First obtains module, for when first judging result is no, obtaining the first storage routing information;
Third judgment module, for judging it is corresponding with the Band 1 whether the first storage routing information meetsDefault storage path condition obtains the second judging result;
Second adjustment module, for when second judging result, which is, is, the first human face similarity degree value to be adjustedSecond preset value obtains the first human face similarity degree adjusted value;
Second comparison module is preset for whether the first human face similarity degree adjusted value to be more than or equal to described firstHuman face similarity degree value obtains third comparison result;
Second determining module, for when the third comparison result, which is, is, determining that the first image belongs to described theOne group, wherein the people of the Band 1 image for including in the Band 1 being adjusted based on second preset valueFace similarity degree adjusted value is both greater than equal to the described first default human face similarity degree value.
Since above-mentioned electronic equipment and a kind of information processing method above-mentioned correspond, so just no longer superfluous hereinIt states.
By one or more technical solutions in the embodiment of the present application, following one or more technology effects may be implementedFruit:
One, due to the technical solution in the embodiment of the present application, use recognition of face by the image of user newly imported firstGrouping screening for the first time is carried out, later by the way of many condition judgement, postsearch screening, phase are carried out to ungrouped image againCompared in the prior art, image cannot be grouped by mobile phone according to the feature of face, cause electronic equipment that can only respond userThe manual operation of grouping and the grouping for carrying out image can effectively solve the problem that exist in the prior art cannot be according to the feature of faceAutomatically the technical issues of photo being grouped, and then realize that technology of the electronic equipment according to the feature of face automatically by photo grouping is imitatedFruit.
Two, due to the technical solution in the embodiment of the present application, use recognition of face by the image of user newly imported firstGrouping screening for the first time is carried out, later by the way of many condition judgement, postsearch screening, phase are carried out to ungrouped image againCompared in the prior art, image cannot be grouped by mobile phone according to the feature of face, cause electronic equipment that can only respond userThe manual operation of grouping and the grouping for carrying out image, complicated for operation and time-consuming, user experience is not good enough asks for effective solutionTopic, and then realize the effect for improving user experience.
Three, due to the technical solution in the embodiment of the present application, use recognition of face by the image of user newly imported firstGrouping screening for the first time is carried out, later by the way of many condition judgement, postsearch screening, phase are carried out to ungrouped image againCompared with the manual operation that electronic equipment in the prior art needs repeatedly response user, the power consumption of electronic equipment is caused to increase, finallyTo lead to the service life of electronic equipment reduce, and that there is power consumptions is big for effective solution electronic equipment in the prior art, usesService life short technical problem, and then realize and reduce powder consumption of electronic equipment, extend the technical effect of electronic equipment service life.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer programProduct.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present inventionApply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) producesThe form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program productFigure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructionsThe combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programsInstruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produceA raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for realThe device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spyDetermine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram orThe function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that countingSeries of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer orThe instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram oneThe step of function of being specified in a box or multiple boxes.
Specifically, the corresponding computer program instructions of information processing method in the embodiment of the present application can be stored inCD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions quilt corresponding with information processing method in storage mediumOne electronic equipment read or be performed, include the following steps: obtain include the first face information the first image and comprisingThere is the first human face similarity degree value between the pre-set image of default face information;Compare the first human face similarity degree value and first in advanceIf human face similarity degree value, the first comparison result is obtained;It is that the first human face similarity degree value is less than in first comparison resultWhen the first default human face similarity degree value, at least one parameter information is obtained;Based on the first human face similarity degree value and instituteAt least one parameter information is stated, determines that the affiliated group of the first image is Band 1;The first image is added to instituteState Band 1.
Optionally, store in the storage medium and step: from power without described in, corresponding computer instruction is in specifically quiltIn implementation procedure, specifically comprise the following steps that optionally store in the storage medium and step: acquisition includes the firstThe first human face similarity degree value between first image of face information and the pre-set image for including default face information, corresponding calculatingMachine instruction specifically comprises the following steps: during being specifically performed
N number of key point information of the first image is obtained, and obtains N number of default key point letter of the pre-set imageBreath, N are the integer more than or equal to 1;
Compare N number of key point information and N number of default key point information, obtains N number of key point comparison result;
Based on N number of key point comparison result, the first face between the first image and the pre-set image is obtainedSimilarity value.
Optionally, stored in the storage medium with step: first comparison result be the first face phaseLike angle value be more than or equal to the described first default human face similarity degree value when, corresponding computer instruction specifically be performed during,Specifically comprise the following steps: to be added to the first image in the Band 1.
Optionally, store in the storage medium and step: being specially first figure at least one described parameterIt is described to be based on the first human face similarity degree value and at least one described parameter information when the image capturing time of picture, determine instituteStating the affiliated group of the first image is Band 1, and corresponding computer instruction specifically includes as follows during being specifically performedStep:
Judge whether described image shooting time meets preset time condition corresponding with the Band 1, obtains firstJudging result;
When first judging result, which is, is, the described first default human face similarity degree value is adjusted into the first preset value, is obtainedObtain the first default human face similarity degree adjusted value;
Compare whether the first human face similarity degree value is more than or equal to the described first default human face similarity degree adjusted value, obtainsSecond comparison result;
When second comparison result, which is, is, determine that the first image belongs to the Band 1, wherein described theThe human face similarity degree value for the Band 1 image for including in one group is both greater than equal to be adjusted based on first preset valueThe described first default human face similarity degree adjusted value.
Optionally, store in the storage medium and step: being specially first figure at least one described parameterIt is described to be based on the first human face similarity degree value and at least one described parameter information when the image capturing time of picture, determine instituteStating the affiliated group of the first image is Band 1, and corresponding computer instruction specifically includes as follows during being specifically performedStep:
Judge whether described image shooting time meets preset time condition corresponding with the Band 1, obtains firstJudging result;
When first judging result, which is, is, the first human face similarity degree value is adjusted into the first preset value, acquisition theOne human face similarity degree adjusted value;
Compare whether the first human face similarity degree adjusted value is more than or equal to the described first default human face similarity degree value, obtainsSecond comparison result;
When second comparison result, which is, is, determine that the first image belongs to the Band 1, wherein described theThe human face similarity degree adjusted value of the Band 1 image for including in one group being adjusted based on first preset value is all bigIn equal to the described first default human face similarity degree value.
Optionally, store in the storage medium and step: being specially first figure at least one described parameterIt is described to be based on first human face similarity degree when image capturing time of picture and the first of the first image store routing informationValue and at least one described parameter information determine that the affiliated group of the first image is Band 1, corresponding computer instructionDuring being specifically performed, specifically comprise the following steps:
Judge whether described image shooting time meets preset time condition corresponding with the Band 1, obtains firstJudging result;
When first judging result is no, the first storage routing information is obtained;
Judge whether the first storage routing information meets default storage path condition corresponding with the Band 1,Obtain the second judging result;
When second judging result, which is, is, the described first default human face similarity degree value is adjusted into the second preset value, is obtainedObtain the first default human face similarity degree adjusted value;
Compare whether the first human face similarity degree value is more than or equal to the described first default human face similarity degree adjusted value, obtainsThird comparison result;
When the third comparison result, which is, is, determine that the first image belongs to the Band 1, wherein described theThe human face similarity degree value for the Band 1 image for including in one group is both greater than equal to be adjusted based on second preset valueThe described first default human face similarity degree adjusted value.
Optionally, store in the storage medium and step: being specially first figure at least one described parameterIt is described to be based on first human face similarity degree when image capturing time of picture and the first of the first image store routing informationValue and at least one described parameter information determine that the affiliated group of the first image is Band 1, corresponding computer instructionDuring being specifically performed, specifically comprise the following steps:
Judge whether described image shooting time meets preset time condition corresponding with the Band 1, obtains firstJudging result;
When first judging result is no, the first storage routing information is obtained;
Judge whether the first storage routing information meets default storage path condition corresponding with the Band 1,Obtain the second judging result;
When second judging result, which is, is, the first human face similarity degree value is adjusted into the second preset value, acquisition theOne human face similarity degree adjusted value;
Compare whether the first human face similarity degree adjusted value is more than or equal to the described first default human face similarity degree value, obtainsThird comparison result;
When the third comparison result, which is, is, determine that the first image belongs to the Band 1, wherein described theThe human face similarity degree adjusted value of the Band 1 image for including in one group being adjusted based on second preset value is all bigIn equal to the described first default human face similarity degree value.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basicProperty concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted asIt selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the artMind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologiesWithin, then the present invention is also intended to include these modifications and variations.