CN110516543A - Update method, device, computer equipment and the storage medium of face picture - Google Patents

Update method, device, computer equipment and the storage medium of face picture Download PDF

Info

Publication number
CN110516543A
CN110516543A CN201910655450.7A CN201910655450A CN110516543A CN 110516543 A CN110516543 A CN 110516543A CN 201910655450 A CN201910655450 A CN 201910655450A CN 110516543 A CN110516543 A CN 110516543A
Authority
CN
China
Prior art keywords
picture
face
application program
time
similarity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910655450.7A
Other languages
Chinese (zh)
Inventor
胡文成
欧阳碧云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910655450.7A priority Critical patent/CN110516543A/en
Publication of CN110516543A publication Critical patent/CN110516543A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/50Maintenance of biometric data or enrolment thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Collating Specific Patterns (AREA)

Abstract

This application discloses a kind of update method of face picture, device, computer equipment and storage mediums, calculating without face picture variation tendency, but and association in time, when the second time interval of first time and preceding face solution locked application when previous face solution locked application are not more than preset time span, similarity-rough set directly is carried out with the first standard face picture, is not necessarily to more new standard face picture;When the second time interval of first time and preceding face solution locked application when previous face solution locked application are greater than preset time span, similarity calculation is carried out with the first standard face picture and the second standard face picture respectively, obtain the first similarity and the second similarity, if the second similarity is greater than the first similarity, illustrate that the face of user changes, using with the current higher second standard faces picture of the first face picture similarity as default normal pictures, it is simpler to update normal pictures, quickly.

Description

Update method, device, computer equipment and the storage medium of face picture
Technical field
This application involves the technical fields for arriving images match, especially relate to update method, the dress of a kind of face picture It sets, computer equipment and storage medium.
Background technique
Recognition of face is the biological identification technology that the face feature based on user carries out subscriber authentication, and recognition of face exists Login authentication, using extremely wide under network event authorization (such as payment authorization) scene.
The process of recognition of face is mainly: in the standard people of the data processing equipment storage user with face identification functions Face picture, the face picture that standard faces picture provides when being usually user's registration, thus needing to carry out face knowledge to user When other, data processing equipment can obtain the current face picture of user, by the current face picture of user and the standard faces figure Piece is compared, and when comparison result shows the similarity of picture not less than similarity threshold, determines that recognition of face passes through (i.e. people Face identifies successfully), otherwise, it determines recognition of face fails.
At present using the face picture that is provided when user's registration as standard faces picture, this can user face feature with In the case where time change, cause acquired user's face picture and the similarity of user's specification face picture lower and lower, Even when user carries out recognition of face, there is the case where recognition of face failure;Therefore, to the standard faces picture of user It is updated, provides basis with the accuracy for promotion face recognition result, it appears particularly necessary.So proposing in the prior art It is a kind of to judge face's mesh of user according to multiple user's face pictures of the same user for having passed through recognition of face of collection The variation tendency of feature is marked, and then realizes the update of face picture (standard faces picture), still, this method exists asks as follows Topic: 1, needing to get the face picture of at least two users, then calculates the variation tendency of user's face feature, needs to consume Certain computer computing resource;2, need to judge whether the variation tendency of the picture of adjacent collector time is identical, or judgement The variation of the picture of non-conterminous acquisition time whether difference etc., it is relatively cumbersome to execute step;Need acquisition periodically or non-periodically The face picture of mobile phone user, it is relatively troublesome to calculate variation tendency.
It is necessary so providing the new face picture update method of one kind.
Summary of the invention
The main purpose of the application is that the update method for providing a kind of face picture, device, computer equipment and storage are situated between Matter, it is intended to which solution automatically updates the technical problems such as the computationally intensive, complex steps of face picture in the prior art.
In order to achieve the above-mentioned object of the invention, the application proposes a kind of update method of face picture, comprising steps of
Acquisition for when previous face solution locked application the first face picture, and when previous face unlock described in answer With the first time of program;
Judgement unlocks first time and the preceding face unlock application program of the application program when previous face The second time interval whether be greater than preset time span;
If the time interval between a time and second time is not more than the preset time span, count The first similarity of first face picture Yu preset first standard faces picture is calculated, is preset if the first similarity is greater than First threshold, then unlock success, wherein the first standard faces picture is the standard people of the application program current default Face picture;
If the time interval between the first time and second time is greater than the preset time span, count Calculate first face picture and preset first standard faces picture the first similarity and first face picture with Second similarity of preset second standard faces picture, wherein the second standard faces picture is described in preceding primary unlock The face picture acquired when application program;
It, will be described in the second standard faces picture replacement if second similarity is greater than first similarity First standard faces picture, and using first face picture as the second new standard faces picture.
Further, it is described by the second standard faces picture replace the first standard faces picture the step of it Afterwards, further includes:
Judge the original face figure uploaded when the first standard faces picture is application program described in user's registration Piece;
If so, by the first standard faces picture storage to preset space;
If it is not, then the first standard faces picture is deleted.
Further, if the time interval between the first time and second time is greater than described preset Time span then calculates the first similarity of first face picture and preset first standard faces picture and described After the step of first face picture and the second similarity of preset second standard faces picture, the method also includes:
If first similarity is greater than second similarity, and is less than the first threshold, then by described first Face picture and the original face picture carry out similarity calculation, obtain third similarity;
If the third similarity is greater than the first threshold, success is unlocked, on the contrary unlock failure.
Further, if the time interval between the first time and second time is default no more than described Time span, then calculate the first similarity of first face picture Yu preset first standard faces picture, if One similarity is greater than preset first threshold, then after unlocking successful step, the method also includes:
Judge the face carried out in the preset time span before previous face unlocks the application program Unlock the number of the application program;
If the number is greater than frequency threshold value, the variation tendency of the first similarity in the number each time is calculated;
If the variation tendency reaches preset value, current first human face photo is replaced into the second standard people Face picture.
Further, it the step of acquisition is for working as the first face picture of previous face solution locked application, also wraps It includes:
Continuous acquisition multiple unlock the face picture of the application program;
The highest face picture of front degree of user is filtered out from the face picture of multiple as the first face figure Piece.
Further, the acquisition is for the first face picture when previous face solution locked application, and works as previous Before face unlocks the step of first time of the application program, the method also includes:
When triggering the application program, judge whether the application program is application program in preset white list;
It " is acquired for the first face picture when previous face solution locked application, and current if so, generating and executing Secondary face unlocks the first time of the application program " order.
Further, when the triggering application program, judge whether the application program is in preset white list Application program the step of after, the method also includes:
If the application program is not the application program in preset white list, the application is obtained according to preset rules The specified attribute of program;
Judge whether the specified attribute got and preset white list attribute are consistent;
If consistent, the application program is added in the white list, and generates execution and " acquires for as previous people The order of first face picture of face solution locked application, and when previous face unlocks the first time of the application program ";
If inconsistent, marking the application program is the application program of non-white list, and is executed preset about non-white The unlocking motion of the application program of list.
The application also provides a kind of updating device of face picture, comprising:
Acquisition unit, for acquiring the first face picture being used for when previous face solution locked application, and when previous Face unlocks the first time of the application program;
First judging unit, for judge when previous face unlock the application program first time and a preceding face Whether the second time interval for unlocking the application program is greater than preset time span;
Unlocking unit, if for the time interval between a time and second time no more than described preset Time span then calculates the first similarity of first face picture Yu preset first standard faces picture, if first Similarity is greater than preset first threshold, then unlocks success, wherein the first standard faces picture is that the application program is worked as The standard faces picture of preceding default;
First computing unit, if being greater than for the time interval between the first time and second time described pre- If time span, then calculate the first similarity of first face picture Yu preset first standard faces picture, and Second similarity of first face picture and preset second standard faces picture, wherein the second standard faces figure Piece is the preceding face picture acquired when once unlocking the application program;
Updating unit, if being greater than first similarity for second similarity, by the second standard people Face picture replaces the first standard faces picture, and using first face picture as the second new standard faces figure Piece.
The application also provides a kind of computer equipment, including memory and processor, and the memory is stored with computer The step of program, the processor realizes any of the above-described the method when executing the computer program.
The application also provides a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that institute State the step of realizing method described in any of the above embodiments when computer program is executed by processor.
Update method, device, computer equipment and the storage medium of the face picture of the application change without face picture The calculating of trend, but and association in time, when the first time and a preceding face for unlocking the application program when previous face The second time interval of the application program is unlocked no more than preset time span, is directly carried out with the first standard face picture Similarity-rough set is not necessarily to more new standard face picture;When previous face unlock first time of the application program with it is previous Secondary face unlock the application program the second time interval be greater than preset time span, respectively with the first standard face picture Similarity calculation is carried out with the second standard face picture, the first similarity and the second similarity are obtained, if the second similarity is big In the first similarity, illustrate that the face of user changes, will be marked with current the first face picture similarity higher second Normal pictures of the quasi- face picture as default, update normal pictures are simpler, quickly.The application only need to compare the time and Similarity calculation, consumption resource are few.Each picture obtains when face unlocks, not without the typing of user periodically or non-periodically With the picture of time, user experience is more preferable.
Detailed description of the invention
Fig. 1 is the flow diagram of the update method of the face picture of one embodiment of the application;
Fig. 2 is the structural schematic block diagram of the updating device of the face picture of one embodiment of the application;
Fig. 3 is the structural schematic block diagram of the computer equipment of one embodiment of the application.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Referring to Fig.1, the embodiment of the present application provides a kind of update method of face picture, comprising steps of
S1, acquisition are for the first face picture when previous face solution locked application, and work as previous face and unlock institute State the first time of application program;
S2, judgement when previous face unlock the application program first time and the unlock of a preceding face it is described using journey Whether the second time interval of sequence is greater than preset time span;
If the time interval between S3, a time and second time is not more than the preset time span, The first similarity of first face picture Yu preset first standard faces picture is then calculated, if the first similarity is greater than Preset first threshold, then unlock success, wherein the first standard faces picture is the mark of the application program current default Quasi- face picture;
If the time interval between S4, the first time and second time is greater than the preset time span, Then calculate first face picture and preset first standard faces picture the first similarity and the first face figure Second similarity of piece and preset second standard faces picture, wherein the second standard faces picture is preceding primary unlock The face picture acquired when the application program;
If S5, second similarity are greater than first similarity, the second standard faces picture is replaced The first standard faces picture, and using first face picture as the second new standard faces picture.
As described in above-mentioned steps S1, above-mentioned application program, which refers to, is installed on can lead in the intelligent electronic devices such as computer Cross the application program that face picture carries out verifying login, such as the solution locked application of mobile phone.Above-mentioned first face picture refers to Intelligent electronic device passes through the picture of imaging sensor collection in worksite, for example, mobile phone needs to acquire facial image by camera When being unlocked, the facial image that camera acquires in real time is the first face picture.Above-mentioned first time refers to a moment, than XX divides XX seconds etc. when for example XX XX month XX day XX, can generally be obtained by the clock apparatus of above-mentioned intelligent electronic device.
As described in above-mentioned steps S2, the second time that an above-mentioned preceding face unlocks the application program refers to, current It is secondary above-mentioned application program is unlocked by face on the basis of, it is preceding that time of above-mentioned application program is once unlocked by face, equally Refer to some moment.Because the face picture of a people will not have greatly changed in the short time, as face become it is fat or Reducing is a slow process, so above-mentioned preset time span can be set as three days, five days, one week, two weeks etc. Time span, can be depending on use experience.In a specific embodiment, above-mentioned preset time span is two weeks. In another specific embodiment, above-mentioned preset time span can be carried out by user it is customized, to cope with different make With scene, for example, user's facial wound, in the process of healing the wounds is noisy, the rate of change of face is larger, at this time can will be above-mentioned pre- If time span shorten, such as three days.
As described in above-mentioned steps S3, the method for calculating the similarity of two face pictures can be used any in the prior art One kind is not repeating herein.Above-mentioned first standard faces picture is the standard faces picture of application program current default, refers to and answers With the face picture of program initial setting up, or the face figure as replaced by the second standard faces picture in subsequent step S5 Piece.In the present embodiment, if the time interval between above-mentioned first time and the second time is long no more than the above-mentioned preset time When spending, similarity calculation directly is carried out using the first standard faces picture and the first face picture, to determine whether to unlock successfully Above-mentioned application program.
As described in above-mentioned steps S4 and S5, because the time interval between above-mentioned first time and the second time is greater than above-mentioned Preset time span illustrates that user is no for a long time and unlocks above-mentioned application program using face, at this time the first standard of user setting The time gap current time of face picture is more long, so face and the second standard faces picture are more as like (people becomes fat or becomes Thin is the process of a gradual change, and interval time is more long, it is generally the case that difference can be bigger).Therefore, the second standard faces at this time Picture can more be suitable as the standard faces picture of application program default, for example, one after when the unlock of previous face In the section time, user is frequently unlocked using face, so (can be replaced using the standard faces picture that application program is defaulted always Second standard faces picture of the first standard faces picture) the fat or thin situation of its face will not have greatly changed, and unlock is quasi- True property is higher.And work as the first face picture of previous acquisition, then the second standard faces picture before replacing, in repetition State step S1-S5.
In the present embodiment, when above-mentioned second standard faces picture is not present, the first face picture is directly used It is compared with the first standard faces picture, to complete the process that face unlock logs in, while using the first face picture as upper The the second standard faces picture storage stated uses.
In one embodiment, the above-mentioned step that the second standard faces picture is replaced to the first standard faces picture After rapid, further includes:
Judge the original face figure uploaded when the first standard faces picture is application program described in user's registration Piece;
If so, by the first standard faces picture storage to preset space;
If it is not, then the first standard faces picture is deleted.
In the present embodiment, above-mentioned original face picture refers to that the above-mentioned application program of user's registration is the standard faces uploaded The original face picture can be marked in picture, the application.In general, above-mentioned second standard faces picture is replaced It, can be directly by if the first standard faces picture is not original face picture after above-mentioned first standard faces picture One standard faces picture is deleted, if the first standard faces picture is original face picture, cannot directly be deleted, but will It is stored in a specified memory space, in order to use when specific.For example, when the password of modification bank account, Original face picture must be provided when can just modifying etc..
Further, if the time interval between the above-mentioned first time and second time is greater than described preset Time span then calculates the first similarity of first face picture and preset first standard faces picture and described After the step of first face picture and the second similarity of preset second standard faces picture, the method also includes:
If first similarity is greater than second similarity, and is less than the first threshold, then by described first Face picture and the original face picture carry out similarity calculation, obtain third similarity;
If the third similarity is greater than the first threshold, success is unlocked, on the contrary unlock failure.
In the present embodiment, because above-mentioned steps S1-S5 be one circulation process, when be recycled to certain time length it Afterwards, the first standard faces picture finally retained has differed huge with the original face picture of application program described in user's registration Greatly, when the life of user changes, such as gradually become fat for a long time, reduce suddenly, just in this section of the process of reducing Interior user does not use face to unlock above-mentioned application program, at this time use the first current standard faces picture as standard Face picture is unlocked, and may unlock failure, at this point it is possible to carry out original face picture as the normal pictures of unlock It uses, if success can be unlocked, the first current standard faces picture of original face picture replacement can be used.At this point, It needs to delete the second standard face picture, in the cyclic process of step S1-S5 next time, regenerates the first standard face Portion's picture.
In one embodiment, if the time interval between the above-mentioned first time and second time is not more than institute Preset time span is stated, then calculates the first similarity of first face picture Yu preset first standard faces picture, If the first similarity is greater than preset first threshold, after unlocking successful step, the method also includes:
Judge the face carried out in the preset time span before previous face unlocks the application program Unlock the number of the application program;
If the number is greater than frequency threshold value, the variation tendency of the first similarity in the number each time is calculated;
If the variation tendency reaches preset value, current first human face photo is replaced into the second standard people Face picture.
In the present embodiment, above-mentioned variation tendency includes two kinds, a kind of to become fat trend, there are also it is a kind of reduce become Gesture, two kinds of variation tendencies are opposite.The calculating of variation tendency can be calculated by modes such as linear algebra, no longer superfluous herein It states.Because there are two types of variation tendencies, then there are two the preset value of above-mentioned variation tendency is also provided with.Because variation tendency is larger, Illustrate that the face of user changes greatly, makes at this time using when the first human face photo of previous acquisition as the second standard faces photo With after the second standard faces photo replaces the first standard faces photo, recognition accuracy is higher.
In one embodiment, above-mentioned acquisition is used for the step when the first face picture of previous face solution locked application Suddenly, further includes:
Continuous acquisition multiple unlock the face picture of the application program;
The highest face picture of front degree of user is filtered out from the face picture of multiple as the first face figure Piece.
In the present embodiment, above-mentioned front degree refers to positive rate maximum value of the face in photo, for example, in acquisition people When face picture, the picture of the different angles such as side, the front of face is collected respectively, wherein positive front degree highest. Because the first face picture may be used as standard faces picture, select degree highest face picture in front as the first Face picture.
In one embodiment, above-mentioned acquisition is used for the first face picture when previous face solution locked application, and Before the step of previous face unlocks the first time of the application program, the method also includes:
When triggering the application program, judge whether the application program is application program in preset white list;
It " is acquired for the first face picture when previous face solution locked application, and current if so, generating and executing Secondary face unlocks the first time of the application program " order.
In the present embodiment, above-mentioned white list refers to that the method that can be used in the various embodiments described above carries out face picture more The list of new application program.When using above-mentioned application program every time, application program can be first triggered, and check above-mentioned answer Whether it is located in white list with program, if so, the step of executing above-described embodiment.In a specific embodiment, belong to white Application program in list has corresponding white list label, judges whether application program is application in preset white list When program, it is only necessary to judge whether application program has corresponding white list to mark, without being searched into table name list, sentence Disconnected speed is faster.
Further, when the above-mentioned triggering application program, judge whether the application program is in preset white list Application program the step of after, the method also includes:
If the application program is not the application program in preset white list, the application is obtained according to preset rules The specified attribute of program;
Judge whether the specified attribute got and preset white list attribute are consistent;
If consistent, the application program is added in the white list, and generates execution and " acquires for as previous people The order of first face picture of face solution locked application, and when previous face unlocks the first time of the application program ";
If inconsistent, marking the application program is the application program of non-white list, and is executed preset about non-white The unlocking motion of the application program of list.
In the present embodiment, the attribute of above-mentioned application program includes a variety of, such as the application industry classification (gold of application program Melt, game etc.), use classes (timely communication, workflow management etc.) of application program etc., above-mentioned particular community, which refers to, to be preset , for judging whether application program can automatically update the attribute of standard faces picture.For example, specified attribute is category of employment With the attribute of use classes, the attribute of white list is game, instant messaging, if the specified attribute of the application program got Category of employment is finance, use classes are instant messaging, then can be determined that application program cannot be added in white list;If The category of employment of the specified attribute of the application program got is game, use classes are instant messaging, is answered then can be determined that It can be added in white list with program.After confirming that application program can be added in white list, then will can currently it acquire The first face picture arrived is as the second standard faces picture, and face picture when registering is as original face picture, at it Afterwards using during application program, the update of face picture can be both carried out by the method in the various embodiments described above.If After confirming that application program cannot be added in white list, then the update method of above-mentioned face picture is not executed, but according to Conventional face unlocking process executes.
The update method of the face picture of the embodiment of the present application, without the calculating of face picture variation tendency, but and when Between be associated with, when unlocking that first time of the application program and a preceding face unlock the application program when previous face Two time intervals are not more than preset time span, directly carry out similarity-rough set with the first standard face picture, without updating Standard face picture;It is described using journey when the first time and the unlock of a preceding face that unlock the application program when previous face Second time interval of sequence is greater than preset time span, respectively with the first standard face picture and the second standard face picture into Row similarity calculation obtains the first similarity and the second similarity, if the second similarity is greater than the first similarity, illustrates user Face change, using with the current higher second standard faces picture of the first face picture similarity as default mark Quasi- picture, update normal pictures are simpler, quickly.The application only needs to compare time and similarity calculation, and consumption resource is few. Each picture obtains when face unlocks, without the picture of the typing different time of user periodically or non-periodically, user experience More preferably.
Referring to Fig. 2, the embodiment of the present application also provides a kind of updating device of face picture, comprising:
Acquisition unit 10, for acquiring the first face picture being used for when previous face solution locked application, and it is current Secondary face unlocks the first time of the application program;
First judging unit 20, for judge when previous face unlock the application program first time and a preceding people Whether the second time interval that face unlocks the application program is greater than preset time span;
Unlocking unit 30, if default no more than described for the time interval between a time and second time Time span, then calculate the first similarity of first face picture Yu preset first standard faces picture, if One similarity is greater than preset first threshold, then unlocks success, wherein the first standard faces picture is the application program The standard faces picture of current default;
First computing unit 40, if being greater than for the time interval between the first time and second time described Preset time span then calculates the first similarity of first face picture Yu preset first standard faces picture, with And the second similarity of first face picture and preset second standard faces picture, wherein second standard faces Picture is the preceding face picture acquired when once unlocking the application program;
Updating unit 50, if being greater than first similarity for second similarity, by second standard Face picture replaces the first standard faces picture, and using first face picture as the second new standard faces figure Piece.
Such as above-mentioned acquisition unit 10, above-mentioned application program, which refers to, is installed on can lead in the intelligent electronic devices such as computer Cross the application program that face picture carries out verifying login, such as the solution locked application of mobile phone.Above-mentioned first face picture refers to Intelligent electronic device passes through the picture of imaging sensor collection in worksite, for example, mobile phone needs to acquire facial image by camera When being unlocked, the facial image that camera acquires in real time is the first face picture.Above-mentioned first time refers to a moment, than XX divides XX seconds etc. when for example XX XX month XX day XX, can generally be obtained by the clock apparatus of above-mentioned intelligent electronic device.
Such as above-mentioned first judging unit 20, the second time that an above-mentioned preceding face unlocks the application program refers to, In When it is previous above-mentioned application program is unlocked by face on the basis of, it is preceding that time of above-mentioned application program is once unlocked by face, Also refer to some moment.Because the face picture of a people will not have greatly changed in the short time, as face becomes fat Or to reduce be a slow process, so above-mentioned preset time span can be set as three days, five days, one week, half The time spans such as the moon, can be depending on use experience.In a specific embodiment, above-mentioned preset time span is half Month.In another specific embodiment, above-mentioned preset time span can be carried out by user it is customized, it is different to cope with Usage scenario, for example, user's facial wound, in the process of healing the wounds is noisy, the rate of change of face is larger, at this time can will be above-mentioned Preset time span shortens, such as three days.
Such as above-mentioned unlocking unit 30, the method for calculating the similarity of two face pictures can be used any in the prior art One kind is not repeating herein.Above-mentioned first standard faces picture is the standard faces picture of application program default, is referred to using journey The face picture of sequence initial setting up, or the face figure replaced by the second standard faces picture such as the update of updating unit 50 Piece.In the present embodiment, if the time interval between above-mentioned first time and the second time is long no more than the above-mentioned preset time When spending, similarity calculation directly is carried out using the first standard faces picture and the first face picture, to determine whether to unlock successfully Above-mentioned application program.
Such as above-mentioned computing unit 40 and updating unit 50, because of the time interval between above-mentioned first time and the second time Greater than above-mentioned preset time span, illustrates that user is no for a long time and unlock above-mentioned application program using face, at this time user setting The time gap current time of first standard faces picture is more long, so face and the second standard faces picture are more as like (people Becoming fat or reducing is the process of a gradual change, and interval time is more long, it is generally the case that difference can be bigger).Therefore, at this time second Standard faces picture can more be suitable as the standard faces picture of application program default, for example, unlocking when previous face In a period of time later, user is frequently unlocked using face, so the standard faces figure that can be defaulted using application program always Biggish change will not occur for the fat or thin situation of piece (the second standard faces picture for replacing the first standard faces picture) its face Change, unlock accuracy is higher.And work as the first face picture of previous acquisition, then the second standard faces figure before replacing Piece, with the S1-S5 that repeats the above steps.
In the present embodiment, when above-mentioned second standard faces picture is not present, the first face picture is directly used It is compared with the first standard faces picture, to complete the process that face unlock logs in, while using the first face picture as upper The the second standard faces picture storage stated uses.
In one embodiment, the updating device of above-mentioned face picture, further includes:
Second judgment unit, when for judging that the first standard faces picture is application program described in user's registration The original face picture uploaded;
Storage unit uploads original when if being application program described in user's registration for the first standard faces picture Face picture then stores the first standard faces picture to preset space;
Delete unit, the original uploaded when if not being application program described in user's registration for the first standard faces picture Beginning face picture then deletes the first standard faces picture.
In the present embodiment, above-mentioned original face picture refers to that the above-mentioned application program of user's registration is the standard faces uploaded The original face picture can be marked in picture, the application.In general, above-mentioned second standard faces picture is replaced It, can be directly by if the first standard faces picture is not original face picture after above-mentioned first standard faces picture One standard faces picture is deleted, if the first standard faces picture is original face picture, cannot directly be deleted, but will It is stored in a specified memory space, in order to use when specific.For example, when the password of modification bank account, Original face picture must be provided when can just modifying etc..
Further, the updating device of above-mentioned face picture, further includes:
Second computing unit if being greater than second similarity for first similarity, and is less than described first First face picture and the original face picture are then carried out similarity calculation, obtain third similarity by threshold value;
Processing unit unlocks success if being greater than the first threshold for the third similarity, otherwise unlock is lost It loses.
In the present embodiment, because above-mentioned acquisition unit 10, the first judging unit 20, unlocking unit 30, first calculate list Member 40, updating unit 50 run when, be one circulation face picture renewal process, when be recycled to certain time length it Afterwards, the first standard faces picture finally retained has differed huge with the original face picture of application program described in user's registration Greatly, when the life of user changes, such as gradually become fat for a long time, reduce suddenly, just in this section of the process of reducing Interior user does not use face to unlock above-mentioned application program, at this time use the first current standard faces picture as standard Face picture is unlocked, and may unlock failure, at this point it is possible to carry out original face picture as the normal pictures of unlock It uses, if success can be unlocked, the first current standard faces picture of original face picture replacement can be used.At this point, It needs to delete the second standard face picture and regenerates first in the cyclic process of the update of face picture next time Standard face picture.
In one embodiment, the updating device of above-mentioned face picture, further includes:
Third judging unit, for judging in the preset time before previous face unlocks the application program The face carried out in length unlocks the number of the application program;
Calculating trend unit calculates first in the number each time if being greater than frequency threshold value for the number The variation tendency of similarity;
Replacement unit replaces current first human face photo if reaching preset value for the variation tendency The second standard faces picture.
In the present embodiment, above-mentioned variation tendency includes two kinds, a kind of to become fat trend, there are also it is a kind of reduce become Gesture, two kinds of variation tendencies are opposite.The calculating of variation tendency can be calculated by modes such as linear algebra, no longer superfluous herein It states.Because there are two types of variation tendencies, then there are two the preset value of above-mentioned variation tendency is also provided with.Because variation tendency is larger, Illustrate that the face of user changes greatly, makes at this time using when the first human face photo of previous acquisition as the second standard faces photo With after the second standard faces photo replaces the first standard faces photo, recognition accuracy is higher.
In one embodiment, above-mentioned acquisition unit 10, further includes:
Continuous acquisition module, the face picture that multiple unlock the application program for continuous acquisition;
Brush modeling block, for filtering out the highest face picture of front degree of user from the face picture of multiple as institute State the first face picture.
In the present embodiment, above-mentioned front degree refers to positive rate maximum value of the face in photo, for example, in acquisition people When face picture, the picture of the different angles such as side, the front of face is collected respectively, wherein positive front degree highest. Because the first face picture may be used as standard faces picture, select degree highest face picture in front as the first Face picture.
In one embodiment, the updating device of above-mentioned face picture further include:
Judging unit being triggered, when for triggering the application program, judging whether the application program is preset white name Application program in list;
Generation unit generates execution if being the application program in the preset white list for the application program " acquisition is for the first face picture when previous face solution locked application, and works as previous face and unlock the application program First time " order.
In the present embodiment, above-mentioned white list refers to that the method that can be used in the various embodiments described above carries out face picture more The list of new application program.When using above-mentioned application program every time, application program can be first triggered, and check above-mentioned answer Whether it is located in white list with program, if so, the step of executing above-described embodiment.In a specific embodiment, belong to white Application program in list has corresponding white list label, judges whether application program is application in preset white list When program, it is only necessary to judge whether application program has corresponding white list to mark, without being searched into table name list, sentence Disconnected speed is faster.
Further, the updating device of above-mentioned face picture further include:
Template(-let) is obtained, if not being the application program in preset white list for the application program, according to pre- If the specified attribute of application program described in Rule;
Whether determined property unit, the specified attribute and preset white list attribute for judging to get are consistent;
First execution unit applies journey for described if consistent with preset white list attribute for the specified attribute Sequence is added in the white list, and generate execution " acquisition for when previous face solution locked application the first face picture, And when previous face unlocks the first time of the application program " order;
Second execution unit is answered described in label if inconsistent for the specified attribute and preset white list attribute With program it is the application program of non-white list, and executes the unlocking motion of the preset application program about non-white list.
In the present embodiment, the attribute of above-mentioned application program includes a variety of, such as the application industry classification (gold of application program Melt, game etc.), use classes (timely communication, workflow management etc.) of application program etc., above-mentioned particular community, which refers to, to be preset , for judging whether application program can automatically update the attribute of standard faces picture.For example, specified attribute is category of employment With the attribute of use classes, the attribute of white list is game, instant messaging, if the specified attribute of the application program got Category of employment is finance, use classes are instant messaging, then can be determined that application program cannot be added in white list;If The category of employment of the specified attribute of the application program got is game, use classes are instant messaging, is answered then can be determined that It can be added in white list with program.After confirming that application program can be added in white list, then will can currently it acquire The first face picture arrived is as the second standard faces picture, and face picture when registering is as original face picture, at it Afterwards using during application program, the update of face picture can be both carried out by the method in the various embodiments described above.If After confirming that application program cannot be added in white list, then the update method of above-mentioned face picture is not executed, but according to Conventional face unlocking process executes.
The updating device of the face picture of the embodiment of the present application, without the calculating of face picture variation tendency, but and when Between be associated with, when unlocking that first time of the application program and a preceding face unlock the application program when previous face Two time intervals are not more than preset time span, directly carry out similarity-rough set with the first standard face picture, without updating Standard face picture;It is described using journey when the first time and the unlock of a preceding face that unlock the application program when previous face Second time interval of sequence is greater than preset time span, respectively with the first standard face picture and the second standard face picture into Row similarity calculation obtains the first similarity and the second similarity, if the second similarity is greater than the first similarity, illustrates user Face change, using with the current higher second standard faces picture of the first face picture similarity as default mark Quasi- picture, update normal pictures are simpler, quickly.The application only needs to compare time and similarity calculation, and consumption resource is few. Each picture obtains when face unlocks, without the picture of the typing different time of user periodically or non-periodically, user experience More preferably.
Referring to Fig. 3, a kind of computer equipment is also provided in the embodiment of the present invention, which can be server, Its internal structure can be as shown in Figure 3.The computer equipment includes processor, the memory, network connected by system bus Interface and database.Wherein, the processor of the Computer Design is for providing calculating and control ability.The computer equipment is deposited Reservoir includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program And database.The internal memory provides environment for the operation of operating system and computer program in non-volatile memory medium.It should The database of computer equipment is for storing the data such as face picture.The network interface of the computer equipment is used for and external end End passes through network connection communication.A kind of update method of face picture is realized when the computer program is executed by processor.
Above-mentioned processor executes the update method of above-mentioned face picture, comprising: acquisition is for when the unlock application of previous face First face picture of program, and when previous face unlocks the first time of the application program;Previous face solution is worked as in judgement Lock the first time of the application program and the second time interval that a preceding face unlocks the application program whether be greater than it is pre- If time span;If the time interval between a time and second time is long no more than the preset time Degree, then calculate the first similarity of first face picture Yu preset first standard faces picture, if the first similarity Greater than preset first threshold, then success is unlocked, wherein the first standard faces picture is the application program current default Standard faces picture;If it is long that the time interval between the first time and second time is greater than the preset time Degree then calculates the first similarity of first face picture and preset first standard faces picture and described the first Second similarity of face picture and preset second standard faces picture, wherein the second standard faces picture is preceding primary The face picture acquired when unlocking the application program;If second similarity is greater than first similarity, by institute It states the second standard faces picture and replaces the first standard faces picture, and using first face picture as new second Standard faces picture.
In one embodiment, the above-mentioned step that the second standard faces picture is replaced to the first standard faces picture After rapid, further includes: judge to upload when the first standard faces picture is application program described in user's registration original Face picture;If so, by the first standard faces picture storage to preset space;If it is not, then by first standard Face picture is deleted.
In one embodiment, if the time interval between the above-mentioned first time and second time is greater than described Preset time span then calculates the first similarity of first face picture Yu preset first standard faces picture, with And after the step of first face picture and the second similarity of preset second standard faces picture, the method is also wrapped It includes: if first similarity is greater than second similarity, and being less than the first threshold, then by the first face figure Piece and the original face picture carry out similarity calculation, obtain third similarity;If the third similarity is greater than described First threshold then unlocks success, otherwise unlock failure.
In one embodiment, if the time interval between the above-mentioned first time and second time is not more than institute Preset time span is stated, then calculates the first similarity of first face picture Yu preset first standard faces picture, If the first similarity is greater than preset first threshold, after unlocking successful step, the method also includes: judge working as The interior face carried out of the preset time span before previous face unlocks the application program unlocks the application program Number;If the number is greater than frequency threshold value, the variation tendency of the first similarity in the number each time is calculated;If The variation tendency reaches preset value, then current first human face photo is replaced the second standard faces picture.
In one embodiment, above-mentioned acquisition is used for the step when the first face picture of previous face solution locked application Suddenly, further includes: continuous acquisition multiple unlock the face picture of the application program;User is filtered out from the face picture of multiple The highest face picture of front degree as first face picture.
In one embodiment, above-mentioned acquisition is used for the first face picture when previous face solution locked application, and Before the step of previous face unlocks the first time of the application program, the method also includes: triggering is described to apply journey When sequence, judge whether the application program is application program in preset white list;If so, generating execution, " acquisition is used for When the first face picture of previous face solution locked application, and when previous face unlocks the first of the application program Between " order.
In one embodiment, when the above-mentioned triggering application program, judge whether the application program is preset white After the step of application program in list, the method also includes: if the application program is not in preset white list Application program then obtains the specified attribute of the application program according to preset rules;Judge the specified attribute that gets with Whether preset white list attribute is consistent;If consistent, the application program is added in the white list, and generate execution " acquisition is for the first face picture when previous face solution locked application, and works as previous face and unlock the application program First time " order;If inconsistent, marking the application program is the application program of non-white list, and is executed default The application program about non-white list unlocking motion.
It will be understood by those skilled in the art that structure shown in Fig. 3, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme.
The computer equipment of the embodiment of the present invention, without the calculating of face picture variation tendency, but and association in time, when When previous face unlocks the first time of the application program and a preceding face unlocked between the second time of the application program Every being not more than preset time span, similarity-rough set directly is carried out with the first standard face picture, is not necessarily to more new standard face Picture;When working as, previous face unlocks the first time of the application program and a preceding face unlocks the second of the application program Time interval is greater than preset time span, carries out similarity with the first standard face picture and the second standard face picture respectively It calculates, obtains the first similarity and the second similarity, if the second similarity is greater than the first similarity, illustrate face's hair of user Changing, using with the current higher second standard faces picture of the first face picture similarity as default normal pictures, It is simpler to update normal pictures, quickly.The application only needs to compare time and similarity calculation, and consumption resource is few.Each picture It is obtained when face unlock, without the picture of the typing different time of user periodically or non-periodically, user experience is more preferable.
One embodiment of the invention also provides a kind of computer readable storage medium, is stored thereon with computer program, calculates The update method of face picture is realized when machine program is executed by processor, it is short when data volume is less than predetermined amount on block chain Phase prediction of profit, the prediction technique, comprising: include: acquisition for the first face figure when previous face solution locked application Piece, and when previous face unlocks the first time of the application program;Judgement unlocks the application program when previous face Whether the second time interval for unlocking the application program with a preceding face at the first time is greater than preset time span;If institute The time interval between a time and second time is stated no more than the preset time span, then is calculated described the first First similarity of face picture and preset first standard faces picture, if the first similarity is greater than preset first threshold, Then unlock success, wherein the first standard faces picture is the standard faces picture of the application program current default;If institute It states the time interval between second time at the first time and is greater than the preset time span, then calculate described the first The first similarity and first face picture of face picture and preset first standard faces picture and preset second mark Second similarity of quasi- face picture, wherein the second standard faces picture is preceding to adopt when once unlocking the application program The face picture of collection;If second similarity is greater than first similarity, the second standard faces picture is replaced The first standard faces picture is changed, and using first face picture as the second new standard faces picture.
The update method of the face picture of above-mentioned execution without the calculating of face picture variation tendency, but is closed with the time Connection, when the first time for unlocking the application program when previous face unlocking the second of the application program with a preceding face Between interval be not more than preset time span, directly with the first standard face picture carry out similarity-rough set, be not necessarily to more new standard Face picture;When working as, previous face unlocks the first time of the application program and a preceding face unlocks the application program Second time interval is greater than preset time span, carries out phase with the first standard face picture and the second standard face picture respectively It is calculated like degree, obtains the first similarity and the second similarity, if the second similarity is greater than the first similarity, illustrate the face of user Portion changes, using with the current higher second standard faces picture of the first face picture similarity as default standard drawing Piece, update normal pictures are simpler, quickly.The application only needs to compare time and similarity calculation, and consumption resource is few.Each figure Piece obtains when face unlocks, and without the picture of the typing different time of user periodically or non-periodically, user experience is more preferable.
In one embodiment, the above-mentioned step that the second standard faces picture is replaced to the first standard faces picture After rapid, further includes: judge to upload when the first standard faces picture is application program described in user's registration original Face picture;If so, by the first standard faces picture storage to preset space;If it is not, then by first standard Face picture is deleted.
In one embodiment, if the time interval between the above-mentioned first time and second time is greater than described Preset time span then calculates the first similarity of first face picture Yu preset first standard faces picture, with And after the step of first face picture and the second similarity of preset second standard faces picture, the method is also wrapped It includes: if first similarity is greater than second similarity, and being less than the first threshold, then by the first face figure Piece and the original face picture carry out similarity calculation, obtain third similarity;If the third similarity is greater than described First threshold then unlocks success, otherwise unlock failure.
In one embodiment, if the time interval between the above-mentioned first time and second time is not more than institute Preset time span is stated, then calculates the first similarity of first face picture Yu preset first standard faces picture, If the first similarity is greater than preset first threshold, after unlocking successful step, the method also includes: judge working as The interior face carried out of the preset time span before previous face unlocks the application program unlocks the application program Number;If the number is greater than frequency threshold value, the variation tendency of the first similarity in the number each time is calculated;If The variation tendency reaches preset value, then current first human face photo is replaced the second standard faces picture.
In one embodiment, above-mentioned acquisition is used for the step when the first face picture of previous face solution locked application Suddenly, further includes: continuous acquisition multiple unlock the face picture of the application program;User is filtered out from the face picture of multiple The highest face picture of front degree as first face picture.
In one embodiment, above-mentioned acquisition is used for the first face picture when previous face solution locked application, and Before the step of previous face unlocks the first time of the application program, the method also includes: triggering is described to apply journey When sequence, judge whether the application program is application program in preset white list;If so, generating execution, " acquisition is used for When the first face picture of previous face solution locked application, and when previous face unlocks the first of the application program Between " order.
In one embodiment, when the above-mentioned triggering application program, judge whether the application program is preset white After the step of application program in list, the method also includes: if the application program is not in preset white list Application program then obtains the specified attribute of the application program according to preset rules;Judge the specified attribute that gets with Whether preset white list attribute is consistent;If consistent, the application program is added in the white list, and generate execution " acquisition is for the first face picture when previous face solution locked application, and works as previous face and unlock the application program First time " order;If inconsistent, marking the application program is the application program of non-white list, and is executed default The application program about non-white list unlocking motion.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, Any reference used in provided herein and embodiment to memory, storage, database or other media, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double speed are according to rate SDRAM (SSRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, device, article or the method that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, device, article or method institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, device of element, article or method.
The foregoing is merely preferred embodiment of the present application, are not intended to limit the scope of the patents of the application, all utilizations Equivalent structure or equivalent flow shift made by present specification and accompanying drawing content is applied directly or indirectly in other correlations Technical field, similarly include in the scope of patent protection of the application.

Claims (10)

1. a kind of update method of face picture, which is characterized in that comprising steps of
Acquisition applies journey for the first face picture when previous face solution locked application, and when the unlock of previous face is described The first time of sequence;
Judgement unlocks that first time of the application program and a preceding face unlock the application program when previous face Whether two time intervals are greater than preset time span;
If the time interval between a time and second time is not more than the preset time span, institute is calculated The first similarity of the first face picture Yu preset first standard faces picture is stated, if the first similarity is greater than preset the One threshold value, then unlock success, wherein the first standard faces picture is the standard faces figure of the application program current default Piece;
If the time interval between the first time and second time is greater than the preset time span, institute is calculated State the first similarity and first face picture and default of the first face picture and preset first standard faces picture The second standard faces picture the second similarity, wherein the second standard faces picture is preceding once to unlock the application The face picture acquired when program;
If second similarity is greater than first similarity, the second standard faces picture is replaced described first Standard faces picture, and using first face picture as the second new standard faces picture.
2. the update method of face picture according to claim 1, which is characterized in that described by second standard faces Picture was replaced after the step of the first standard faces picture, further includes:
Judge the original face picture uploaded when the first standard faces picture is application program described in user's registration;
If so, by the first standard faces picture storage to preset space;
If it is not, then the first standard faces picture is deleted.
3. the update method of face picture according to claim 2, which is characterized in that if the first time and institute State time interval between the second time and be greater than the preset time span, then calculate first face picture with it is preset The of first similarity of the first standard faces picture and first face picture and preset second standard faces picture After the step of two similarities, the method also includes:
If first similarity is greater than second similarity, and is less than the first threshold, then by first face Picture and the original face picture carry out similarity calculation, obtain third similarity;
If the third similarity is greater than the first threshold, success is unlocked, on the contrary unlock failure.
4. the update method of face picture according to claim 1, which is characterized in that if the first time and institute The time interval between the second time is stated no more than the preset time span, then calculates first face picture and presets The first standard faces picture the first similarity, if the first similarity is greater than preset first threshold, unlock is successful After step, the method also includes:
Judge the face carried out in the preset time span before previous face unlocks the application program unlock The number of the application program;
If the number is greater than frequency threshold value, the variation tendency of the first similarity in the number each time is calculated;
If the variation tendency reaches preset value, current first human face photo is replaced into the second standard faces figure Piece.
5. the update method of face picture according to claim 1, which is characterized in that the acquisition is for working as previous face The step of solving the first face picture of locked application, further includes:
Continuous acquisition multiple unlock the face picture of the application program;
The highest face picture of front degree of user is filtered out from the face picture of multiple as first face picture.
6. the update method of face picture according to claim 1, which is characterized in that the acquisition is for working as previous face Solve the first face picture of locked application, and when previous face unlocks the first time of the application program the step of it Before, the method also includes:
When triggering the application program, judge whether the application program is application program in preset white list;
It " acquires for the first face picture when previous face solution locked application if so, generating and executing, and works as previous people Face unlocks the first time of the application program " order.
7. the update method of face picture according to claim 1, which is characterized in that the triggering application program When, after judging the step of whether application program is the application program in preset white list, the method also includes:
If the application program is not the application program in preset white list, the application program is obtained according to preset rules Specified attribute;
Judge whether the specified attribute got and preset white list attribute are consistent;
If consistent, the application program is added in the white list, and generates execution and " acquires for when previous face solution The order of first face picture of locked application, and when previous face unlocks the first time of the application program ";
If inconsistent, marking the application program is the application program of non-white list, and is executed preset about non-white list Application program unlocking motion.
8. a kind of updating device of face picture characterized by comprising
Acquisition unit, for acquire be used for when previous face solution locked application the first face picture, and work as previous face Unlock the first time of the application program;
First judging unit unlocks the first time of the application program and a preceding face unlocks when previous face for judging Whether the second time interval of the application program is greater than preset time span;
Unlocking unit, if being not more than the preset time for the time interval between a time and second time Length then calculates the first similarity of first face picture Yu preset first standard faces picture, if first is similar Degree is greater than preset first threshold, then unlocks success, wherein the first standard faces picture is that the application program is currently write from memory The standard faces picture recognized;
First computing unit, if being greater than for the time interval between the first time and second time described preset Time span then calculates the first similarity of first face picture and preset first standard faces picture and described Second similarity of the first face picture and preset second standard faces picture, wherein the second standard faces picture is The preceding face picture acquired when once unlocking the application program;
Updating unit, if being greater than first similarity for second similarity, by the second standard faces figure Piece replaces the first standard faces picture, and using first face picture as the second new standard faces picture.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
CN201910655450.7A 2019-07-19 2019-07-19 Update method, device, computer equipment and the storage medium of face picture Pending CN110516543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910655450.7A CN110516543A (en) 2019-07-19 2019-07-19 Update method, device, computer equipment and the storage medium of face picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910655450.7A CN110516543A (en) 2019-07-19 2019-07-19 Update method, device, computer equipment and the storage medium of face picture

Publications (1)

Publication Number Publication Date
CN110516543A true CN110516543A (en) 2019-11-29

Family

ID=68623115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910655450.7A Pending CN110516543A (en) 2019-07-19 2019-07-19 Update method, device, computer equipment and the storage medium of face picture

Country Status (1)

Country Link
CN (1) CN110516543A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117690116A (en) * 2024-02-02 2024-03-12 天津所托瑞安汽车科技有限公司 Driver identification method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012208610A (en) * 2011-03-29 2012-10-25 Secom Co Ltd Face image authentication apparatus
JP2014071684A (en) * 2012-09-28 2014-04-21 Secom Co Ltd Face image authentication device
CN107358079A (en) * 2017-06-16 2017-11-17 微梦创科网络科技(中国)有限公司 Real-time face identifies login validation method and system
CN107526999A (en) * 2016-06-22 2017-12-29 腾讯科技(深圳)有限公司 A kind of standard faces picture update method, data processing equipment and system
CN108875491A (en) * 2017-10-11 2018-11-23 北京旷视科技有限公司 Data-updating method, authenticating device and the system and non-volatile memory medium of face unlock certification

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012208610A (en) * 2011-03-29 2012-10-25 Secom Co Ltd Face image authentication apparatus
JP2014071684A (en) * 2012-09-28 2014-04-21 Secom Co Ltd Face image authentication device
CN107526999A (en) * 2016-06-22 2017-12-29 腾讯科技(深圳)有限公司 A kind of standard faces picture update method, data processing equipment and system
CN107358079A (en) * 2017-06-16 2017-11-17 微梦创科网络科技(中国)有限公司 Real-time face identifies login validation method and system
CN108875491A (en) * 2017-10-11 2018-11-23 北京旷视科技有限公司 Data-updating method, authenticating device and the system and non-volatile memory medium of face unlock certification

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117690116A (en) * 2024-02-02 2024-03-12 天津所托瑞安汽车科技有限公司 Driver identification method, device, equipment and storage medium
CN117690116B (en) * 2024-02-02 2024-04-12 天津所托瑞安汽车科技有限公司 Driver identification method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
DE112016002708T5 (en) SCREEN ANALYSIS-BASED DEVICE ASSURANCE
CN101329781B (en) Access control system with rules engine architecture
DE102004048959B4 (en) Information processing apparatus, authentication processing program and authentication storage apparatus
DE102012216191A1 (en) authentication system
CN113557701B (en) Facial authentication embedding migration and offset compensation
CN109191649B (en) Method and device for sharing control authority of intelligent door lock
DE102010023691A1 (en) Share dynamic content presets and behavior of computing devices
CN110445689A (en) Identify the method, apparatus and computer equipment of internet of things equipment type
CN110109750A (en) Virtual resource acquisition methods, device, computer equipment and storage medium
CN109271917A (en) Face identification method, device, computer equipment and readable storage medium storing program for executing
CN108734092A (en) Personage's authentication device
CN113342603B (en) Alarm data processing method and device, computer equipment and storage medium
CN109710854A (en) The method and apparatus of recommended user in social application
CN108874618A (en) Monitoring method, device, computer equipment and the storage medium of Cognos process
CN110516543A (en) Update method, device, computer equipment and the storage medium of face picture
CN111738404A (en) Model training task processing method and device, electronic equipment and storage medium
DE60218344T2 (en) USER IDENTIFICATION PROCEDURE
US7720786B2 (en) Method of pattern identification using retain operators on multisets
CN106982128A (en) Network community construction method
CN114331473A (en) Method and device for identifying telecommunication fraud event and computer-readable storage medium
CN112835682B (en) Data processing method, device, computer equipment and readable storage medium
JP2018128736A (en) Face authentication system, face authentication method and face authentication program
CN110286904A (en) Generate method, apparatus, computer equipment and the storage medium of front end skin
Abate et al. MUBAI: multiagent biometrics for ambient intelligence
CN113704048A (en) Dynamic data monitoring method and device, computer equipment and storage medium

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