CN107844748A - Auth method, device, storage medium and computer equipment - Google Patents

Auth method, device, storage medium and computer equipment Download PDF

Info

Publication number
CN107844748A
CN107844748A CN201710965802.XA CN201710965802A CN107844748A CN 107844748 A CN107844748 A CN 107844748A CN 201710965802 A CN201710965802 A CN 201710965802A CN 107844748 A CN107844748 A CN 107844748A
Authority
CN
China
Prior art keywords
image
face
data
certificate
target image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710965802.XA
Other languages
Chinese (zh)
Other versions
CN107844748B (en
Inventor
郑佳
赵骏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201710965802.XA priority Critical patent/CN107844748B/en
Priority to PCT/CN2017/112485 priority patent/WO2019075840A1/en
Publication of CN107844748A publication Critical patent/CN107844748A/en
Application granted granted Critical
Publication of CN107844748B publication Critical patent/CN107844748B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/168Feature extraction; Face representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/30Scenes; Scene-specific elements in albums, collections or shared content, e.g. social network photos or video
    • 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/174Facial expression recognition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The present invention relates to a kind of auth method, device, storage medium and computer equipment.This method includes:Receive authentication instruction;Multiframe target image is obtained by camera device according to authentication instruction;Extraction is per the human face region image and certificate area image in frame target image;The human face region image in multiframe target image is parsed, generates face delta data;Judge whether the face delta data matches with default delta data;When the face delta data matches with default delta data, then corresponding certificate area image is verified according to multiframe human face region image, determined whether to pass through authentication according to the result.Above-mentioned auth method, device, storage medium and computer equipment avoids malicious user from falsely using the risk that other people certificates carry out authentication, so as to improve the security of online identity checking.

Description

Auth method, device, storage medium and computer equipment
Technical field
The present invention relates to technical field of network security, more particularly to a kind of auth method, device, storage medium and Computer equipment.
Background technology
With the popularization of network, many network systems, than system of real name social platform, internet financial platform etc., it is required for User's real name verification in registration.Other people identity informations are usurped in order to avoid malicious user to be registered, network system is often It is required that the photo that user uploads the certificates such as identity card is audited.Network system can pass through OCR (Optical Character Recognition, optical character identification) personal information such as name identification card number on technology identification certificate photograph.
However, the auth method of traditional identity-based license piece can only identify that certificate photograph enters by OCR technique Row obtains the personal information of user, and is not avoided that malicious user steals other people identity cards, is entered by other people identity card pictures The situation of row registration, the security of online identity checking are relatively low.
The content of the invention
Based on this, it is necessary to for above-mentioned technical problem, there is provided a kind of auth method, device, storage medium and meter Calculate machine equipment.
A kind of auth method, including:Receive authentication instruction;According to authentication instruction by imaging dress Put and obtain multiframe target image;Extraction is per the human face region image and certificate area image in frame target image;Parse multiframe mesh Human face region image in logo image, generate face delta data;Judge the face delta data whether with default change number According to matching;When the face delta data matches with default delta data, then according to multiframe human face region image to corresponding card Part area image is verified, is determined whether to pass through authentication according to the result.
In one of the embodiments, it is described that multiframe target figure is obtained by camera device according to authentication instruction Picture, including:Instructed according to the authentication, multiframe is obtained by camera device according to prefixed time interval in preset duration Image;Detect whether the both greater than default resolution ratio of resolution ratio of every two field picture;If so, then will be per two field picture as target image; If it is not, then return continue executing with it is described multiple image is obtained by camera device according to prefixed time interval in preset duration, Until the both greater than default resolution ratio of resolution ratio per two field picture.
In one of the embodiments, the face delta data includes expression shape change degree;The parsing multiframe target figure Human face region image as in, face delta data is generated, including:Table of the extraction per the human face region image in frame target image Feelings characteristic;According to the expressive features data of every two frames adjacent target image, expression shape change degree is calculated to obtain;Described in the judgement Whether face delta data matches with default delta data, including:Judge whether each expression shape change degree is in default change Spend in section;When each expression shape change degree is in default change degree section, then judge that face delta data becomes with default Change Data Matching.
In one of the embodiments, multiframe target is obtained by camera device according to authentication instruction described Before image, in addition to:Obtain and show random expression prompt message;In the extraction per the human face region in frame target image After the expressive features data of image, in addition to:In the expressive features data of Detection and Extraction, if exist and the random expression The expressive features data that prompt message matches;When the expressive features data to match with the expression prompt message be present, The expressive features data according to every two frames adjacent target image are performed, calculate to obtain expression shape change degree.
In one of the embodiments, the face delta data includes face motion track;Described according to the body Before part checking instruction obtains multiframe target image by camera device, in addition to:Obtain and show random face track prompting Information;Human face region image generation face delta data in the parsing multiframe target image, including:Extraction is per frame target figure The face location data of human face region image as in;Face moving rail is generated according to the face location data of every frame target image Mark;It is described to judge whether the face delta data matches with default delta data, including:When the face motion track and institute When stating the prompt message matching of random face track, then judge that face delta data matches with default delta data.
In one of the embodiments, multiframe target is obtained by camera device according to authentication instruction described Before image, in addition to:Obtain and show random certificate track prompt message;It is described according to multiframe human face region image to phase Answer before certificate area image verified, in addition to:The certificate positional number of certificate area image in the every frame target image of extraction According to;Certificate position data generation certificate motion track in every frame target image;Whether judge the certificate motion track Matched with certificate track prompt message;When the certificate motion track matches with the random certificate track prompt message, And the face delta data is with default delta data when matching, perform it is described according to multiframe human face region image to corresponding certificate Area image is verified.
In one of the embodiments, it is described that corresponding certificate area image is tested according to multiframe human face region image Card, including:Extract per face area in the certificate photo characteristic of certificate area image in frame target image and respective objects image The face characteristic data of area image;Judge whether the certificate photo characteristic and the face characteristic data match Target image;If so, the certificate photo characteristic is then extracted with being wrapped in the target image of the face characteristic data match The identity information data contained;Obtain checking human face data corresponding with the identity information data in certificate database;Judge Whether the checking human face data matches with the certificate photo characteristic;If so, then judge to pass through authentication.
A kind of authentication means, described device include:Authentication command reception module, refer to for receiving authentication Order;Target image acquisition module, for obtaining multiframe target image by camera device according to authentication instruction;Region Image zooming-out module, for extracting human face region image and certificate area image in every frame target image;Face delta data Matching module, for parsing the human face region image in multiframe target image, generate face delta data;Authentication module, For judging whether the face delta data matches with default delta data;When the face delta data and default change number During according to matching, then corresponding certificate area image is verified according to multiframe human face region image, be according to the result judgement It is no to pass through authentication.
A kind of computer-readable recording medium, is stored thereon with computer program, and the program is realized when being executed by processor The step of auth method described in above-mentioned each embodiment.
A kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor Computer program, the step of the auth method described in above-mentioned each embodiment is realized during the computing device described program Suddenly.
Above-mentioned auth method, device, storage medium and computer equipment, instructed and obtained according to the authentication of reception Multiframe target image, and include human face region image and certificate area image simultaneously in target image, by parsing target image In human face region image and generate face delta data, sentenced according to the matching result of face delta data and default delta data Whether disconnected human face region image meets the requirements, when face delta data matches with default delta data, i.e. multiframe target image In human face region image when meeting the requirements, certificate area image is verified according to human face region image, further according to certificate The result of area image determines whether to pass through authentication.The dynamic of face in target image is obtained according to face delta data State, it is ensured that the authenticity of face, further according to the human face region image corresponding to the face with authenticity to certificate area image Verified and to be verified to user identity, avoid malicious user from falsely using the risk that other people certificates carry out authentication, so as to Improve the security of online identity checking.
Brief description of the drawings
Fig. 1 is the applied environment figure of auth method in one embodiment;
Fig. 2 is the flow chart of auth method in one embodiment;
Fig. 3 is the schematic diagram of target image in one embodiment;
Fig. 4 is the flow chart of auth method in another embodiment;
Fig. 5 is the flow chart of auth method in another embodiment;
Fig. 6 is the structured flowchart of authentication means in one embodiment;
Fig. 7 is the structured flowchart of authentication means in another embodiment;
Fig. 8 is the cut-away view of one embodiment Computer equipment.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, not For limiting the present invention.
It is appreciated that term " first " used in the present invention, " second " etc. can be used to describe various elements herein, But these elements should not be limited by these terms.These terms are only used for distinguishing first element and another element.Citing For, without departing from the scope of the invention, first threshold can be referred to as to Second Threshold, and similarly, can be by Two threshold values are referred to as first threshold.First threshold and Second Threshold both threshold values, but it is not same threshold value.
The auth method that the embodiment of the present invention is provided, it can be applied in application environment as shown in Figure 1.Reference picture 1, the application environment includes:Terminal 102 and server 104.Terminal 102 can be mobile phone, tablet personal computer, personal digital assistant or Person's smart machine etc..Server 104 can be the service that independent physical server or multiple physical servers are formed Device cluster.Terminal 102 can be used for performing the auth method that the embodiment of the present invention is provided.It can be stored with server 104 The data related to authentication, including but not limited to identity information data and checking human face data etc..Terminal 102 can be with clothes The business network connection of device 104, and carry out data transmission.Such as server 104 can receiving terminal 102 send identity information number According to, and corresponding checking human face data is searched according to identity information data, terminal 102 can also obtain testing for the transmission of server 104 Demonstrate,prove human face data etc..
In one embodiment, as shown in Figure 2, there is provided a kind of auth method, this method can be used for as shown in Figure 1 Application environment in terminal 102, this method includes:
Step S202, receive authentication instruction.
Authentication instruction can be in the authentication instruction for detecting that the operation for carrying out authentication triggers.Wherein, Clicking operation that the operation includes but is not limited to pre-set, slide and rock the one or more of which such as operation.Enter one Step ground, the operation for carrying out authentication can be directed to, there is provided corresponding authentication interface, include on the interface corresponding being used to connect The control of authentication instruction is received, when detecting the clicking operation for acting on the control, triggering generation authentication instruction.
Step S204, multiframe target image is obtained by camera device according to authentication instruction.
Camera device can be preset in terminal, terminal can also external camera device.Wherein, camera device can be mobile phone Camera, camera and video camera etc..Target image refers to comprising target information or included the image of target reference object, such as Say, target reference object can be two objects of certificate and face, then can using the image comprising certificate and face simultaneously as Target image.Wherein, image can be the image or lead to that camera device is obtained by scanning viewing area directly to shoot The image for intercepting to obtain is crossed in the video flowing of shooting.After authentication instruction is received, it can be clapped by camera device Take the photograph, and the image obtained in real time is shown by display screen, can be using the image comprising target reference object as target image.
In one embodiment, terminal can also show corresponding prompt message so that user can be according to the prompt message Determine position that target reference object, target reference object be in image and target reference object needs the action that carries out Deng.Such as shown in Figure 3, there is provided the schematic diagram of target image in one embodiment, it is right for certificate and face two As that can show certificate region dotted line frame 302 and human face region dotted line frame 304 respectively, be wrapped when detecting in the dotted line frame in image , can be using the image as target image during containing corresponding target reference object.
In one embodiment, instructed according to authentication and multiframe target image is obtained by camera device, including:According to Authentication is instructed, and multiple image is obtained by camera device according to prefixed time interval in preset duration;Detect whether every The both greater than default resolution ratio of the resolution ratio of two field picture.
Image can persistently be obtained until reaching pre-set image quantity according to prefixed time interval by camera device.Than Such as, an image was obtained every 0.1 second or 0.2 second, until getting 20 images.It can also be shot by camera device default The video of duration, image interception is carried out according to default time interval to the video flowing that shooting obtains.It is possible to further for Image process is obtained, and is provided in respective interface and starts to obtain by the image real-time exhibition of camera device shooting on a display screen Take the control of image and stop obtaining the control of image, when detecting the clicking operation for acting on control, execution is opened accordingly Begin to obtain image or stop obtaining the operation of image.After multiple image is got, every two field picture in multiple image is detected Resolution ratio, then will be per two field picture as target image when the resolution ratio both greater than default resolution ratio of every two field picture;When detecting Less than default resolution ratio image when, then return and continue executing with and passes through camera device according to prefixed time interval in preset duration Multiple image is obtained, until the both greater than default resolution ratio of the resolution ratio per two field picture.
Step S206, extract per the human face region image and certificate area image in frame target image.
Two target reference objects of certificate and face are included in target image.Human face region image refers to wrap in target image The area image of the part containing face, accordingly, certificate area image refer to the area image that certificate part is included in target image. Wherein, certificate includes but is not limited to identity card, driver's license, passport etc..
Target reference object can be passed through into default figure when including target reference object in detecting target image As partitioning algorithm comes out the image region segmentation that certificate part and face part occupy.Wherein, image segmentation algorithm can be Dividing method based on threshold value, the dividing method based on region, the dividing method based on edge and point based on particular theory Segmentation method etc..
In one embodiment, the human face region in target image and certificate region can also be pre-set.For example it will scheme Certificate region dotted line frame 302 in 3 is as certificate region, using human face region dotted line frame 304 as human face region.It is pre- detecting If have corresponding target reference object in region, directly using the image zooming-out of predeterminable area out as human face region image with Certificate area image.
Step S208, the human face region image in multiframe target image is parsed, generate face delta data.
Face delta data refers to the data for reflecting human face region image change process in multiframe target image.Such as Expression shape change degree or face motion track.Human face region image is all included in per frame target image, when extracting every frame target figure After human face region image as in, face delta data is generated according to the difference per adjacent two frames human face region image.
Step S210, judges whether face delta data matches with default delta data.
According to the face delta data of generation and default delta data, compare whether both match, if so, then entering step S212;Otherwise, return to step S204.
In one embodiment, can also be again when detecting that face delta data mismatches with default delta data Multiframe target image is obtained by camera device, until getting corresponding to the face delta data matched with default delta data Target image.Further, recycle time can also be preset.Instructed for same authentication, when detecting recycle time When reaching default recycle time, then do not return again to.Such as default recycle time can be 4 times, when detect the 5th face become When changing data with default delta data mismatch, then stop obtaining image, and show unmatched prompt message.
Step S212, corresponding certificate area image is verified according to multiframe human face region image, according to the result Determine whether to pass through authentication.
The certificate area image in respective objects image can be carried out according to the human face region image in every frame icon image Checking.Such as may include certificate photo in certificate area image, when human face region image matches with certificate photo, it can determine that and test Demonstrate,prove successfully.Because human face target reference object can be dynamic in itself, and certificate target reference object sheet is as static, therefore Certificate area image in an extractable wherein target image is as the image for verifying, by a frame or multiframe human face region Image is matched with the certificate area image that this is extracted.When certificate area image is proved to be successful, it can determine that and pass through identity Checking;Otherwise, it is determined that do not pass through authentication.
In above-described embodiment, instructed according to the authentication of reception and obtain multiframe target image, and in target image simultaneously Including human face region image and certificate area image, changed by parsing the human face region image in target image to generate face Data, judge whether human face region image meets the requirements according to the matching result of face delta data and default delta data, when When face delta data matches with default delta data, i.e., when the human face region image in multiframe target image meets the requirements, root Certificate area image is verified according to human face region image, determines whether to pass through further according to the result of certificate area image Authentication.According to face delta data obtain target image in face dynamic, it is ensured that the authenticity of face, further according to Human face region image corresponding to the face of authenticity is verified to certificate area image to be verified to user identity, is kept away Exempt from malicious user and falsely use the risk that other people certificates carry out authentication, so as to improve the security of online identity checking.
In one embodiment, face delta data includes expression shape change degree.Parse the face area in multiframe target image Area image, face delta data is generated, including:Expressive features data of the extraction per the human face region image in frame target image; According to the expressive features data of every two frames adjacent target image, expression shape change degree is calculated to obtain.
Expressive features data refer to the data that can reflect the face characteristic that human face region image is included.Wherein, face is special Sign includes but is not limited to face feature, face shape etc..The spy of face in human face region image can be extracted according to default algorithm Point is levied, expressive features data are generated according to the related data of characteristic point.Expression shape change degree refers to face between two target images The difference degree for the human face expression that area image is shown.Can be according to the acquisition time sequencing of multiframe target image, to per adjacent The expressive features data of two frame target images are calculated, and obtain expression shape change degree.When detecting the people in two target images When expressive features data corresponding to face area image are inconsistent, expression shape change degree value is more than 0.Further, expressive features Data are also denoted as the form of characteristic vector, can to two characteristic vectors corresponding to adjacent two frames target image according to Cosine similarity is calculated in amount dot product formula, because cosine similarity is more big, illustrates that expression difference degree is smaller, therefore can Expression shape change degree using the inverse of the cosine similarity as human face region image in corresponding two frames target image.
In one embodiment, expression recognition model can be built in advance, and the human face region image got is inputted After the expression recognition model, corresponding expressive features data are directly generated.Three-dimensional face model can be also pre-established, is led to Depth learning algorithm is crossed, learns the situation of real three dimensional face expression motion, extracts per the feature on frame human face region image After point, characteristic point is mapped to three-dimensional face model and forms threedimensional model corresponding with per frame human face region image.According to knot Close the three-dimensional face model generation expressive features data that characteristic point is rebuild.
Judge whether face delta data matches with default delta data, including:Judge whether each expression shape change degree is equal In default change degree section.Wherein, it is the change degree area being made up of first threshold and Second Threshold to preset change degree section Between, refer to the span of the change degree corresponding to real user.First threshold refers to real user in two frame target images The minimum change degree generated, Second Threshold refer to maximum change degree of the real user generated in two frame target images.If The expression shape change degree of the human face region image of two frame target images is less than first threshold, illustrates the table corresponding to human face region image Feelings characteristic is consistent, there is a possibility that other people pretend to be real user using static images;If two frame target images The expression shape change degree of human face region image is more than Second Threshold, then the target image for illustrating to get is not coherent.Therefore, may be used According to first threshold and the default change degree section of the second generation, judge whether each expression shape change degree is in default change degree area In.When each expression shape change degree is in default change degree section, then face delta data and default change number are judged According to matching;Otherwise, it is determined that face delta data mismatches with default delta data.
In above-described embodiment, by extracting the expressive features data per the human face region image in frame target image, and root Expression shape change degree is calculated according to expressive features data, so as to the dynamic according to human face region image in multiframe target image Change ensures the authenticity of face corresponding to human face region image, avoids malicious user and usurps other people still photo progress body The risk of part checking, so as to improve the security of authentication.
In one embodiment, instructed according to authentication before obtaining multiframe target image by camera device, also wrapped Include:Obtain and show random expression prompt message;Extracting the expressive features number per the human face region image in frame target image According to afterwards, in addition to:In the expressive features data of Detection and Extraction, if the expression to match with random expression prompt message be present Characteristic;When the expressive features data to match with expression prompt message be present, according to every two frames adjacent target image Expressive features data, calculate to obtain expression shape change degree.
Random expression prompt message refers to that the human face expression that terminal obtains at random from default expression storehouse prompts to believe accordingly Breath.User can make corresponding expression according to the random expression prompt message of display in face of camera device.Wherein, expression storehouse is preset In be stored with the related datas of a variety of human face expressions, human face expression includes but is not limited to smile, blinks, opens one's mouth, frowning, stucking out one's tongue One or more combination in head, the expression such as nod, shake the head.Random expression is determined by random algorithm, and got corresponding Random expression prompt message.Wherein, can be using text information corresponding to the random expression as random expression prompt message, can be with Describe the random expression determined by lines and be used as random expression prompt message.
It is determined that after random expression, the default expression characteristic corresponding with the prompting of random expression is obtained.Extraction is per frame After the expressive features data of human face region image in target image, relatively per the expressive features data of frame human face region image Whether matched with default expression characteristic.Such as the expression of smile, when detecting the mouth arc in expressive features data When degree reaches default radian threshold value, then the expressive features data of the frame human face region image and default expression characteristic are can determine that According to matching, it can perform and calculate expression shape change degree.
In one embodiment, face delta data includes face motion track, is taken the photograph being passed through according to authentication instruction Before multiframe target image being obtained as device, in addition to:Obtain and show random face track prompt message;Parse multiframe target Human face region image generation face delta data in image, including:Extraction is per the human face region image in frame target image Face location data;Face motion track is generated according to the face location data of every frame target image;Judge face delta data Whether matched with default delta data, including:When face motion track matches with random face track prompt message, then judge Face delta data matches with default delta data.
Face motion track refers to the multiframe human face region image moving rail that present position is formed in respective objects image Mark., can be random by this after the face track corresponding to the prompt message of random face track is determined according to default random algorithm The text information of face track can also describe the random face rail determined as random face track prompt message by lines Mark is as random face track prompt message.Such as text information can be " to moving to left ", " moving right ", " to moving up " etc., also Face moving direction and distance etc. can be shown by arrow.Face location data are to refer to represent human face region image corresponding The data of present position in target image.Such as in human face region image human face characteristic point position data.Wherein, face Characteristic point can be the assemblage characteristic point of the one or more of which such as canthus, the corners of the mouth, nose.According to the people in every frame target image The face location data of face area image, face motion track can be generated according to default curve fitting algorithm.Judge that face moves Dynamic rail mark whether with the random face path matching corresponding to the prompt message of random face track, if so, then can determine that face become Change data to match with default delta data, corresponding certificate area image can be verified according to multiframe human face region image, Determined whether to pass through authentication according to the result;Otherwise, it can determine that face delta data mismatches with default delta data.
In one embodiment, before multiframe target image is obtained by camera device according to authentication instruction, also Including:Obtain and show random certificate track prompt message;According to multiframe human face region image to corresponding certificate area image Before being verified, in addition to:The certificate position data of certificate area image in the every frame target image of extraction;According to every frame target Certificate position data generation certificate motion track in image;Judge certificate motion track whether with certificate track prompt message Match somebody with somebody;When certificate motion track matches with random certificate track prompt message, and face delta data matches with default delta data When, perform and corresponding certificate area image is verified according to multiframe human face region image.
Certificate motion track refers to the multiframe certificate area image moving rail that present position is formed in respective objects image Mark., can be random by this after the certificate track corresponding to the prompt message of random certificate track is determined according to default random algorithm The text information of certificate track can also describe the random certificate rail determined as random certificate track prompt message by lines Mark is as random certificate track prompt message.Such as text information can be " to moving to left ", " moving right ", " to moving up " etc., also Certificate moving direction and distance etc. can be shown by arrow.Certificate position data is to refer to represent certificate area image corresponding The data of present position in target image.Such as the characteristic point of one or more characters in certificate can be extracted in corresponding mesh Position data in logo image is as certificate position data.The certificate position of certificate area image in every frame target image Data, certificate motion track can be generated according to default curve fitting algorithm.Judge certificate motion track whether with random certificate Random certificate path matching corresponding to the prompt message of track, if so, and face delta data when being matched with default delta data, Execution is verified according to multiframe human face region image to corresponding certificate area image.
In one embodiment, as shown in figure 4, above-mentioned steps S212, including:
Step S402, extract certificate photo characteristic and respective objects image per certificate area image in frame target image The face characteristic data of middle human face region image.
The certificate corresponding to certificate area image in target image includes certificate photo.Certificate photo characteristic refers to basis The characteristic of certificate photo in the certificate area image that face recognition technology is extracted, accordingly, face characteristic data refer to The characteristic of face in the human face region image extracted according to face recognition technology.Wherein, face recognition technology includes But it is not limited to the recognizer based on human face characteristic point, the recognizer based on view picture facial image, the identification calculation based on template Method, the algorithm being identified using neutral net etc..
In one embodiment, the face recognition algorithms being identified using neutral net can be used, are trained for identifying The neutral net of human face region image.After initializing neutral net, the human face region image that camera device obtains can be directed to As training sample set, identical image can also will be gathered by the use of the certificate area image of the user as training checking collection, is passed through Training sample set and training checking set pair neutral net are trained, and extract corresponding certificate characteristic and face characteristic number According to until neutral net is more than default discrimination threshold value for the discrimination of certificate characteristic and face characteristic data.It will obtain The neutral net that the target image input got trains is identified, for extracting the certificate photo characteristic in the target image According to face characteristic data, identify whether the human face region image in the target image matches with certificate area image.
Step S404, judge whether the target image of certificate photo characteristic and face characteristic data match.
Certificate photo characteristic and face characteristic data can be extracted from every frame target image, when detecting the presence of certificate During according to the target image of characteristic and face characteristic data match, step S406 is performed;Otherwise, into step S407, no Deal with.
Step S406, extraction certificate photo characteristic and the identity included in the target image of face characteristic data match Information data.
Identity information data refers to the related data of identity information included in certificate area image.Such as work as certificate When certificate corresponding to area image is identity card, then identity information includes but is not limited to name, identification card number, date of birth Day, home address etc..
The identity information data included in certificate area image can be identified by OCR technique.Wherein, OCR technique is logical The word of various bills, newpapers and periodicals, books, manuscript and other printed matters is converted into image letter by the optics input modes such as overscanning Breath, recycle character recognition technology that image information is converted into the computer input technology that can be used.Because discrimination is limited, Multiple results can be can recognize that.A variety of results that can be to identifying are incited somebody to action according to information legitimacy, similarity, occurrence number etc. Multiple identity information datas identified are ranked up, and user can be showed to be confirmed optimal result.Wherein, can basis Information legitimacy is excluded illegal result.For example detect whether the identification card number identified, birthdate meet Whether the surname in the name that default span and detection identify is legal surname, if not, then it is assumed that the identity is believed It is illegal to cease data, can exclude.Further, can also be carried out according to the similarity of each recognition result, occurrence number etc. Weighted calculation, the recognition result more than predetermined threshold value is showed into user as optional information.If optional information is multiple, can incite somebody to action Multiple optional informations, which are illustrated in drop-down list, allows user to be selected.Using the optional information of user's selection as in the target image Comprising identity information data.
Step S408, obtain checking human face data corresponding with identity information data in certificate database.
Certificate database refers to the related data of the default certificate for being stored with all users, and including but not limited to identity is believed Cease data and checking human face data.Wherein, checking human face data refers to be used to verify certificate photo authenticity in certificate area image Human face data.Checking human face data can be the characteristic of certificate photo in the certificate extracted in advance.
For example, certificate area image can be ID Card Image, have identified identification card number in ID Card Image it Afterwards, the certificate photo corresponding with the identification card number can be obtained in public security system database according to the identification card number.
Step S410, judge to verify whether human face data matches with certificate photo characteristic.
When verifying that human face data matches with certificate photo characteristic, into step S412;When checking human face data and card When part mismatches according to characteristic, into step S414.
Step S412, judgement pass through authentication.
Step S414, judgement do not pass through authentication.
In above-described embodiment, according to face characteristic data verification certificate photo characteristic and then according to identity information number According to the checking human face data obtained in certificate database, by according to checking face data verification certificate photo characteristic, avoiding Malicious user falsely uses other people certificates and patch covers the risk of oneself photo at certificate photo, improves the safety of online identity checking Property.
In one embodiment, there is provided another auth method, with reference to shown in Fig. 5, this method includes:
Step S502, receive authentication instruction.
Terminal can provide for triggering the control of authentication instruction, when detecting the trigger action to the control, touch Send out authentication instruction.
Step S504, obtain and show random expression prompt message.
Expression data storehouse is preset with terminal, after getting random expression prompt message according to default random algorithm, The random expression prompt message is shown by display screen.
For example, if the random expression prompt message obtained can show that text prompt is believed on a display screen to smile Cease " smile ", the portrait of smiling face can also be shown in predeterminable area so that user can make according to random expression prompt message Corresponding smile expression.
Step S506, multiple image is obtained by camera device according to prefixed time interval in preset duration.
Camera device is preset with terminal, multiple image can be obtained by the camera device every 0.1 second, and by aobvious Display screen real-time display image.
Step S508, detect whether the both greater than default resolution ratio of resolution ratio of every two field picture.
If it is not, then return to step S506, until the both greater than default resolution ratio of resolution ratio per two field picture;If so, then enter Step S510.
Step S510, will be per two field picture as target image.
Target image refers to the image for including two target reference objects of certificate and face, and per the resolution of frame target image The both greater than default resolution ratio of rate.
Step S512, extract per the human face region image and certificate area image in frame target image.
Human face region image refers to the area image that human face target reference object is included in target image, certificate area image Refer to the area image that certificate target reference object is included in target image.Can be by default image partition method by target figure Human face region image and certificate area image as in are split, and extract.
Step S514, extract the expressive features data per the human face region image in frame target image.
For example, the face recognition algorithms based on human face characteristic point can be used, are extracted per in frame human face region image The key feature such as eye shape and mouth radian.Analysis calculating is carried out to key feature, is generated corresponding per frame human face region image Expressive features data.
Step S516, in the expressive features data of Detection and Extraction, if having what is matched with random expression prompt message Expressive features data.
If so, then enter step S618;If it is not, then return to step S604.For example, carried for the random expression of acquisition The situation for showing information to smile, then need to detect the expressive features data expression corresponding with " smile " that human face region image includes Whether characteristic matches.For example whether mouth radian reaches predetermined threshold value.
Step S518, according to the expressive features data of every two frames adjacent target image, calculate to obtain expression shape change degree.
Expression shape change degree refers to the difference degree of the human face expression that human face region image is shown between two target images. For example, can be shown according to human face region expression in two target images
Step S520, judges whether each expression shape change degree is in default change degree section.
If so, into step S522;If it is not, into step S534.
Step S522, extract certificate photo characteristic and respective objects image per certificate area image in frame target image The face characteristic data of middle human face region image.
The certificate photo characteristic and human face region figure of certificate area image can be extracted according to identical face recognition algorithms The face characteristic data of picture, and compare whether both match.
Step S524, judge whether the target image of certificate photo characteristic and face characteristic data match.
If so, into step S526;If it is not, into step S534.
Step S526, extraction certificate photo characteristic and the identity included in the target image of face characteristic data match Information data.
For example, certificate can be identity card, as the spy for detecting the photograph of the identity card included in certificate area image When the face characteristic data match of sign data and user, the identity letter included in the target image can be extracted by OCR technique Cease data.Wherein, identity information data includes but is not limited to identification card number.
Step S528, obtain checking human face data corresponding with identity information data in certificate database.
For example, for certificate be identity card situation, can according to the identification card number extracted public security system body The checking human face data that corresponding identity card shines is searched in part card database.
Step S530, judge to verify whether human face data matches with certificate photo characteristic.
If so, into step S532;If it is not, into step S534.
Step S532, judgement pass through authentication.
Step S534, judgement do not pass through authentication.
In above-described embodiment, by multiple deterministic process, to human face region image in target image and certificate area image Verified, it is ensured that the authenticity of face corresponding to human face region image, while it also avoid malicious user and falsely use his testimony of a witness Part carries out the risk of authentication, improves the security of authentication.
In one embodiment, as shown in Figure 6, there is provided a kind of authentication means 600, the device include:Identity is tested Command reception module 602 is demonstrate,proved, for receiving authentication instruction;Target image acquisition module 604, for being referred to according to authentication Order obtains multiframe target image by camera device;Area image extraction module 606, for extracting the people in every frame target image Face area image and certificate area image;Face delta data matching module 608, for parsing the face in multiframe target image Area image, generate face delta data;Authentication module 610, for judge face delta data whether with default change Data Matching, when face delta data matches with default delta data, then according to multiframe human face region image to corresponding certificate Area image is verified, is determined whether to pass through authentication according to the result.
In one embodiment, target image acquisition module 604 is additionally operable to be instructed according to authentication, in preset duration Multiple image is obtained by camera device according to prefixed time interval;Detect whether both greater than default point of the resolution ratio of every two field picture Resolution;If so, then will be per two field picture as target image;If it is not, then return continue executing with preset duration according to it is default when Between interval by camera device obtain multiple image, until per two field picture resolution ratio both greater than preset resolution ratio.
In one embodiment, face delta data includes expression shape change degree;Face delta data matching module 608 is also used In extracting the expressive features data per the human face region image in frame target image, according to the expression of every two frames adjacent target image Characteristic, calculate to obtain expression shape change degree;Authentication module 610 is additionally operable to judge whether each expression shape change degree is in pre- If in change degree section, when each expression shape change degree is in default change degree section, then judge face delta data with Default delta data matching.
In one embodiment, as shown in Figure 7, there is provided another kind of authentication means 700, the device also include: Random prompt message display module 603, for obtaining and showing random expression prompt message;Face delta data matching module 608 are additionally operable in the expressive features data of Detection and Extraction, if the expressive features to match with random expression prompt message be present Data;When the expressive features data to match with expression prompt message be present, perform according to every two frames adjacent target image Expressive features data, calculate to obtain expression shape change degree.
In one embodiment, face delta data includes face motion track;Random prompt message display module 703 is also For obtaining and showing random face track prompt message;Face delta data matching module 708 is additionally operable to extract every frame target The face location data of human face region image in image;Face movement is generated according to the face location data of every frame target image Track;Authentication module 610 is additionally operable to when face motion track matches with random face track prompt message, then judge people Face delta data matches with default delta data.
In one embodiment, random prompt message display module 603 is additionally operable to obtain and shows that random certificate track carries Show information;Face delta data matching module 608 is additionally operable to extract the certificate position of certificate area image in every frame target image Data;Certificate position data generation certificate motion track in every frame target image;Judge certificate motion track whether with The prompt message matching of certificate track;Authentication module 610 is additionally operable to when certificate motion track and the prompting of random certificate track are believed Breath matching, and when face delta data matches with default delta data, perform according to multiframe human face region image to corresponding certificate Area image is verified.
In one embodiment, authentication module 610 is additionally operable to extract certificate area image in every frame target image The face characteristic data of human face region image in certificate photo characteristic and respective objects image;Judge whether certificate photo spy Levy data and the target image of face characteristic data match;If so, then extract certificate photo characteristic and face characteristic data The identity information data included in the target image to match;Obtain corresponding with identity information data in certificate database test Demonstrate,prove human face data;Judge to verify whether human face data matches with certificate photo characteristic;If so, then judge to pass through authentication.
Above-mentioned authentication means can be implemented as a kind of form of computer program, and computer program can be in such as Fig. 8 Run on shown computer equipment.
Modules in above-mentioned authentication means can be realized fully or partially through software, hardware and combinations thereof. Above-mentioned each module can in the form of hardware be embedded in or independently of in the memory of terminal, can also be stored in terminal in a software form Memory in, in order to processor call perform above modules corresponding to operation.The processor can be central processing Unit (CPU), microprocessor, single-chip microcomputer etc..
As shown in figure 8, the internal structure schematic diagram for one embodiment Computer equipment.A kind of computer is provided to set It is standby, including memory, processor and storage are on a memory and the computer program that can run on a processor, processor are being held Following steps are realized during line program:Receive authentication instruction;Multiframe mesh is obtained by camera device according to authentication instruction Logo image;Extraction is per the human face region image and certificate area image in frame target image;Parse the people in multiframe target image Face area image, generate face delta data;Judge whether face delta data matches with default delta data;When face changes When data match with default delta data, then corresponding certificate area image is verified according to multiframe human face region image, root Determine whether to pass through authentication according to the result.
In one embodiment, during above-mentioned computing device program, that is realized passes through shooting according to authentication instruction Device obtains multiframe target image, including:Instructed according to authentication, according to prefixed time interval by taking the photograph in preset duration As device obtains multiple image;Detect whether the both greater than default resolution ratio of resolution ratio of every two field picture;If so, then will be per two field picture As target image;Obtained if it is not, then returning to continue executing with preset duration according to prefixed time interval by camera device Multiple image, until the both greater than default resolution ratio of resolution ratio per two field picture.
In one embodiment, face delta data includes expression shape change degree, during above-mentioned computing device program, is realized Parsing multiframe target image in human face region image, generate face delta data the step of, specifically include following steps:Carry Take the expressive features data of the human face region image in every frame target image;According to the expressive features of every two frames adjacent target image Data, calculate to obtain expression shape change degree;That is realized judges the step of whether face delta data matches with default delta data, tool Body comprises the following steps:Judge whether each expression shape change degree is in default change degree section;When each expression shape change degree When being in default change degree section, then judge that face delta data matches with default delta data.
In one embodiment, during above-mentioned computing device program, that is realized passes through shooting according to authentication instruction It is further comprising the steps of before device obtains the step of multiframe target image:Obtain and show random expression prompt message;Institute is real It is further comprising the steps of after the step of expressive features data of human face region image in the every frame target image of existing extraction: In the expressive features data of Detection and Extraction, if the expressive features data to match with random expression prompt message be present;When depositing In the expressive features data to match with expression prompt message, the expressive features number according to every two frames adjacent target image is performed According to calculating to obtain expression shape change degree.
In one embodiment, face delta data includes face motion track, and during above-mentioned computing device program, institute is real It is existing according to authentication instruction by the step of camera device acquisition multiframe target image before, it is further comprising the steps of:Obtain Take and show random face track prompt message;Human face region image generation face in the parsing multiframe target image realized The step of delta data, specifically include following steps:Face location number of the extraction per the human face region image in frame target image According to;Face motion track is generated according to the face location data of every frame target image;The judgement face delta data realized is No the step of being matched with default delta data, specifically include:When face motion track matches with random face track prompt message When, then judge that face delta data matches with default delta data.
In one embodiment, during above-mentioned computing device program, that is realized passes through shooting according to authentication instruction It is further comprising the steps of before device obtains the step of multiframe target image:Obtain and show random certificate track prompt message; Realized the step of checking according to multiframe human face region image to corresponding certificate area image before, in addition to following step Suddenly:The certificate position data of certificate area image in the every frame target image of extraction;According to the certificate position in every frame target image Data generate certificate motion track;Judge whether certificate motion track matches with certificate track prompt message;When certificate moving rail Mark matches with random certificate track prompt message, and when face delta data matches with default delta data, performs according to multiframe Human face region image is verified to corresponding certificate area image.
In one embodiment, during above-mentioned computing device program, realized according to multiframe human face region image to phase The step of answering certificate area image to be verified, specifically includes following steps:Certificate area image in the every frame target image of extraction Certificate photo characteristic and respective objects image in human face region image face characteristic data;Judge whether certificate photo Characteristic and the target image of face characteristic data match;If so, then extract certificate photo characteristic and face characteristic number According to the identity information data included in the target image to match;Obtain corresponding with identity information data in certificate database Verify human face data;Judge to verify whether human face data matches with certificate photo characteristic;If so, then judge to test by identity Card.
In one embodiment, above-mentioned computer equipment can be used as server, including but not limited to independent physics clothes Business device, or the server cluster that multiple physical servers are formed, the computer equipment also act as terminal, including but unlimited Mobile phone, tablet personal computer, personal digital assistant or smart machine etc..As shown in figure 8, the computer equipment is including total by system Processor, non-volatile memory medium, built-in storage, display screen, camera device and the network interface of line connection.
Wherein, the processor of the computer equipment is used to provide calculating and control ability, supports whole computer equipment Operation.The non-volatile memory medium of computer equipment is stored with operating system and computer program.The computer program can quilt Performed by processor, for a kind of realization auth method that each embodiment is provided above.In computer equipment Built-in storage provides the running environment of cache for the operating system in non-volatile memory medium and computer program.Display Screen can be touch-screen, for example be capacitance plate or electrical screen, and the point of the control of the touch screen display can be acted on by reception Operation is hit, generates corresponding instruction.Camera device can be that the network interfaces such as mobile phone camera, camera and video camera can be Ethernet card or wireless network card etc., communicated for the terminal or server with outside.
It will be understood by those skilled in the art that the structure of the computer equipment shown in Fig. 8, it is only and application scheme The block diagram of related part-structure, does not form the restriction for the computer equipment being applied thereon to application scheme, specifically Computer equipment can include than more or less parts shown in figure, either combine some parts or with difference Part arrangement.For example the computer equipment in the figure also may not include camera device, but realized by external camera device Auth method in above-mentioned each implementation.
In one embodiment, there is provided a kind of computer-readable recording medium, be stored thereon with computer program, the journey Following steps are realized when sequence is executed by processor:Receive authentication instruction;Instructed according to authentication and obtained by camera device Take multiframe target image;Extraction is per the human face region image and certificate area image in frame target image;Parse multiframe target figure Human face region image as in, generate face delta data;Judge whether face delta data matches with default delta data;When When face delta data matches with default delta data, then corresponding certificate area image is carried out according to multiframe human face region image Checking, determines whether to pass through authentication according to the result.
In one embodiment, when the program is executed by processor, that is realized passes through shooting according to authentication instruction Device obtains multiframe target image, including:Instructed according to authentication, according to prefixed time interval by taking the photograph in preset duration As device obtains multiple image;Detect whether the both greater than default resolution ratio of resolution ratio of every two field picture;If so, then will be per two field picture As target image;Obtained if it is not, then returning to continue executing with preset duration according to prefixed time interval by camera device Multiple image, until the both greater than default resolution ratio of resolution ratio per two field picture.
In one embodiment, face delta data includes expression shape change degree, when the program is executed by processor, is realized Parsing multiframe target image in human face region image, generate face delta data the step of, specifically include following steps:Carry Take the expressive features data of the human face region image in every frame target image;According to the expressive features of every two frames adjacent target image Data, calculate to obtain expression shape change degree;That is realized judges the step of whether face delta data matches with default delta data, tool Body comprises the following steps:Judge whether each expression shape change degree is in default change degree section;When each expression shape change degree When being in default change degree section, then judge that face delta data matches with default delta data.
In one embodiment, when the program is executed by processor, that is realized passes through shooting according to authentication instruction It is further comprising the steps of before device obtains the step of multiframe target image:Obtain and show random expression prompt message;Institute is real It is further comprising the steps of after the step of expressive features data of human face region image in the every frame target image of existing extraction: In the expressive features data of Detection and Extraction, if the expressive features data to match with random expression prompt message be present;When depositing In the expressive features data to match with expression prompt message, the expressive features number according to every two frames adjacent target image is performed According to calculating to obtain expression shape change degree.
In one embodiment, face delta data includes face motion track, and when the program is executed by processor, institute is real It is existing according to authentication instruction by the step of camera device acquisition multiframe target image before, it is further comprising the steps of:Obtain Take and show random face track prompt message;Human face region image generation face in the parsing multiframe target image realized The step of delta data, specifically include following steps:Face location number of the extraction per the human face region image in frame target image According to;Face motion track is generated according to the face location data of every frame target image;The judgement face delta data realized is No the step of being matched with default delta data, specifically include:When face motion track matches with random face track prompt message When, then judge that face delta data matches with default delta data.
In one embodiment, when the program is executed by processor, that is realized passes through shooting according to authentication instruction It is further comprising the steps of before device obtains the step of multiframe target image:Obtain and show random certificate track prompt message; Realized the step of checking according to multiframe human face region image to corresponding certificate area image before, in addition to following step Suddenly:The certificate position data of certificate area image in the every frame target image of extraction;According to the certificate position in every frame target image Data generate certificate motion track;Judge whether certificate motion track matches with certificate track prompt message;When certificate moving rail Mark matches with random certificate track prompt message, and when face delta data matches with default delta data, performs according to multiframe Human face region image is verified to corresponding certificate area image.
In one embodiment, when the program is executed by processor, realized according to multiframe human face region image to phase The step of answering certificate area image to be verified, specifically includes following steps:Certificate area image in the every frame target image of extraction Certificate photo characteristic and respective objects image in human face region image face characteristic data;Judge whether certificate photo Characteristic and the target image of face characteristic data match;If so, then extract certificate photo characteristic and face characteristic number According to the identity information data included in the target image to match;Obtain corresponding with identity information data in certificate database Verify human face data;Judge to verify whether human face data matches with certificate photo characteristic;If so, then judge to test by identity Card.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a non-volatile computer and can be read In storage medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, storage medium can For magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc..
Each technical characteristic of above example can be combined arbitrarily, to make description succinct, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, lance is not present in the combination of these technical characteristics Shield, all it is considered to be the scope of this specification record.
Above example only expresses the several embodiments of the present invention, and its description is more specific and detailed, but can not Therefore it is construed as limiting the scope of the patent.It should be pointed out that for the person of ordinary skill of the art, On the premise of not departing from present inventive concept, various modifications and improvements can be made, these belong to protection scope of the present invention. Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of auth method, including:
Receive authentication instruction;
Multiframe target image is obtained by camera device according to authentication instruction;
Extraction is per the human face region image and certificate area image in frame target image;
The human face region image in multiframe target image is parsed, generates face delta data;
Judge whether the face delta data matches with default delta data;
When the face delta data matches with default delta data, then according to multiframe human face region image to corresponding certificate area Area image is verified, is determined whether to pass through authentication according to the result.
2. according to the method for claim 1, it is characterised in that described that camera device is passed through according to authentication instruction Multiframe target image is obtained, including:
Instructed according to the authentication, multiframe figure is obtained by camera device according to prefixed time interval in preset duration Picture;
Detect whether the both greater than default resolution ratio of resolution ratio of every two field picture;
If so, then will be per two field picture as target image;
Described pass through camera device if it is not, then returning to continue executing with according to prefixed time interval in preset duration and obtain multiframe figure Picture, until the both greater than default resolution ratio of resolution ratio per two field picture.
3. according to the method for claim 1, it is characterised in that the face delta data includes expression shape change degree;
Human face region image in the parsing multiframe target image, generates face delta data, including:
Expressive features data of the extraction per the human face region image in frame target image;
According to the expressive features data of every two frames adjacent target image, expression shape change degree is calculated to obtain;
It is described to judge whether the face delta data matches with default delta data, including:
Judge whether each expression shape change degree is in default change degree section;
When each expression shape change degree is in default change degree section, then face delta data and default delta data are judged Matching.
4. according to the method for claim 3, it is characterised in that filled described according to authentication instruction by imaging Put before obtaining multiframe target image, in addition to:
Obtain and show random expression prompt message;
After expressive features data of the extraction per the human face region image in frame target image, in addition to:
In the expressive features data of Detection and Extraction, if the expressive features number to match with the random expression prompt message be present According to;
When the expressive features data to match with the expression prompt message be present, perform described according to every two frames adjacent target The expressive features data of image, calculate to obtain expression shape change degree.
5. according to the method for claim 1, it is characterised in that the face delta data includes face motion track;
It is described according to the authentication instruction by camera device acquisition multiframe target image before, in addition to:
Obtain and show random face track prompt message;
Human face region image generation face delta data in the parsing multiframe target image, including:
Face location data of the extraction per the human face region image in frame target image;
Face motion track is generated according to the face location data of every frame target image;
It is described to judge whether the face delta data matches with default delta data, including:
When the face motion track match with the random face track prompt message, then judge face delta data with advance If delta data matches.
6. according to the method for claim 1, it is characterised in that filled described according to authentication instruction by imaging Put before obtaining multiframe target image, in addition to:
Obtain and show random certificate track prompt message;
It is described corresponding certificate area image is verified according to multiframe human face region image before, in addition to:
The certificate position data of certificate area image in the every frame target image of extraction;
Certificate position data generation certificate motion track in every frame target image;
Judge whether the certificate motion track matches with certificate track prompt message;
When the certificate motion track match with the random certificate track prompt message, and the face delta data is with presetting When delta data matches, execution is described to be verified according to multiframe human face region image to corresponding certificate area image.
7. according to the method for claim 1, it is characterised in that it is described according to multiframe human face region image to corresponding certificate area Area image verified, including:
Extract per human face region figure in the certificate photo characteristic of certificate area image in frame target image and respective objects image The face characteristic data of picture;
Judge whether the target image of the certificate photo characteristic and the face characteristic data match;
If so, then extract the certificate photo characteristic and the body included in the target image of the face characteristic data match Part information data;
Obtain checking human face data corresponding with the identity information data in certificate database;
Judge whether the checking human face data matches with the certificate photo characteristic;
If so, then judge to pass through authentication.
8. a kind of authentication means, it is characterised in that described device includes:
Authentication command reception module, for receiving authentication instruction;
Target image acquisition module, for obtaining multiframe target image by camera device according to authentication instruction;
Area image extraction module, for extracting human face region image and certificate area image in every frame target image;
Face delta data matching module, for parsing the human face region image in multiframe target image, generation face change number According to;
Authentication module, for judging whether the face delta data matches with default delta data;When the face becomes When change data match with default delta data, then corresponding certificate area image is verified according to multiframe human face region image, Determined whether to pass through authentication according to the result.
9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor The step of any one methods described in claim 1 to 7 is realized during row.
10. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that side described in any one in claim 1 to 7 is realized during the computing device described program The step of method.
CN201710965802.XA 2017-10-17 2017-10-17 Auth method, device, storage medium and computer equipment Active CN107844748B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710965802.XA CN107844748B (en) 2017-10-17 2017-10-17 Auth method, device, storage medium and computer equipment
PCT/CN2017/112485 WO2019075840A1 (en) 2017-10-17 2017-11-23 Identity verification method and apparatus, storage medium and computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710965802.XA CN107844748B (en) 2017-10-17 2017-10-17 Auth method, device, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN107844748A true CN107844748A (en) 2018-03-27
CN107844748B CN107844748B (en) 2019-02-05

Family

ID=61661436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710965802.XA Active CN107844748B (en) 2017-10-17 2017-10-17 Auth method, device, storage medium and computer equipment

Country Status (2)

Country Link
CN (1) CN107844748B (en)
WO (1) WO2019075840A1 (en)

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108830512A (en) * 2018-08-20 2018-11-16 华润守正招标有限公司 A kind of user's registration checking method, device and the equipment of e-bidding bid platform
CN109255299A (en) * 2018-08-13 2019-01-22 北京市商汤科技开发有限公司 Identity identifying method and device, electronic equipment and storage medium
CN109299692A (en) * 2018-09-26 2019-02-01 深圳壹账通智能科技有限公司 A kind of personal identification method, computer readable storage medium and terminal device
CN109359502A (en) * 2018-08-13 2019-02-19 北京市商汤科技开发有限公司 False-proof detection method and device, electronic equipment, storage medium
CN109410138A (en) * 2018-10-16 2019-03-01 北京旷视科技有限公司 Modify jowled methods, devices and systems
CN109829362A (en) * 2018-12-18 2019-05-31 深圳壹账通智能科技有限公司 Safety check aided analysis method, device, computer equipment and storage medium
CN110176024A (en) * 2019-05-21 2019-08-27 腾讯科技(深圳)有限公司 Method, apparatus, equipment and the storage medium that target is detected in video
CN110197108A (en) * 2018-08-17 2019-09-03 平安科技(深圳)有限公司 Auth method, device, computer equipment and storage medium
CN110223710A (en) * 2019-04-18 2019-09-10 深圳壹账通智能科技有限公司 Multiple joint authentication method, device, computer installation and storage medium
CN110414454A (en) * 2019-07-31 2019-11-05 南充折衍智能光电科技有限公司 A kind of testimony of a witness unification identifying system based on machine vision
CN110730169A (en) * 2019-09-29 2020-01-24 北京东软望海科技有限公司 Processing method, device and system for guaranteeing account security
WO2020034733A1 (en) * 2018-08-13 2020-02-20 北京市商汤科技开发有限公司 Identity authentication method and apparatus, electronic device, and storage medium
CN111079712A (en) * 2019-12-31 2020-04-28 中国银行股份有限公司 Authority management method and device based on face recognition
WO2020143316A1 (en) * 2019-01-10 2020-07-16 平安科技(深圳)有限公司 Certificate image extraction method and terminal device
CN111507143A (en) * 2019-01-31 2020-08-07 北京字节跳动网络技术有限公司 Expression image effect generation method and device and electronic equipment
CN111866589A (en) * 2019-05-20 2020-10-30 北京嘀嘀无限科技发展有限公司 Video data verification method and device, electronic equipment and storage medium
CN111898536A (en) * 2019-08-27 2020-11-06 创新先进技术有限公司 Certificate identification method and device
CN112507889A (en) * 2019-04-29 2021-03-16 众安信息技术服务有限公司 Method and system for verifying certificate and certificate holder
CN112686640A (en) * 2020-12-22 2021-04-20 罗科仕管理顾问有限公司 Skill-based credential verification for credential vault systems
CN112764824A (en) * 2019-10-21 2021-05-07 腾讯科技(深圳)有限公司 Method, device, equipment and storage medium for triggering identity authentication in application program
CN112862458A (en) * 2021-03-02 2021-05-28 岭东核电有限公司 Nuclear power test procedure supervision method and device, computer equipment and storage medium
US20210209207A1 (en) * 2020-01-03 2021-07-08 Lg Electronics Inc. User authentication
TWI810548B (en) * 2021-04-15 2023-08-01 臺灣網路認證股份有限公司 Living body recognition system for integrating image processing and deep learning and method thereof
CN116959064A (en) * 2023-06-25 2023-10-27 上海腾桥信息技术有限公司 Certificate verification method and device, computer equipment and storage medium
TWI825371B (en) * 2020-10-20 2023-12-11 普匯金融科技股份有限公司 Device and method of legal person real-name authentication
CN116959064B (en) * 2023-06-25 2024-04-26 上海腾桥信息技术有限公司 Certificate verification method and device, computer equipment and storage medium

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110298246A (en) * 2019-05-22 2019-10-01 深圳壹账通智能科技有限公司 Unlocking verification method, device, computer equipment and storage medium
CN112395906A (en) * 2019-08-12 2021-02-23 北京旷视科技有限公司 Face living body detection method and device, face living body detection equipment and medium
TWI731461B (en) * 2019-11-01 2021-06-21 宏碁股份有限公司 Identification method of real face and identification device using the same
KR102502631B1 (en) * 2020-11-16 2023-02-23 고큐바테크놀로지 주식회사 Technique for authenticating a user
CN113312972A (en) * 2021-04-26 2021-08-27 国家能源集团新能源有限责任公司 Self-service hydrogenation method and device thereof
CN115083002A (en) * 2022-08-16 2022-09-20 深圳市海清视讯科技有限公司 Image processing method, device and equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110311112A1 (en) * 2010-06-21 2011-12-22 Canon Kabushiki Kaisha Identification device, identification method, and storage medium
CN103678984A (en) * 2013-12-20 2014-03-26 湖北微模式科技发展有限公司 Method for achieving user authentication by utilizing camera
CN104834905A (en) * 2015-04-29 2015-08-12 河南城建学院 Facial image identification simulation system and method
CN106599772A (en) * 2016-10-31 2017-04-26 北京旷视科技有限公司 Living body authentication method, identity authentication method and device
CN106778525A (en) * 2016-11-25 2017-05-31 北京旷视科技有限公司 Identity identifying method and device
CN107181852A (en) * 2017-07-19 2017-09-19 维沃移动通信有限公司 A kind of method for sending information, method for information display and mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9495586B1 (en) * 2013-09-18 2016-11-15 IDChecker, Inc. Identity verification using biometric data
CN105005779A (en) * 2015-08-25 2015-10-28 湖北文理学院 Face verification anti-counterfeit recognition method and system thereof based on interactive action
CN106548121A (en) * 2015-09-23 2017-03-29 阿里巴巴集团控股有限公司 A kind of method of testing and device of vivo identification
CN106709402A (en) * 2015-11-16 2017-05-24 优化科技(苏州)有限公司 Living person identity authentication method based on voice pattern and image features
CN106488130A (en) * 2016-11-15 2017-03-08 上海斐讯数据通信技术有限公司 A kind of screening-mode changing method and its switched system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110311112A1 (en) * 2010-06-21 2011-12-22 Canon Kabushiki Kaisha Identification device, identification method, and storage medium
CN103678984A (en) * 2013-12-20 2014-03-26 湖北微模式科技发展有限公司 Method for achieving user authentication by utilizing camera
CN104834905A (en) * 2015-04-29 2015-08-12 河南城建学院 Facial image identification simulation system and method
CN106599772A (en) * 2016-10-31 2017-04-26 北京旷视科技有限公司 Living body authentication method, identity authentication method and device
CN106778525A (en) * 2016-11-25 2017-05-31 北京旷视科技有限公司 Identity identifying method and device
CN107181852A (en) * 2017-07-19 2017-09-19 维沃移动通信有限公司 A kind of method for sending information, method for information display and mobile terminal

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7165746B2 (en) 2018-08-13 2022-11-04 ベイジン・センスタイム・テクノロジー・デベロップメント・カンパニー・リミテッド ID authentication method and device, electronic device and storage medium
KR20200118842A (en) * 2018-08-13 2020-10-16 베이징 센스타임 테크놀로지 디벨롭먼트 컴퍼니 리미티드 Identity authentication method and device, electronic device and storage medium
JP2021516819A (en) * 2018-08-13 2021-07-08 ベイジン センスタイム テクノロジー デベロップメント カンパニー, リミテッド ID authentication method and devices, electronic devices and storage media
CN109359502A (en) * 2018-08-13 2019-02-19 北京市商汤科技开发有限公司 False-proof detection method and device, electronic equipment, storage medium
WO2020034733A1 (en) * 2018-08-13 2020-02-20 北京市商汤科技开发有限公司 Identity authentication method and apparatus, electronic device, and storage medium
KR102406432B1 (en) * 2018-08-13 2022-06-08 베이징 센스타임 테크놀로지 디벨롭먼트 컴퍼니 리미티드 Identity authentication methods and devices, electronic devices and storage media
CN109255299A (en) * 2018-08-13 2019-01-22 北京市商汤科技开发有限公司 Identity identifying method and device, electronic equipment and storage medium
CN110197108A (en) * 2018-08-17 2019-09-03 平安科技(深圳)有限公司 Auth method, device, computer equipment and storage medium
CN108830512A (en) * 2018-08-20 2018-11-16 华润守正招标有限公司 A kind of user's registration checking method, device and the equipment of e-bidding bid platform
CN109299692A (en) * 2018-09-26 2019-02-01 深圳壹账通智能科技有限公司 A kind of personal identification method, computer readable storage medium and terminal device
CN109410138A (en) * 2018-10-16 2019-03-01 北京旷视科技有限公司 Modify jowled methods, devices and systems
CN109829362A (en) * 2018-12-18 2019-05-31 深圳壹账通智能科技有限公司 Safety check aided analysis method, device, computer equipment and storage medium
US11790499B2 (en) 2019-01-10 2023-10-17 Ping An Technology (Shenzhen) Co., Ltd. Certificate image extraction method and terminal device
WO2020143316A1 (en) * 2019-01-10 2020-07-16 平安科技(深圳)有限公司 Certificate image extraction method and terminal device
CN111507143A (en) * 2019-01-31 2020-08-07 北京字节跳动网络技术有限公司 Expression image effect generation method and device and electronic equipment
CN110223710A (en) * 2019-04-18 2019-09-10 深圳壹账通智能科技有限公司 Multiple joint authentication method, device, computer installation and storage medium
CN112507889A (en) * 2019-04-29 2021-03-16 众安信息技术服务有限公司 Method and system for verifying certificate and certificate holder
CN111866589A (en) * 2019-05-20 2020-10-30 北京嘀嘀无限科技发展有限公司 Video data verification method and device, electronic equipment and storage medium
CN110176024A (en) * 2019-05-21 2019-08-27 腾讯科技(深圳)有限公司 Method, apparatus, equipment and the storage medium that target is detected in video
CN110176024B (en) * 2019-05-21 2023-06-02 腾讯科技(深圳)有限公司 Method, device, equipment and storage medium for detecting target in video
CN110414454A (en) * 2019-07-31 2019-11-05 南充折衍智能光电科技有限公司 A kind of testimony of a witness unification identifying system based on machine vision
CN111898536A (en) * 2019-08-27 2020-11-06 创新先进技术有限公司 Certificate identification method and device
CN110730169A (en) * 2019-09-29 2020-01-24 北京东软望海科技有限公司 Processing method, device and system for guaranteeing account security
CN112764824A (en) * 2019-10-21 2021-05-07 腾讯科技(深圳)有限公司 Method, device, equipment and storage medium for triggering identity authentication in application program
CN112764824B (en) * 2019-10-21 2023-10-10 腾讯科技(深圳)有限公司 Method, device, equipment and storage medium for triggering identity verification in application program
CN111079712A (en) * 2019-12-31 2020-04-28 中国银行股份有限公司 Authority management method and device based on face recognition
CN111079712B (en) * 2019-12-31 2023-04-21 中国银行股份有限公司 Permission management method and device based on face recognition
US20210209207A1 (en) * 2020-01-03 2021-07-08 Lg Electronics Inc. User authentication
US11816197B2 (en) * 2020-01-03 2023-11-14 Lg Electronics Inc. Method of authenticating user and apparatus thereof
TWI825371B (en) * 2020-10-20 2023-12-11 普匯金融科技股份有限公司 Device and method of legal person real-name authentication
CN112686640A (en) * 2020-12-22 2021-04-20 罗科仕管理顾问有限公司 Skill-based credential verification for credential vault systems
CN112862458A (en) * 2021-03-02 2021-05-28 岭东核电有限公司 Nuclear power test procedure supervision method and device, computer equipment and storage medium
TWI810548B (en) * 2021-04-15 2023-08-01 臺灣網路認證股份有限公司 Living body recognition system for integrating image processing and deep learning and method thereof
CN116959064A (en) * 2023-06-25 2023-10-27 上海腾桥信息技术有限公司 Certificate verification method and device, computer equipment and storage medium
CN116959064B (en) * 2023-06-25 2024-04-26 上海腾桥信息技术有限公司 Certificate verification method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
WO2019075840A1 (en) 2019-04-25
CN107844748B (en) 2019-02-05

Similar Documents

Publication Publication Date Title
CN107844748B (en) Auth method, device, storage medium and computer equipment
US11539525B2 (en) Systems and methods for secure tokenized credentials
US11669607B2 (en) ID verification with a mobile device
CN108804884B (en) Identity authentication method, identity authentication device and computer storage medium
CN106778525B (en) Identity authentication method and device
Fathy et al. Face-based active authentication on mobile devices
Tian et al. KinWrite: Handwriting-Based Authentication Using Kinect.
EP3905102A1 (en) Method and device for determining operation based on facial expression groups, and electronic device
Hernandez-Ortega et al. Introduction to face presentation attack detection
TW201907330A (en) Method, device, device and data processing method for identity authentication
CN105844206A (en) Identity authentication method and identity authentication device
WO2019200872A1 (en) Authentication method and apparatus, and electronic device, computer program, and storage medium
Smith-Creasey et al. Continuous face authentication scheme for mobile devices with tracking and liveness detection
CN106529255B (en) Method for identifying ID and device based on person's handwriting fingerprint
CN106303599A (en) A kind of information processing method, system and server
CN108959884B (en) Human authentication verification device and method
JP6311237B2 (en) Collation device and collation method, collation system, and computer program
CN112699811B (en) Living body detection method, living body detection device, living body detection apparatus, living body detection storage medium, and program product
CN108921080A (en) Image-recognizing method, device and electronic equipment
Shen et al. Iritrack: Face presentation attack detection using iris tracking
Zolotarev et al. Liveness detection methods implementation to face identification reinforcement in gaming services
JP2003108935A (en) Device for issuing authentication medium and personal collation device
Li ◾ Biometrics in Social Media Applications
RU2791846C2 (en) Method and device for decision-making to perform operation based on groups of face expressions and electronic device
US11973877B2 (en) Systems and methods for secure tokenized credentials

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1245948

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant