Financial business processing method, device, equipment and medium based on face recognition

By using face recognition technology for liveness detection and identity recognition in ATMs, the problem of insufficient security and convenience of card and password verification in the existing technology is solved, the efficiency of identity verification and financial business processing is improved, and security is enhanced sex.

CN113177480BActive Publication Date: 2024-09-17SHANGHAI SENSETIME INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110476585.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-29
Publication Date
2024-09-17
Estimated Expiration
2041-04-29

AI Technical Summary

Technical Problem

The use of cards and passwords for transaction authentication in existing automated teller machines (ATMs) has insufficient security and convenience, and is prone to problems such as card duplication, loss, and password theft.

Method used

Financial business processing technology based on face recognition is used to perform liveness detection and identity recognition by obtaining the face image of the subject to be verified, and then perform financial transaction processing after verifying that the identity is legal.

Benefits of technology

It improves the efficiency of identity verification and financial business processing, reduces the phenomenon of stealing money from other people's cards, and enhances the security of financial institutions and users' information security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113177480B
    Figure CN113177480B
Patent Text Reader

Abstract

The embodiments of the present application provide a method, apparatus, device and medium for processing financial business based on face recognition, wherein, in response to a received financial transaction processing request, a screen content including a face image of a subject to be verified is obtained; based on the face image and the transaction type of the financial transaction processing request, liveness detection and identity recognition are performed on the subject to be verified; if the subject to be verified passes the liveness detection and identity recognition, the pending financial business corresponding to the financial transaction processing request is processed to obtain a processing result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of face recognition technology, and relate to but are not limited to a financial business processing method, device, equipment and medium based on face recognition. Background Art

[0002] In the related art, when using an automated teller machine (ATM), a bank card (e.g., a magnetic stripe card, a chip card, or a hybrid card with both a stripe and a chip) is inserted into the card reader of the ATM, and then the service handling password is entered through the password keyboard. The bank's back-end system returns the corresponding information after verifying the customer information, thereby completing the transaction based on human-computer interaction. In this way, using a card and a password for transaction identity authentication may result in problems such as card duplication, card loss, and password theft, and the security of password verification and transaction convenience are poor. Summary of the invention

[0003] The embodiment of the present application provides a technical solution for financial business processing based on face recognition.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] An embodiment of the present application provides a financial business processing method based on face recognition, the method comprising: in response to a received financial transaction processing request, obtaining a face image of a subject to be verified including screen content; performing liveness detection and identity recognition on the subject to be verified based on the face image and the transaction type of the financial transaction processing request; and processing the pending financial business corresponding to the financial transaction processing request to obtain a processing result if the subject to be verified passes the liveness detection and identity recognition.

[0006] The embodiment of the present application provides a financial service processing device based on face recognition, the device comprising:

[0007] The first acquisition module is used to respond to the received financial transaction processing request and obtain the screen content including the face image of the object to be verified; the first recognition module is used to perform liveness detection and identity recognition on the object to be verified based on the face image and the transaction type of the financial transaction processing request; the first processing module is used to process the pending financial business corresponding to the financial transaction processing request when the object to be verified passes the liveness detection and identity recognition to obtain a processing result.

[0008] Correspondingly, an embodiment of the present application provides a computer storage medium, on which computer executable instructions are stored. After the computer executable instructions are executed, the method steps described above can be implemented.

[0009] An embodiment of the present application provides a financial business processing device based on face recognition, which includes a memory and a processor. The memory stores computer executable instructions, and the processor can implement the steps of the above method when running the computer executable instructions on the memory.

[0010] The embodiments of the present application provide a method, apparatus, device and medium for processing financial business based on face recognition. When receiving a financial transaction processing request submitted by a subject to be verified, the method obtains a face image of the subject to be verified and the transaction type of the financial transaction processing request, and performs liveness detection and identity recognition on the subject to be verified. If the liveness detection and identity recognition are passed, it means that the subject to be verified is a customer of a financial institution with a legitimate identity. In this way, the identity verification of the subject to be verified is realized through face recognition, which can improve the efficiency of verifying the identity of the subject to be verified. And when the subject to be verified passes the liveness detection and identity recognition, the financial business to be processed is processed, thereby facilitating the operation of the customers of the financial institution and improving the efficiency of financial business processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 This is a schematic diagram of the implementation process of the financial business processing method based on face recognition in an embodiment of the present application;

[0012] Figure 2 A schematic diagram of another implementation flow of the financial business processing method based on face recognition provided in an embodiment of the present application;

[0013] Figure 3 A schematic diagram of the implementation process of the financial business processing method based on face recognition provided in an embodiment of the present application;

[0014] Figure 4 A schematic diagram of an application scenario of a financial business processing method based on face recognition provided in an embodiment of the present application;

[0015] Figure 5 This is a schematic diagram of the structure of a financial service processing device based on face recognition according to an embodiment of the present application;

[0016] Figure 6 This is a schematic diagram of the composition structure of a financial business processing device based on face recognition according to an embodiment of the present application. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the specific technical solution of the invention will be further described in detail below in conjunction with the drawings in the embodiments of the present application. The following embodiments are used to illustrate the present application, but are not used to limit the scope of the present application.

[0018] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0019] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.

[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0021] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0022] 1) Liveness detection is a method of determining the real physiological characteristics of an object in some identity authentication scenarios. In face recognition applications, liveness detection can verify whether the user is a real living person by combining actions such as blinking, opening the mouth, shaking the head, and nodding, using technologies such as facial key point positioning and face tracking.

[0023] 2) Binocular camera, including two cameras, which can be used to collect the same type or different types of images. When the two cameras are used to collect the same type of images, one camera collects color images and the other camera collects near-infrared images, or the two cameras can also be used to collect other types of images, which are not limited here. The binocular camera can perform face recognition based on one or more sets of images collected, that is, recognize the captured face. For example, some key feature points such as eyes, ears and nose can be accurately identified and located, and the distances between various key feature points such as pupil distance, distance from eyes to mouth or eyes to ears and other spatial information can be obtained, so as to realize liveness detection, identity recognition and other processes based on the above-mentioned spatial information, which can effectively resist image and video fraud.

[0024] 3) Face recognition is a biometric technology that identifies people based on their facial features. It uses a camera or a camera to collect image sequences or video streams containing faces, and automatically detects image sequences or video streams to track faces, and then performs facial recognition on the detected faces. It is also commonly called portrait recognition, facial recognition, etc.

[0025] The following describes an exemplary application of a face recognition-based financial business processing system provided in an embodiment of the present application, wherein the terminal in the system provided in an embodiment of the present application can be implemented as various types of financial business processing devices such as laptop computers, tablet computers, desktop computers, mobile terminals (for example, personal digital assistants, dedicated messaging devices, front desk devices, desktop personnel identity verification terminals, handheld personnel identity verification terminals) with image acquisition functions.

[0026] Next, an exemplary application of a system for financial business processing based on face recognition when it is implemented as a financial business processing device will be described.

[0027] Figure 1 FIG. 1 is a schematic diagram of an implementation flow of a method for processing financial services based on face recognition according to an embodiment of the present application. Figure 1 As shown, combined with Figure 1 The following steps are explained:

[0028] Step S101 , in response to a received financial transaction processing request, obtaining a screen content including a face image of a subject to be verified.

[0029] The object to be verified may be any object that needs to be identified in the scenario of a financial institution, such as bank staff, financial institution customers, fraudsters or other people working in banks or staff of other financial institutions (such as securities companies, insurance companies, financial companies, credit unions, trust investment companies or fund management companies, etc.), customers of other financial institutions or people working in other financial institutions, etc. The object to be verified may also be a non-living object, such as a photo or ID card including a face. The face image is an image collected including the face of the object to be verified. In some possible implementations, the face image may not only include the face of the object to be verified, but also include the face and other areas of the body. The financial transaction processing request is input by the terminal of the object to be verified to the financial business processing device, or it may be input by the object to be verified through operation on the financial business processing device; the financial transaction processing request includes two transaction types: transactions within the financial institution and transactions across financial institutions; wherein, transactions within the financial institution represent that the financial transaction processing request is a service request made within the financial institution to which it belongs; transactions across financial institutions represent that the financial transaction processing request is a service request made for the financial institution to which it belongs and other financial institutions. Taking a bank as an example, local financial transactions refer to transactions within the bank, such as withdrawals, deposits or other non-monetary services provided by the bank; inter-financial transactions refer to inter-bank transactions, such as withdrawals or deposits in other banks within the bank.

[0030] In some possible implementations, a binocular module is used to collect images of the object to be verified, so as to perform liveness detection and identity recognition on the object to be verified, that is, step 101 can be implemented by the following steps:

[0031] First, a near infrared image of the object to be verified and a color image of the object to be verified are obtained, and then the near infrared image and the color image are used as the face image.

[0032] In some possible implementations, the face image may be an image collected by a camera with a binocular module, including: a near-infrared image and a color image, wherein the near-infrared image is used to detect whether the object to be verified is alive, and the color image is used to identify the object to be verified in the image. The color image may be a red, green, blue (RGB) image, or an image in other color spaces. For example, a YCbCr image or a YUV image. In the YCbCr color space, Y is the brightness channel, Cb is the blue component, and Cr is the red component. In the YUV color space, Y represents brightness (Luminance, Luma), that is, the grayscale value, and U and V represent chrominance (Chrominance or Chroma), which describes the hue and saturation. YUV is an analog signal, while YCbCr is a digital signal. The near-infrared image and the color image can be a video of the object performing financial business processing taken by a binocular camera. The material of the object can be detected through the near-infrared image in the video to reduce attacks from videos, pictures, masks or hoods, so as to complete liveness detection; by performing key point detection on the color image in the video, the identity information of the object to be verified can be identified, thereby realizing real-name processing of financial business.

[0033] In some embodiments, the facial image may also be an image acquired by using a camera with a monocular module. Of course, the facial image may also be acquired by using other types of cameras with living body recognition capabilities.

[0034] In a specific example (Example 1), taking an ATM machine that processes financial services for a bank as an example, the ATM machine has a camera with a binocular module. When someone needs to operate the ATM machine, the camera with the binocular module collects images of the operator to obtain a facial image that at least includes the face of the operator, or can collect a facial image that includes the face and body of the operator, so as to facilitate liveness detection and identity recognition of the operator through the facial image. In another example (Example 2), the ATM machine has a camera with a binocular module. When other personnel hold a photo that includes a face to operate in front of the ATM machine, the camera with the binocular module collects images of the person in the photo to obtain a facial image.

[0035] Step S102: Based on the facial image and the transaction type of the financial transaction processing request, liveness detection and identity recognition are performed on the object to be verified.

[0036] The face image includes a near-infrared image and an RGB image. The near-infrared image of the object to be verified is collected by the near-infrared camera in the binocular camera, and the RGB image of the object to be verified is collected by the RGB camera in the binocular camera. The object to be verified is subjected to liveness detection through the collected near-infrared image; when the liveness detection result indicates that the object to be verified is alive, a suitable image library is determined according to the transaction type of the financial transaction processing request, and the identity of the object to be verified is identified based on the image library and the RGB image of the object to be verified. For example, if the transaction type of the financial transaction processing request is a transaction within the financial institution, the local image library and the RGB image of the object to be verified are used to identify the object to be verified; if the transaction type of the financial transaction processing request is a transaction across financial institutions, the cloud image library and the RGB image of the object to be verified are used to identify the object to be verified, thereby improving the accuracy of identity identification.

[0037] In a specific example, taking the financial institution as a bank, assuming that in the ATM machine scenario of the bank system, by collecting the near-infrared image of the object to be verified, it is determined whether the object to be verified is a living body. If the object to be verified is a living body, it means that it is not an illegal operation of using a fake certificate or another person's ID card to withdraw money. After judging that the object to be verified is a living body, the identity information of the object to be verified is identified through the RGB image of the object to be verified to determine whether the object to be verified is a customer with a legitimate identity, that is, whether it is a bank customer. In Example 1, the operator is detected by near-infrared through the near-infrared image in the face image to determine whether the operator is a living body, then the liveness detection result obtained is that the operator is a living body, that is, the object to be verified passes the liveness detection; then, the identity of the operator is continued to be identified. In Example 2, since it is other personnel (for example, criminals who are ready to steal other people's money) who use the bank customer's ID card to withdraw money, the collected near-infrared image is collected for the ID card, so the liveness detection result obtained is that the object to be verified is not a living body, then there is no need to continue to identify the object to be verified. In this way, a financial business service mode in which the identity of the person and the evidence is consistent is realized, which can reduce the phenomenon of stealing money from other people's cards.

[0038] Step S103: When the object to be authenticated passes the liveness detection and identity recognition, the pending financial business corresponding to the financial transaction processing request is processed to obtain a processing result.

[0039] By using the near-infrared image collected by the binocular camera, it is determined whether the object to be verified is alive; if the object to be verified is alive, it means that the object to be verified has passed the liveness detection, then the identity of the object to be verified is identified based on the collected RGB image, and it is determined whether the identity information of the object to be verified is included in the preset image library, which is used to store the objects that have been identified and the face images of the objects, that is, to store the face images carrying the identity information of the identified objects. If the identity information of the object to be verified is included in the preset image library, it means that the object to be verified is an object that has been identified, for example, a customer who has made a deposit in the financial institution. In this way, the object to be verified is determined to be a customer of the financial institution, and the real-name financial operation is realized.

[0040] In Example 1, if the operator is already a customer of this financial institution, that is, an identified object, then after the operator passes the liveness detection, based on the RGB image of the operator, it is searched whether there is an image in the preset image library that is highly similar to the RGB image of the operator. If it exists, the operator is identified as a customer of the financial institution through identity recognition. If the operator is requesting financial services from this financial institution for the first time, that is, an unregistered object, then after the operator passes the liveness detection, it is necessary to register first; for example, the operator's ID card is bound to the registration information, and then it is determined whether the ID card is a legal ID card and whether the ID card matches the operator sufficiently. If the ID card is a legal ID card and the ID card matches the operator sufficiently, it is determined that the operator has successfully registered and has become a new customer of the financial institution. Based on this, the preset image library is updated so that the operator can be identified through the updated preset image library next time.

[0041] After analyzing the pending financial services of the financial institution's customers, the pending financial services can be processed according to the type of the pending financial services; or the processing method matching the level can be determined according to the customer's account level, so as to process the pending financial services according to the processing method. The types of pending financial services include: monetary services (such as withdrawal, remittance, deposit) and other non-monetary services (such as account setting).

[0042] For monetary services, because the security level is relatively high, further verification of the customer is required, such as through dynamic passwords or mobile phone text messages. After the further verification is successful, services are provided to the customer based on the customer's account level; for non-monetary services, services can be provided to the customer based on the customer's account level after the customer's identity is successfully identified. In this way, different methods are used to handle different types of pending financial services, thereby improving the efficiency of handling financial services.

[0043] In an embodiment of the present application, by obtaining a facial image of the object to be verified and the transaction type of the financial transaction processing request when receiving a financial transaction processing request submitted by the object to be verified, liveness detection and identity recognition are performed on the object to be verified; if the liveness detection and identity recognition are passed, it means that the object to be verified is a customer of a financial institution with a legitimate identity; in this way, the identity verification of the object to be verified is achieved through facial recognition, which can improve the efficiency of verifying the identity of the object to be verified; and when the object to be verified passes the liveness detection and identity recognition, the financial business to be processed is processed, thereby facilitating the operation of financial institution customers and improving the efficiency of financial business processing.

[0044] In order to improve the accuracy of identity recognition, after using a binocular module camera to collect images of the object to be verified, liveness detection is first performed through near-infrared images, and then the identity information of the object to be verified is recognized, that is, step S102, which can be achieved by the following steps. The method is applied to financial business processing equipment, such as Figure 2 As shown, Figure 2 Another implementation flow diagram of the financial business processing method based on face recognition provided in the embodiment of the present application, combined with Figure 1 and 2 The steps shown are explained below:

[0045] Step S201: Based on the near infrared image, liveness detection is performed on the object to be verified to obtain a liveness detection result.

[0046] The near-infrared camera in the binocular module camera collects near-infrared images of the object to be verified, and uses the principle that the imaging characteristics of human face skin and non-human face materials are different to detect the material of the object to be verified, so as to complete the liveness detection of the object to be verified. For example, by detecting key points of the face of the object to be verified in the near-infrared image, it can be determined whether the object to be verified is alive.

[0047] In some possible implementations, when the liveness detection result indicates that the object to be verified is alive, it is determined that the object to be verified passes the liveness detection.

[0048] In a specific example, if the object to be verified is a picture or a mask, then the near-infrared camera can tell that the material of the picture and the mask is different from the skin quality of the human face, and then it is determined that the object to be verified is not a living object, indicating that the object to be verified has not passed the liveness detection. If the object to be verified is a person, then the near-infrared camera can determine that the object to be verified is a living person by analyzing the skin quality of the human face in the collected near-infrared image, which means that the object to be verified has passed the liveness detection and can proceed to the next step of identity recognition.

[0049] Step S202: When the liveness detection result indicates that the object to be verified is alive, the identity of the object to be verified is identified based on the color image and the transaction type.

[0050] After the liveness detection of the object to be verified, if the detection result shows that the object to be verified is alive, then the identity information of the object to be verified will continue to be verified. According to the transaction type of the financial transaction request, determine the preset image library that matches the transaction type, that is, determine whether the preset image library is a local image library or a cloud image library. By extracting features from the color image, based on the extracted facial features, search in the preset image library for a preset image with a high degree of match with the facial features; that is, search in the preset image library for an image with a high degree of similarity to the color image. If an image with a high degree of similarity to the color image can be found in the preset image library, then it is determined that the object to be verified has passed the identity recognition; that is, the identity of the object to be verified is legal and is a customer who has been verified by the financial institution.

[0051] In some possible implementations, when the identification result of the object to be verified indicates that the identity information of the object to be verified is included in a preset image library, it is determined that the object to be verified has passed the identity identification and is determined to be a customer of a financial institution.

[0052] The preset image library is used to store verified color images containing facial information of verified financial institution customers, and the verified color images carry the identity information of verified financial institution customers. If a preset image matching the object to be verified is found in the preset image library, it means that the identity information of the object to be verified is included in the preset image library, that is, the object to be verified is a customer who has been verified legally, so the object to be verified is determined to be a financial institution customer. If a preset image matching the object to be verified is not found in the preset image library, it means that the identity information of the object to be verified is not included in the preset image library, that is, the object to be verified is not a customer who has been verified legally, and the object to be verified can be verified twice, and the verification method can also be changed, for example, to manual verification, password verification or mobile phone text message verification, etc., and feedback to the client reminder information that the identity recognition failed.

[0053] In a specific example, the financial business processing device is an ATM machine, for example, the ATM machine has a binocular module camera, if the binocular module camera includes: a near-infrared camera and an RGB camera. After the near-infrared camera in the binocular module camera performs liveness detection on the object to be verified, the RGB image of the object to be verified is collected based on the RGB camera, and the identity information of the object to be verified is identified based on the extracted features by extracting features from the RGB image. The preset image library of the ATM machine is the facial images of customers who have been verified by the bank to which the ATM machine belongs, and these facial images are bound to the identity information of the verified customers. The facial image can be a full-body image including the face of the verified customer, or it can be an image including only the face of the verified customer, etc. By searching for an image with a high degree of similarity to the facial image of the object to be verified in such a preset image library, the identity verification of the object to be verified is realized.

[0054] The above steps S201 and S202 provide a method for implementing "performing liveness detection and identity recognition on the object to be verified based on the facial image and the transaction type of the financial transaction processing request". In this method, a camera with a binocular module is used to capture images of the object to be verified. After the object to be verified passes the liveness detection, the identity information of the object to be verified is verified, which can ensure that the object to be verified is alive, thereby reducing the phenomenon of stealing other people's money by using videos, pictures or masks.

[0055] If the object to be verified fails the first liveness detection, a second liveness detection is performed on the object to be verified to improve the accuracy of the liveness detection, which can be achieved through the following process:

[0056] The first step is to determine the facial state of the object to be authenticated when the liveness detection result indicates that the object to be authenticated is not live.

[0057] If the liveness detection result shows that the object to be verified is not a live object, the facial state of the object to be verified is analyzed; the facial state includes: the clarity state and the occlusion state of the facial area of ​​the object to be verified; if the facial clarity of the object to be verified is insufficient, the object to be verified will not pass the liveness detection, or, if the face of the object to be verified is occluded, the object to be verified will not pass the liveness detection, or, if the object to be verified is someone else's ID card held by someone who steals other people's money, then the customer on the ID card cannot pass the liveness detection. For example, the object to be verified is a person who steals other people's money and uses the customer's ID card to withdraw money. The face image on the ID card is collected, then the liveness detection result is that the object to be verified is not a live object. In this case, based on the current facial state of the object to be verified, a prompt message is output. In some possible implementations, if the object to be verified is a live object but the face is blocked, then the object to be verified is prompted to remove the occlusion; if the object to be verified is not a live object (such as a picture), then a live object is prompted for verification. To improve the accuracy of liveness detection, the image to be verified is subjected to secondary detection. Liveness detection can be performed again based on the acquired near-infrared image, or the near-infrared image of the object to be verified can be re-collected and liveness detection can be performed using the second-collected near-infrared image.

[0058] In a specific example, if the object to be verified is a bank customer, but because the customer is wearing a mask, the first liveness detection will fail, and a prompt message will be output to prompt the customer to take off the mask, and a secondary near-infrared image will be collected. Finally, the liveness detection of the customer is performed through the secondary near-infrared image.

[0059] The second step is to generate and output adjustment prompt information based on the facial state to prompt the object to be verified to adjust the facial state to obtain the adjusted facial state.

[0060] By analyzing the current facial state, prompt information is generated and output to prompt the object to adjust the facial state, thereby obtaining an adjusted facial state. For example, if the current facial state is in an occluded state, by determining the occlusion position, prompt information is output to prompt the object to be verified to adjust the occlusion position, that is, to remove the occlusion, thereby obtaining an unoccluded facial state, that is, an adjusted facial state.

[0061] In the third step, a target near-infrared image matching the adjusted facial state is determined.

[0062] The target near-infrared image that matches the adjusted facial state can be a near-infrared image collected during the first liveness detection, or a re-collected near-infrared image. In some possible implementations, after determining the facial state of the object to be verified, a prompt message is generated and output to prompt the object to be verified to adjust the current facial state. In a specific example, if the object to be verified is a customer's identification document, then after the first liveness detection, the object to be verified fails the liveness detection; a prompt message is output on the display interface; since the customer's facial state display on the identification document will not change, a second liveness detection is continued based on the last collected near-infrared image to obtain an updated liveness detection result.

[0063] If it is detected that the facial state of the object to be verified has changed, a second near-infrared image acquisition is performed, and the re-acquired near-infrared image is used as the target near-infrared image. If no change in the facial state of the object to be verified is detected, the object to be verified is not acquired for a second time, and the near-infrared image that has been acquired is used as the target near-infrared image. In a specific example, if the object to be verified is the customer himself, but the face is blocked or the image acquired during the first near-infrared image acquisition is not clear enough, then after the first liveness detection, the object to be verified fails the liveness detection; a prompt message is displayed on the display interface or a prompt message is output to the client of the object to be verified; if it is detected that the object to be verified has adjusted its facial state (for example, removing the blockage), then the near-infrared image acquisition is performed again on the object to be verified, and based on the re-acquired near-infrared image, the object to be verified is subjected to liveness detection to obtain an updated liveness detection result.

[0064] The fourth step is to perform liveness detection on the object to be verified based on the target near-infrared image to obtain an updated liveness detection result.

[0065] When it is detected that the object to be verified has adjusted its facial state, a near-infrared image of the adjusted facial state, i.e., a target near-infrared image, is collected again. By analyzing the target near-infrared image, a secondary liveness detection is performed on the object to be verified, thereby obtaining an updated liveness detection result.

[0066] Step 5: When the updated liveness detection result indicates that the object to be verified is not alive, verification failure information is generated and output.

[0067] After performing a secondary liveness detection on the image to be verified based on the target near-infrared image, if the secondary liveness detection still fails, it is determined that the authentication of the object to be verified has failed, and verification failure information is generated and output. The verification failure information can be output on the display interface of the financial business processing device or sent to the client; if the object to be verified logs in to the financial business processing device by means of a bank card and password, the verification failure information is fed back to the client bound to the account. If the account of the object to be verified is not bound to the client, or the object to be verified requests an inter-bank transaction, the verification failure information is displayed on the display interface of the financial business processing device.

[0068] In other embodiments, if the number of times the object to be verified passes the liveness detection at different time points is greater than a preset number threshold (for example, 10 times), then the object to be verified is placed in a blacklist, and the next time the object to be verified appears, the financial service processing device outputs an alarm message to alert the financial institution manager that an abnormal person has appeared. Alternatively, if the behavior of the object to be verified is abnormal, such as looking around or staring at and following a customer who is withdrawing money, it means that the object to be verified may pose a danger to others, and a color image of the abnormal person is placed in a blacklist image library, and the next time the object to be verified appears, the financial service processing device outputs an alarm message to alert the financial institution manager that an abnormal person has appeared. In this way, by identifying abnormal persons, the security of financial institutions can be effectively improved.

[0069] Step 6: When the updated liveness detection result indicates that the object to be verified is not alive, a risk object associated with the object to be verified is determined, and a color image of the risk object is obtained.

[0070] If the object to be verified fails the second liveness test, it means that the probability that the object to be verified is not alive is large enough, and it is very likely that the object has stolen other people's financial accounts or magnetic cards. It is determined that the object to be verified has failed the liveness test, which further indicates that the object to be verified is risky. There are two types of risk objects associated with the object to be verified: one is the object to be verified itself, and the other is the living object closest to the object to be verified, such as a person holding a photo of the object to be verified. Based on this, a color image of the risk object is re-collected, or a clearer image is selected from the collected color images of the object to be verified.

[0071] In a specific example, taking the financial institution as a bank, if the object to be verified is the photo on the ID card, then after the photo on the ID card is captured by the near-infrared camera of the binocular camera module, if the first liveness detection fails, a prompt message is output to prompt the person holding the ID card to perform face detection; but if a second liveness detection is performed after the prompt, and the captured near-infrared image is still the photo on the ID card, then it means that the identity information of the person holding the ID card is likely to be different from the identity information on the ID card, that is, the ID card of another person has been stolen, which further means that the ID card has been stolen and is no longer safe; in this case, the RGB camera of the binocular camera module is used to capture the RGB image of the photo on the ID card to obtain an RGB image.

[0072] In other embodiments, when the updated liveness detection result indicates that the object to be verified is not live, first, determine the live objects whose distance from the object to be verified is less than a preset distance; for example, by collecting surrounding images, determine the live objects whose distance from the object to be verified is less than a preset distance. Then, obtain the color image of the live object, and search the preset blacklist image library for a blacklist image whose similarity with the color image of the live object is greater than or equal to the similarity threshold; if the blacklist image can be found in the preset blacklist image library, generate and output transaction risk warning information. For example, another camera of the financial business processing device can be started to collect the RGB image of the person holding the ID card.

[0073] In some possible implementations, risk objects are identified by performing liveness detection on other body parts of the object to be verified. This can be achieved in the following two ways:

[0074] Method 1: First, when the updated liveness detection result indicates that the object to be verified is not alive, motion prompt information is output to prompt the object to be verified to move other body parts except the face.

[0075] If the second liveness detection of the face of the person to be verified by near-infrared image fails, then the display interface of the financial business processing device will output motion prompt information to prompt the person to be verified to move other body parts besides the face. The motion prompt information includes prompting the person to be verified to move specific body parts. For example, the motion prompt information is "please twist your waist", "please stretch your arms" or "please step on the spot".

[0076] Then, in response to detecting the motion information of other body parts, it is determined that the object to be authenticated is a risk object.

[0077] By detecting other body parts of the object to be verified, if it is detected that other body parts of the object to be verified can move, it means that the object to be verified is at least an object that can interact with the financial business processing device (for example, a living object or a robot). Regardless of whether the interactive object is a robot or a living object, since the secondary liveness detection has not passed, the interactive object is determined to be a risky object, that is, the object to be verified is determined to be a risky object. In some possible implementations, it can be determined whether the object to be verified is a robot or a living object by determining whether the facial state is the same as the adjusted facial state; if the facial state is different from the adjusted facial state, it means that the object to be verified has adjusted its facial state based on the failure of the first liveness detection, but still fails, then it means that the object to be verified is not a living object; but the object to be verified can interact with the financial business processing device, which means that the object to be verified may be a robot. If the facial state is the same as the adjusted facial state, it means that the object to be verified did not adjust the facial state based on the failure of the first liveness detection, but the object to be verified can interact with the financial business processing device, which means that the object to be verified deliberately did not adjust the facial state, then it means that the object to be verified may be a living object.

[0078] Method 2: First, when the updated liveness detection result indicates that the object to be verified is not alive, output motion prompt information to prompt the object to be verified to move other body parts except the face.

[0079] Then, in response to not detecting the motion information of other body parts, a living object whose distance to the object to be verified is less than a preset distance is determined, and the living object and the object to be verified are determined as risk objects.

[0080] By detecting other body parts of the object to be verified, if no movement of other body parts of the object to be verified is detected, it means that the object to be verified is an object that cannot interact with the financial business processing device, that is, the object to be verified is indeed a non-living object. Then the object to be verified may be a photo or ID card held by other living objects. In this case, not only does it mean that the object to be verified poses a risk to the financial institution, but the person holding the photo of the object to be verified poses a greater risk to the financial institution, so both the living object and the object to be verified are determined to be risk objects. In a specific example, if the object to be verified is a photo on an ID card, it means that the ID card has been stolen by others or lost and picked up by others, and the ID card and the person holding the ID card both pose risks to the financial institution; so in order to improve the security of the financial institution, the photo on the ID card and the person holding the ID card are both considered risk objects.

[0081] In the seventh step, a target blacklist image whose similarity with the color image of the risk object is greater than or equal to a similarity threshold is searched in the preset blacklist image library.

[0082] The preset blacklist image library is used to store color images of risk objects that have failed the liveness detection. After obtaining the color image of the object to be verified, a blacklist image with a high similarity, that is, a target blacklist image, is searched in the preset blacklist image library. In some possible implementations, if the risk object is the object to be verified itself, then a blacklist image with a high similarity to the color image of the object to be verified is searched in the preset blacklist image library. If the risk object is a living object that is closest to the object to be verified, then a blacklist image with a high similarity to the color image of the living object is searched in the preset blacklist image library.

[0083] In the eighth step, in response to finding the target blacklist image in the preset blacklist image library, generating and outputting transaction risk warning information.

[0084] If the target blacklist image is found in the preset blacklist image library, it means that the risk object is an object that has appeared before, that is, the risk object appears at least for the second time, and a transaction risk warning message is generated and output. The transaction risk warning message is used to remind the financial institution management personnel that an abnormal person has appeared, and can be output in the form of voice or alarm.

[0085] In step 9, in response to not finding the target blacklist image in the preset blacklist image library, a color backup image of the object to be verified with a clarity greater than or equal to a preset clarity threshold is obtained.

[0086] If the target blacklist image is not found in the preset blacklist image library, it means that the risk object is an object that has never appeared. For such a risk object that has never appeared, if the risk object is the object to be verified itself, then select a relatively clear image from the collected color images of the object to be verified as the color backup image of the risk object. If the risk object is a living object holding a photo of the object to be verified, then collect a color image of the living object as the color backup image of the risk object; for example, collect an RGB image of the living object as the color backup image.

[0087] Step 10: Store the color backup image in the preset blacklist image library to obtain an updated blacklist image library.

[0088] After the color backup image of the risk object is obtained, the color backup image is stored in a preset blacklist image library, thereby updating the blacklist image library.

[0089] In an embodiment of the present application, in the case where the secondary liveness detection fails, the object to be verified and / or the person holding the object to be verified are both regarded as risk objects, and based on the risk objects that fail the secondary liveness detection, the blacklist image library is updated, thereby obtaining a rich blacklist image library.

[0090] In some embodiments, if it is determined that the object to be verified is a living object, a color image with a larger definition is selected from multiple color images, and a face comparison is performed with an image in a preset image library, that is, step S202 can be implemented by the following process:

[0091] Step S221: when the liveness detection result indicates that the object to be authenticated is live, determine the transaction type of the financial transaction processing request.

[0092] If the object to be verified is alive, it means that the object requesting the service is not a photo or ID card stolen by others, etc., and for the received financial transaction processing request, the transaction type of the financial transaction processing request is determined, that is, whether the service requested by the financial transaction processing request is a transaction within the financial institution or a cross-financial institution service, so as to select a preset image library that matches the transaction type to perform identity recognition on the object to be verified.

[0093] Step S222: Determine, in at least two frames of color images, a first target color image whose clarity is greater than or equal to a clarity threshold.

[0094] The color image is a multi-frame image, for example, the color image is a video of the object to be verified collected by a binocular module camera. If the object to be verified logs into the financial service processing device by using an account and password, it means that the object to be verified is a customer who has registered with the financial institution, then one or more frames of color images with higher definition are selected from the collected video, i.e., the first target color image.

[0095] In a specific example, taking the financial institution as a bank and the financial business processing device as an ATM machine equipped with a binocular camera as an example (Example 3), for an ordinary customer who requests business services in front of the ATM machine, a video of the customer is obtained through the binocular camera. If the customer is a user who has already registered with the bank, then in the captured video, one frame (two frames or three frames, etc.) of RGB image with higher definition is selected and uploaded to the ATM machine backend server, so that the backend server can identify the customer based on the uploaded RGB image.

[0096] Step S223, extracting features from the first target color image to obtain target facial features of the object to be verified.

[0097] A convolutional neural network is used to extract features from the first target color image to extract the facial features of the object to be verified contained in the image, that is, to obtain the target facial features. In Example 3, feature extraction is performed on one or more frames of high-definition RGB images selected from the collected video to obtain the facial features of the customer, that is, the target facial features. In this way, by extracting features from high-definition color images to identify the identity of the customer, the accuracy of the extracted facial features and the accuracy of identity recognition can be improved.

[0098] Step S224: Based on the target facial features and the transaction type, the identity of the object to be verified is identified.

[0099] According to the transaction type, determine whether to use the cloud image library or the local image library to identify the target facial features. That is, if the transaction type is a transaction within this financial institution, then the local image library is used to identify the target facial features; if the transaction type is a cross-financial institution transaction, then the cloud image library is used to identify the target facial features. Extract the target facial features from a high-definition color image, and search for a preset image with a high similarity in the preset image library for the target facial features. If a preset image with a high similarity can be found, it means that the object to be verified has passed the identity verification, that is, the identity of the object to be verified is legal. In Example 3, by analyzing the facial features of the customer, if the transaction type is a transaction within this financial institution, and a preset image with a high similarity to the facial features of the customer can be found in the local image library, it means that the customer has passed the identity verification, and the information of successful identity recognition is displayed on the display interface of the ATM machine, and the identity recognition is displayed on the display interface, or the identity recognition is sent to the client.

[0100] In another example, taking the financial service processing device as a number-taking machine of a financial institution with a binocular camera module (for example, a number-taking machine of a securities institution or a number-taking machine of a bank, etc.), the transaction type is obviously a transaction of the bank. By analyzing the facial features of the customer in front of the number-taking machine, if a preset image with a high degree of similarity to the facial features of the customer can be found in the local image library, it means that the customer has passed the identity verification, and the information of successful number-taking is displayed on the display interface of the number-taking machine, and the ticket information taken is displayed on the display interface, or the ticket information is sent to the client bound to the customer's account.

[0101] In some possible implementations, step S224 may be implemented by the following process:

[0102] First, identify a preset library of images that matches the transaction type.

[0103] If the transaction type is a transaction type of this financial institution, then the preset image library that matches the transaction type is the local image library of the financial institution to which the financial transaction processing request belongs. If the financial institution can only provide services within the institution, there is no need to determine the transaction type, and the local image library of the financial institution is used as the preset image library that matches the transaction type. For example, if the financial institution is an insurance company, only the insurance business within the insurance company can be handled within an insurance company, and no business of other insurance companies can be provided. Or, if the financial institution is a securities company, only securities transactions related to securities investment provided by the securities company can be handled within a securities company, and no securities business of other securities companies can be provided.

[0104] If the transaction type is a cross-financial institution transaction, then the preset image library that matches the transaction type is the cloud image library of the financial institution associated with the financial transaction processing request. The financial institution associated with the financial transaction processing request is the financial institution involved in implementing the financial transaction processing request. For example, if the financial institution is a bank, and the financial transaction processing request is issued to Bank A to withdraw money from Bank B, then the financial institutions associated with the financial transaction processing request include Bank A and Bank B.

[0105] Secondly, in a preset image library that matches the transaction type, a first preset image that matches the target facial features is searched.

[0106] Since the preset images in the preset image library are facial images of verified objects, and each facial image of a verified object is bound to the identity information of the object, after feature extraction is performed on the color image with higher definition, according to the extracted target facial features, a preset image matching the transaction type is searched in the preset image library, and the preset image whose bound facial features have a similarity with the target facial features greater than a certain similarity threshold is the first preset image.

[0107] Finally, in response to finding the first preset image in the matching preset image library, it is determined that the object to be authenticated has passed the identity recognition.

[0108] If a preset image with a high degree of similarity to the target facial features can be found in the preset image library that matches the transaction type, that is, the first preset image is not found in the preset image library, then it means that the object to be verified is a verified object, and further indicates that the identity of the object to be verified is legal, that is, it has passed the identity verification.

[0109] In other embodiments, after the object to be verified passes the identity recognition, the identification success information is generated and output, and the information is presented on the display interface of the financial business processing device and sent to the client so that the object to be verified can view it in time. And based on the current business handling stage of the object to be verified, the next stage of pending execution information is output. Among them, the pending execution information can be understood as prompt information or operation instruction information that prompts the next operation to be performed at the current stage.

[0110] In a specific example, taking the financial business processing device as a bank's number-taking machine as an example, if the object to be verified is an ordinary customer conducting business in front of an ATM, then after the identity verification is passed, the identity recognition success information is displayed on the display interface of the ATM; since the current stage is the number-taking stage, then after the identity verification is passed, a success interface is displayed on the display interface, or the taken ticket information is sent to the client so that the customer can queue up based on the ticket information.

[0111] In the embodiment of the present application, identity recognition is performed on verified objects, which can reduce the phenomenon of stealing the identity information of the verified objects, thereby improving the information security of users.

[0112] In some embodiments, if it is determined that the object to be verified is an unverified object, a secondary identity recognition is performed on the object to be verified, which can be achieved in the following two ways:

[0113] Method 1: Select a second target color image with a higher definition than the first target color image from multiple color image frames, and perform a secondary face comparison with the image in the preset image library to perform secondary identity recognition. The process is as follows:

[0114] In the first step, in response to not finding the first preset image in the preset image library matching the transaction type, a second target color image having a definition greater than the first target color image is determined in at least two frames of color images.

[0115] If the first preset image that matches the target facial features is not found in the preset image library, it means that the facial image bound to the account logged in by the object to be verified does not match the facial image of the object to be verified. For example, the object to be verified uses another person's account to log in or steals another person's magnetic card. It is also possible that the clarity of the first target color image is not enough, resulting in the inability to match the preset image with a higher similarity. Therefore, in order to improve the accuracy of identity verification, a frame of color image with higher clarity is reselected from the multiple frames of color images as the image to be compared, that is, the second target color image. In some possible implementations, the clarity of the second target color image is greater than that of the first target color image, or the color image with the highest clarity among the multiple frames of color images is used as the second target color image.

[0116] The second step is to extract features from the second target color image to obtain updated facial features of the object to be verified.

[0117] A convolutional neural network is used to extract features from the second target color image with higher definition, so as to extract the facial features of the object to be verified contained in the image, that is, to obtain the target facial features. In Example 3, a frame of RGB image with the highest definition is reselected from the collected video as the second target color image, and feature extraction is performed on the second target color image to obtain the facial features of the patient, that is, to update the facial features. In this way, by extracting features from the color image with the highest definition to identify the identity of the object, the accuracy of the extracted facial features can be improved.

[0118] The third step is to search for a second preset image that matches the updated facial features in a matching preset image library.

[0119] After extracting features from the color image with the highest definition, the extracted updated facial features are searched in the preset image library, and a preset image whose bound facial features have a similarity with the updated facial features greater than a certain similarity threshold is obtained, thereby obtaining a second preset image.

[0120] In other embodiments, if the first preset image is already the image with the highest definition among the multiple frames of color images, that is, the second preset image is the same as the first preset image, then secondary identity recognition is performed based on the first preset image.

[0121] In a fourth step, in response to not finding the second preset image in the preset image library, generating and outputting verification failure information.

[0122] If the preset image with a high similarity to the target facial features cannot be found in the preset image library again, that is, the second preset image cannot be found in the preset image library again, then it means that the object to be verified is an unverified object, or the account logged in is not the person's own account, which means that the object to be verified has not passed the identity verification. In the case that both identity verifications fail, the verification failure information is generated and output, which can be presented in the form of text or voice on the display interface of the financial business processing device, or the verification failure information can be sent to the terminal to which the account logged in by the object to be verified belongs to remind the owner of the account that someone has stolen his account. For the object to be verified who fails the second identity recognition, the facial image of the object to be verified can be stored in the blacklist image library. When the object to be verified appears again, an alarm message is issued in time to prompt the financial institution management personnel to take precautions; in this way, the security of the financial institution can be improved.

[0123] In other embodiments, for objects that fail the secondary identity recognition, a prompt message can be output on the display interface of the financial business processing, and the prompt message is information that prompts the object to be verified to change the verification method, for example, prompting the object to be verified to change to a manual verification method to improve the user experience.

[0124] In the embodiment of the present application, if the first identity verification of the object to be verified fails, the object to be verified may be verified again to improve the accuracy of the identity verification of the object to be verified.

[0125] Method 2: Perform secondary identity recognition on the object to be verified by changing the recognition mode. The process is as follows:

[0126] In the first step, in response to not finding the first preset image in the matching preset image library and the first target color image being the color image with the highest definition among at least two frames of color images, at least one other recognition pattern matching the transaction type is determined.

[0127] If the first preset image is not found in the preset image library, and the first target color image is the color image with the highest definition among the multiple frames of color images, that is, it is impossible to find an image with higher definition than the first target color image from the multiple frames of images, at least one other recognition mode matching the transaction type is determined. For example, if the transaction type is a transaction type of the financial institution, then the at least one other recognition mode matching the transaction type includes: SMS verification, dynamic password verification, and manual verification, etc.; if the transaction type is a cross-financial institution transaction type, then the at least one other recognition mode matching the transaction type includes: ID card verification and account password verification of the financial institution associated with the financial service processing request, etc.

[0128] The second step is to identify the identity of the object to be verified based on other recognition modes.

[0129] From the multiple other recognition modes, one recognition mode is selected to perform identity recognition on the object to be verified. Alternatively, the object to be verified selects one other recognition mode by itself, and the identity of the object to be verified is recognized based on the other recognition mode selected by the object to be verified.

[0130] In a specific example, if the transaction type is a transaction with this financial institution, the dynamic password method can be selected to identify the identity of the object to be verified, that is, the financial institution sends the dynamic password to the terminal bound to the account logged in by the object to be verified. If the object to be verified can provide the dynamic password, it is determined that the identity of the object to be verified has been identified.

[0131] In the above steps 1 and 2, by providing the object to be verified with a plurality of other recognition modes matching the transaction type, identity recognition of the object to be verified that is not included in the preset image library can be achieved, thereby improving the extensiveness of the embodiments of the present application.

[0132] The third step is to determine that the object to be verified is a new customer of the financial institution to which the financial transaction processing request belongs, when the object to be verified passes identity recognition in other recognition modes.

[0133] If the object to be verified passes the identity recognition of other recognition modes, it means that the identity information of the object to be verified is legal, but because it is not included in the preset image library, that is, it has never been verified, it means that the object to be verified is a new customer of the financial institution to which the financial transaction processing request belongs.

[0134] In a specific example (Example 4), the financial institution is a bank, and the financial transaction processing request is a number-taking request. By collecting a video of the customer taking the number, a clearest color image is selected from the video for identity recognition. If the identity recognition fails, the customer can be advised to undergo manual verification. After the manual verification of the customer, if the customer's identity information is legal, a new card can be issued for the customer at the bank, that is, a new account can be registered.

[0135] The fourth step is to bind the new customer's identity information with the new customer's financial account to obtain a binding result.

[0136] The financial account is the account of the new customer in the financial institution to which it belongs. The identity information of the new customer is bound to the newly registered account in the financial institution to obtain a binding result. In Example 4, a new account is opened for the number-picking customer, and the new account is bound to the identity information of the number-picking customer to obtain a binding result.

[0137] The fifth step is to determine the correspondence between the binding result and the color image of the new customer.

[0138] After binding the identity information and registration information of the object to be verified who is performing the first registration, a corresponding relationship between the binding result and the collected color image of the object to be verified is established. In some possible implementations, a full-body image of the object to be verified can be collected by an RGB camera, and the full-body image is used as a color image to establish a corresponding relationship with the binding result. Alternatively, an image of the object to be verified that only includes the face area can be collected by an RGB camera as a color image to establish a corresponding relationship with the binding result.

[0139] Step 6: According to the corresponding relationship, the binding result and the color image of the new customer are stored in a preset image library to obtain an updated preset image library.

[0140] According to the correspondence between the established binding result and the color image of the object to be verified, the binding result and the corresponding color image are stored in the preset image library, so that the preset image library can be updated. In a specific example, the color image is a full-body image of the collected image to be verified. Then, according to the correspondence between the full-body image and the binding result, the full-body image and the binding result are stored in the preset image library to obtain an updated preset image library. In this way, the efficiency of identity recognition can be improved when the object requests financial services next time, so as to simplify the financial service process and facilitate the operation of financial institution customers.

[0141] In the above steps 3 to 6, if the object to be verified passes the identity recognition of other recognition modes, it means that the object to be verified is a new customer of the financial institution to which the financial transaction processing request belongs. By binding the account and identity information of the new customer to update the preset image library, the richness of the preset image library can be improved.

[0142] In some embodiments, after the liveness detection and identity recognition of the object to be verified, the identity information of the customer is analyzed and the financial business to be processed is processed according to the processing method matching the identity information, that is, step S103 can be implemented by the following steps:

[0143] Step S131: when the object to be authenticated passes the liveness detection and identity recognition, it is determined that the object to be authenticated is a financial institution customer of the financial institution to which the financial transaction processing request belongs.

[0144] By using the near-infrared image collected by the binocular camera, it is determined whether the object to be verified is alive; if the object to be verified is alive, it means that the object to be verified has passed the liveness detection, then the identity of the object to be verified is identified based on the collected color image, and it is determined whether the identity information of the object to be verified is included in the preset image library, which is used to store the verified objects and the face images of the objects, that is, to store the face images carrying the identity information of the verified objects. If the identity information of the object to be verified is included in the preset image library, it means that the object to be verified is an object that has been verified, for example, a customer who has registered with this financial institution or a customer who has been successfully verified based on the identity information and face image. In this way, the object to be verified is determined to be a customer of the financial institution, and the real-name service of one person and one account is realized.

[0145] Step S132, based on the identity information of the financial institution customer, the pending financial business corresponding to the business processing request is processed to obtain a processing result.

[0146] The identity information of a financial institution customer includes at least: the name, identity identifier (such as ID number or passport, etc.) and home address of the financial institution customer. By analyzing the identity information of the financial institution customer, the account information of the customer in the financial institution, such as account level and account amount, etc., can be determined. Based on the account information, different processing modes can be set for the customer. For financial institution customers with different identity information, the processing mode corresponding to the identity information is matched for the customer, and the processing mode corresponding to the identity information is used to process the financial service on behalf of the customer to obtain the processing result. In a specific example, taking the financial institution as a bank as an example, based on the identity information of the customer, different processing modes can be opened for the customer. For example, based on the different identity information, the processing modes include: VIP mode and ordinary mode, etc. If the identity information of the customer matches the VIP mode, then the VIP mode is used to process the financial service to be processed; if the identity information of the customer matches the ordinary mode, then the ordinary mode is used to process the financial service to be processed.

[0147] In some possible implementations, step S132 may be implemented by the following process:

[0148] First, based on the identity information of the financial institution customer, the account level of the account belonging to the financial institution customer is determined.

[0149] Each preset image in the preset image library carries the identity information of an object that has been verified, and the object that has been verified is the object included in the preset image screen. In this way, after finding the first preset image in the preset image library, the identity information of the object included in the first preset image can be obtained, and this identity information is determined as the identity information of the financial institution customer. The identity information of the financial institution customer corresponds to the account level, that is, different customers may correspond to different account levels; the customer's identity information is bound to the customer's account information, and the account information at least includes: account number, deposit amount (including fixed-term and forward deposits), financial management items, consumption amount, money market funds, account usage time, credit card deposits, provident fund deposits, treasury bonds, insurance, gold (including paper gold, physical gold, brand gold), etc. and loan amount, etc.; among which, financial management items at least include: bank financial management, insurance business and securities investment, etc. Based on the customer's account information, the account level is divided for the customer.

[0150] In a specific example, taking the financial institution as a bank as an example, according to the account information bound to the identity information of the financial institution customer, the account level is divided into ordinary customer level, financial management customer level, wealth management customer level and private banking customer level, etc. For example, if the customer is a customer who has registered an account with the bank, but the account information does not include the bank's financial products, and the deposit amount in the account is less than a certain amount threshold (for example, less than 200,000), and the credit card consumption amount of the account within a certain period of time is less than another amount threshold (for example, less than 100,000), etc., then the customer is determined to be an ordinary customer level.

[0151] If the customer's average daily financial assets in the Bank reach a preset threshold amount (for example, RMB 180,000), or the accumulated spending in the first six months of using the Bank's credit card reaches another threshold amount (for example, RMB 80,000); where the spending statistics do not include large-value card purchases of more than RMB 80,000 for one-time amounts such as house purchases, car purchases, and renovations, and spending at zero-deduction merchants; or the month-end balance of various personal loans handled at the Bank reaches another threshold amount (for example, RMB 400,000); such customers will be identified as wealth management customers.

[0152] If the customer's average monthly daily balance of financial assets in the bank reaches another amount threshold (for example, RMB 900,000), such customer will be identified as a wealth management customer.

[0153] If the customer's average monthly daily balance of financial assets in the bank reaches another amount threshold (for example, 5 million), such customer will be identified as a private banking customer.

[0154] In another specific example, the customer is divided into different levels according to the financial assets (including short-term assets and medium- and long-term assets), personal liabilities (including personal housing mortgage loans, other personal loans and card overdrafts, etc.) and intermediary businesses (including investment and financial management transactions, card consumption transactions and settlement transactions, etc.) in the customer's account information; among them, the higher the financial assets and personal liabilities, and the more intermediary businesses handled, the higher the customer's level.

[0155] Then, determine the target processing model that matches the account level, and based on the target processing model, process the financial business to be processed to obtain the processing result.

[0156] Determine different target processing modes for different account levels. For example, set the waiting time for the user according to the customer's level; if the customer is at the highest level (for example, a private banking customer), then no matter how many other customers are in front of the customer, there is no need to wait, and the customer's pending financial services can be processed directly. If the customer is an ordinary customer, then he will queue up according to the normal queue number, and when the waiting time is up, the pending financial services will be processed for the customer. If the customer is a wealth management customer, then he only needs to wait for the private banking customer and wealth management customer to complete their services, and when the waiting time is up, the pending financial services will be processed for the customer. If the customer is a wealth management customer, then he only needs to wait for the private banking customer and wealth management customer to complete their services, and when the waiting time is up, the pending financial services will be processed for the customer.

[0157] In an embodiment of the present application, different processing modes are matched for customers of different account levels, and the customer's pending financial services are processed using such a processing mode that matches the account level, thereby providing customers with different experiences.

[0158] In some embodiments, after the identity of the object to be verified is successfully identified, by analyzing the business type of the financial business to be handled, verification information matching the business type is added on the basis of successful identity identification, that is, step S103 can be implemented by the following steps:

[0159] Step S31, when the object to be authenticated passes the liveness detection and identity recognition, the business type of the financial business to be processed is determined.

[0160] After using a binocular camera to perform liveness detection and identity recognition on the object to be verified, if the object to be verified passes the liveness detection and identity recognition, then the object to be verified is determined to be a customer of a financial institution, and the business type of the financial business to be handled is analyzed; wherein the business type includes: monetary business and non-monetary business, wherein monetary business includes: transfer, deposit and remittance, or non-monetary business includes: account setting, account registration, account name modification, account password modification or business consultation, etc.

[0161] Step S32, determining first verification information matching the business type.

[0162] The first verification information includes: SMS verification, dynamic password verification or manual verification, etc. Different verification information is matched for monetary services and non-monetary services, and the verification information for monetary services is more complex than that for non-monetary services. For the verification information for monetary services, the verification information can be set according to the amount involved. For example, the larger the amount involved, the more verification information is set; in a specific example, if the amount involved is greater than the first amount threshold (for example, greater than 100,000), SMS verification needs to be matched; if the amount involved is greater than the first amount threshold and less than the second amount threshold (300,000), dynamic password verification is used; if the amount involved is greater than the second amount threshold, manual verification is used to further improve the security of customer identity information.

[0163] In other embodiments, the first verification information may not be set for non-monetary services; for example, the first verification information may not be set for services such as account modification, registration, or account password modification, that is, after the customer passes the liveness detection and identity recognition, the customer's pending financial services can be processed.

[0164] Step S33, in response to the object to be verified satisfying the first verification information, the pending financial business corresponding to the financial transaction processing request is processed to obtain a processing result.

[0165] If the object to be verified passes the verification items set in the first verification information, it means that the identity information of the object to be verified is safe, so the processing method is matched based on the identity information of the object to be verified, and the processing method is used to process the financial business to obtain a processing result.

[0166] In an embodiment of the present application, after the identity of the object to be verified is successfully identified, by analyzing the business type of the financial business to be processed, verification information matching the business type is added on the basis of the successful identity identification, and the verification information is used to perform further identity verification on the object to be verified after the successful identity identification, so as to improve the security performance of the transaction.

[0167] In some embodiments, after the identity of the object to be verified is successfully identified, by analyzing the business security level of the financial business to be handled, verification information matching the business type is added on the basis of successful identity identification, and the verification information is used to further verify the identity of the object to be verified after the identity identification is successful, so as to improve the security performance of the transaction, that is, step S103 can be implemented by the following steps:

[0168] Step S34: when the object to be authenticated passes the liveness detection and identity recognition, determine the business security level of the financial business to be processed.

[0169] After using a binocular camera to perform liveness detection and identity recognition on the object to be verified, if the object to be verified passes the liveness detection and identity recognition, then the object to be verified is determined to be a customer of a financial institution, and the business security level of the pending financial business is analyzed; wherein the business security level is set according to the attribute information of the pending financial business, wherein the attribute information of the pending financial business includes the risk control requirements set based on the business, and the amount involved in the business, etc. The higher the amount involved in the pending financial business, the higher the business security level.

[0170] Step S35, determining second verification information that matches the service security level.

[0171] Different verification information is matched for different business security levels. The higher the business security level, the more complex the second verification information is matched; wherein the second verification information is the same as or different from the first verification information. In a specific example, taking the financial institution as a securities institution as an example, if the financial business to be processed is a securities transaction with large assets, then the second verification information is to verify that the customer is the person who purchased the securities. Taking the financial institution as a bank as an example, if the financial business to be processed is a withdrawal business with a large amount of money, then the customer needs to be manually verified. If the financial business to be processed is a withdrawal business with a small amount of money, then it is necessary to set the second verification information as a text message verification code verification.

[0172] In some possible implementations, the second verification information is generated by analyzing the risk control requirements of the financial business to be processed, that is, step S35 can be implemented by the following steps:

[0173] The first step is to determine the risk control requirements for the financial business to be handled based on the business security level.

[0174] The risk control requirements of the financial business to be handled include: the risk probability of the return of the financial business to be handled. For each business security level, different risk control requirements are set. The higher the business security level, the higher the risk control requirement. For example, for a higher business security level, a higher risk control requirement is set, that is, the risk probability of return below a certain probability threshold is set. For a lower business security level, the risk probability of return above a certain probability threshold is set. In other embodiments, the risk control requirements can also be set based on the attributes of the financial business to be handled. For example, some high-risk financial products or securities businesses are set.

[0175] The second step is to generate the second verification information based on risk control requirements.

[0176] After setting the risk control requirements for the financial business to be processed, the second verification information can be set based on the level of the risk control requirements. For example, the higher the risk control requirements, the more complex the second verification information is.

[0177] Step S36, in response to the object to be verified satisfying the second verification information, the pending financial business corresponding to the financial transaction processing request is processed to obtain a processing result.

[0178] If the object to be verified passes the verification items set in the second verification information, it means that the identity information of the object to be verified is safe, so the processing method is matched based on the identity information of the object to be verified, and the processing method is used to process the financial business to obtain a processing result.

[0179] In an embodiment of the present application, after the identity of the object to be verified is successfully identified, by analyzing the risk control requirements of the financial business to be processed, verification information matching the risk control requirements is added on the basis of successful identity identification, and the verification information is used to perform further identity verification on the object to be verified after successful identity identification, so as to improve the security performance of the transaction.

[0180] Below, an exemplary application of an embodiment of the present application in an actual application scenario will be described, taking an ATM machine that implements face recognition based on a binocular module as an example.

[0181] The binocular camera module consists of a near-infrared camera and an RGB camera. The near-infrared camera uses the principle that the imaging characteristics of human face skin are different from those of non-human face materials to detect the material of the object being photographed, so as to reduce attacks from videos, pictures, masks, and headgear, thereby completing local liveness detection. The RGB camera takes color face pictures, combines them with the grayscale pictures of the near-infrared camera for correlation analysis of imaging, and uploads them to the backend server for feature extraction, 1:1 face comparison, or 1:n identity verification, etc.

[0182] Combining binocular-module-based biometric technology with ATMs and adding identity verification functions such as face recognition and portrait comparison to ATMs can effectively reduce the physical media and password verification processes required when using ATMs, thereby improving accuracy and stability within a larger field of view, thereby forming a safer and more convenient verification method, effectively protecting the legitimate interests of cardholders and the reputation of banks.

[0183] In the related art, when using most ATM devices, a bank card (magnetic stripe card or IC chip card, or a hybrid card with both magnetic stripe and chip functions) is inserted into the card reader of the ATM, and then the business handling password is entered through the password keyboard. The bank backend system returns the corresponding information after verifying the customer information, so as to conduct human-computer interactive transactions. In this way, only using the card and password for transaction identity authentication has defects such as card duplication, card loss, and password theft, and the password verification security and transaction convenience are poor.

[0184] Based on this, the embodiment of the present application provides a financial business processing method based on face recognition, in which when a user uses an ATM machine to conduct inquiries, account transactions and account setting transactions, the binocular module camera integrated in the ATM machine is used to collect images or video streams containing faces, and automatically detect and track faces in the image, and extract the detected face data to the local or upload it to the cloud to achieve identity verification processing such as liveness detection, 1:1 face comparison or face recognition, thereby supplementing or replacing the identity verification and password verification operations of ATM transactions. In this way, in the embodiment of the present application, the ATM machine identity verification system based on the binocular stereo camera module takes face recognition and deep learning algorithms as the technical basis, integrates security chips to enhance payment reliability, thereby improving verification efficiency; through services such as face detection, face comparison and liveness detection, it can improve higher accuracy and stability in a larger field of view, thereby forming a set of safer and more convenient verification methods, effectively protecting the legitimate interests of cardholders and the reputation of banks.

[0185] The process of processing dynamic account business for ATM machines with integrated binocular modules is as follows:

[0186] The first step is to take the customer himself handling the business as an example and enter the identity verification process according to the bank's password verification transaction strategy.

[0187] The methods of verifying the identity of customers include: verifying with bank card passwords, verifying with mobile phone text messages, performing liveness detection and face comparison on customers, etc. For different account-based businesses, banks and customers can combine different identity verification methods based on a variety of strategies.

[0188] The second step is to conduct liveness detection and face recognition on customers during the identity verification step.

[0189] The process of liveness detection for customers includes:

[0190] First, the binocular camera captures customer video.

[0191] Secondly, facial key point detection is performed in the local database to achieve liveness detection; if the liveness detection fails, a secondary liveness detection is performed; if the secondary liveness detection fails, the transaction is exited. At the same time as the transaction is exited, the transaction risk information is recorded.

[0192] Again, if the liveness detection is successful, face comparison is performed.

[0193] The process of facial recognition for customers includes:

[0194] First, select the clearest frame from the images captured by the binocular camera and upload it to the bank server.

[0195] Secondly, the bank server extracts feature values ​​from the uploaded images.

[0196] Again, depending on the transaction type, the feature value information is compared with the identity document images stored in different databases.

[0197] If the transaction type is a bank transaction, the feature value information is compared with the ID card image stored in the local database. If the transaction type is an inter-bank transaction, the feature value information is compared with the ID card image stored in the cloud database.

[0198] Again, if the comparison is successful, determine whether there is a next step of verification based on the characteristics of the business being processed; if there is a next step of verification, then conduct the next step of verification; if there is no next step of verification, return the verification pass information.

[0199] Finally, if the comparison fails, enter the SMS verification code authentication mode. If the SMS verification code authentication fails, it returns identity verification failure and exits the transaction.

[0200] The process of liveness detection and 1:n face matching is as follows Figure 3 As shown, Figure 3 A schematic diagram of the implementation flow of the financial business processing method based on face recognition provided in the embodiment of the present application, combined with Figure 3 The following instructions are given:

[0201] Step S301, enter identity verification.

[0202] Receive the identity verification request and enter the identity verification interface.

[0203] Step S302: video shooting.

[0204] Referring to the method described in step S101 above, a desktop personnel identity verification terminal can be used to shoot a video of the user to collect a face image for user identity recognition. For example, a binocular camera can be used to capture the user video.

[0205] Step S303: liveness detection.

[0206] Based on the collected user video, facial key point detection and liveness detection are performed. If the detection is successful, based on the type of transaction being processed, the feature values ​​of the image are uploaded to different databases for face comparison to enter local face comparison or cloud face comparison.

[0207] Step S304: local face comparison; or, cloud face comparison.

[0208] Step S305, completing identity verification.

[0209] Step S306, exit the transaction.

[0210] like Figure 4 As shown, Figure 4 The schematic diagram of the application scenario of the financial business processing method based on face recognition provided in the embodiment of the present application, wherein the ATM machine 401 is an ATM machine with a binocular camera, and the binocular camera is used to collect the user video of the object to be verified 402, and perform face key point detection and liveness detection. If the detection is successful, the clearest frame of the picture is selected from the user video, uploaded to the bank's backend server, and compared with the user identity information in the backend picture. Figure 4 As shown, the face image 403 displayed on the display interface of the ATM machine 401 is compared with the user identity information stored in the database to realize the identity recognition of the object to be verified 402.

[0211] In the embodiments of the present application, in the financial transaction process, different levels of password verification and identity verification processes can be combined and configured according to business risk control needs, thereby reducing the customer's use of physical media and simplifying the operating process. In addition, the liveness recognition function provided by the binocular camera module can effectively reduce image attacks, has high anti-counterfeiting properties, and is difficult to tamper with and copy; thereby, it can improve account information and data security, simplify operating steps, and improve transaction efficiency.

[0212] The present application embodiment provides a financial service processing device based on face recognition, Figure 5 FIG. 1 is a schematic diagram of the structure of a financial service processing device based on face recognition according to an embodiment of the present application. Figure 5 As shown, the financial service processing device 500 based on face recognition includes:

[0213] A first acquisition module 501 is used to obtain a face image of a subject to be verified including the screen content in response to a received financial transaction processing request;

[0214] A first identification module 502, configured to perform liveness detection and identity recognition on the object to be verified based on the facial image and the transaction type of the financial transaction processing request;

[0215] The first processing module 503 is used to process the pending financial business corresponding to the financial transaction processing request to obtain a processing result when the object to be authenticated passes the liveness detection and identity recognition.

[0216] In the above-mentioned device, the first acquisition module 501 includes: a first acquisition submodule, used to acquire a near-infrared image of the object to be verified and a color image of the object to be verified, both of which are captured at the same time; and a first determination submodule, used to use the near-infrared image and the color image as the face image.

[0217] In the above-mentioned device, the first recognition module 502 includes: a first liveness detection submodule, which is used to perform liveness detection on the object to be verified based on the near-infrared image of the object to be verified to obtain a liveness detection result; and a first recognition submodule, which is used to perform identity recognition on the object to be verified based on the color image and the transaction type when the liveness detection result indicates that the object to be verified is alive.

[0218] In the above-mentioned device, the device also includes: a first determination module, which is used to determine the facial state of the object to be verified when the liveness detection result indicates that the object to be verified is not alive; a first generation module, which is used to generate and output a first prompt information based on the facial state to prompt the object to be verified to adjust the facial state and obtain an adjusted facial state; a second determination module, which is used to determine a target near-infrared image that matches the adjusted facial state; a first liveness detection module, which is used to perform liveness detection on the object to be verified based on the target near-infrared image to obtain an updated liveness detection result; and a second generation module, which is used to generate and output verification failure information when the updated liveness detection result indicates that the object to be verified is not alive.

[0219] In the above-mentioned device, the device also includes: a third determination module, which is used to determine a risk object having an associated relationship with the object to be verified when the updated liveness detection result indicates that the object to be verified is non-living; a second acquisition module, which is used to obtain a color image of the risk object; a first search module, which is used to search for a target blacklist image in a preset blacklist image library whose similarity with the color image of the risk object is greater than or equal to a similarity threshold; wherein the preset blacklist image library is used to store color images of risk objects that fail the liveness detection; and a third generation module, which is used to generate and output transaction risk warning information in response to finding the target blacklist image in the preset blacklist image library.

[0220] In the above-mentioned device, the third determination module includes: a first output submodule, which is used to output motion prompt information to prompt the object to be verified to move other body parts except the face when the updated liveness detection result indicates that the object to be verified is not alive; a second determination submodule, which is used to determine that the object to be verified is the risk object in response to the detection of motion information of the other body parts; a third determination submodule, which is used to determine a live object whose distance from the object to be verified is less than a preset distance in response to the failure to detect motion information of the other body parts; and a fourth determination submodule, which is used to determine the live object and the object to be verified as the risk object.

[0221] In the above-mentioned device, the device also includes: a third acquisition module, used to obtain a color backup image of the risk object with a clarity greater than or equal to a preset clarity threshold in response to not finding the target blacklist image in the preset blacklist image library; and a first update module, used to store the color backup image in the preset blacklist image library to obtain an updated blacklist image library.

[0222] In the above-mentioned device, the color image is at least two frames, and the first recognition submodule includes: a first determination unit, used to determine the transaction type of the financial transaction processing request when the liveness detection result indicates that the object to be verified is alive; a second determination unit, used to determine a first target color image with a clarity greater than or equal to a preset clarity threshold in at least two frames of the color image; a first extraction unit, used to extract features from the first target color image to obtain target facial features of the object to be verified; and a first recognition unit, used to identify the object to be verified based on the target facial features and the transaction type.

[0223] In the above-mentioned device, the first identification unit includes: a first determination subunit, used to determine a preset image library matching the transaction type; wherein the preset image library is used to store verified color images containing facial information of verified financial institution customers, and the verified color images carry the identity information of the verified financial institution customers; a first search subunit, used to search for a first preset image matching the target facial features in the matching preset image library; and a second determination subunit, used to determine that the object to be verified has passed identity recognition in response to finding the first preset image in the matching preset image library.

[0224] In the above-mentioned device, the device also includes: a fourth determination module, used to determine a second target color image with a clarity greater than the first target color image in at least two frames of the color image in response to the first preset image not being found in the matching preset image library; a first extraction module, used to perform feature extraction on the second target color image to obtain updated facial features of the object to be verified; a second update module, used to search for a second preset image matching the updated facial features in the matching preset image library; and a fourth generation module, used to generate and output verification failure information in response to the second preset image not being found in the matching preset image library.

[0225] In the above-mentioned device, the device also includes: a second search module, used to determine at least one other recognition pattern matching the transaction type in response to the first preset image not being found in the matching preset image library, and the first target color image being the color image with the highest clarity among at least two frames of the color images; and a second recognition module, used to perform identity recognition on the object to be verified based on the other recognition pattern.

[0226] In the above-mentioned device, the transaction types include: transaction class of this financial institution and transaction class across financial institutions, and the first determination subunit is further used to: when the transaction type is the transaction class of this financial institution, determine the local image library of the financial institution to which the financial transaction processing request belongs as a preset image library matching the transaction class of this financial institution; when the transaction type is the transaction class across financial institutions, determine the cloud image library of the financial institution associated with the financial transaction processing request as a preset image library matching the transaction class across financial institutions.

[0227] In the above-mentioned device, the device also includes: a fifth determination module, which is used to determine that the object to be verified is a new customer of the financial institution to which the financial transaction processing request belongs when the object to be verified is identified through the other identification modes; a first binding module, which is used to bind the identity information of the new customer with the financial account of the new customer to obtain a binding result; wherein the financial account is the account of the new customer in the financial institution to which it belongs; a sixth determination module, which is used to determine the correspondence between the binding result and the color image of the new customer; and a third updating module, which is used to store the binding result and the color image of the new customer in a preset image library according to the correspondence, to obtain an updated preset image library.

[0228] In the above-mentioned device, the first processing module 503 includes: a fifth determination submodule, which is used to determine that the object to be verified is a financial institution customer of the financial institution to which the financial transaction processing request belongs when the object to be verified passes the liveness detection and identity recognition; an account level determination submodule, which is used to determine the account level of the account to which the financial institution customer belongs based on the identity information of the financial institution customer; a target processing mode determination submodule, which is used to determine a target processing mode that matches the account level; and a first processing submodule, which is used to process the financial business to be processed based on the target processing mode to obtain the processing result.

[0229] In the above-mentioned device, the first processing module 503 includes: a sixth determination submodule, used to determine the business type of the pending financial business when the object to be verified passes the liveness detection and identity recognition; a seventh determination submodule, used to determine the first verification information matching the business type; and a second processing submodule, used to process the pending financial business corresponding to the financial transaction processing request in response to the object to be verified satisfying the first verification information, and obtain a processing result.

[0230] In the above-mentioned device, the first processing module 503 includes: an eighth determination submodule, which is used to determine the business security level of the pending financial business when the object to be verified passes the liveness detection and identity recognition; a ninth determination submodule, which is used to determine the risk control requirements of the pending financial business based on the business security level; a first generation submodule, which is used to generate the second verification information based on the risk control requirements; and a third processing submodule, which is used to process the pending financial business corresponding to the financial transaction processing request in response to the object to be verified satisfying the second verification information, and obtain a processing result.

[0231] It should be noted that the description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0232] It should be noted that in the embodiments of the present application, if the above-mentioned financial business processing method based on face recognition is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a financial business processing device based on face recognition (which can be a terminal, server, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a sports hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0233] Correspondingly, an embodiment of the present application further provides a computer program product, which includes computer executable instructions. After the computer executable instructions are executed, the steps in the financial business processing method based on face recognition provided in the embodiment of the present application can be implemented.

[0234] Correspondingly, an embodiment of the present application further provides a computer storage medium, on which computer executable instructions are stored. When the computer executable instructions are executed by a processor, the steps of the financial business processing method based on face recognition provided in the above embodiment are implemented.

[0235] Accordingly, the embodiment of the present application provides a financial service processing device based on face recognition, Figure 6 This is a schematic diagram of the structure of a financial service processing device based on face recognition according to an embodiment of the present application. Figure 6 As shown, the financial business processing device 600 based on face recognition includes: a processor 601, at least one communication bus, a communication interface 602, at least one external communication interface and a memory 603. The communication interface 602 is configured to realize the connection and communication between these components. The communication interface 602 may include a display screen, and the external communication interface may include a standard wired interface and a wireless interface. The processor 601 is configured to execute the image processing program in the memory to implement the steps of the financial business processing method based on face recognition provided in the above embodiment.

[0236] The description of the above embodiments of the financial business processing device based on face recognition, the financial business processing equipment based on face recognition, and the storage medium is similar to the description of the above method embodiments, and has similar technical descriptions and beneficial effects as the corresponding method embodiments. Due to space limitations, the above method embodiments can be referred to, so they will not be repeated here. For technical details not disclosed in the embodiments of the financial business processing device based on face recognition, the financial business processing equipment, and the storage medium of this application, please refer to the description of the method embodiments of this application for understanding.

[0237] It should be understood that the "one embodiment" or "one embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in one embodiment" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and 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 application. The above-mentioned sequence number of the embodiment of the present application is only for description and does not represent the advantages and disadvantages of the embodiment. It should be noted that in this article, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or device including the element.

[0238] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0239] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0240] In addition, all functional units in the embodiments of the present application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units. A person of ordinary skill in the art can understand that all or part of the steps of the above method embodiments can be completed by hardware related to program instructions, and the above program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above method embodiments are executed; and the above storage medium includes: mobile storage devices, read-only memory (ROM), disks or optical disks, etc. Various media that can store program codes.

[0241] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be embodied in the form of a software product in essence or in other words, the part that contributes to the prior art can be stored in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a financial business processing device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks or optical disks. The above is only a specific implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A financial business processing method based on face recognition, characterized in that: The method comprises: In response to the received financial transaction processing request, obtaining a picture content including a face image of a subject to be verified; Based on the facial image and the transaction type of the financial transaction processing request, performing liveness detection and identity recognition on the object to be verified; When the object to be authenticated passes the liveness detection and identity recognition, the pending financial business corresponding to the financial transaction processing request is processed to obtain a processing result; Wherein, when the liveness detection result indicates that the object to be verified is not live, the liveness detection result is updated to obtain an updated liveness detection result; In the case where the updated liveness detection result indicates that the object to be verified is not alive, generating and outputting verification failure information, and then outputting motion prompt information to prompt the object to be verified to move other body parts except the face; In response to detecting the motion information of the other body parts, determining that the object to be verified is a risk object; In response to not detecting the motion information of the other body parts, determining a living object whose distance from the object to be authenticated is less than a preset distance; Determining the living object and the object to be verified as the risk object; Acquiring a color image of the risk object; Searching a preset blacklist image library for a target blacklist image whose similarity to the color image of the risk object is greater than or equal to a similarity threshold; wherein the preset blacklist image library is used to store color images of risk objects that fail liveness detection; In response to finding the target blacklist image in the preset blacklist image library, transaction risk warning information is generated and output.

2. The method according to claim 1, characterized in that The acquired picture content includes a face image of the object to be verified, including: Acquire a near-infrared image of the object to be verified and a color image of the object to be verified, both of which are captured at the same time; The near-infrared image and the color image are used as the face image.

3. The method according to claim 1 or 2, characterized in that: The performing liveness detection and identity recognition on the object to be verified based on the facial image and the transaction type of the financial transaction processing request includes: Based on the near-infrared image of the object to be verified, performing a liveness detection on the object to be verified to obtain a liveness detection result; When the liveness detection result indicates that the object to be authenticated is a live object, the identity of the object to be authenticated is identified based on the color image and the transaction type.

4. The method according to claim 1, characterized in that When the liveness detection result indicates that the object to be verified is not live, updating the liveness detection result to obtain an updated liveness detection result includes: In a case where the liveness detection result indicates that the object to be authenticated is not a live object, determining a facial state of the object to be authenticated; Based on the facial state, generating and outputting first prompt information to prompt the subject to be authenticated to adjust the facial state to obtain an adjusted facial state; determining a target near infrared image that matches the adjusted facial state; Based on the target near-infrared image, performing liveness detection on the object to be verified to obtain an updated liveness detection result; In the case where the updated liveness detection result indicates that the object to be verified is not a live object, verification failure information is generated and output.

5. The method according to claim 1, characterized in that After searching the preset blacklist image library for a target blacklist image whose similarity to the color image is greater than or equal to a similarity threshold, the method further includes: In response to not finding the target blacklist image in the preset blacklist image library, acquiring a color backup image of the risk object with a clarity greater than or equal to a preset clarity threshold; The color backup image is stored in the preset blacklist image library to obtain an updated blacklist image library.

6. The method according to claim 3, characterized in that: The color image is at least two frames, and when the liveness detection result indicates that the object to be verified is alive, the identity of the object to be verified is identified based on the color image and the transaction type, including: In a case where the liveness detection result indicates that the object to be authenticated is alive, determining a transaction type of the financial transaction processing request; Determine, in at least two frames of the color image, a first target color image whose clarity is greater than or equal to a preset clarity threshold; Performing feature extraction on the first target color image to obtain target facial features of the object to be verified; Based on the target facial features and the transaction type, the identity of the object to be verified is identified.

7. The method according to claim 6, characterized in that The identifying the object to be verified based on the target facial features and the transaction type includes: Determine a preset image library that matches the transaction type; wherein the preset image library is used to store verified color images containing facial information of verified financial institution customers, and the verified color images carry the identity information of the verified financial institution customers; Searching for a first preset image matching the target facial feature in the matching preset image library; In response to finding the first preset image in the matching preset image library, it is determined that the object to be authenticated passes identity recognition.

8. The method according to claim 7, characterized in that After searching the matching preset image library for a first preset image that matches the target facial features, the method further includes: In response to not finding the first preset image in the matching preset image library, determining a second target color image having a definition greater than that of the first target color image in at least two frames of the color image; Performing feature extraction on the second target color image to obtain updated facial features of the object to be verified; Searching for a second preset image matching the updated facial features in the matching preset image library; In response to not finding the second preset image in the matching preset image library, verification failure information is generated and output.

9. The method according to claim 7 or 8, characterized in that: After searching the matching preset image library for a first preset image that matches the target facial features, the method further includes: In response to not finding the first preset image in the matching preset image library, and the first target color image is the color image with the highest definition among the at least two frames of color images, determining at least one other recognition mode matching the transaction type; Based on the other identification modes, the identity of the object to be authenticated is identified.

10. The method according to claim 9, characterized in that The transaction types include: intra-financial institution transaction type and inter-financial institution transaction type. The determination of a preset image library matching the transaction type includes: In the case where the transaction type is a transaction type of the financial institution, determining the local image library of the financial institution to which the financial transaction processing request belongs as a preset image library matching the transaction type of the financial institution; In the case where the transaction type is an inter-financial institution transaction type, the cloud image library of the financial institution associated with the financial transaction processing request is determined as a preset image library matching the inter-financial institution transaction type.

11. The method according to claim 9, characterized in that After performing identity recognition on the object to be verified based on the other recognition mode, the method further includes: In a case where the object to be authenticated passes the identity authentication of the other identification mode, determining that the object to be authenticated is a new customer of the financial institution to which the financial transaction processing request belongs; Binding the identity information of the new customer with the financial account of the new customer to obtain a binding result; wherein the financial account is the account of the new customer in the financial institution to which the new customer belongs; Determining a correspondence between the binding result and the color image of the new customer; According to the corresponding relationship, the binding result and the color image of the new customer are stored in a preset image library to obtain an updated preset image library.

12. The method according to claim 1, characterized in that The processing of the pending financial business corresponding to the financial transaction processing request to obtain a processing result includes: Determining that the object to be verified is a financial institution customer of the financial institution to which the financial transaction processing request belongs; Determining the account level of the account of the financial institution customer based on the identity information of the financial institution customer; Determine the target handling model that matches the account level; Based on the target processing mode, the pending financial business is processed to obtain the processing result.

13. The method according to claim 1, characterized in that The processing of the pending financial business corresponding to the financial transaction processing request to obtain a processing result includes: Determining the business type of the financial business to be processed; Determining first verification information matching the business type; In response to the object to be verified satisfying the first verification information, the pending financial business corresponding to the financial transaction processing request is processed to obtain a processing result.

14. The method according to claim 1, characterized in that The processing of the pending financial business corresponding to the financial transaction processing request to obtain a processing result includes: Determining the business security level of the financial business to be processed; Based on the business security level, determining the risk control requirements of the pending financial business; Based on the risk control requirement, generating second verification information; In response to the object to be verified satisfying the second verification information, the pending financial business corresponding to the financial transaction processing request is processed to obtain a processing result.

15. A financial business processing device based on face recognition, characterized in that: The device comprises: A first acquisition module, configured to acquire, in response to a received financial transaction processing request, a face image of a subject to be verified including the content of the picture; A first recognition module, configured to perform liveness detection and identity recognition on the object to be verified based on the facial image and the transaction type of the financial transaction processing request; A first processing module, configured to process the pending financial business corresponding to the financial transaction processing request and obtain a processing result when the object to be authenticated passes the liveness detection and identity recognition; A first liveness detection module, configured to update the liveness detection result to obtain an updated liveness detection result when the liveness detection result indicates that the object to be verified is not live; A third determination module is used to generate and output a verification failure message when the updated liveness detection result indicates that the object to be verified is not live, and then output motion prompt information to prompt the object to be verified to move other body parts except the face; in response to detecting the motion information of the other body parts, determine that the object to be verified is a risk object; in response to not detecting the motion information of the other body parts, determine a live object whose distance to the object to be verified is less than a preset distance; determine the live object and the object to be verified as the risk object; A second acquisition module is used to acquire a color image of the risk object; A first search module is used to search a preset blacklist image library for a target blacklist image whose similarity with the color image of the risk object is greater than or equal to a similarity threshold; wherein the preset blacklist image library is used to store color images of risk objects that have failed liveness detection; The third generating module is used to generate and output transaction risk warning information in response to finding the target blacklist image in the preset blacklist image library.

16. A computer storage medium, characterized in that: The computer storage medium stores computer executable instructions, which, after being executed, can implement the steps of the method described in any one of claims 1 to 14.

17. A financial business processing device based on face recognition, characterized in that: The face recognition-based financial business processing device includes a memory and a processor, the memory stores computer executable instructions, and the processor can implement the steps of the method described in any one of claims 1 to 14 when running the computer executable instructions on the memory.