CN113052145A - Differentiation judgment method and device for face recognition result - Google Patents

Differentiation judgment method and device for face recognition result Download PDF

Info

Publication number
CN113052145A
CN113052145A CN202110484116.7A CN202110484116A CN113052145A CN 113052145 A CN113052145 A CN 113052145A CN 202110484116 A CN202110484116 A CN 202110484116A CN 113052145 A CN113052145 A CN 113052145A
Authority
CN
China
Prior art keywords
face
comparison
face recognition
tencent
score threshold
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
CN202110484116.7A
Other languages
Chinese (zh)
Inventor
李欣鸿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202110484116.7A priority Critical patent/CN113052145A/en
Publication of CN113052145A publication Critical patent/CN113052145A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

The invention provides a method and a device for judging differentiation of face recognition results, which relate to the mobile interconnection technology and comprise the following steps: acquiring a face recognition image through the front end of the WeChat applet; determining a Tencent face comparison result and a Tencent face comparison score according to the face recognition image; setting a face recognition comparison pass score threshold according to the strict degree requirement of the WeChat applet on face recognition; and determining a face recognition comparison result and transmitting the face recognition comparison result to the front end of the WeChat small program according to the Tengchong face comparison result, Tengchong face comparison score and a face recognition comparison passing score threshold. According to the invention, different face recognition comparison pass score thresholds are set according to different face recognition comparison strictness degrees in different small programs, so that differentiation judgment of face recognition results is realized.

Description

Differentiation judgment method and device for face recognition result
Technical Field
The invention relates to the technical field of intelligent equipment data processing, in particular to a method and a device for judging differentiation of face recognition results.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
At present, many WeChat applets comprise a face recognition process, according to the requirement of Tencent official, face recognition in the WeChat applets must use services provided by Tencent, comparison results and comparison scores are returned to all the applets, the default comparison score of the Tencent applets is greater than or equal to 60, and the comparison results are passed.
However, the importance and the strictness of face recognition in different applets are different, and the face recognition result of each applet completely depends on the comparison result of Tencent at present, so that the result cannot be judged in a differentiation manner, for example, the requirements on the face recognition comparison result in the financial transaction process are more strict, and the requirements on the face recognition comparison result in game authentication are relatively loose.
Therefore, how to provide a new solution, which can solve the above technical problems, is a technical problem to be solved in the art.
Disclosure of Invention
The embodiment of the invention provides a method for judging the differentiation of a face recognition result, which realizes the differentiation judgment of the face recognition result and comprises the following steps:
acquiring a face recognition image through the front end of the WeChat applet;
determining a Tencent face comparison result and a Tencent face comparison score according to the face recognition image;
setting a face recognition comparison pass score threshold according to the strict degree requirement of the WeChat applet on face recognition;
and determining a face recognition comparison result and transmitting the face recognition comparison result to the front end of the WeChat small program according to the Tengchong face comparison result, Tengchong face comparison score and a face recognition comparison passing score threshold.
The embodiment of the present invention further provides a device for determining differentiation of face recognition results, including:
the face recognition image acquisition module is used for acquiring a face recognition image through the front end of the WeChat applet;
the Tengchong face comparison module is used for determining Tengchong face comparison results and Tengchong face comparison scores according to the face recognition images;
the face recognition comparison passing score threshold setting module is used for setting a face recognition comparison passing score threshold according to the requirement of the WeChat applet on the strict degree of face recognition;
and the face identification comparison result determining module is used for determining a face identification comparison result and transmitting the face identification comparison result to the front end of the WeChat small program according to the Tengchong face comparison result, the Tengchong face comparison score and the face identification comparison passing score threshold.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the method for judging the differentiation of the face recognition result when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing the above method for determining differentiation of face recognition results is stored in the computer-readable storage medium.
The embodiment of the invention provides a method and a device for judging differentiation of face recognition results, which comprise the following steps: firstly, acquiring a face recognition image through a WeChat small program front end; then determining a Tencent face comparison result and a Tencent face comparison score according to the face recognition image; then setting a face recognition comparison passing score threshold according to the requirement of the WeChat applet on the strict degree of face recognition; and finally, determining a face recognition comparison result and transmitting the face recognition comparison result to the front end of the WeChat small program according to the Tengchi face comparison result, Tengchi face comparison scores and a face recognition comparison passing score threshold. According to the embodiment of the invention, different face recognition comparison pass score thresholds are set according to different face recognition comparison strictness degrees in different applets, and the comparison result and the comparison score returned by Tencent are comprehensively compared, so that the final comparison result is transmitted to the front end of the applet without completely depending on the comparison result of Tencent, and the differentiation judgment of the face recognition result is realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a schematic diagram of a method for determining differentiation of face recognition results according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a Tencent face comparison process of a method for judging differentiation of face recognition results according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a process of determining a face recognition comparison result of the method for judging differentiation of a face recognition result according to the embodiment of the present invention.
Fig. 4 is a schematic diagram of a computer device for operating a method for determining differentiation of face recognition results according to the present invention.
Fig. 5 is a schematic diagram of a device for determining differentiation of face recognition results according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
The invention relates to a mobile interconnection technology. Fig. 1 is a schematic diagram of a method for determining a difference between face recognition results according to an embodiment of the present invention, and as shown in fig. 1, the embodiment of the present invention provides a method for determining a difference between face recognition results, so as to implement the method for determining a difference between face recognition results, where the method includes:
step 101: acquiring a face recognition image through the front end of the WeChat applet;
step 102: determining a Tencent face comparison result and a Tencent face comparison score according to the face recognition image;
step 103: setting a face recognition comparison pass score threshold according to the strict degree requirement of the WeChat applet on face recognition;
step 104: and determining a face recognition comparison result and transmitting the face recognition comparison result to the front end of the WeChat small program according to the Tengchong face comparison result, Tengchong face comparison score and a face recognition comparison passing score threshold.
The embodiment of the invention provides a method for judging differentiation of face recognition results, which comprises the following steps: firstly, acquiring a face recognition image through a WeChat small program front end; then determining a Tencent face comparison result and a Tencent face comparison score according to the face recognition image; then setting a face recognition comparison passing score threshold according to the requirement of the WeChat applet on the strict degree of face recognition; and finally, determining a face recognition comparison result and transmitting the face recognition comparison result to the front end of the WeChat small program according to the Tengchi face comparison result, Tengchi face comparison scores and a face recognition comparison passing score threshold. According to the embodiment of the invention, different face recognition comparison pass score thresholds are set according to different face recognition comparison strictness degrees in different applets, and the comparison result and the comparison score returned by Tencent are comprehensively compared, so that the final comparison result is transmitted to the front end of the applet without completely depending on the comparison result of Tencent, and the differentiation judgment of the face recognition result is realized.
According to the invention, different score thresholds for passing face recognition comparison are set through a background system according to different degrees of severity of face recognition comparison in different applets, and are compared with comparison scores returned by flight signals to determine whether face recognition passes or not, and a final comparison result is transmitted to the front end of the applets without completely depending on the comparison result of flight signals, so that differential judgment is realized. When the method for differentiating the face recognition results provided by the embodiment of the present invention is implemented specifically, in an embodiment, the method may include:
acquiring a face recognition image through the front end of the WeChat applet;
determining a Tencent face comparison result and a Tencent face comparison score according to the face recognition image;
setting a face recognition comparison pass score threshold according to the strict degree requirement of the WeChat applet on face recognition;
and determining a face recognition comparison result and transmitting the face recognition comparison result to the front end of the WeChat small program according to the Tengchong face comparison result, Tengchong face comparison score and a face recognition comparison passing score threshold.
In an embodiment of the present invention, when the method for differentiating a face recognition result is implemented, the obtaining a face recognition image through a wechat applet front end includes:
and calling a mobile phone camera through the front end of the WeChat applet to record the face recognition image.
In an embodiment, the main process of obtaining the face recognition image through the front end of the WeChat applet may include: and calling a mobile phone camera through the front end of the WeChat applet to record the face recognition image. And the user inputs the face recognition image into the applet.
Fig. 2 is a schematic diagram of a Tencent face comparison process of a method for judging differentiation of a face recognition result according to an embodiment of the present invention, and as shown in fig. 2, when a method for judging differentiation of a face recognition result according to an embodiment of the present invention is implemented specifically, in an embodiment, the determining a Tencent face comparison result and a Tencent face comparison score according to a face recognition image includes:
step 201: sending the face recognition image to a Tencent face recognition component;
step 202: and intercepting a photo from the face recognition image through a Tencent face recognition component, and performing networking check comparison with the personal identity photo stored in the database of the public security department by using a face recognition technology to determine a Tencent face comparison result and a Tencent face comparison score.
In an embodiment, the main process of transmitting the face recognition image to the Tencent service to determine the Tencent face comparison result and the Tencent face comparison score may include: firstly, a face recognition image is sent to an update face recognition component; and then, a photo is intercepted from the face recognition image through a Tencent face recognition component, and the Tencent face comparison result and the Tencent face comparison score are determined by utilizing the face recognition technology to perform networking check comparison with the personal identity photo stored in the public security department database. The applet transmits the face recognition image uploaded by the user to the Tencent face recognition component, intercepts photos from the face recognition image, performs networking check comparison with personal identity photos stored in a database of the public security department by using a face recognition technology, and determines Tencent face comparison results and Tencent face comparison scores.
In an embodiment of the method for determining differentiation of face recognition results according to an embodiment of the present invention, the setting of the face recognition comparison pass score threshold according to the requirement on the severity of face recognition by the WeChat applet includes:
acquiring an APP ID of a WeChat applet;
and setting a face recognition comparison passing score threshold according to the strict degree requirement of the WeChat applet on face recognition, binding the face recognition comparison passing score threshold with the WeChat applet APP ID, and storing the face recognition comparison passing score threshold database.
In an embodiment, the main process of setting the face recognition comparison passing score threshold may include: firstly, acquiring an APP ID of a WeChat applet; and then setting a face recognition comparison passing score threshold according to the requirement of the micro-letter applet on the strict degree of face recognition, binding the face recognition comparison passing score threshold with the APP ID of the micro-letter applet, and storing the face recognition comparison passing score threshold in a face recognition comparison passing score threshold database.
The WeChat applet APP ID refers to a WeChat public number or a WeChat applet with a unique and unchangeable identifier.
Fig. 3 is a schematic diagram of a process of determining a face recognition comparison result of a method for determining a differentiation of a face recognition result according to an embodiment of the present invention, and as shown in fig. 3, when a method for determining a differentiation of a face recognition result according to an embodiment of the present invention is specifically implemented, in an embodiment, the determining that a face recognition comparison result is transmitted to a front end of a wechat applet according to a Tencent face comparison result, a Tencent face comparison score and a face recognition comparison pass a score threshold includes:
step 301: acquiring a face identification comparison passing score threshold from a face identification comparison passing score threshold database according to the WeChat applet APP ID;
step 302: and comparing the face recognition comparison with the Tencent face comparison result and the Tencent face comparison score through a score threshold value, and determining that the face recognition comparison result is transmitted to the WeChat small program front end.
In an embodiment, the main process of determining the face recognition comparison result may include: firstly, acquiring a face identification comparison passing score threshold from a face identification comparison passing score threshold database according to a WeChat applet APP ID; and then comparing the face recognition comparison with the Tencent face comparison result and the Tencent face comparison score through a score threshold value, and determining that the face recognition comparison result is transmitted to the WeChat small program front end.
In a specific implementation of the method for determining differentiation between face recognition results provided by the embodiment of the present invention, in an embodiment, the comparing the face recognition result with the Tencent face comparison result and the Tencent face comparison score by a score threshold, and determining that the face recognition comparison result is transmitted to the front end of the WeChat applet includes:
judging the Tengchong face comparison result;
when the Tencent face comparison result is failed, transmitting the face identification comparison result to the front end of the WeChat applet;
when the Tengchong face comparison result is passed, comparing Tengchong face comparison scores with face identification comparison passing score threshold values;
when the Tencent face comparison score is greater than or equal to the face recognition comparison passing score threshold, transmitting a result that the face recognition comparison passes to the front end of the WeChat applet;
and when the Tencent face comparison score is smaller than the face identification comparison passing score threshold, transmitting the result that the face identification comparison fails to pass to the front end of the WeChat small program.
In the embodiment, the face recognition comparison is compared with the Tencent face comparison result and the Tencent face comparison score through a score threshold value, and the face recognition comparison result is determined to be transmitted to the WeChat small program front end, and the main process can comprise the following steps: firstly, judging the comparison result of the Tengchong face; when the Tencent face comparison result is failed, transmitting the face identification comparison result to the front end of the WeChat applet; when the Tengchong face comparison result is passed, comparing Tengchong face comparison scores with face identification comparison passing score threshold values; when the Tencent face comparison score is greater than or equal to the face recognition comparison passing score threshold, transmitting a result that the face recognition comparison passes to the front end of the WeChat applet; and when the Tencent face comparison score is smaller than the face identification comparison passing score threshold, transmitting the result that the face identification comparison fails to pass to the front end of the WeChat small program.
In the embodiment, different score thresholds for face recognition comparison can be set according to different applets, and the system records the corresponding relation between the APP IDs of the different applets and the score thresholds. When the comparison score and the comparison result of the Tengcong are received, the following logic processing is carried out:
1. if the Tengtong comparison result is failed, directly returning the result to the front end of the small program to fail;
2. if the Tengtong comparison result is passed, performing 3;
3. if the comparison score of the Tencent is more than or equal to the set score threshold, returning a result to the front end of the small program to pass; and if the comparison score of the Tencent is less than the set score threshold, returning a result to the front end of the applet to fail.
According to the invention, different score thresholds for face recognition comparison are set through a background system according to different face recognition comparison strictness degrees in different applets, and the comparison result returned by flight is combined with comparison score to comprehensively compare, so that the final comparison result is transmitted to the front end of the applets, and the differential judgment is realized without completely depending on the comparison result of flight.
The embodiment of the invention also provides a modularized example of the differentiation judgment method of the face recognition result, which comprises the following steps: the system comprises an applet front end, an Tencent interaction module and a score threshold setting module:
1) small program front end: and transmitting the face recognition image uploaded by the user to an update interaction module, and transmitting the applet apid to a score threshold setting module.
2) An Tencent interaction module: the face recognition image is transmitted to the flight message, the comparison score and the comparison result returned by the flight message are received, and the comparison score and the comparison result are transmitted to a score threshold value setting module.
3) A score threshold setting module: the administrator sets different score thresholds according to different applets, inquires corresponding score thresholds through appid sent by the front end of the applets, and comprehensively compares the comparison result and the comparison score returned by the Tencent in combination, and finally transmits the comparison result to the front end of the applets.
The implementation process of the above modularized example may include:
the method comprises the following steps:
1) the administrator sets different score thresholds for face recognition comparison according to different small programs in a score threshold setting module;
2) a user inputs a face recognition image in the applet;
3) the applet transmits the face recognition image uploaded by the user to the flight communication interaction module, and transmits the applet apid to the score threshold setting module;
4) the Tencent interaction module transmits the face recognition image to Tencent, receives the comparison score and the comparison result returned by Tencent and transmits the comparison score and the comparison result to the score threshold setting module;
5) and the score threshold setting module inquires a corresponding score threshold through the appid sent by the front end of the small program, and comprehensively compares the comparison result and the comparison score returned by the Tencent and transmits the final comparison result to the front end of the small program.
The administrator sets the score threshold value passing through different face recognition comparison in the score threshold value setting module according to different small programs, and the system records the corresponding relation between different small programs apid and the score threshold value. When the comparison score and the comparison result of the Tengcong are received, the following logic processing is carried out:
1. if the Tengtong comparison result is failed, directly returning the result to the front end of the small program to fail;
2. if the Tengtong comparison result is passed, performing 3;
3. if the comparison score of the Tencent is more than or equal to the set score threshold, returning a result to the front end of the small program to pass; and if the comparison score of the Tencent is less than the set score threshold, returning a result to the front end of the applet to fail.
The most important and difficult parts of the implementation of the invention are: comparison logic in the score threshold setting module. The comparison result and the comparison score of the Tencent are comprehensively compared with a score threshold value set by an administrator and passed through face recognition comparison to obtain a conclusion.
According to the invention, different score thresholds for face recognition comparison are set through a background system according to different face recognition comparison strictness degrees in different applets, and the comparison result returned by flight is combined with comparison score to comprehensively compare, so that the final comparison result is transmitted to the front end of the applets, and the differential judgment is realized without completely depending on the comparison result of flight.
Fig. 4 is a schematic diagram of a computer device for executing a method for determining a difference between face recognition results according to the present invention, and as shown in fig. 4, an embodiment of the present invention further provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method for determining a difference between face recognition results when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program for implementing the above-mentioned differentiation determination method for face recognition results is stored in the computer-readable storage medium.
The embodiment of the invention also provides a device for judging differentiation of face recognition results, which is described in the following embodiment. Because the principle of the device for solving the problems is similar to a method for judging the difference of the face recognition results, the implementation of the device can refer to the implementation of the method for judging the difference of the face recognition results, and repeated parts are not repeated.
Fig. 5 is a schematic view of a device for determining differentiation of a face recognition result according to an embodiment of the present invention, and as shown in fig. 5, an embodiment of the present invention further provides a device for determining differentiation of a face recognition result, which may include:
a face recognition image obtaining module 501, configured to obtain a face recognition image through a wechat applet front end;
an Tencent face comparison module 502, configured to determine a Tencent face comparison result and a Tencent face comparison score according to the face recognition image;
the face recognition comparison passing score threshold setting module 503 is configured to set a face recognition comparison passing score threshold according to the requirement of the wechat applet on the strict degree of face recognition;
and the face identification comparison result determining module 504 is configured to determine, according to the Tencent face comparison result, the Tencent face comparison score and the face identification comparison pass score threshold, that the face identification comparison result is transmitted to the front end of the WeChat applet.
In an embodiment of the invention, when the device for determining differentiation of face recognition results provided in the embodiment of the present invention is implemented specifically, the face recognition image acquisition module is specifically configured to:
and calling a mobile phone camera through the front end of the WeChat applet to record the face recognition image.
In an embodiment of the invention, when the device for determining differentiation of face recognition results provided in the embodiment of the present invention is implemented specifically, the Tencent face comparison module is specifically configured to:
sending the face recognition image to a Tencent face recognition component;
and intercepting a photo from the face recognition image through a Tencent face recognition component, and performing networking check comparison with the personal identity photo stored in the database of the public security department by using a face recognition technology to determine a Tencent face comparison result and a Tencent face comparison score.
In an embodiment of the invention, when the device for determining differentiation of face recognition results provided in the embodiment of the present invention is implemented specifically, the face recognition comparison is performed by a score threshold setting module, which is specifically configured to:
acquiring an APP ID of a WeChat applet;
and setting a face recognition comparison passing score threshold according to the strict degree requirement of the WeChat applet on face recognition, binding the face recognition comparison passing score threshold with the WeChat applet APP ID, and storing the face recognition comparison passing score threshold database.
In an embodiment of the invention, when the device for determining differentiation of face recognition results provided in the embodiment of the present invention is implemented specifically, the face recognition comparison result determining module is specifically configured to:
acquiring a face identification comparison passing score threshold from a face identification comparison passing score threshold database according to the WeChat applet APP ID;
and comparing the face recognition comparison with the Tencent face comparison result and the Tencent face comparison score through a score threshold value, and determining that the face recognition comparison result is transmitted to the WeChat small program front end.
In an embodiment of the invention, when the device for determining differentiation of face recognition results provided in the embodiment of the present invention is implemented specifically, the face recognition comparison result determining module is further configured to:
judging the Tengchong face comparison result;
when the Tencent face comparison result is failed, transmitting the face identification comparison result to the front end of the WeChat applet;
when the Tengchong face comparison result is passed, comparing Tengchong face comparison scores with face identification comparison passing score threshold values;
when the Tencent face comparison score is greater than or equal to the face recognition comparison passing score threshold, transmitting a result that the face recognition comparison passes to the front end of the WeChat applet;
and when the Tencent face comparison score is smaller than the face identification comparison passing score threshold, transmitting the result that the face identification comparison fails to pass to the front end of the WeChat small program.
To sum up, the method and the device for judging differentiation of face recognition results provided by the embodiment of the present invention include: firstly, acquiring a face recognition image through a WeChat small program front end; then determining a Tencent face comparison result and a Tencent face comparison score according to the face recognition image; then setting a face recognition comparison passing score threshold according to the requirement of the WeChat applet on the strict degree of face recognition; and finally, determining a face recognition comparison result and transmitting the face recognition comparison result to the front end of the WeChat small program according to the Tengchi face comparison result, Tengchi face comparison scores and a face recognition comparison passing score threshold. According to the embodiment of the invention, different face recognition comparison pass score thresholds are set according to different face recognition comparison strictness degrees in different applets, and the comparison result and the comparison score returned by Tencent are comprehensively compared, so that the final comparison result is transmitted to the front end of the applet without completely depending on the comparison result of Tencent, and the differentiation judgment of the face recognition result is realized.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (14)

1. A method for judging differentiation of face recognition results is characterized by comprising the following steps:
acquiring a face recognition image through the front end of the WeChat applet;
determining a Tencent face comparison result and a Tencent face comparison score according to the face recognition image;
setting a face recognition comparison pass score threshold according to the strict degree requirement of the WeChat applet on face recognition;
and determining a face recognition comparison result and transmitting the face recognition comparison result to the front end of the WeChat small program according to the Tengchong face comparison result, Tengchong face comparison score and a face recognition comparison passing score threshold.
2. The method of claim 1, wherein obtaining a face recognition image through a WeChat applet front end comprises:
and calling a mobile phone camera through the front end of the WeChat applet to record the face recognition image.
3. The method of claim 1, wherein determining an Tencent face comparison result and Tencent face comparison score from the face recognition image comprises:
sending the face recognition image to a Tencent face recognition component;
and intercepting a photo from the face recognition image through a Tencent face recognition component, and performing networking check comparison with the personal identity photo stored in the database of the public security department by using a face recognition technology to determine a Tencent face comparison result and a Tencent face comparison score.
4. The method of claim 1, wherein setting a face recognition pass score threshold according to the confidence applet's requirements for face recognition severity comprises:
acquiring an APP ID of a WeChat applet;
and setting a face recognition comparison passing score threshold according to the strict degree requirement of the WeChat applet on face recognition, binding the face recognition comparison passing score threshold with the WeChat applet APP ID, and storing the face recognition comparison passing score threshold database.
5. The method of claim 4, wherein determining that the face recognition comparison result is passed to the WeChat applet front end based on the Tencent face comparison result, the Tencent face comparison score, and the face recognition comparison pass score threshold comprises:
acquiring a face identification comparison passing score threshold from a face identification comparison passing score threshold database according to the WeChat applet APP ID;
and comparing the face recognition comparison with the Tencent face comparison result and the Tencent face comparison score through a score threshold value, and determining that the face recognition comparison result is transmitted to the WeChat small program front end.
6. The method of claim 5, wherein comparing the face recognition comparison with the Tencent face comparison result and the Tencent face comparison score by a score threshold to determine that the face recognition comparison result is passed to the WeChat applet front end comprises:
judging the Tengchong face comparison result;
when the Tencent face comparison result is failed, transmitting the face identification comparison result to the front end of the WeChat applet;
when the Tengchong face comparison result is passed, comparing Tengchong face comparison scores with face identification comparison passing score threshold values;
when the Tencent face comparison score is greater than or equal to the face recognition comparison passing score threshold, transmitting a result that the face recognition comparison passes to the front end of the WeChat applet;
and when the Tencent face comparison score is smaller than the face identification comparison passing score threshold, transmitting the result that the face identification comparison fails to pass to the front end of the WeChat small program.
7. A differentiation judgment device for a face recognition result is characterized by comprising:
the face recognition image acquisition module is used for acquiring a face recognition image through the front end of the WeChat applet;
the Tengchong face comparison module is used for determining Tengchong face comparison results and Tengchong face comparison scores according to the face recognition images;
the face recognition comparison passing score threshold setting module is used for setting a face recognition comparison passing score threshold according to the requirement of the WeChat applet on the strict degree of face recognition;
and the face identification comparison result determining module is used for determining a face identification comparison result and transmitting the face identification comparison result to the front end of the WeChat small program according to the Tengchong face comparison result, the Tengchong face comparison score and the face identification comparison passing score threshold.
8. The apparatus of claim 7, wherein the face recognition image acquisition module is specifically configured to:
and calling a mobile phone camera through the front end of the WeChat applet to record the face recognition image.
9. The apparatus of claim 7, wherein the Tencent face comparison module is specifically configured to:
sending the face recognition image to a Tencent face recognition component;
and intercepting a photo from the face recognition image through a Tencent face recognition component, and performing networking check comparison with the personal identity photo stored in the database of the public security department by using a face recognition technology to determine a Tencent face comparison result and a Tencent face comparison score.
10. The apparatus of claim 7, wherein the face recognition comparison passes a score threshold setting module, specifically configured to:
acquiring an APP ID of a WeChat applet;
and setting a face recognition comparison passing score threshold according to the strict degree requirement of the WeChat applet on face recognition, binding the face recognition comparison passing score threshold with the WeChat applet APP ID, and storing the face recognition comparison passing score threshold database.
11. The apparatus of claim 10, wherein the face recognition comparison determination module is specifically configured to:
acquiring a face identification comparison passing score threshold from a face identification comparison passing score threshold database according to the WeChat applet APP ID;
and comparing the face recognition comparison with the Tencent face comparison result and the Tencent face comparison score through a score threshold value, and determining that the face recognition comparison result is transmitted to the WeChat small program front end.
12. The apparatus of claim 11, wherein the face recognition comparison determination module is further configured to:
judging the Tengchong face comparison result;
when the Tencent face comparison result is failed, transmitting the face identification comparison result to the front end of the WeChat applet;
when the Tengchong face comparison result is passed, comparing Tengchong face comparison scores with face identification comparison passing score threshold values;
when the Tencent face comparison score is greater than or equal to the face recognition comparison passing score threshold, transmitting a result that the face recognition comparison passes to the front end of the WeChat applet;
and when the Tencent face comparison score is smaller than the face identification comparison passing score threshold, transmitting the result that the face identification comparison fails to pass to the front end of the WeChat small program.
13. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1 to 6 when executing the computer program.
14. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing a method according to any one of claims 1 to 6.
CN202110484116.7A 2021-04-30 2021-04-30 Differentiation judgment method and device for face recognition result Pending CN113052145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110484116.7A CN113052145A (en) 2021-04-30 2021-04-30 Differentiation judgment method and device for face recognition result

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110484116.7A CN113052145A (en) 2021-04-30 2021-04-30 Differentiation judgment method and device for face recognition result

Publications (1)

Publication Number Publication Date
CN113052145A true CN113052145A (en) 2021-06-29

Family

ID=76517985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110484116.7A Pending CN113052145A (en) 2021-04-30 2021-04-30 Differentiation judgment method and device for face recognition result

Country Status (1)

Country Link
CN (1) CN113052145A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150067827A1 (en) * 2013-08-29 2015-03-05 Pantech Co., Ltd. Apparatus and method for setting a user-defined pattern for an application
CN106096539A (en) * 2016-06-07 2016-11-09 广东欧珀移动通信有限公司 A kind of method carrying out bio-identification and terminal
CN106709399A (en) * 2015-08-21 2017-05-24 小米科技有限责任公司 Fingerprint identification method and device
CN107545160A (en) * 2016-06-28 2018-01-05 中兴通讯股份有限公司 Fingerprint identification method and device
CN107818308A (en) * 2017-10-31 2018-03-20 平安科技(深圳)有限公司 A kind of recognition of face intelligence comparison method, electronic installation and computer-readable recording medium
CN109254809A (en) * 2018-08-01 2019-01-22 Oppo广东移动通信有限公司 Differentiation application loading method, device and terminal device based on recognition of face
CN110472504A (en) * 2019-07-11 2019-11-19 华为技术有限公司 A kind of method and apparatus of recognition of face
CN111814551A (en) * 2020-06-06 2020-10-23 中信百信银行股份有限公司 Human face recognition method, device and equipment based on small program and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150067827A1 (en) * 2013-08-29 2015-03-05 Pantech Co., Ltd. Apparatus and method for setting a user-defined pattern for an application
CN106709399A (en) * 2015-08-21 2017-05-24 小米科技有限责任公司 Fingerprint identification method and device
CN106096539A (en) * 2016-06-07 2016-11-09 广东欧珀移动通信有限公司 A kind of method carrying out bio-identification and terminal
CN107545160A (en) * 2016-06-28 2018-01-05 中兴通讯股份有限公司 Fingerprint identification method and device
CN107818308A (en) * 2017-10-31 2018-03-20 平安科技(深圳)有限公司 A kind of recognition of face intelligence comparison method, electronic installation and computer-readable recording medium
CN109254809A (en) * 2018-08-01 2019-01-22 Oppo广东移动通信有限公司 Differentiation application loading method, device and terminal device based on recognition of face
CN110472504A (en) * 2019-07-11 2019-11-19 华为技术有限公司 A kind of method and apparatus of recognition of face
CN111814551A (en) * 2020-06-06 2020-10-23 中信百信银行股份有限公司 Human face recognition method, device and equipment based on small program and storage medium

Similar Documents

Publication Publication Date Title
US10992659B2 (en) Multi-factor authentication devices
US8990909B2 (en) Out-of-band challenge question authentication
US10389710B2 (en) Method and system for extracting characteristic information
US11818122B2 (en) Secure authentication of a user
US11758403B1 (en) Threat identification, prevention, and remedy
CN111669404A (en) Verification method and device for digital certificate installation
CN105553942B (en) Using the method and system jumped
CN107508784B (en) Application login method and terminal equipment
CN104486306A (en) Method for identity authentication based on finger vein recognition and cloud service
CN113935010A (en) Mobile banking login method and device based on block chain and 5G message
CN113194420A (en) Card password modification method and system based on 5G message and face recognition and each terminal
CN111626742A (en) Transaction processing method and device
CN113052145A (en) Differentiation judgment method and device for face recognition result
CN111726365A (en) Online identity authentication method and device
CN109063442B (en) Service implementation method and device and camera implementation method and device
KR102412438B1 (en) Identity verification method and apparatus
CN111800496B (en) Interface calling method, device, computer equipment and storage medium
CN114038026A (en) Face recognition method and device
CN110930155B (en) Risk management and control method, risk management and control device, computer device and storage medium
CN113438223A (en) Bank card security setting method and device
CN113743938A (en) Personal credit investigation information query method and device
CN109088854B (en) Access method and device of shared application and readable storage medium
CN113301569B (en) Reserved mobile phone number replacement method and device
CN104134025A (en) Mobile terminal locking method and device based on SIM cards and mobile terminal
CN105404803B (en) Operation responding device and operation response method for terminal device

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