Video-based identity verification method, device, computer equipment, and storage medium

Through video identity verification combined with face, voiceprint and eye tracking technology, the problem of identity verification security risks in online business processing is solved, achieving higher authenticity and security of user verification, and preventing business fraud.

CN113901418BActive Publication Date: 2024-10-22CHINA PING AN LIFE INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111216925.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-19
Publication Date
2024-10-22
Estimated Expiration
2041-10-19

AI Technical Summary

Technical Problem

There are identity verification security risks in online business processing, and it is difficult to distinguish real users from fraudulent behaviors, especially under factors such as age changes, ambient lighting, facial occlusion, and twins, making business fraud difficult to prevent.

Method used

Using a video-based identity verification method, combined with face recognition, voiceprint comparison and eye tracking technology, face authentication and eyeball positioning are performed through the first identity verification video to obtain eyeball spatial coordinate data, and after passing the first verification, Use the second identity verification video to verify the face, voiceprint and eye movement to determine the user's identity.

Benefits of technology

It improves the authenticity and correctness of user verification, enhances security, avoids counterfeiting of users, and ensures the confidentiality of user information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113901418B_ABST
    Figure CN113901418B_ABST
Patent Text Reader

Abstract

This invention relates to the field of artificial intelligence technology. It discloses a video-based identity verification method, apparatus, device, and medium. The method includes: acquiring a first identity verification video from a business request; performing face authentication and eye positioning using face recognition and eye calibration technologies to obtain a first verification result and eye spatial coordinate data; acquiring a second identity verification video when the first verification result is detected as passed; performing face authentication and voiceprint verification, as well as eye movement verification based on eye spatial coordinate data, using face recognition, voiceprint comparison, and eye tracking technologies to obtain a second verification result; and determining the user's identity verification result. Therefore, this invention achieves user verification by combining face, voiceprint, and eye tracking, avoiding user impersonation and improving the authenticity and accuracy of user verification. This invention is applicable to the field of artificial intelligence and can further promote the construction of smart cities.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence liveness detection technology, and in particular to a video-based identity authentication method, device, computer equipment and storage medium. Background Art

[0002] With the development of the Internet and the popularization of terminals such as smart phones, many businesses have shifted from offline to online. For example, in the past, users had to go to insurance companies and bank counters to handle insurance and financial-related businesses. Now, most of these businesses can be handled through mobile apps (Applications), which is very convenient. However, for institutions responsible for business processing, online businesses have certain security risks. For example, due to factors such as age changes, ambient lighting, facial occlusion, and twins, it is difficult to ensure that the user's identity is authentic and valid, resulting in the inability to identify business fraud, which can easily cause losses to the institution or the user himself. Summary of the invention

[0003] The present invention provides a video-based identity authentication method, device, computer equipment and storage medium, which realize automatic user authentication by combining face, voiceprint and eye tracking, avoids user impersonation, improves the authenticity and correctness of user authentication, ensures the security of user authentication and the confidentiality of user information. The present invention is applicable to the field of artificial intelligence and can further promote the construction of smart cities.

[0004] A video-based identity verification method comprising:

[0005] Receive a service request from a user, and obtain a first identity verification video in the service request;

[0006] Using face recognition and eye calibration technology, perform face authentication and eye positioning on the first identity authentication video to obtain a first authentication result and eye space coordinate data;

[0007] When it is detected that the first verification result is passed, a second identity verification video is obtained; wherein the second identity verification video is a human-computer dialogue video collected based on dialogue data corresponding to the business request;

[0008] Using the face recognition, voiceprint comparison and eye tracking technology, perform the face authentication and voiceprint verification on the second identity verification video, as well as eye movement verification based on the eye space coordinate data, to obtain a second verification result;

[0009] An identity authentication result corresponding to the user is determined according to the first verification result and the second verification result.

[0010] A video-based identity verification device, comprising:

[0011] A receiving module, used to receive a service request from a user and obtain a first identity verification video in the service request;

[0012] A first recognition module is used to use face recognition and eye calibration technology to perform face authentication and eye positioning on the first identity authentication video to obtain a first authentication result and eye space coordinate data;

[0013] An acquisition module, configured to acquire a second identity authentication video when detecting that the first authentication result is passed; wherein the second identity authentication video is a human-computer dialogue video collected based on dialogue data corresponding to the business request;

[0014] A second identification module is used to use the face recognition, voiceprint comparison and eye tracking technology to perform the face recognition and voiceprint verification on the second identity verification video, as well as eye movement verification based on eye space coordinate data, to obtain a second verification result;

[0015] A determination module is used to determine an identity authentication result corresponding to the user according to the first verification result and the second verification result.

[0016] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned video-based identity authentication method when executing the computer program.

[0017] A computer-readable storage medium stores a computer program, which implements the steps of the above-mentioned video-based identity authentication method when executed by a processor.

[0018] The video-based identity authentication method, device, computer equipment and storage medium provided by the present invention receive a business request from a user to obtain a first identity authentication video in the business request; use face recognition and eye calibration technology to perform face authentication and eye positioning on the first identity authentication video to obtain a first verification result and eye space coordinate data; when it is detected that the first verification result is passed, obtain a second identity authentication video; wherein the second identity authentication video is a human-computer dialogue video collected based on dialogue data corresponding to the business request; use the face recognition, voiceprint comparison and eye tracking technology to perform the face authentication and voiceprint verification on the second identity authentication video, and based on eye space coordinate data, obtain a second authentication result and eye space coordinate data; when it is detected that the first verification result is passed, obtain a second identity authentication video; wherein the second identity authentication video is a human-computer dialogue video collected based on dialogue data corresponding to the business request; use the face recognition, voiceprint comparison and eye tracking technology to perform the face authentication and voiceprint verification on the second identity authentication video, and based on eye space coordinate data, obtain a second authentication result and eye space coordinate data; Eye movement verification of coordinate data is performed to obtain a second verification result; based on the first verification result and the second verification result, the identity authentication result corresponding to the user is determined. In this way, the user can be face recognized before entering into the human-computer dialogue, and the eye calibration technology is used to locate the eye and construct the eye space coordinate data. During the human-computer dialogue, the voiceprint recognition is performed through the audio of the user's dialogue and compared and verified. In addition, the face recognition and eye tracking technology are used to verify the user in the human-computer dialogue. Finally, the user is verified by combining the dimensions of face, voiceprint and eye tracking to avoid the situation of imitating users, thereby improving the authenticity and correctness of the user's verification and ensuring the security of the user's verification and the confidentiality of the user information. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0020] Figure 1 is a schematic diagram of an application environment of a video-based identity authentication method in an embodiment of the present invention;

[0021] Figure 2 is a flow chart of a video-based identity authentication method in one embodiment of the present invention;

[0022] Figure 3 is a flowchart of step S20 of a video-based identity authentication method in one embodiment of the present invention;

[0023] Figure 4 is a flow chart of step S40 of a video-based identity authentication method in one embodiment of the present invention;

[0024] Figure 5 is a principle block diagram of a video-based identity authentication device in one embodiment of the present invention;

[0025] Figure 6 is a schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0027] The video-based identity authentication method provided by the present invention can be applied in Figure 1 In an application environment, a client (computer device or terminal) communicates with a server through a network. The client (computer device or terminal) includes, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices. The server can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0028] In one embodiment, if Figure 2 As shown, a video-based identity authentication method is provided, and its technical solution mainly includes the following steps S10-S50:

[0029] S10, receiving a service request from a user, and obtaining a first identity verification video in the service request.

[0030] It can be understood that the user is an applicant who needs to handle business, the business request is a request triggered by the user's need to handle business, and the first identity authentication video is a video shot or collected for face authentication in the first stage of handling business to determine whether it is the user and to collect data related to the display screen and eyeballs used by the user.

[0031] S20, using face recognition and eye calibration technology, perform face authentication and eye positioning on the first identity authentication video to obtain a first authentication result and eye space coordinate data.

[0032] It can be understood that the face recognition technology is a target recognition technology that extracts face features from an input image and identifies whether the face in the input image is an authenticated user's face based on the extracted face features. The eyeball calibration technology is a calibration technology that displays a cursor corresponding to the calibration coordinate information on a display interface, and performs eyeball positioning on the input captured image to locate four corneal position information of four eyes according to the movement of the cursor, so that the calibration coordinate information and the corneal position information can establish a mapping coordinate relationship. The eyeball positioning process can be to send four calibration coordinate information in sequence, and use eyeball tracking technology to collect images of eyeball movement, and determine the corneal position information corresponding to each calibration coordinate information based on the image; based on all the calibration coordinate information and all the corneal position information, construct the eyeball spatial coordinate data between the display interface and the cornea. The eyeball spatial coordinate data is a data set that reflects the mapping relationship between the spatial coordinate axes of the points where the cornea focuses on the display interface. The first verification result reflects whether the currently verified user is consistent with the applicant who needs to handle the business, and the first verification result indicates whether the user has passed the face and eyeball identity authentication.

[0033] In one embodiment, before step S20, that is, before performing face authentication and eye positioning on the first identity authentication video to obtain the first authentication result and eye space coordinate data, the following steps are included:

[0034] Get login information collection video.

[0035] It can be understood that the login information collection video is a video containing the user's face collected when the user registers or logs in for the first time.

[0036] Image extraction is performed on the login information collection video to obtain multiple user images.

[0037] It can be understood that the image extraction is the process of identifying images containing facial features from the login information collection video, extracting the images containing facial features therefrom, and recording the extracted images containing facial features as the user image, and the facial features are features related to the mouth, nose, eyes, eyebrows and face of the human face.

[0038] All of the user images are input into a face recognition model, and machine learning is performed on all of the user images through the face recognition model to obtain a trained face recognition model.

[0039] It can be understood that the face recognition model is a neural network model that learns to extract the facial features of different people in the input image. All the user images are input into the face recognition model. The face recognition model will learn the facial features of the user from all the user images and associate them with the user. The learned face recognition model is recorded as a trained face recognition model. The machine learning is a method that uses probability theory knowledge, statistical knowledge, approximate theoretical knowledge and complex algorithm knowledge, uses computers as tools and is committed to simulating human learning methods in a real and real-time manner, and divides the existing content into knowledge structures to effectively improve learning efficiency.

[0040] The eye recognition model is used to locate the cornea and extract the peripheral features of the eye for all the user images to obtain the eye feature data corresponding to the user.

[0041] It can be understood that the eyeball recognition model is a trained model for identifying the position of the cornea in an image containing a face and position information related to the eyeball. The cornea positioning method is a method for identifying the cornea in an image containing a face through the trained eyeball recognition model, and locating the position information of the cornea in the input user image. One user image corresponds to one cornea position information. The eyeball peripheral feature extraction is to capture an image within the surrounding area based on the position information of the cornea corresponding to the user image, and perform feature extraction on the captured area to extract the eyeball feature data corresponding to the user. The eyeball feature data includes feature data related to the cornea, such as the distance between the two corneas, the distance between the cornea and the eyebrows, the ratio between the cornea and the white of the eye, etc. The eyeball feature data also includes convolution of the captured area to extract the eyeball feature vector of the user in the user image.

[0042] The present invention realizes the acquisition of login information through video collection; image extraction of the login information acquisition video to obtain multiple user images; inputting all the user images into a face recognition model, and performing machine learning on all the user images through the face recognition model to obtain a trained face recognition model; performing corneal positioning and eye peripheral feature extraction on all the user images through an eye recognition model to obtain eye feature data corresponding to the user, so that video can be collected when the user registers or logs in for the first time, and the user image containing the face in the collected video is input into the face recognition model for machine learning, and the eye feature data corresponding to the user is extracted through the eye recognition model, so as to provide a data benchmark for subsequent user identity verification.

[0043] In one embodiment, if Figure 3As shown, in step S20, that is, using face recognition and eyeball calibration technology to perform face authentication and eyeball positioning on the first identity authentication video to obtain a first authentication result and eyeball space coordinate data, including:

[0044] S201, extracting facial images from the first identity verification video to obtain a plurality of facial images.

[0045] It can be understood that the process of facial image extraction is to identify the image corresponding to the time frame in which the face first appears and the image corresponding to the time frame in which the face last appears in the first identity authentication video, and to take the time frame in which the face first appears as the starting point and the time frame in which the face last appears as the end point, and to extract one frame of image at every preset frame interval within the time period, thereby obtaining multiple frames of images, and determining the image as the facial image, which reflects that the image contains the face of the user to be verified.

[0046] S202, extracting facial features from all the facial images through the trained facial recognition model, and performing facial recognition based on the extracted facial features to obtain a recognition result.

[0047] It can be understood that the face recognition is a process of classifying users matching the extracted face features, and the recognition result reflects the result of comprehensively determining which user all the input face images belong to.

[0048] S203, performing corneal positioning and eye peripheral feature extraction on all the face images through the eye recognition model to obtain feature data to be verified.

[0049] It can be understood that the method for corneal positioning is a method for identifying the cornea in an image containing a human face through a trained eye recognition model, and locating the position information of the cornea in the input user image. One user image corresponds to the position information of one cornea. The eye peripheral feature extraction is to intercept the image within the surrounding area based on the position information of the cornea corresponding to the user image, and perform feature extraction on the intercepted area to extract the eye feature data corresponding to the user. The eye feature data includes feature data related to the cornea, such as the distance between the two corneas, the distance between the cornea and the eyebrows, the ratio between the cornea and the white of the eye, etc. The eye feature data also includes convolution of the intercepted area to extract the eye feature vector of the user in the user image, so as to perform the corneal positioning and eye peripheral feature extraction on each of the face images to obtain the feature data to be verified of the user, and the feature data to be verified reflects the feature data related to the cornea in all the input face images or / and the result of the eye feature vector.

[0050] In one example, in step S203, that is, performing corneal positioning and eye peripheral feature extraction on all the face images by using the eye recognition model to obtain feature data to be verified, includes:

[0051] The eyeball recognition model is used to perform cornea positioning and eyebrow recognition on all the face images to obtain eyeball positioning information and eyebrow positioning information.

[0052] It can be understood that the cornea positioning is a technology for locating the cornea in an image, and the processing procedure of the cornea positioning is a processing procedure of extracting the cornea area with cornea features in the human face and locating the relative position of the cornea area in the human face, and the eyebrow recognition is a process of identifying the eyebrows of the human face in the image, and the eyebrow recognition is a processing procedure of extracting the eyebrow area with eyebrow features in the human face and locating the relative position of the eyebrow area in the human face.

[0053] The eyeball recognition model is used to extract eye area images corresponding to each of the face images from each of the face images according to the eyeball positioning information and the eyebrow positioning information.

[0054] It can be understood that the eyebrow positioning information is the position information of the eyebrows on the face, and the eyeball positioning information is the position information of the eyeballs on the face. The process of extracting the eye area image corresponding to each of the face images is the process of capturing the image of the area containing the eyebrows and the eyeballs, that is, extracting the area within a preset size range so that the area contains the eyebrows and the eyeballs.

[0055] The eyeball peripheral features are extracted from all the eye area images through the eyeball recognition model to obtain the feature data to be verified.

[0056] It can be understood that the eyeball peripheral features are extracted from each of the eye area images, feature data corresponding one-to-one to each of the eye area images is determined based on the extracted eyeball peripheral features, and the mean of all the feature data is extracted to obtain the feature data to be verified, and each item in the feature data to be verified corresponds one-to-one to each item in the eyeball feature data.

[0057] The present invention realizes performing cornea positioning and eyebrow recognition on all the face images through the eyeball recognition model to obtain eyeball positioning information and eyebrow positioning information; extracting eye area images corresponding to each face image from each face image according to the eyeball positioning information and the eyebrow positioning information; performing eyeball peripheral feature extraction on all the eye area images to obtain the feature data to be verified, so that the eye area image can be automatically extracted, the eyeball peripheral features can be automatically extracted, and the feature data related to the cornea of ​​the current user or / and the result of the eyeball feature vector can be automatically output, so as to provide data to be compared for subsequent identity verification.

[0058] S204: Compare the feature data to be verified with the eye feature data corresponding to the user to obtain a comparison result.

[0059] It can be understood that the feature data to be verified is compared with the eye feature data corresponding to the user in each item, and the difference results of each dimension after the comparison are determined according to the deviation ratio of the comparison, and the differences of each item are summarized in a weighted manner to obtain the comparison result.

[0060] S205: Determine the first verification result according to the recognition result and the comparison result.

[0061] Understandably, when both the recognition result and the comparison result pass, the first verification result is confirmed to pass, and when either the recognition result or the comparison result fails, the first verification result is confirmed to fail.

[0062] S206, sending each calibration coordinate information in sequence, and using eye tracking technology to collect eye movement images, and determining the corneal position information corresponding to each calibration coordinate information based on all the eye movement images; wherein the eye movement image is an image of the user's eye moving according to the cursor corresponding to each calibration coordinate information.

[0063] It can be understood that the calibration coordinate information is the information of the calibration cursor displayed on the display interface. The number of calibration coordinate information can be set according to needs, preferably 4 calibration coordinate information, and the calibration cursor is displayed on the display interface in turn. Eye tracking technology is used to collect eye movement images in turn. The eye movement image is an image of the user's eye moving according to the cursor corresponding to each calibration coordinate information, that is, the image of the calibration cursor that the user is paying attention to is collected between displaying the calibration cursor and displaying the next calibration cursor. Based on all the eye movement images, the trajectory of the cornea's slight sliding or movement in the eyeball can be determined, thereby determining the corneal position information corresponding to each calibration coordinate information. The corneal position information is the position relative to the eyeball.

[0064] Among them, the eye tracking technology is also called Smooth Pursuit Eye Movements (SPEM) technology. In order to keep the line of sight on a moving object, a slower eye rotation is produced, thereby showing the displacement of the object that the cornea is focusing on. The eye tracking technology can reflect the point where the user is focusing on the display interface.

[0065] S207, constructing the eyeball space coordinate data between the display interface and the cornea based on all the calibration coordinate information and all the cornea position information.

[0066] It can be understood that by the correspondence between all the calibration coordinate information and all the corneal position information, a mapping relationship between the display interface and the corneal movement is constructed, thereby constructing the eye space coordinate data, that is, the movement path of the cornea can automatically map the movement path of the focused point on the display interface in the eye space coordinate data.

[0067] The present invention realizes obtaining a plurality of face images by extracting face images from the first identity verification video; extracting face features from all the face images by the trained face recognition model, and performing face recognition based on the extracted face features to obtain recognition results; performing corneal positioning and eye peripheral feature extraction on all the face images by the eye recognition model to obtain feature data to be verified; comparing the feature data to be verified with the eye feature data corresponding to the user to obtain a comparison result; determining the first verification result based on the recognition result and the comparison result; and issuing the first verification result in sequence. Send each calibration coordinate information, and use eye tracking technology to collect eye movement images, and determine the corneal position information corresponding to each calibration coordinate information based on all the eye movement images; based on all the calibration coordinate information and all the corneal position information, construct the eye space coordinate data between the display interface and the cornea, so that it is possible to use face recognition technology to automatically identify whether the user in the first identity authentication video is correct, and use eye tracking technology to establish eye space coordinate data, which is convenient for subsequent eye tracking, provides a correct data benchmark for subsequent identity authentication, and improves the accuracy of identity authentication.

[0068] S30, when it is detected that the first verification result is passed, obtaining a second identity verification video; wherein the second identity verification video is a human-computer dialogue video collected based on dialogue data corresponding to the business request.

[0069] It is understandable that after obtaining the first verification result and the eye space coordinate data, and when it is detected that the first verification result is passed, the second stage of handling the business is entered. This stage requires a human-computer dialogue with the user, and the user is required to repeat the content for further identity authentication operations. Different business requests correspond to different dialogue contents. Different dialogue data are set for different dialogue contents. The dialogue data includes the user's repetition time period and repetition content. The second identity authentication video is a human-computer dialogue video collected based on the dialogue data corresponding to the business request, that is, the second identity authentication video is a video shot or collected by the user for the human-computer dialogue based on the dialogue data.

[0070] In one embodiment, when it is detected that the first verification result is failed, it is confirmed that the identity authentication result of the user is failed, and the identity authentication process is exited.

[0071] S40, using the face recognition, voiceprint comparison and eye tracking technology, perform the face authentication and voiceprint verification on the second identity authentication video, as well as eye movement verification based on eye space coordinate data, to obtain a second verification result.

[0072] It can be understood that the voiceprint matching technology is a technology that extracts voiceprint features from the input video and compares the extracted voiceprint features with the historically collected voiceprint features to see if they match. The eye tracking technology is a technology that tracks the movement of the cornea in the eyeball relative to the movement of the observation point on the display interface. The voiceprint verification is the process of authentication using the voiceprint matching technology. The eye movement verification process is a verification process in which the positions of the eyeballs moving in sequence are collected according to the texts displayed in sequence on the display interface in the established eye space coordinate data at different positions, so as to determine the focus position on the corresponding display interface, thereby judging the match between the coordinate information of the displayed text and the focus position. The second verification result combines the verification results of dimensions such as face, voiceprint and eye movement, thereby enhancing the security and accuracy of the verification.

[0073] In one embodiment, before step S40, that is, before performing the face authentication and voiceprint authentication on the second identity authentication video, the process includes:

[0074] An audio file of the user based on training words and sentences is obtained.

[0075] Understandably, the audio file of the content of the training words and sentences uttered by the user after seeing or listening to the training words and sentences is collected by an audio collection device to obtain the audio file.

[0076] Using speech recognition technology, text recognition is performed on the audio file to obtain a text result.

[0077] Understandably, the speech recognition technology (Automatic Speech Recognition, ASR, is a technology for converting human speech into text) performs conversion, thereby recognizing the text content in the audio file and obtaining the text result.

[0078] A text comparison algorithm is used to compare the training words and sentences with the text results to obtain a comparison result.

[0079] It can be understood that the text comparison algorithm is an algorithm for calculating the similarity between the contents of two texts. The text comparison algorithm can be a cosine similarity algorithm. The cosine similarity algorithm converts the two texts into word embedding vectors to obtain two sets of texts after word embedding vector conversion, and then calculates the cosine value between the texts after the two sets of word embedding vector conversion, thereby measuring the similarity between the two texts through the cosine value. The similarity between the training words and sentences and the text results can be compared. When the similarity is greater than a preset threshold, the comparison result is determined to be passed, otherwise it is failed. The comparison result reflects whether the training words and sentences and the text results are consistent.

[0080] When it is detected that the comparison result is passed, voiceprint feature extraction is performed on the audio file to obtain a voiceprint feature vector corresponding to the user.

[0081] It can be understood that when it is detected that the comparison result is passed, it means that the user speaks according to the training words one by one, and it is necessary to extract the voiceprint features of the audio file. The voiceprint features are features of the sound wave spectrum that carries speech information. Based on the extracted voiceprint features, the voiceprint feature vector related to the Mel-frequency cepstral coefficient (MFCC) can be determined.

[0082] The present invention achieves the following steps: obtaining an audio file of the user based on training words and sentences; using speech recognition technology to perform text recognition on the audio file to obtain a text result; using a text comparison algorithm to compare the training words and sentences with the text result to obtain a comparison result; when it is detected that the comparison result is passed, performing voiceprint feature extraction on the audio file to obtain a voiceprint feature vector corresponding to the user. In this way, before identity authentication, the user's audio file can be collected, and accurate voiceprint features can be automatically extracted, thereby automatically outputting the voiceprint feature vector corresponding to the user.

[0083] In one embodiment, if Figure 4As shown, in step S40, that is, using the face recognition, voiceprint comparison and eye tracking technology, the second identity verification video is subjected to the face authentication and voiceprint verification, as well as the eye movement verification based on the eye space coordinate data, to obtain a second verification result, including:

[0084] S401, obtaining a user's retelling time period and retelling content, and a display coordinate set corresponding to the retelling content, wherein the conversation data includes the user's retelling time period and the retelling content.

[0085] It can be understood that the user retelling time period and the retelling content in the conversation data are obtained, the user retelling time period is the time period range provided to the user for retelling, the retelling content is the text content that the user needs to retell, and each character in the retelling content corresponds to a display character coordinate, that is, the coordinate of the character displayed on the display interface, so one retelling content corresponds to the display coordinate set containing multiple display character coordinates.

[0086] S402: based on the user retelling time period, extract a retelling video from the second identity verification video.

[0087] It is understandable that the retelling video is extracted from the second identity verification video according to the time point corresponding to the user retelling time period.

[0088] S403, using speech recognition technology to perform text recognition and voiceprint feature extraction on the retelling video to obtain a retelling recognition result and a voiceprint feature vector to be compared.

[0089] It can be understood that the audio and image of the retelling video are separated to separate the audio content in the retelling video, and the speech recognition technology is used to perform text recognition on the audio content in the retelling video to identify the text content in the audio content, that is, the retelling recognition result, and the voiceprint feature extraction is performed on the audio content in the retelling video, so as to extract the voiceprint feature vector to be compared with Mel-frequency cepstral coefficients (MFCC) of the audio content in the retelling video, and the dimension of the voiceprint feature vector to be compared corresponds one to one with the dimension of the voiceprint feature vector.

[0090] S404, comparing the repetition content with the repetition recognition result, and using voiceprint comparison technology to compare the voiceprint feature vector with the voiceprint feature vector to be compared, to obtain a repetition comparison result.

[0091] It can be understood that a text comparison algorithm is used to compare the retelling content and the retelling recognition result to obtain a first comparison result, and the voiceprint comparison technology is used to compare the voiceprint feature vector and the voiceprint feature vector to be compared to obtain a second comparison result. The retelling comparison result is determined based on the first comparison result and the second comparison result, that is, when the first comparison result and the second comparison result are both qualified, the retelling comparison result is determined to be passed, and when either the first comparison result or the second comparison result is unqualified, the retelling comparison result is determined to be failed, and the retelling comparison result reflects whether the content retelled by the user in the second identity authentication video and the voiceprint of the current user are correct.

[0092] S405, based on the retelling time period, determine a plurality of face images to be authenticated corresponding to the display coordinate set from the retelling video, and use the face recognition and eye tracking technology to perform the face authentication and eye movement verification on each of the face images to be authenticated, to obtain a retelling face result and an eye tracking result.

[0093] It can be understood that a display time point corresponding to one of the display text coordinates in the display coordinate set can be identified as a face image to be authenticated in the retelling video through this display time point, and whether the eye movement verification is passed is determined by whether the trajectory of the eye movement in the face image to be authenticated is mapped one-to-one with the trajectory of the display text coordinates in the display coordinate set, thereby obtaining the eye tracking result, and obtaining the retelling face result by performing face authentication on the face image to be authenticated.

[0094] In one embodiment, the step S405, i.e., determining a plurality of face images to be authenticated corresponding to the display coordinate set from the narration video based on the narration time period, and performing the face authentication and the eye movement verification on each of the face images to be authenticated by using the face recognition and the eye tracking technology, to obtain the narration face result and the eye tracking result, includes:

[0095] Determine the display time period corresponding to the display text coordinates in each display coordinate set from the repetition time period;

[0096] It can be understood that during the repetition time period, the display interface displays each character in the display text coordinates corresponding to each character in sequence according to the order of the text content in the display coordinate set, and each of the display text coordinates corresponds to a display time period, which reflects the time period that the display text coordinate stays on the display interface.

[0097] Based on all the display time periods, extracting the face image to be authenticated corresponding to the coordinates of each of the displayed texts from the retelling video;

[0098] It can be understood that according to each of the display time periods, the image in the retelling video is extracted from each of the display time periods, and the image in the retelling video is extracted in the middle value of each of the display time periods, and the extracted image is determined as the face image to be authenticated corresponding to the display time period, that is, the face image to be authenticated corresponding to each of the display text coordinates.

[0099] Using the face recognition, face authentication is performed on all the face images to be authenticated to obtain the repeated face result;

[0100] It can be understood that the face recognition is performed on each of the face images to be authenticated, and the results of each of the face images to be authenticated are identified. The results of each of the face images to be authenticated reflect the confidence of whether the user is to be verified. The average of all the confidences is calculated, and whether the result of the repeated face is passed is determined based on the average.

[0101] Using eye tracking technology, the cornea of ​​each face image to be authenticated is positioned to obtain a focus position based on eye space coordinate data corresponding to each face image to be authenticated;

[0102] It can be understood that by locating the cornea in each of the facial images to be authenticated, the movement path of the cornea relative to the eyeball can be tracked and calculated, and the movement path can be mapped one by one in the eyeball spatial coordinate data to obtain the focus position corresponding to each of the facial images to be authenticated, and the focus position reflects the position of the point where the user focuses on the display interface.

[0103] Among them, the eye tracking technology is also called Smooth Pursuit Eye Movements (SPEM) technology. In order to keep the line of sight on a moving object, a slower eye rotation is produced, thereby showing the displacement of the object that the cornea is focusing on. The eye tracking technology can reflect the point where the user is focusing on the display interface.

[0104] The eye tracking result is determined according to the coordinates of each displayed character and the corresponding focus positions.

[0105] It can be understood that the Euclidean distance algorithm is used to calculate the offset distance between the display text coordinates and the focus position corresponding to the same face image to be authenticated, so as to calculate the offset distance between the display text coordinates and the focus position corresponding to each face image to be authenticated, calculate the tolerance of all the offset distances, judge whether the tolerance is less than the preset tolerance threshold, and determine whether the eye tracking result passes based on the judgment result.

[0106] The present invention realizes the following steps: determining the display time period corresponding to the display text coordinates in each display coordinate set from the repetition time period; extracting the face image to be authenticated corresponding to each display text coordinate from the repetition video based on all the display time periods; performing face authentication on all the face images to be authenticated using the face recognition to obtain the repetition face result; performing corneal positioning on each face image to be authenticated using the eye tracking technology to obtain the focus position based on the eye space coordinate data corresponding to each face image to be authenticated; determining the eye tracking result according to each display text coordinate and each focus position corresponding thereto, so that the face image to be authenticated can be extracted, and using the face recognition and eye tracking technology, the user can be automatically verified in two dimensions to determine whether the user moves along the corresponding trajectory according to the display trajectory of the display text coordinates, thereby ensuring that a real user is handling the business and avoiding the occurrence of a fake user.

[0107] S406, obtaining the second verification result according to the retelling comparison result, the retelling face result and the eye tracking result.

[0108] It can be understood that when the repetition comparison result, the repetition face result and the eye tracking result all pass, the second verification result is determined to be passed; as long as any one of the repetition comparison result, the repetition face result and the eye tracking result fails, the second verification result is determined to be failed, the identity authentication result is confirmed to be failed or failed, and the identity authentication process is exited.

[0109] S50: Determine an identity authentication result corresponding to the user according to the first verification result and the second verification result.

[0110] It can be understood that based on the first verification result of the first stage and the second verification result of the second stage, it is determined whether the identity authentication result of the user is passed, and the identity authentication result is determined to be passed only when both are passed.

[0111] The present invention realizes receiving a business request from a user, obtaining a first identity verification video in the business request; using face recognition and eye calibration technology to perform face authentication and eye positioning on the first identity verification video, and obtaining a first verification result and eye space coordinate data; when detecting that the first verification result is passed, obtaining a second identity verification video; wherein the second identity verification video is a human-computer dialogue video collected based on dialogue data corresponding to the business request; using the face recognition, voiceprint comparison and eye tracking technology to perform the face authentication and voiceprint verification on the second identity verification video, as well as eye movement verification based on eye space coordinate data, and obtaining The second verification result: according to the first verification result and the second verification result, the identity authentication result corresponding to the user is determined, so that the user can be recognized by face before entering into the human-computer dialogue, and the eye calibration technology is used to locate the eye and construct the eye space coordinate data. In the process of entering into the human-computer dialogue, the voiceprint recognition is performed through the audio of the user's dialogue, and the comparison and verification are performed, and the face recognition and eye tracking technology are used to verify the user in the human-computer dialogue. Finally, the user is verified by combining the dimensions of face, voiceprint and eye tracking to avoid the situation of imitating users, thereby improving the authenticity and correctness of the user's verification and ensuring the security of the user's verification and the confidentiality of the user information.

[0112] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0113] In one embodiment, a video-based identity authentication device is provided, and the video-based identity authentication device corresponds one-to-one with the video-based identity authentication method in the above embodiment. Figure 5 As shown, the video-based identity authentication device includes a receiving module 11, a first identification module 12, an acquisition module 13, a second identification module 14 and a determination module 15. The functional modules are described in detail as follows:

[0114] A receiving module 11 is used to receive a service request from a user and obtain a first identity verification video in the service request;

[0115] A first recognition module 12 is used to use face recognition and eye calibration technology to perform face authentication and eye positioning on the first identity authentication video to obtain a first authentication result and eye space coordinate data;

[0116] An acquisition module 13 is used to acquire a second identity authentication video when it is detected that the first authentication result is passed; wherein the second identity authentication video is a human-computer dialogue video collected based on dialogue data corresponding to the business request;

[0117] The second identification module 14 is used to use the face recognition, voiceprint comparison and eye tracking technology to perform the face recognition and voiceprint verification on the second identity verification video, as well as the eye movement verification based on the eye space coordinate data, to obtain a second verification result;

[0118] The determination module 15 is used to determine the identity authentication result corresponding to the user according to the first verification result and the second verification result.

[0119] For the specific definition of the video-based identity authentication device, please refer to the definition of the video-based identity authentication method above, which will not be repeated here. Each module in the above-mentioned video-based identity authentication device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0120] In one embodiment, a computer device is provided. The computer device may be a client or a server. The internal structure diagram thereof may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a readable storage medium and an internal memory. The readable storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the readable storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a video-based identity authentication method is implemented.

[0121] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the video-based identity authentication method in the above embodiment is implemented when the processor executes the computer program.

[0122] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the video-based identity authentication method in the above embodiment is implemented.

[0123] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0124] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0125] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A video-based identity authentication method, characterized in that: include: Receive a service request from a user, and obtain a first identity verification video in the service request; Using face recognition and eye calibration technology, perform face authentication and eye positioning on the first identity authentication video to obtain a first authentication result and eye space coordinate data; When it is detected that the first verification result is passed, a second identity verification video is obtained; wherein the second identity verification video is a human-computer dialogue video collected based on dialogue data corresponding to the business request; Using the face recognition, voiceprint comparison and eye tracking technology, perform the face authentication and voiceprint verification on the second identity verification video, as well as eye movement verification based on the eye space coordinate data, to obtain a second verification result; Determining an identity verification result corresponding to the user according to the first verification result and the second verification result; Before performing face authentication and eyeball positioning on the first identity authentication video to obtain a first authentication result and eyeball space coordinate data, the method includes: Get login information and collect video; Performing image extraction on the login information collection video to obtain multiple user images; Inputting all the user images into a face recognition model, and performing machine learning on all the user images through the face recognition model to obtain a trained face recognition model; Perform corneal positioning and eye peripheral feature extraction on all user images through an eye recognition model to obtain eye feature data corresponding to the user; The face recognition and eyeball calibration technology is used to perform face authentication and eyeball positioning on the first identity authentication video to obtain a first authentication result and eyeball space coordinate data, including: Extracting facial images from the first identity verification video to obtain a plurality of facial images; Extracting facial features from all the facial images using the trained facial recognition model, and performing facial recognition based on the extracted facial features to obtain recognition results; Perform corneal positioning and eye peripheral feature extraction on all the face images using the eye recognition model to obtain feature data to be verified; Comparing the feature data to be verified with the eye feature data corresponding to the user to obtain a comparison result; Determining the first verification result according to the recognition result and the comparison result; Send each calibration coordinate information in sequence, and use eye tracking technology to collect eye movement images, and determine the corneal position information corresponding to each calibration coordinate information based on all the eye movement images; wherein the eye movement image is an image of the user's eye moving according to the cursor corresponding to each calibration coordinate information; Based on all the calibration coordinate information and all the cornea position information, construct the eyeball space coordinate data between the display interface and the cornea; The face recognition, voiceprint comparison and eye tracking technology are used to perform the face authentication and voiceprint verification on the second identity authentication video, as well as the eye movement verification based on the eye space coordinate data, to obtain a second verification result, including: Acquire a user's retelling time period and retelling content, and a display coordinate set corresponding to the retelling content, wherein the conversation data includes the user's retelling time period and the retelling content; Based on the user retelling time period, extracting a retelling video from the second identity verification video; Using speech recognition technology, perform text recognition and voiceprint feature extraction on the retelling video to obtain a retelling recognition result and a voiceprint feature vector to be compared; Comparing the repetition content with the repetition recognition result, and using voiceprint comparison technology to compare the voiceprint feature vector with the voiceprint feature vector to be compared, to obtain a repetition comparison result; Based on the retelling time period, a plurality of face images to be authenticated corresponding to the display coordinate set are determined from the retelling video, and the face recognition and eye tracking technologies are used to perform the face authentication and eye movement verification on each of the face images to be authenticated, to obtain a retelling face result and an eye tracking result; Obtaining the second verification result according to the retelling comparison result, the retelling face result and the eye tracking result; The method further comprises: determining a plurality of face images to be authenticated corresponding to the display coordinate set from the narration video based on the narration time period, and performing face authentication and eye movement verification on each of the face images to be authenticated by using the face recognition and eye tracking technology to obtain a narration face result and an eye tracking result, including: Determine the display time period corresponding to the display text coordinates in each display coordinate set from the repetition time period; Based on all the display time periods, extracting the face image to be authenticated corresponding to the coordinates of each of the displayed texts from the retelling video; Using the face recognition, face authentication is performed on all the face images to be authenticated to obtain the repeated face result; Using eye tracking technology, the cornea of ​​each face image to be authenticated is positioned to obtain a focus position based on eye space coordinate data corresponding to each face image to be authenticated; The eye tracking result is determined according to the coordinates of each displayed character and the corresponding focus positions.

2. The video-based identity authentication method according to claim 1, characterized in that: The method of performing corneal positioning and eye peripheral feature extraction on all the face images by using the eye recognition model to obtain feature data to be verified includes: Perform cornea positioning and eyebrow recognition on all the face images using the eyeball recognition model to obtain eyeball positioning information and eyebrow positioning information; Extracting eye area images corresponding to each of the face images from each of the face images according to the eyeball positioning information and the eyebrow positioning information by using the eyeball recognition model; The eyeball peripheral features are extracted from all the eye area images through the eyeball recognition model to obtain the feature data to be verified.

3. The video-based identity authentication method according to claim 1, characterized in that: Before performing the face authentication and voiceprint authentication on the second identity authentication video, the method includes: Acquire the user's audio file based on training words and sentences; Using speech recognition technology to perform text recognition on the audio file to obtain a text result; Using a text comparison algorithm, the training words and sentences are compared with the text results to obtain a comparison result; When it is detected that the comparison result is passed, voiceprint feature extraction is performed on the audio file to obtain a voiceprint feature vector corresponding to the user.

4. A video-based identity verification device, characterized in that: include: A receiving module, used to receive a service request from a user and obtain a first identity verification video in the service request; A first recognition module is used to use face recognition and eye calibration technology to perform face authentication and eye positioning on the first identity authentication video to obtain a first authentication result and eye space coordinate data; An acquisition module, configured to acquire a second identity authentication video when detecting that the first authentication result is passed; wherein the second identity authentication video is a human-computer dialogue video collected based on dialogue data corresponding to the business request; A second identification module is used to use the face recognition, voiceprint comparison and eye tracking technology to perform the face recognition and voiceprint verification on the second identity verification video, as well as eye movement verification based on eye space coordinate data, to obtain a second verification result; A determination module, configured to determine an identity authentication result corresponding to the user according to the first verification result and the second verification result; Before performing face authentication and eyeball positioning on the first identity authentication video to obtain a first authentication result and eyeball space coordinate data, the method includes: Get login information and collect video; Performing image extraction on the login information collection video to obtain multiple user images; Inputting all the user images into a face recognition model, and performing machine learning on all the user images through the face recognition model to obtain a trained face recognition model; Perform corneal positioning and eye peripheral feature extraction on all user images through an eye recognition model to obtain eye feature data corresponding to the user; The face recognition and eyeball calibration technology is used to perform face authentication and eyeball positioning on the first identity authentication video to obtain a first authentication result and eyeball space coordinate data, including: Extracting facial images from the first identity verification video to obtain a plurality of facial images; Extracting facial features from all the facial images using the trained facial recognition model, and performing facial recognition based on the extracted facial features to obtain recognition results; Perform corneal positioning and eye peripheral feature extraction on all the face images using the eye recognition model to obtain feature data to be verified; Comparing the feature data to be verified with the eye feature data corresponding to the user to obtain a comparison result; Determining the first verification result according to the recognition result and the comparison result; Send each calibration coordinate information in sequence, and use eye tracking technology to collect eye movement images, and determine the corneal position information corresponding to each calibration coordinate information based on all the eye movement images; wherein the eye movement image is an image of the user's eye moving according to the cursor corresponding to each calibration coordinate information; Based on all the calibration coordinate information and all the cornea position information, construct the eyeball space coordinate data between the display interface and the cornea; The face recognition, voiceprint comparison and eye tracking technology are used to perform the face authentication and voiceprint verification on the second identity authentication video, as well as the eye movement verification based on the eye space coordinate data, to obtain a second verification result, including: Acquire a user's retelling time period and retelling content, and a display coordinate set corresponding to the retelling content, wherein the conversation data includes the user's retelling time period and the retelling content; Based on the user retelling time period, extracting a retelling video from the second identity verification video; Using speech recognition technology, perform text recognition and voiceprint feature extraction on the retelling video to obtain a retelling recognition result and a voiceprint feature vector to be compared; Comparing the repetition content with the repetition recognition result, and using voiceprint comparison technology to compare the voiceprint feature vector with the voiceprint feature vector to be compared, to obtain a repetition comparison result; Based on the retelling time period, a plurality of face images to be authenticated corresponding to the display coordinate set are determined from the retelling video, and the face recognition and eye tracking technologies are used to perform the face authentication and eye movement verification on each of the face images to be authenticated, to obtain a retelling face result and an eye tracking result; Obtaining the second verification result according to the retelling comparison result, the retelling face result and the eye tracking result; The method further comprises: determining a plurality of face images to be authenticated corresponding to the display coordinate set from the narration video based on the narration time period, and performing face authentication and eye movement verification on each of the face images to be authenticated by using the face recognition and eye tracking technology to obtain a narration face result and an eye tracking result, including: Determine the display time period corresponding to the display text coordinates in each display coordinate set from the repetition time period; Based on all the display time periods, extracting the face image to be authenticated corresponding to the coordinates of each of the displayed texts from the retelling video; Using the face recognition, face authentication is performed on all the face images to be authenticated to obtain the repeated face result; Using eye tracking technology, the cornea of ​​each face image to be authenticated is positioned to obtain a focus position based on eye space coordinate data corresponding to each face image to be authenticated; The eye tracking result is determined according to the coordinates of each displayed character and the corresponding focus positions.

5. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the video-based identity authentication method according to any one of claims 1 to 3 is implemented.

6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the video-based identity verification method according to any one of claims 1 to 3 is implemented.