CN114612082A - Resource transfer method, device, computer equipment and storage medium - Google Patents

Resource transfer method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN114612082A
CN114612082A CN202111671952.2A CN202111671952A CN114612082A CN 114612082 A CN114612082 A CN 114612082A CN 202111671952 A CN202111671952 A CN 202111671952A CN 114612082 A CN114612082 A CN 114612082A
Authority
CN
China
Prior art keywords
resource transfer
face
shielding
resource
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111671952.2A
Other languages
Chinese (zh)
Inventor
王少鸣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202111671952.2A priority Critical patent/CN114612082A/en
Publication of CN114612082A publication Critical patent/CN114612082A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The application relates to a resource transfer method, a resource transfer device, a computer device, a storage medium and a computer program product. The method relates to an artificial intelligence technology, and comprises the following steps: responding to a resource transfer triggering event, and acquiring a face image corresponding to a resource transfer user to be subjected to resource transfer; when the resource transfer user is determined to belong to a preset face type of a face recognition resource transfer shielding mode based on the face image, displaying a resource transfer interface of the face recognition resource transfer shielding mode, wherein a face corresponding to the preset face type has face recognition deviation; and transferring the resources from the resource account corresponding to the resource transfer user by the target resource transfer mode corresponding to the resource transfer interface. The method can improve the processing efficiency of resource transfer.

Description

Resource transfer method, device, computer equipment and storage medium
The present application is a divisional application filed on 25.11.2020 of the chinese patent office under the application number 2020113363136 entitled "resource transfer method, apparatus, computer device, and storage medium", the entire contents of which are incorporated herein by reference.
Technical Field
The present application relates to the field of computer technologies, and in particular, to a resource transfer method, an apparatus, a computer device, a storage medium, and a computer program product.
Background
With the rapid development of computer technology, more and more users choose to perform resource transfer operations on various resources through a terminal, such as shopping payment operations, fund transfer operations, and the like. Resource transfer modes are also more and more diversified, such as a password transfer mode, a code scanning transfer mode, a face recognition transfer mode and the like.
At present, when a resource transfer method based on face recognition is used, face recognition fails repeatedly, so that resource transfer cannot be completed effectively, and the processing efficiency of resource transfer is low.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a resource transfer method, an apparatus, a computer device, a storage medium, and a computer program product, which can improve the efficiency of resource transfer processing, in view of the above technical problems.
A method of resource transfer, the method comprising:
responding to a resource transfer triggering event, and acquiring a face image corresponding to a resource transfer user to be subjected to resource transfer;
when the resource transfer user is determined to belong to a preset face type of a face recognition resource transfer shielding mode based on the face image, displaying a resource transfer interface of the face recognition resource transfer shielding mode, wherein a face corresponding to the preset face type has face recognition deviation;
and transferring the resources from the resource account corresponding to the resource transfer user by the target resource transfer mode corresponding to the resource transfer interface.
An apparatus for resource transfer, the apparatus comprising:
the face image acquisition module is used for responding to a resource transfer triggering event and acquiring a face image corresponding to a resource transfer user to be subjected to resource transfer;
the resource transfer interface display module is used for displaying a resource transfer interface for shielding the face recognition resource transfer mode when the resource transfer user is determined to belong to a preset face type for shielding the face recognition resource transfer mode based on the face image, and the face corresponding to the preset face type has face recognition deviation;
and the resource transfer processing module is used for transferring the resources from the resource account corresponding to the resource transfer user through the target resource transfer mode corresponding to the resource transfer interface.
In one embodiment, the resource transfer interface display module is further configured to display a resource transfer interface and display a candidate resource transfer mode set of the face recognition resource transfer mode shielding on the resource transfer interface when it is determined that the resource transfer user belongs to a preset face type of the face recognition resource transfer mode shielding based on the face image; the resource transfer device further comprises a candidate mode selection module, which is used for responding to the selection operation of the candidate resource transfer modes in the candidate resource transfer mode set, and taking the candidate resource transfer mode selected by the selection operation as the target resource transfer mode.
In one embodiment, the candidate mode selection module is further configured to display, on the resource transfer interface, various candidate resource transfer modes in the candidate resource transfer mode set for shielding the face recognition resource transfer mode according to a preset display mode.
In one embodiment, the resource transfer device further comprises a shielding prompt module and a shielding release module; wherein: the shielding prompt module is used for displaying shielding prompt information on the resource transfer interface; the shielding releasing module is used for responding to the triggering operation of the shielding prompt information and releasing the shielding of the face recognition resource transfer mode; responding to the trigger operation of the shielding prompt information, and re-shielding the face recognition resource transfer mode which is not shielded.
In one embodiment, the face image acquisition module is further configured to perform object detection within a preset range to obtain an object detection result; when the object detection result meets the resource transfer triggering condition, determining a resource transfer user to be subjected to resource transfer; and shooting the resource transfer user to obtain a face image corresponding to the resource transfer user.
In one embodiment, the face image acquisition module comprises a light ray adjustment module and an image acquisition module; wherein: the light ray adjusting module is used for responding to a resource transfer triggering event and triggering a light ray adjusting instruction corresponding to the face type recognition so that the light ray adjusting equipment responds to the light ray adjusting instruction to adjust the light ray; and the image acquisition module is used for acquiring the face image when the light adjustment of the light adjustment equipment is finished, and obtaining the face image corresponding to the resource transfer user to be subjected to resource transfer.
In one embodiment, the resource transfer device is further configured to determine a recognition bias condition, where the recognition bias condition includes at least one of a face recognition accuracy being lower than an accuracy threshold and an accuracy ranking after a preset ranking; and determining the face type meeting the recognition deviation condition as the preset face type.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
responding to a resource transfer triggering event, and acquiring a face image corresponding to a resource transfer user to be subjected to resource transfer;
when the resource transfer user is determined to belong to a preset face type of a face recognition resource transfer shielding mode based on the face image, displaying a resource transfer interface of the face recognition resource transfer shielding mode, wherein a face corresponding to the preset face type has face recognition deviation;
and transferring the resources from the resource account corresponding to the resource transfer user by the target resource transfer mode corresponding to the resource transfer interface.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
responding to a resource transfer triggering event, and acquiring a face image corresponding to a resource transfer user to be subjected to resource transfer;
when the resource transfer user is determined to belong to a preset face type of a face recognition resource transfer shielding mode based on the face image, displaying a resource transfer interface of the face recognition resource transfer shielding mode, wherein a face corresponding to the preset face type has face recognition deviation;
and transferring the resources from the resource account corresponding to the resource transfer user by the target resource transfer mode corresponding to the resource transfer interface.
A computer program product comprising a computer program which when executed by a processor performs the steps of:
responding to a resource transfer triggering event, and acquiring a face image corresponding to a resource transfer user to be subjected to resource transfer;
when the resource transfer user is determined to belong to a preset face type of a face recognition resource transfer shielding mode based on the face image, displaying a resource transfer interface of the face recognition resource transfer shielding mode, wherein a face corresponding to the preset face type has face recognition deviation;
and transferring the resources from the resource account corresponding to the resource transfer user by the target resource transfer mode corresponding to the resource transfer interface.
According to the resource transfer method, the resource transfer device, the computer equipment, the storage medium and the computer program product, when the face image corresponding to the resource transfer user to be subjected to resource transfer is determined to have face recognition deviation, and the face image belongs to the preset face type for shielding the face recognition resource transfer mode, the resource transfer interface for shielding the face recognition resource transfer mode is displayed, and the resource transfer is carried out through the target resource transfer mode corresponding to the displayed resource transfer interface. In the resource transfer processing process, the resource transfer interface of the face recognition resource transfer shielding mode is displayed for the resource transfer users with face recognition deviation and the preset face types belonging to the face recognition resource transfer shielding mode, so that the problem that the resource transfer efficiency is reduced due to the fact that the resource transfer is failed by the resource transfer users through the face recognition resource transfer mode is solved, the resource transfer is carried out by the resource transfer users through an effective target resource transfer mode, and the processing efficiency of resource transfer is improved.
A method of resource transfer, the method comprising:
acquiring a face image corresponding to a resource transfer user to be subjected to resource transfer;
carrying out face type recognition on the face image to obtain a recognized face type;
comparing the recognized face type with a preset face type, and when the comparison result is that the comparison is consistent, transmitting transfer mode shielding information to the resource transfer terminal so that the resource transfer terminal displays a resource transfer interface shielding the face recognition resource transfer mode, and transferring resources from a resource account corresponding to a resource transfer user through a target resource transfer mode corresponding to the resource transfer interface; and presetting the face type as the face type for shielding the face recognition resource transfer mode.
An apparatus for resource transfer, the apparatus comprising:
the face image acquisition module is used for acquiring a face image corresponding to a resource transfer user to be subjected to resource transfer;
the face type identification module is used for carrying out face type identification on the face image to obtain an identified face type;
the transfer mode shielding module is used for comparing the recognized face type with a preset face type, and when the comparison result is that the comparison is consistent, transmitting transfer mode shielding information to the resource transfer terminal so that the resource transfer terminal displays a resource transfer interface for shielding the face recognition resource transfer mode, and performing resource transfer from a resource account corresponding to the resource transfer user through a target resource transfer mode corresponding to the resource transfer interface; and presetting the face type as the face type for shielding the face recognition resource transfer mode.
In one embodiment, the face type recognition module is further configured to perform image quality detection on the face image to obtain a quality detection result; when the quality detection result is that the detection is passed, performing living body detection based on the face image to obtain a living body detection result; and when the living body detection result is that the detection is passed, carrying out face type identification according to the face image to obtain the identification face type of the resource transfer user.
In one embodiment, the face type recognition module is further configured to determine a living body detection image from the face images passing the detection when the quality detection result is detection passing; and performing living body detection based on the living body detection image to obtain a living body detection result.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring a face image corresponding to a resource transfer user to be subjected to resource transfer;
carrying out face type recognition on the face image to obtain a recognized face type;
comparing the recognized face type with a preset face type, and when the comparison result is that the comparison is consistent, transmitting transfer mode shielding information to the resource transfer terminal so that the resource transfer terminal displays a resource transfer interface shielding the face recognition resource transfer mode, and transferring resources from a resource account corresponding to a resource transfer user through a target resource transfer mode corresponding to the resource transfer interface; and presetting the face type as the face type for shielding the face recognition resource transfer mode.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring a face image corresponding to a resource transfer user to be subjected to resource transfer;
carrying out face type recognition on the face image to obtain a recognized face type;
comparing the recognized face type with a preset face type, and when the comparison result is that the comparison is consistent, transmitting transfer mode shielding information to the resource transfer terminal so that the resource transfer terminal displays a resource transfer interface shielding the face recognition resource transfer mode, and transferring resources from a resource account corresponding to a resource transfer user through a target resource transfer mode corresponding to the resource transfer interface; and presetting the face type as the face type for shielding the face recognition resource transfer mode.
A computer program product comprising a computer program which when executed by a processor performs the steps of:
acquiring a face image corresponding to a resource transfer user to be subjected to resource transfer;
carrying out face type recognition on the face image to obtain a recognized face type;
comparing the recognized face type with a preset face type, and when the comparison result is that the comparison is consistent, transmitting transfer mode shielding information to the resource transfer terminal so that the resource transfer terminal displays a resource transfer interface shielding the face recognition resource transfer mode, and transferring resources from a resource account corresponding to a resource transfer user through a target resource transfer mode corresponding to the resource transfer interface; and presetting the face type as the face type for shielding the face recognition resource transfer mode.
According to the resource transfer method, the resource transfer device, the computer equipment, the storage medium and the computer program product, the face type identification is carried out on the face image corresponding to the resource transfer user to be subjected to resource transfer, when the comparison result of the obtained identified face type and the preset face type is consistent, the transfer mode shielding information is sent to the resource transfer terminal, so that the resource transfer terminal displays the resource transfer interface for shielding the face identification resource transfer mode, and the resource transfer is carried out through the target resource transfer mode corresponding to the displayed resource transfer interface. In the resource transfer processing process, the human face recognition deviation exists for the human face, the resource transfer user belongs to the preset human face type of the face recognition resource transfer shielding mode, the resource transfer terminal displays the resource transfer interface of the face recognition resource transfer shielding mode through the transfer mode shielding information, the problem that the resource transfer efficiency is reduced due to the fact that the resource transfer is failed by the resource transfer user through the face recognition resource transfer mode is solved, the resource transfer user is guaranteed to transfer resources through an effective target resource transfer mode, and therefore the processing efficiency of resource transfer is improved.
Drawings
FIG. 1 is a diagram of an application environment of a resource transfer method in one embodiment;
FIG. 2 is a flow diagram illustrating a method for resource transfer in one embodiment;
FIG. 3 is a diagram of an application environment of the resource transfer method in one embodiment;
FIG. 4 is a diagram of a desktop interface of a resource transfer terminal in one embodiment;
FIG. 5 is an interface diagram of a resource transfer interface in one embodiment;
FIG. 6 is a diagram of an interface for code scanning payment in one embodiment;
FIG. 7 is a schematic diagram of an interface for voiceprint payment in one embodiment;
FIG. 8 is a schematic diagram of an embodiment of an interface for masking face payments;
FIG. 9 is a schematic diagram of an interface for unmasked face payment in one embodiment;
FIG. 10 is a diagram illustrating an exemplary embodiment of an application environment for light adjustment of a fill-in light;
FIG. 11 is a schematic diagram of an interface for face payment in one embodiment;
FIG. 12 is a schematic diagram of a process for resource transfer in one embodiment;
FIG. 13 is a block diagram of the structure of a payment terminal in one embodiment;
FIG. 14 is a diagram of an application environment of a resource transfer method in one embodiment;
FIG. 15 is a block diagram showing the construction of a resource transfer apparatus according to an embodiment;
FIG. 16 is a block diagram of an apparatus for transferring resources according to an embodiment;
FIG. 17 is a diagram showing an internal structure of a computer device in one embodiment;
FIG. 18 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Artificial Intelligence (AI) is a theory, method, technique and application system that uses a digital computer or a machine controlled by a digital computer to simulate, extend and expand human Intelligence, perceive the environment, acquire knowledge and use the knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technique of computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can react in a manner similar to human intelligence. Artificial intelligence is the research of the design principle and the realization method of various intelligent machines, so that the machines have the functions of perception, reasoning and decision making.
The artificial intelligence technology is a comprehensive subject and relates to the field of extensive technology, namely the technology of a hardware level and the technology of a software level. The artificial intelligence infrastructure generally includes technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
Computer Vision technology (CV) Computer Vision is a science for researching how to make a machine "see", and further refers to that a camera and a Computer are used to replace human eyes to perform machine Vision such as identification and measurement on a target, and further image processing is performed, so that the Computer processing becomes an image more suitable for human eyes to observe or is transmitted to an instrument to detect. As a scientific discipline, computer vision research-related theories and techniques attempt to build artificial intelligence systems that can capture information from images or multidimensional data. Computer vision technologies generally include image processing, image recognition, image semantic understanding, image retrieval, OCR, video processing, video semantic understanding, video content/behavior recognition, three-dimensional object reconstruction, 3D technologies, virtual reality, augmented reality, synchronous positioning, map construction, and other technologies, and also include common biometric technologies such as face recognition and fingerprint recognition.
Machine Learning (ML) is a multi-domain cross discipline, and relates to a plurality of disciplines such as probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and the like. The special research on how a computer simulates or realizes the learning behavior of human beings so as to acquire new knowledge or skills and reorganize the existing knowledge structure to continuously improve the performance of the computer. Machine learning is the core of artificial intelligence, is the fundamental approach for computers to have intelligence, and is applied to all fields of artificial intelligence. Machine learning and deep learning generally include techniques such as artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and formal education learning.
The scheme provided by the embodiment of the application relates to the computer vision technology of artificial intelligence, the machine learning technology and the like, and is specifically explained by the following embodiment.
The resource transfer method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 responds to a resource transfer triggering event, for example, when a user clicks the terminal 102 to transfer resources, the terminal 102 acquires a face image corresponding to a resource transfer user to be subjected to resource transfer, and sends the face image to the server 104 to perform face type recognition, when it is determined that a face corresponding to the resource transfer user has face recognition deviation and belongs to a preset face type shielding a face recognition resource transfer mode based on the face image, the terminal 102 displays a resource transfer interface shielding the face recognition resource transfer mode, and performs resource transfer through a target resource transfer mode corresponding to the displayed resource transfer interface.
In another embodiment, the resource transfer method provided by the present application may be applied to the server 104 shown in fig. 1, where the server 104 obtains a face image corresponding to a resource transfer user to be subjected to resource transfer acquired by the terminal 102, the server 104 performs face type identification on the face image, and when a comparison result between an obtained identified face type and a preset face type is consistent, the server 104 sends transfer mode shielding information to the terminal 102, so that the terminal 102 displays a resource transfer interface shielding the face identification resource transfer mode, and performs resource transfer by using a target resource transfer mode corresponding to the displayed resource transfer interface.
The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In an embodiment, as shown in fig. 2, a resource transfer method is provided, which is described by taking the application of the method to the terminal in fig. 1 as an example, and includes the following steps:
step 202, responding to the resource transfer triggering event, and acquiring a face image corresponding to the resource transfer user to be subjected to resource transfer.
The resource is an asset which can be exchanged into a subject matter, the resource can be funds, an electronic voucher, a shopping coupon, a virtual red packet and the like, and the virtual red packet is a virtual object with certain fund numerical attributes. For example, funds may be exchanged for an equivalent commodity after the transaction is conducted. Resource transfer refers to the exchange of resources, including a resource transferor and a resource transferor, from which resources are transferred to the resource transferor, e.g., funds are transferred as resources during the payment of a purchase. The resource transfer triggering event refers to an event triggering resource transfer, and may specifically include, but is not limited to, an operation, an instruction, and the like triggering resource transfer. For example, when a resource transfer terminal is started, a resource transfer trigger event may be triggered; for another example, the resource transfer triggering event may be triggered when the resource transfer terminal receives a triggering instruction sent by the server. The resource transfer user is a user needing to perform resource transfer processing, and the resource transfer is to transfer or exchange resources in a resource account corresponding to the resource transfer user. The face image is an image of a face part obtained by image acquisition for the resource transfer user, for example, when the resource transfer terminal is configured with a camera, the resource transfer user to be subjected to resource transfer can be shot by the camera on the resource transfer terminal, so as to obtain the face image corresponding to the resource transfer user.
Specifically, the resource transfer terminal detects whether a resource transfer triggering event exists, and specifically, may perform real-time detection or timing detection, and if the resource transfer triggering event is detected, which indicates that resource transfer is required, the resource transfer terminal obtains a face image corresponding to a resource transfer user to be subjected to resource transfer in response to the detected resource transfer triggering event. Specifically, the face image can be obtained by shooting with a camera arranged on the resource transfer terminal, and the resource transfer terminal obtains the face image corresponding to the resource transfer user shot and collected by the camera.
In specific application, as shown in fig. 3, the resource transfer terminal is provided with a display screen and a camera, the camera can include but is not limited to various cameras such as a visible light camera, a depth camera and an infrared camera, and the resource transfer terminal can detect and identify people in a certain range to determine whether people are close to the resource transfer terminal, and if so, shopping payment is required. When the resource transfer terminal recognizes that a user approaches and needs to transfer resources, a resource transfer triggering event is triggered, the resource transfer terminal responds to the resource transfer triggering event to obtain a face image corresponding to the resource transfer user to be subjected to resource transfer, and specifically, a camera on the resource transfer terminal is used for shooting the face image corresponding to the resource transfer user to be subjected to resource transfer to obtain the face image corresponding to the resource transfer user.
In another specific application, as shown in fig. 4, when the resource transfer terminal does not trigger the resource transfer, the resource transfer terminal displays a default desktop interface, and after a resource transfer user to perform the resource transfer touches a display screen of the resource transfer terminal, a resource transfer trigger event is triggered, and the resource transfer terminal responds to the resource transfer trigger event to obtain a face image corresponding to the resource transfer user to perform the resource transfer. Furthermore, a resource transfer triggering event can be triggered after any position of a display screen of the resource transfer terminal is touched, so that efficient response of the resource transfer triggering event is ensured; the triggering area can be divided on the display screen of the resource transfer terminal, and the resource transfer triggering event is triggered when the user touches the triggering area, so that the mistaken touch operation is prevented.
In addition, when the resource transfer terminal starts the corresponding resource transfer service, a resource transfer trigger event can be triggered; an instruction may also be sent by the server to trigger a resource transfer triggering event. The resource transfer triggering event can be flexibly set according to actual needs.
And 204, when the resource transfer user is determined to belong to the preset face type of the face recognition resource transfer shielding mode based on the face image, displaying a resource transfer interface of the face recognition resource transfer shielding mode, wherein the face corresponding to the preset face type has face recognition deviation.
Wherein, the human face types are divided according to the characteristics of the human face. The face can be classified into a type suitable for face recognition and a type unsuitable for face recognition according to the features of the face. The face recognition resource transfer mode refers to a processing mode of transferring the face recognition resources, such as a payment mode of shopping payment through face recognition. The face recognition is a biological recognition technology for carrying out identity recognition based on face feature information of people, specifically, a camera or a camera is used for collecting images or video streams containing faces, the faces are automatically detected and recognized in the images, and then the faces of the detected faces are recognized. At present, the face recognition technology has the technical recognition problem, and the difference of face recognition results is large. The face corresponding to the preset face type has face recognition deviation, and the face recognition deviation refers to that the error of the face recognition result of the face corresponding to the preset face type is larger and the recognition accuracy is lower relative to the faces of other non-preset face types. In specific implementation, the human face recognition deviation can be quantitatively defined according to actual needs, so that the preset human face types can be divided and set as required. Whether the face recognition deviation exists or not can be manually set or automatically determined by computer equipment, for example, the face type meeting the recognition deviation condition can be automatically used as a preset face type belonging to a face recognition resource shielding transfer mode. The recognition bias condition may include at least one of a face recognition accuracy being below an accuracy threshold or an accuracy ranking after a preset ranking. For example, if the face recognition accuracy of the face type a is 96%, the face recognition accuracy of the face type B is 99%, and the accuracy threshold is 98%, the face type a belongs to the preset face type in the face recognition resource shielding transfer mode, and the face type B does not belong to the preset face type in the face recognition resource shielding transfer mode. The preset ordering is ordered in order of largest to smallest, with higher accuracy and higher order.
The resource transfer interface is an interface for displaying resource transfer modes, and in particular, when the resource transfer interface is implemented, the resource transfer interface can display various resource transfer modes, such as a code scanning transfer mode, a password transfer mode and a verification code transfer mode, and various biological characteristic transfer modes, such as a fingerprint transfer mode, a voiceprint transfer mode, an iris transfer mode and the like.
Specifically, after a face image corresponding to a resource transfer user to be subjected to resource transfer is obtained, when it is determined based on the face image that the resource transfer user belongs to a preset face type for shielding a face recognition resource transfer mode, it is indicated that a face recognition deviation exists in a face corresponding to the resource transfer user, if the resource transfer is performed in the face recognition resource transfer mode, a transfer failure problem is likely to occur, so that the processing efficiency of resource transfer is affected, the resource transfer terminal displays a resource transfer interface for shielding the face recognition resource transfer mode, and in the displayed resource transfer interface, the face recognition resource transfer mode is shielded, that is, the resource transfer user cannot select the face recognition resource transfer mode to perform resource transfer in the resource transfer interface.
In specific application, if the resource is transferred to a payment process in shopping transaction, the face type of a user can be identified when the user pays, if the face corresponding to the user has face identification deviation, if the face identification accuracy of the user is low, the payment terminal displays a payment interface for shielding the face identification payment mode, if the payment interface comprises code scanning payment and password payment, the user selects the corresponding payment mode to pay.
And step 206, transferring the resource from the resource account corresponding to the resource transfer user by the target resource transfer mode corresponding to the resource transfer interface.
And the target resource transfer mode is a resource transfer mode which is selected to perform resource transfer processing in the resource transfer interface. The resource account is an account for storing the resources of the resource transfer user, and the resource transfer processing of the resource transfer user is realized by performing exchange transfer processing on the resources of the resource account corresponding to the resource transfer user.
Specifically, after the resource transfer terminal displays the resource transfer interface for shielding the face recognition resource transfer mode, the user selects a target resource transfer mode in the resource transfer interface to transfer the resource, and performs resource transfer from a resource account corresponding to the resource transfer user, for example, transferring the resource in the resource account corresponding to the resource transfer user to an account of a resource transfer party, so as to implement efficient resource transfer processing.
In the resource transfer method, when the face corresponding to the resource transfer user to be subjected to resource transfer is determined to have face recognition deviation and belongs to the preset face type for shielding the face recognition resource transfer mode, the resource transfer interface shielding the face recognition resource transfer mode is displayed, and resource transfer is carried out in the target resource transfer mode corresponding to the displayed resource transfer interface. In the resource transfer processing process, the resource transfer interface of the face recognition resource transfer shielding mode is displayed for the resource transfer users with face recognition deviation and the preset face types belonging to the face recognition resource transfer shielding mode, so that the problem that the resource transfer efficiency is reduced due to the fact that the resource transfer is failed by the resource transfer users through the face recognition resource transfer mode is solved, the resource transfer is carried out by the resource transfer users through an effective target resource transfer mode, and the processing efficiency of resource transfer is improved.
In one embodiment, when it is determined based on the face image that the resource transfer user belongs to the preset face type of the face recognition resource transfer mode, the resource transfer interface displaying the face recognition resource transfer mode comprises: and when determining that the resource transfer user belongs to the preset face type for shielding the face recognition resource transfer mode based on the face image, displaying a resource transfer interface, and displaying a candidate resource transfer mode set for shielding the face recognition resource transfer mode on the resource transfer interface.
The candidate resource transfer mode set comprises various candidate resource transfer modes but does not comprise a face recognition resource transfer mode. For example, the candidate resource transfer method may be a code scanning transfer method, a voiceprint transfer method, a verification code transfer method, an iris transfer method, or other various resource transfer methods. The candidate resource transfer mode sets can be pre-configured according to actual needs, and the corresponding candidate resource transfer modes are configured to be combined into the candidate resource transfer mode set. For example, the resource transfer mode adopted by the user using the resource transfer terminal during resource transfer may be determined according to the history data of the user using the resource transfer terminal, so that the resource transfer mode with high frequency is determined as a candidate resource transfer mode, and a candidate resource transfer mode set may be constructed according to the candidate resource transfer mode. Further, the arrangement and the display effect of various candidate resource transfer modes in the candidate resource transfer mode set can also be set according to actual requirements. For example, the various candidate resource transfer modes may be ranked from high to low in use frequency, so that the candidate resource transfer mode with high use frequency is preferentially shown. For the display effect of various candidate resource transfer modes, the preset number of candidate resource transfer modes with the highest use frequency can be prominently displayed, for example, the candidate resource transfer modes are displayed by combining characters with pictures, and for other candidate resource transfer modes, the candidate resource transfer modes are displayed only by adopting the characters, so that a user can conveniently select the required resource transfer mode on a resource transfer interface to transfer resources. Further, when only one candidate resource transfer mode is included in the candidate resource transfer mode set or a default resource transfer mode is set, the resource transfer processing interface corresponding to the candidate resource mode or the default resource transfer mode can be directly displayed on the resource transfer interface, that is, the resource transfer processing interface is directly determined as the target resource transfer mode, for example, a two-dimensional code corresponding to the code scanning transfer mode is directly displayed on the resource transfer interface, so that the operation process of selecting the target resource transfer mode is omitted, and the processing efficiency of resource transfer is further improved.
Specifically, when it is determined that the resource transfer user belongs to the preset face type of the face recognition resource transfer mode shielding face image, it indicates that a face recognition deviation exists in a face corresponding to the current resource transfer user, and the resource transfer user is not suitable for adopting the face recognition resource transfer mode, the resource transfer terminal displays a resource transfer interface, and displays a candidate resource transfer mode set of the face recognition resource transfer mode shielding face on the resource transfer interface, wherein the candidate resource transfer mode set includes various candidate resource transfer modes displayed according to the preset candidate display mode.
In a specific application, as shown in fig. 5, when it is determined that the resource transfer user belongs to the preset face type for shielding the face recognition resource transfer manner based on the face image, various candidate resource transfer manners, specifically various payment manners, are displayed on the display screen of the resource transfer terminal, but the shielded face recognition resource transfer manner is not included, that is, the face payment manner is not included. The user needing payment can select the candidate payment mode in the payment mode set to complete payment through the selection operation of the resource transfer interface.
Further, the resource transfer method further comprises: and responding to the selection operation of the candidate resource transfer modes in the candidate resource transfer mode set, and taking the candidate resource transfer mode selected by the selection operation as the target resource transfer mode.
Specifically, after the candidate resource transfer mode set for shielding the face recognition resource transfer mode is displayed on the resource transfer interface, the resource transfer terminal responds to the selection operation for the candidate resource transfer mode in the candidate resource transfer mode set, and specifically, when the resource transfer terminal detects that the resource transfer user selects the candidate resource transfer mode on the resource transfer interface, the resource transfer terminal determines the candidate resource transfer mode as the target resource transfer mode according to the selected candidate resource transfer mode.
In a specific application, as shown in fig. 6, the resource transfer terminal is a payment terminal, and after the payment user selects a code scanning payment mode on the payment mode interface, the two-dimensional code corresponding to the code scanning payment is displayed on the interface of the payment terminal, and the payment user is prompted to scan the code through a prompt text to pay. In another application, as shown in fig. 7, the resource transfer terminal is a payment terminal, and after the payment user selects a voiceprint payment method on the payment method interface, the feature words corresponding to voiceprint payment are displayed on the interface of the payment terminal, and the payment user is prompted through the prompt text to pay by reading the feature words. Furthermore, a payment mode selection control can be displayed on the payment interface, and the user can return to the interface for selecting the target payment mode by triggering the payment mode selection control so that the user can reselect the required payment mode to pay.
In this embodiment, a candidate resource transfer mode set formed by various candidate resource transfer modes is displayed on the resource transfer interface, but the masked face recognition resource transfer mode is not included, and the target resource transfer mode is determined according to the selection operation for the candidate resource transfer mode set to perform resource transfer processing, so that resource transfer users with face recognition deviation can be prevented from performing resource transfer in the face recognition resource transfer mode, the failure rate of resource transfer can be reduced, and the processing efficiency of resource transfer can be improved.
In one embodiment, the resource transfer method further comprises: displaying shielding prompt information on a resource transfer interface; and responding to the trigger operation of shielding the prompt information, and removing the shielding of the face recognition resource transfer mode.
The shielding prompt information is used for prompting shielding information of a resource transfer mode, and specifically may include prompt information of various presentation forms such as text prompt information and graphic prompt information. The shielding prompt information is displayed on the resource transfer interface, so that the shielding condition of the face recognition resource transfer mode of the resource transfer user can be prompted, and the shielding of the face recognition resource transfer mode can be relieved through the shielding prompt information.
Specifically, the resource transfer terminal may further display a shielding prompt message on the resource transfer interface, where the shielding prompt message is preset according to actual needs, for example, the shielding prompt message may include at least one of a graphic, a picture, a text, and a multimedia, so as to prompt the resource transfer user that the face recognition resource transfer mode is shielded. Furthermore, the resource transfer user can perform a trigger operation on the shielding prompt information displayed on the resource transfer interface of the resource transfer terminal, and the resource transfer terminal responds to the trigger operation to remove the shielding of the face recognition resource transfer mode, so that the shielded face recognition resource transfer mode is displayed for the resource transfer user to select the resource transfer mode. In specific implementation, the resource transfer terminal responds to the trigger operation aiming at the shielding prompt information, and the resource transfer terminal can directly display a resource transfer processing interface corresponding to the face recognition resource transfer mode so as to perform resource transfer processing through the face recognition resource transfer mode. Further, when the shielding of the face recognition resource transfer mode is released, the resource transfer terminal may respond to the trigger operation for shielding the prompt information and re-shield the face recognition resource transfer mode.
In a specific application, as shown in fig. 8, in the self-service payment terminal, the resource transfer interface, i.e., the payment method interface, displays various candidate payment methods that are not shielded, and also displays the shielding prompt information of the face payment method, where the shielding prompt information includes a folding symbol and a text description. The payment user can trigger the shielding prompt message, as shown in fig. 9, the shielding of the face payment mode is released, the face payment mode is displayed on the payment mode interface, and the payment user can select the face payment mode to pay.
In this embodiment, the shielding prompt information is displayed on the resource transfer interface to prompt the resource transfer user that the face recognition resource transfer mode is shielded, and meanwhile, the shielding of the face recognition resource transfer mode can be released by responding to the triggering operation of the shielding prompt information, and the face recognition resource transfer mode is displayed on the resource transfer interface again to be used by the resource transfer user for selecting the resource transfer mode, so that the shielding and the displaying of the face recognition resource transfer mode can be adjusted according to the needs of the resource transfer user.
In one embodiment, in response to a resource transfer triggering event, acquiring a face image corresponding to a resource transfer user to be subjected to resource transfer includes: responding to a resource transfer triggering event, triggering a light ray adjusting instruction corresponding to the face type identification, so that the light ray adjusting equipment responds to the light ray adjusting instruction to adjust the light ray; and when the light adjustment of the light adjustment equipment is determined to be finished, acquiring the face image to obtain the face image corresponding to the resource transfer user to be subjected to resource transfer.
The light adjustment instruction is used for carrying out light adjustment on the face image acquisition during face type identification so as to prevent the accuracy of the face type identification from being influenced by the light problem. The light adjustment instruction acts on the light adjustment equipment, and the light adjustment equipment can give out light and carry out the light adjustment, and the light adjustment equipment specifically can be various light emitting equipment such as flash light, light filling lamp.
Specifically, when a face image corresponding to a resource transfer user to be subjected to resource transfer is acquired, the resource transfer terminal triggers a light adjustment instruction corresponding to face type recognition in response to a resource transfer trigger event, specifically, the light adjustment instruction can be set to be triggered to perform light adjustment in response to the resource transfer trigger event, the light adjustment instruction can be further triggered when the current light environment meets the light adjustment condition, and if the current light intensity is lower than a preset light intensity threshold value, the light adjustment instruction can be triggered to perform light adjustment. The light adjustment device responds to the light adjustment instruction to adjust light, and when the light adjustment of the light adjustment device is determined to be finished, if the light adjustment device responds to the light adjustment instruction to adjust light for a preset time length or the current light intensity meets an image acquisition light intensity threshold value, face image acquisition is carried out, and a face image corresponding to a resource transfer user to be subjected to resource transfer is obtained.
In a specific application, as shown in fig. 10, a light supplement lamp is arranged on the resource transfer terminal, the resource transfer terminal responds to a resource transfer triggering event, and triggers a light adjustment instruction corresponding to the face type recognition, so that the light supplement lamp supplements light in response to the light adjustment instruction, and after the light supplement lamp completes light supplement, face image acquisition is performed to obtain a face image corresponding to a resource transfer user to be subjected to resource transfer.
In this embodiment, control light adjustment equipment through light adjustment instruction and carry out the light adjustment to improve the collection environment of gathering face image when face type discernment, prevent that light problem from influencing face type discernment's the degree of accuracy, can improve face type discernment degree of accuracy, thereby improve the treatment effeciency of resource transfer.
In an embodiment, before the face type detection, living body detection may be performed based on the face image to determine whether the resource transfer user corresponding to the shot face image is a real living body object, that is, whether the captured face is a real face or a fake face attack. Specifically, the resource transfer terminal may be provided with a plurality of cameras, such as a visible light camera, a depth camera, an infrared camera, and the like, through which a color image, a depth image, and an infrared image may be respectively captured. The depth image is also referred to as a distance image, and refers to an image in which the distance (depth) from an image capture device to each point in a scene is taken as a pixel value, and directly reflects the geometric shape of the visible surface of an object. And living body detection can be carried out on the face image based on the color image and the depth image, and the resource transfer user corresponding to the face image is determined to be a real living body object. In addition, during the living body detection, the resource transfer terminal can perform quality detection on each frame of image shot by the camera so as to ensure that the face quality meets the face type detection requirements, such as a shielding range, a fuzzy degree range, an illumination range, an attitude angle, a face size and the like. And determining a color image with high quality from each frame of image shot by the camera based on quality detection, and carrying out biopsy by combining a depth image or an infrared image corresponding to the color image to obtain a biopsy result.
In one embodiment, the resource transfer method further comprises: when the resource transfer user is determined to belong to the non-preset face type based on the face image, displaying a standard resource transfer interface of an unshielded face recognition resource transfer mode; and receiving selection operation aiming at the face recognition resource transfer mode through a standard resource transfer interface, responding to the selection operation, and performing resource transfer from a resource account corresponding to the resource transfer user through the face recognition resource transfer mode.
Specifically, when the resource transfer user corresponding to the face image belongs to a non-preset face type, that is, the face of the resource transfer user corresponding to the face image does not have a face recognition deviation, and face recognition can be accurately performed, the resource transfer terminal displays a standard resource transfer interface which does not shield a face recognition resource transfer mode. The standard resource transfer interface comprises various resource transfer modes including a face recognition resource transfer mode. The resource transfer user can select a resource transfer mode based on the standard resource transfer interface so as to transfer resources in the selected target resource transfer mode. Further, if the target resource transfer mode selected by the resource transfer user is a face recognition resource transfer mode, the resource transfer terminal receives a selection operation for the face recognition resource transfer mode through a standard resource transfer interface, and in response to the selection operation, performs resource transfer from a resource account corresponding to the resource transfer user through the face recognition resource transfer mode.
In a specific application, as shown in fig. 11, after the resource transfer terminal receives the selection operation for the face recognition resource transfer mode through the standard resource transfer interface, the resource transfer terminal performs the resource transfer processing through the face recognition resource transfer mode.
In this embodiment, when the resource transfer user corresponding to the face image belongs to a non-preset face type, that is, the face of the resource transfer user corresponding to the face image does not have a face recognition deviation, and face recognition can be accurately performed, the resource transfer terminal can display a standard resource transfer interface including a face recognition resource transfer mode, so that accurate and efficient resource transfer processing can be performed based on the face recognition resource transfer mode.
In one embodiment, as shown in fig. 12, a resource transfer method is provided, which is described by taking the application of the method to the server in fig. 1 as an example, and includes the following steps:
step 1902, acquiring a face image corresponding to a resource transfer user to be subjected to resource transfer.
The resource is an asset which can be exchanged into a subject matter, the resource transfer refers to the exchange of resources, including a resource transfer party and a resource transfer party, and the resource is transferred from the resource transfer party to the resource transfer party, for example, in the payment process of shopping, funds are transferred as the resource. The resource transfer user is a user needing to perform resource transfer processing, and the resource transfer is to transfer or exchange resources in a resource account corresponding to the resource transfer user. The face image is an image of a face part obtained by image acquisition for the resource transfer user, for example, when the resource transfer terminal is configured with a camera, the resource transfer user to be subjected to resource transfer can be shot by the camera on the resource transfer terminal, so as to obtain the face image corresponding to the resource transfer user.
Specifically, when resource transfer processing is required, for example, when a resource transfer event is triggered, the server acquires a face image corresponding to a resource transfer user to be subjected to resource transfer. Specifically, the server may obtain the face image acquired by the camera of the resource transfer terminal from the resource transfer terminal.
Step 1904, performing face type recognition on the face image to obtain a recognized face type.
The face type represents face features of a resource transfer user corresponding to the face image, and different face images correspond to different face features. The face type can be set according to actual division requirements.
Specifically, the server performs face type recognition on the acquired face image to obtain a recognized face type, wherein the recognized face type reflects a face type to which the resource transfer user corresponding to the face image belongs. For example, the server may detect the face image to identify a face type of the resource transfer user corresponding to the face image, to obtain a face type identification result, and based on the face type identification result, may determine whether the resource transfer user is suitable for resource transfer by using a face identification resource transfer method.
Step 1906, comparing the recognized face type with a preset face type, and when the comparison result is that the comparison is consistent, sending transfer mode shielding information to the resource transfer terminal, so that the resource transfer terminal displays a resource transfer interface shielding the face recognition resource transfer mode, and performing resource transfer from a resource account corresponding to the resource transfer user through a target resource transfer mode corresponding to the resource transfer interface; and presetting the face type as the face type for shielding the face recognition resource transfer mode.
The face corresponding to the preset face type has face recognition deviation, and the face recognition deviation refers to that the error of the face recognition result of the face corresponding to the preset face type is larger and the recognition accuracy is lower relative to the face of other non-preset face types. In specific implementation, the human face recognition deviation can be quantitatively defined according to actual needs, so that the preset human face types can be divided and set as required. The face recognition resource transfer mode refers to a processing mode of transferring the face recognition resources, such as a payment mode of shopping payment through face recognition. The face recognition is a biological recognition technology for performing identity recognition based on facial feature information of a person, specifically, a camera or a video camera is used for collecting images or video streams containing a face, and the face is automatically detected and recognized in the images, so that the face of the detected face is recognized. At present, the face recognition technology has a technical bias, and the difference of face recognition results is large for different types of faces. The resource transfer interface is an interface for displaying resource transfer modes, and in particular, when the resource transfer interface is implemented, the resource transfer interface can display various resource transfer modes, such as a code scanning transfer mode, a password transfer mode and a verification code transfer mode, and various biological characteristic transfer modes, such as a fingerprint transfer mode, a voiceprint transfer mode, an iris transfer mode and the like. The target resource transfer mode is a resource transfer mode which is selected in the resource transfer interface to carry out resource transfer processing. The resource account is an account for storing the resources of the resource transfer user, and the resource transfer processing of the resource transfer user is realized by performing exchange transfer processing on the resources of the resource account corresponding to the resource transfer user.
Specifically, the server compares the recognized face type corresponding to the face image with a preset face type to judge whether the resource transfer user corresponding to the face image belongs to the face type for shielding the face recognition resource transfer mode. Specifically, the server judges according to a comparison result of the recognized face type and a preset face type, if the comparison result is consistent, the server sends transfer mode shielding information to the resource transfer terminal, so that the resource transfer terminal displays a resource transfer interface for shielding the face recognition resource transfer mode, and performs resource transfer from a resource account corresponding to a resource transfer user through a target resource transfer mode corresponding to the resource transfer interface. The transfer mode shielding information is used for controlling the resource transfer terminal to display a resource transfer interface for shielding the face recognition resource transfer mode, and the transfer mode shielding information can be a shielding instruction and can also be resource transfer interface data for shielding the face recognition resource transfer mode.
In specific application, if resource transfer is a payment process in shopping transaction, a server identifies the face type of a user when the user pays, if the face corresponding to the user has face identification deviation, if the face identification accuracy is determined to be low, the server sends transfer mode shielding information to a payment terminal, so that the payment terminal displays a payment interface for shielding the face identification payment mode, if the payment interface comprises code scanning payment and password payment, the user selects a corresponding payment mode to pay, the user is prevented from selecting the face payment mode to pay, the payment success rate is improved, and the payment processing efficiency is improved.
According to the resource transfer method, the face type of the face image corresponding to the resource transfer user to be subjected to resource transfer is identified, when the comparison result of the obtained identified face type and the preset face type is consistent, transfer mode shielding information is sent to the resource transfer terminal, so that the resource transfer terminal displays the resource transfer interface for shielding the face identification resource transfer mode, and resource transfer is carried out through the target resource transfer mode corresponding to the displayed resource transfer interface. In the resource transfer processing process, the human face recognition deviation exists for the human face, the resource transfer user belongs to the preset human face type of the face recognition resource transfer shielding mode, the resource transfer terminal displays the resource transfer interface of the face recognition resource transfer shielding mode through the transfer mode shielding information, the problem that the resource transfer efficiency is reduced due to the fact that the resource transfer is failed by the resource transfer user through the face recognition resource transfer mode is solved, the resource transfer user is guaranteed to transfer resources through an effective target resource transfer mode, and therefore the processing efficiency of resource transfer is improved.
In one embodiment, the server may further perform living body detection based on the face image to determine whether the resource transfer user corresponding to the photographed face image is a real living body object, that is, determine whether the captured face is a real face or a fake face attack. Specifically, the resource transfer terminal may be provided with a plurality of cameras, such as a visible light camera, a depth camera, an infrared camera, and the like, through which a color image, a depth image, and an infrared image may be respectively captured. The server can perform living body detection on the face image based on the color image and the depth image, and determines that the resource transfer user corresponding to the face image is a real living body object. In addition, during the living body detection, the server can perform quality detection on each frame of image shot by the camera so as to ensure that the quality of the human face meets the detection requirements of the human face type, such as a shielding range, a fuzziness range, an illumination range, an attitude angle, a human face size and the like. And the server determines a color image with high quality from each frame of image shot by the camera based on quality detection, and performs living body detection by combining a depth image or an infrared image corresponding to the color image to obtain a living body detection result.
The application also provides an application scenario applying the resource transfer method. Specifically, the resource transfer method is applied to the application scenario as follows:
the application scene comprises a background server and a payment terminal at the front end, and as shown in fig. 13, the payment terminal can comprise a light supplement lamp, a 3D camera and a display screen. The light supplement lamp can adjust ambient light to improve the shooting effect of the 3D camera and prevent false recognition caused by light problems; compared with the traditional camera, the 3D camera is additionally provided with the software and hardware related to the living body, including a depth camera and an infrared camera, so that the information safety can be ensured; distance information of a shooting space can be detected by using a 3D camera; the display screen is used for displaying various payment interactive interfaces. In specific application, when a user needs to pay, the payment terminal can be operated, and a corresponding payment mode is selected from a payment interface displayed on a display screen of the payment terminal for payment. For example, if the user can select a code scanning payment mode, the display screen of the payment terminal displays the corresponding payment two-dimensional code, and the user finishes payment by scanning the payment two-dimensional code; and if the user can select face payment, the payment terminal can perform face recognition on the user through the 3D camera, the face recognition is a technology of exchanging face multimedia information for identity information, and the face payment can be realized through the face recognition. When light intensity is weaker, the light adjustment can also be carried out through starting the light filling lamp at the payment terminal to ensure the effect of payment terminal face identification, improve the payment success rate.
Further, as shown in fig. 14, the background server in the application scenario includes a face type gear configuration service, a face payment service, and a code scanning payment service; the face type gear configuration service is provided with 6 face type gears which respectively correspond to different position Information (POI, Point of Information), namely the different position Information is respectively divided into 6 face type gears, and the corresponding face type gears can be determined from the face type gear configuration service based on the position Information. Different face type gears correspond to different face type division conditions.
When payment is carried out, the payment terminal starts the system and then runs a face payment APP (Application program). Detection system starts the broadcast in the payment APP, and after the system starts, the people face payment APP is actively pulled up, and the light filling lamp is opened. After the face payment APP is started, namely after the payment terminal detects a resource transfer triggering event, the face type gear configuration is pulled from the background server by combining the acquired terminal position of the payment terminal, and the face type gear at the current terminal position is obtained. Specifically, the payment terminal reads the GPS information of the payment terminal and sends the GPS information to the back-end service for identification, and a face type gear corresponding to the position information is obtained. The human face type gears of people in different areas are different, and the human face type recognition effect of the current equipment can be more flexibly and dynamically controlled through the rear-end configuration. After the configuration is pulled, the payment terminal identifies the face type of the payment user, specifically, the face of the payment user is collected through the 3D camera, the 3D camera outputs collected data stream media to the face collection module, and the data stream comprises a color image stream, an infrared image stream and a depth image stream. The face acquisition module reads a data stream of the 3D camera, performs quality detection on each frame of image book in the data stream to ensure that the face quality meets the requirements of follow-up face identification and face type identification, such as a shielding range, a fuzzy degree range, an illumination range, an attitude angle or a face size, and the like, so as to screen the acquired face images, select the face images meeting the image quality requirements to perform face biopsy, and judge whether the images shot by the 3D camera are real living objects. The biopsy can determine whether the face captured by the 3D camera is a real face or a fake face attack. In particular, the living body detection can be carried out through a color image, a depth image and an infrared image. After the biopsy is passed, the face type recognition is carried out based on the face image, and the face type recognition can be realized based on a deep learning algorithm, such as a continuous algorithm of ModiFace face type detection, and can support multi-gear face type detection, which is specifically divided into 6 grades. In addition, the face type recognition may be performed using a threshold face type recognition in RGB color space, a YCrCb color space Cr-Cb range screening method, or a model such as a single gaussian, a mixture gaussian, a bayesian model, or an elliptic model. The payment terminal compares the face type recognition result with the determined face type gear, and if the face type of the payment user meets the face type gear corresponding to the current terminal position, namely meets the face type gear corresponding to the current terminal position and used for face payment, the payment terminal displays a standard payment interface comprising a face payment mode, namely the user can select the face payment mode to carry out face payment; if the face type of the payment user does not meet the face type gear corresponding to the current terminal position, namely the face type gear corresponding to the current terminal position for face payment is not met, the payment terminal displays a payment interface for shielding a face payment mode, if a face brushing payment control can be hidden in the user interface of the payment terminal, and the user is prompted to perform code scanning payment.
In this embodiment, carry out continuous face type discernment through payment terminal, when detecting that there is the face identification deviation for the people face that payment user corresponds, when belonging to the crowd that shields people's face payment mode, the initiative shielding is brushed face payment button, and the suggestion user sweeps a yard payment to reduce the failure rate of people's face payment, improve payment processing efficiency. Meanwhile, in order to prevent the human face type from being recognized mistakenly, a light supplement lamp is arranged on the face brushing terminal, misjudgment caused by illumination is reduced, and the payment processing efficiency is further improved. In addition, the gears for face type recognition can be finely controlled according to different geographic positions, the face type recognition effect can be more flexibly controlled, and therefore the payment processing efficiency is ensured.
It should be understood that, although the steps in the flowcharts of fig. 2, 12 and 14 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2, 12, and 14 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 15, there is provided a resource transfer apparatus 2200, which may be a part of a computer device using a software module or a hardware module, or a combination of the two, and specifically includes: a face image acquisition module 2202, a resource transfer interface display module 2204 and a resource transfer processing module 2206, wherein:
a face image acquisition module 2202, configured to acquire, in response to a resource transfer trigger event, a face image corresponding to a resource transfer user to be subjected to resource transfer;
the resource transfer interface display module 2204 is configured to display a resource transfer interface for shielding the face recognition resource transfer mode when it is determined based on the face image that the resource transfer user belongs to a preset face type for shielding the face recognition resource transfer mode, where a face corresponding to the preset face type has a face recognition deviation;
the resource transfer processing module 2206 is configured to perform resource transfer from a resource account corresponding to the resource transfer user through a target resource transfer manner corresponding to the resource transfer interface.
In an embodiment, the resource transfer interface presentation module 2204 is further configured to, when it is determined based on the face image that the resource transfer user belongs to the preset face type of the shielding face recognition resource transfer mode, present a resource transfer interface, and present a candidate resource transfer mode set of the shielding face recognition resource transfer mode on the resource transfer interface; the resource transferring apparatus 2200 further includes a candidate manner selecting module, configured to, in response to a selection operation for a candidate resource transferring manner in the candidate resource transferring manner set, take the candidate resource transferring manner selected by the selection operation as a target resource transferring manner.
In one embodiment, the system further comprises a shielding prompt module and a shielding release module; wherein: the shielding prompt module is used for displaying shielding prompt information on the resource transfer interface; and the shielding removing module is used for responding to the triggering operation of the shielding prompt information and removing the shielding of the face recognition resource transfer mode.
In one embodiment, the face image acquisition module 2202 comprises a light adjustment module and an image acquisition module; wherein: the light ray adjusting module is used for responding to a resource transfer triggering event and triggering a light ray adjusting instruction corresponding to the face type recognition so that the light ray adjusting equipment responds to the light ray adjusting instruction to adjust the light ray; and the image acquisition module is used for acquiring the face image when the light adjustment of the light adjustment equipment is finished, and obtaining the face image corresponding to the resource transfer user to be subjected to resource transfer.
In one embodiment, the system further comprises a standard interface display module and a face recognition resource transfer module; wherein: the standard interface display module is used for displaying a standard resource transfer interface of an unshielded face recognition resource transfer mode when the resource transfer user is determined to belong to a non-preset face type based on the face image; and the face recognition resource transfer module is used for receiving selection operation aiming at the face recognition resource transfer mode through a standard resource transfer interface, responding to the selection operation, and transferring resources from a resource account corresponding to the resource transfer user through the face recognition resource transfer mode.
In one embodiment, as shown in fig. 16, there is provided a resource transfer apparatus 2300, which may be a part of a computer device using a software module or a hardware module, or a combination of the two, specifically comprising: a face image acquisition module 2302, a face type recognition module 2304 and a transfer mode shielding module 2306, wherein:
a face image obtaining module 2302 for obtaining a face image corresponding to a resource transfer user to be subjected to resource transfer;
a face type recognition module 2304, configured to perform face type recognition on the face image to obtain a recognized face type;
a transfer mode shielding module 2306, configured to compare the identified face type with a preset face type, and send transfer mode shielding information to the resource transfer terminal when the comparison result is that the comparison is consistent, so that the resource transfer terminal displays a resource transfer interface for shielding the face identification resource transfer mode, and performs resource transfer from a resource account corresponding to the resource transfer user through a target resource transfer mode corresponding to the resource transfer interface; and presetting the face type as the face type for shielding the face recognition resource transfer mode.
For the specific limitation of the resource transfer apparatus, reference may be made to the above limitation on the resource transfer method, which is not described herein again. The modules in the resource transfer device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 17. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a resource transfer method.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 18. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a resource transfer method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the configurations shown in fig. 17 and 18 are block diagrams of only some of the configurations relevant to the present application, and do not constitute a limitation on the computing devices to which the present application may be applied, and a particular computing device may include more or less components than those shown, or some of the components may be combined, or have a different arrangement of components.
In one embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, in which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In one embodiment, a computer program product or computer program is provided that includes computer instructions stored in a computer-readable storage medium. The computer instructions are read by a processor of a computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the steps in the above-mentioned method embodiments.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data need to comply with the relevant laws and regulations and standards of the relevant country and region.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (16)

1. A method of resource transfer, the method comprising:
responding to a resource transfer triggering event, and acquiring a face image corresponding to a resource transfer user to be subjected to resource transfer;
when the resource transfer user is determined to belong to a preset face type shielding a face recognition resource transfer mode based on the face image, displaying a resource transfer interface shielding the face recognition resource transfer mode, wherein a face corresponding to the preset face type has a face recognition deviation;
and transferring the resources from the resource account corresponding to the resource transfer user by the target resource transfer mode corresponding to the resource transfer interface.
2. The method according to claim 1, wherein when it is determined based on the face image that the resource transfer user belongs to a preset face type for shielding a face recognition resource transfer mode, the displaying a resource transfer interface for shielding the face recognition resource transfer mode comprises:
when the resource transfer user is determined to belong to a preset face type for shielding a face recognition resource transfer mode based on the face image, displaying a resource transfer interface, and displaying a candidate resource transfer mode set for shielding the face recognition resource transfer mode on the resource transfer interface;
the method further comprises the following steps:
and responding to a selection operation of a candidate resource transfer mode in the candidate resource transfer mode set, and taking the candidate resource transfer mode selected by the selection operation as the target resource transfer mode.
3. The method according to claim 2, wherein the presenting the set of candidate resource transfer manners that mask the face recognition resource transfer manner on the resource transfer interface comprises:
and displaying various candidate resource transfer modes in the candidate resource transfer mode set for shielding the face recognition resource transfer modes on the resource transfer interface according to a preset display mode.
4. The method of claim 1, further comprising:
displaying shielding prompt information on the resource transfer interface;
responding to the trigger operation of the shielding prompt information, and removing the shielding of the face recognition resource transfer mode;
responding to the trigger operation of the shielding prompt information, and re-shielding the face recognition resource transfer mode which is not shielded.
5. The method according to claim 1, wherein the obtaining of the face image corresponding to the resource transfer user to be subjected to resource transfer in response to the resource transfer trigger event comprises:
carrying out object detection in a preset range to obtain an object detection result;
when the object detection result meets the resource transfer triggering condition, determining a resource transfer user to be subjected to resource transfer;
and shooting the resource transfer user to obtain a face image corresponding to the resource transfer user.
6. The method according to any one of claims 1 to 5, wherein the obtaining, in response to a resource transfer triggering event, a face image corresponding to a resource transfer user to be subjected to resource transfer comprises:
responding to a resource transfer triggering event, triggering a light ray adjusting instruction corresponding to the face type recognition, so that the light ray adjusting equipment responds to the light ray adjusting instruction to adjust the light ray;
and when the light adjustment of the light adjustment equipment is determined to be finished, acquiring a face image to obtain a face image corresponding to the resource transfer user to be subjected to resource transfer.
7. The method according to any one of claims 1 to 5, further comprising:
when the resource transfer user is determined to belong to a non-preset face type based on the face image, displaying a standard resource transfer interface which does not shield the face recognition resource transfer mode;
and receiving selection operation aiming at the face recognition resource transfer mode through the standard resource transfer interface, responding to the selection operation, and performing resource transfer from a resource account corresponding to the resource transfer user through the face recognition resource transfer mode.
8. The method of claim 7, further comprising:
determining a recognition deviation condition, wherein the recognition deviation condition comprises at least one of the face recognition accuracy being lower than an accuracy threshold and the accuracy ranking being after a preset ranking;
and determining the face type meeting the recognition deviation condition as the preset face type.
9. A method of resource transfer, the method comprising:
acquiring a face image corresponding to a resource transfer user to be subjected to resource transfer;
carrying out face type recognition on the face image to obtain a recognized face type;
comparing the recognized face type with a preset face type, and when the comparison result is that the comparison is consistent, sending transfer mode shielding information to a resource transfer terminal so that the resource transfer terminal displays a resource transfer interface for shielding the face recognition resource transfer mode, and transferring resources from a resource account corresponding to the resource transfer user through a target resource transfer mode corresponding to the resource transfer interface; the preset face type is a face type for shielding a face recognition resource transfer mode.
10. The method of claim 9, wherein the performing face type recognition on the face image to obtain a recognized face type comprises:
carrying out image quality detection on the face image to obtain a quality detection result;
when the quality detection result is that the detection is passed, performing living body detection based on the face image to obtain a living body detection result;
and when the living body detection result is that the detection is passed, carrying out face type identification according to the face image to obtain the identification face type of the resource transfer user.
11. The method of claim 10, wherein when the quality detection result is detection pass, performing living body detection based on the face image to obtain a living body detection result, comprising:
when the quality detection result is that the detection is passed, determining a living body detection image from the face image which is passed through the detection;
and performing living body detection based on the living body detection image to obtain a living body detection result.
12. An apparatus for resource transfer, the apparatus comprising:
the face image acquisition module is used for responding to a resource transfer triggering event and acquiring a face image corresponding to a resource transfer user to be subjected to resource transfer;
the resource transfer interface display module is used for displaying a resource transfer interface for shielding a face recognition resource transfer mode when the resource transfer user is determined to belong to a preset face type for shielding the face recognition resource transfer mode based on the face image, and a face corresponding to the preset face type has face recognition deviation;
and the resource transfer processing module is used for transferring resources from the resource account corresponding to the resource transfer user through the target resource transfer mode corresponding to the resource transfer interface.
13. An apparatus for resource transfer, the apparatus comprising:
the face image acquisition module is used for acquiring a face image corresponding to a resource transfer user to be subjected to resource transfer;
the face type identification module is used for carrying out face type identification on the face image to obtain an identified face type;
the transfer mode shielding module is used for comparing the recognized face type with a preset face type, and when the comparison result is that the comparison is consistent, transmitting transfer mode shielding information to a resource transfer terminal so that the resource transfer terminal displays a resource transfer interface for shielding the face recognition resource transfer mode, and transferring resources from a resource account corresponding to the resource transfer user through a target resource transfer mode corresponding to the resource transfer interface; the preset face type is a face type for shielding a face recognition resource transfer mode.
14. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 1 to 11 when executing the computer program.
15. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 11.
16. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 11 when executed by a processor.
CN202111671952.2A 2020-11-25 2020-11-25 Resource transfer method, device, computer equipment and storage medium Pending CN114612082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111671952.2A CN114612082A (en) 2020-11-25 2020-11-25 Resource transfer method, device, computer equipment and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111671952.2A CN114612082A (en) 2020-11-25 2020-11-25 Resource transfer method, device, computer equipment and storage medium
CN202011336313.6 2020-11-25

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202011336313.6 Division 2020-11-25 2020-11-25

Publications (1)

Publication Number Publication Date
CN114612082A true CN114612082A (en) 2022-06-10

Family

ID=81893708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111671952.2A Pending CN114612082A (en) 2020-11-25 2020-11-25 Resource transfer method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114612082A (en)

Similar Documents

Publication Publication Date Title
WO2020207189A1 (en) Method and device for identity authentication, storage medium, and computer device
Yang et al. MTD-Net: Learning to detect deepfakes images by multi-scale texture difference
CN109359548B (en) Multi-face recognition monitoring method and device, electronic equipment and storage medium
US10832069B2 (en) Living body detection method, electronic device and computer readable medium
CN110276366A (en) Carry out test object using Weakly supervised model
WO2020199611A1 (en) Liveness detection method and apparatus, electronic device, and storage medium
US20150186708A1 (en) Biometric identification system
WO2022188697A1 (en) Biological feature extraction method and apparatus, device, medium, and program product
CN112733802B (en) Image occlusion detection method and device, electronic equipment and storage medium
CN111325107B (en) Detection model training method, device, electronic equipment and readable storage medium
CN111680675B (en) Face living body detection method, system, device, computer equipment and storage medium
CN111327888B (en) Camera control method and device, computer equipment and storage medium
Yin et al. Contrastive learning based multi-task network for image manipulation detection
CN114332484A (en) Key point detection method and device, computer equipment and storage medium
CN115019324A (en) Interactive method and device for text scanning, computer equipment and storage medium
WO2023197648A1 (en) Screenshot processing method and apparatus, electronic device, and computer readable medium
CN114612082A (en) Resource transfer method, device, computer equipment and storage medium
CN112101479B (en) Hair style identification method and device
CN116226817A (en) Identity recognition method, identity recognition device, computer equipment and storage medium
CN115222406A (en) Resource distribution method based on business service account and related equipment
CN114255494A (en) Image processing method, device, equipment and storage medium
US11978170B2 (en) Data processing method, computer device and readable storage medium
CN111405175A (en) Camera control method and device, computer equipment and storage medium
CN113762237B (en) Text image processing method, device, equipment and storage medium
KR102568875B1 (en) Server for providing service for recommending mentor and lecture and method for operation thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination