CN113918131A - Face recognition method and system - Google Patents

Face recognition method and system Download PDF

Info

Publication number
CN113918131A
CN113918131A CN202111494580.0A CN202111494580A CN113918131A CN 113918131 A CN113918131 A CN 113918131A CN 202111494580 A CN202111494580 A CN 202111494580A CN 113918131 A CN113918131 A CN 113918131A
Authority
CN
China
Prior art keywords
service provider
module
face
picture
identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111494580.0A
Other languages
Chinese (zh)
Other versions
CN113918131B (en
Inventor
李小聪
王丰
黄武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Techman Software Co Ltd
Original Assignee
Chengdu Techman Software 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 Chengdu Techman Software Co Ltd filed Critical Chengdu Techman Software Co Ltd
Priority to CN202111494580.0A priority Critical patent/CN113918131B/en
Publication of CN113918131A publication Critical patent/CN113918131A/en
Application granted granted Critical
Publication of CN113918131B publication Critical patent/CN113918131B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The invention discloses a face recognition system and a method, wherein the face recognition system comprises: the information input module is used for acquiring a face picture and a service provider identifier; the service provider management module is used for increasing or decreasing the service provider identification module; the service provider judging module is used for judging whether a corresponding service provider identification module exists according to the service provider identification acquired by the information input module; the first picture distribution module is used for distributing the face picture to the corresponding service provider identification module; the service provider identification module is used for identifying the received face picture and outputting an identification processing result; and the second picture distribution module is used for distributing the face picture to a preset picture processing terminal when the service provider identification modules corresponding to the service provider identifications all identify the face picture. The invention distributes the face picture to the selected service provider identification module, obtains the response result of the service provider identification module and ensures the consistency of the face picture passing the face identification verification.

Description

Face recognition method and system
Technical Field
The invention relates to the technical field of face recognition, in particular to a face recognition system and a face recognition method.
Background
The face recognition technology is an artificial intelligence technology widely used. In developing face recognition applications, face recognition services may be used to simplify the development process. Currently, a face recognition service provider generally provides a face API (application programming interface) and a face SDK (software development kit), but due to different scenes, a user generally purchases face services of multiple service providers to integrate into the system of the user. Due to certain difference of face detection services of a plurality of service providers, the passing rates of face services of the same face picture in the plurality of service providers are different, and the expected effect is not met.
Disclosure of Invention
The present invention is directed to overcoming one or more of the deficiencies of the prior art and providing a face recognition system and method.
The purpose of the invention is realized by the following technical scheme: a face recognition system comprising:
the information input module is used for acquiring a face picture and a service provider identifier;
the service provider management module is used for increasing or decreasing the service provider identification module;
the service provider judging module is used for judging whether a corresponding service provider identification module exists according to the service provider identification acquired by the information input module;
the first image distribution module is used for distributing the face image to the corresponding service provider identification module when the service provider judgment module judges that the corresponding service provider identification module exists;
the service provider identification module is used for identifying the received face picture and outputting an identification processing result;
and the second picture distribution module is used for distributing the face picture to a preset picture processing terminal when the service provider identification modules corresponding to the service provider identifications all identify the face picture.
Preferably, the first picture distribution module is further configured to output a first prompt message when the facilitator determination module determines that the corresponding facilitator identification module does not exist.
Preferably, the second image distribution module is further configured to output second prompt information when at least one service provider identification module corresponding to the service provider identification does not identify the face image.
A face recognition method is applied to the face recognition system, and comprises the following steps:
a picture acquisition step: acquiring a face picture and a service provider identifier;
and a service provider judgment step: judging whether a corresponding service provider identification module exists according to the service provider identification;
picture identification: if the corresponding service provider identification module exists, the face picture is distributed to the service provider identification module corresponding to the service provider identification, and the service provider identification module carries out identification processing on the face picture;
a picture distribution step: and if all the service provider identification modules pass the identification, distributing the face picture to a preset picture processing terminal.
Preferably, in the service provider judging step, if there is no corresponding service provider identification module, the picture obtaining step is executed.
Preferably, when the corresponding service provider identification module does not exist in the service provider judging step, the corresponding service provider identification module is newly added before the picture obtaining step is executed.
Preferably, in the picture identifying step, if at least one service provider identification module fails to identify, the picture obtaining step is executed.
Preferably, the picture recognition step includes:
distributing the face picture to one of service provider identification modules corresponding to service provider identifications, and defining the service provider identification module as a pre-identification module;
the pre-recognition module carries out recognition processing on the face picture;
if the pre-recognition module passes the recognition, the face picture is distributed to all the other service provider recognition modules except the pre-recognition module in the service provider recognition module corresponding to the service provider identification;
and the service provider identification module identifies the face picture.
Preferably, in the picture recognizing step, if the pre-recognition module fails to recognize the picture, the picture acquiring step is executed.
Preferably, the face recognition method further includes:
a picture storage step: and storing the face picture.
The invention has the beneficial effects that:
(1) in the invention, all service provider identification modules are not interfered with each other, and the face picture is distributed to the selected service provider identification modules at one time by adopting multithreading to obtain the response result of the service provider identification modules, thereby ensuring the passing consistency of the face picture in face identification verification and preventing the problems that the same face picture fails to be verified in some face identification service providers, the verification of some face identification service providers is successful and finally the difference value occurs due to the inconsistent face identification algorithm of the service providers;
(2) the invention is provided with a service provider management module which can increase or decrease service provider identification modules in the face identification system, when the service provider identification modules integrated in the face identification system can not meet the requirements of users, the users can expand new service provider identification modules to meet the actual requirements of the users;
(3) in the invention, the face pictures received by each service provider identification module are the same, and only one face picture is stored locally, thereby avoiding the waste of storage resources.
Drawings
FIG. 1 is a block diagram of one component of a face recognition system;
fig. 2 is a flowchart of a face recognition method.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive effort based on the embodiments of the present invention, are within the scope of the present invention.
Referring to fig. 1-2, the present embodiment provides a face recognition system and method:
example one
As shown in fig. 1, a face recognition system includes an information input module, a service provider management module, a service provider judgment module, a service provider identification module, a first image distribution module, and a second image distribution module.
The information input module is used for acquiring the face picture and the service provider identification. When the face picture is input into the face recognition system, the service provider identification corresponding to the selected service provider identification module is input into the face recognition system together. Generally, the selected service provider identification module may be one or more, and accordingly, the service provider identifier input into the face recognition system needs to include identifiers corresponding to all selected service provider identification modules. For example, if the a service provider identification module and the B service provider identification module are selected, the inputted service provider identification includes an identification of the a service provider identification module and an identification of the B service provider identification module.
The service provider management module is used for increasing or decreasing service provider identification modules. That is, in this embodiment, the user may add or reduce the number of the facilitator identification modules in the face recognition system according to the actual requirement, for example, when the facilitator identification module integrated in the face recognition system cannot meet the requirement of the user, the user may extend a new facilitator identification module to meet the actual requirement of the user.
The service provider judging module is used for judging whether a corresponding service provider identification module exists according to the service provider identification acquired by the information input module. Generally, when there is a corresponding service provider identification module, a subsequent processing operation is performed.
In some embodiments, the first image distribution module is further configured to output first prompt information to prompt the user when the facilitator determination module determines that the corresponding facilitator identification module does not exist. In general, the first prompt message includes "no corresponding service provider identification module exists", or the first prompt message includes "missing a service provider identification module" ("indicates the name of the missing service provider identification module"), and the like.
The first image distribution module is used for distributing the face image to the corresponding service provider identification module when the service provider judgment module judges that the corresponding service provider identification module exists. Generally, a multithreading one-time distribution of the face picture to the selected service provider identification module is adopted.
And the service provider identification module is used for identifying the received face picture and outputting an identification processing result. In this embodiment, each service provider identification module does not interfere with each other, and independently identifies the received face image and outputs the result of the identification.
And the second picture distribution module is used for distributing the face picture to a preset picture processing terminal when the service provider identification modules corresponding to the service provider identifications all identify the face picture. In this embodiment, when all the service provider identification modules corresponding to the service provider identifications pass the face pictures, the face pictures are distributed to a preset picture processing terminal, so that the consistency of the face pictures passing the face identification verification is ensured, and the problems that the same face picture fails to be checked by some face identification service providers, the check of some face identification service providers succeeds, and finally the difference value occurs due to the inconsistent face identification algorithms of the service providers are prevented.
In some embodiments, the second image distribution module is further configured to output second prompt information when at least one service provider identification module corresponding to the service provider identification does not identify the human face image. In general, the second prompt message includes "service provider identification module fails", or the second prompt message includes "service provider identification module fails" ("indicates a name identifying a failed service provider identification module"), and the like.
In some embodiments, the face recognition system further includes a storage module, and the storage module is configured to store data information such as face pictures and service logo, and only one face picture is stored in each face picture, which saves storage resources.
Example two
As shown in fig. 2, a face recognition method is applied to the face recognition system according to the first embodiment. The face recognition method comprises the following steps:
s1, picture acquisition: and acquiring a face picture and a service provider identifier.
When the face picture is input into the face recognition system, the service provider identification corresponding to the selected service provider identification module is input into the face recognition system together. Generally, the selected service provider identification module may be one or more, and accordingly, the service provider identifier input into the face recognition system needs to include identifiers corresponding to all selected service provider identification modules.
S2, a service provider judgment step: and judging whether a corresponding service provider identification module exists according to the service provider identification.
In some embodiments, in the service provider determining step, if there is no corresponding service provider identification module, the picture obtaining step is performed. That is, the user is prompted that there are no one or more selected facilitator identification modules, and is asked to reselect a facilitator identification module.
In some embodiments, in the service provider determining step, if there is no corresponding service provider identification module, adding a corresponding service provider identification module, and then performing the picture obtaining step. Namely, the user is prompted to have no one or more selected service provider identification modules, and the user re-inputs the face picture and the service provider identification after adding the corresponding service provider identification module for the face identification system.
S3, picture identification: and if the corresponding service provider identification module exists, the face picture is distributed to the service provider identification module corresponding to the service provider identification, and the service provider identification module identifies the face picture.
In some embodiments, the picture identifying step comprises:
and S31, distributing the face picture to one of service provider identification modules corresponding to service provider identifications, and defining the service provider identification module as a pre-identification module.
And S32, a pre-recognition module performs recognition processing on the face picture.
And S33, if the pre-recognition module passes the recognition, distributing the face picture to all the service provider recognition modules except the pre-recognition module in the service provider recognition module corresponding to the service provider identification.
And S34, the service provider identification module identifies the face picture.
In the embodiment, one service provider identification module is selected to perform pre-identification processing on the face picture, and when the pre-identification is not passed, the subsequent identification processing is not performed, so that the computing resources are saved. Generally, the service provider identification module with the lowest identification passing rate in the service provider identification modules selected by the user is selected to perform face image pre-identification processing.
In some embodiments, in the step of identifying the picture, if the at least one service provider identification module does not pass the identification, the step of obtaining the picture is performed. Namely, the user is prompted that one or more selected service provider identification modules fail to identify, and the user is required to reselect the face picture. In the embodiment, as long as one service provider identification module fails to identify, the user is required to select the face picture again for inputting, so that the consistency of the face picture passing the face identification verification is ensured, and the problems that the same face picture fails to be detected by some face identification service providers, the same face picture is successfully verified by some face identification service providers and finally a difference value occurs due to the inconsistent face identification algorithm of the service provider are solved.
S4, picture distribution: and if all the service provider identification modules pass the identification, distributing the face picture to a preset picture processing terminal.
In some embodiments, the face recognition method further comprises: a picture storage step: and storing the face picture. In the embodiment, only one face picture is stored locally, so that storage resources are saved.
The foregoing is illustrative of the preferred embodiments of this invention, and it is to be understood that the invention is not limited to the precise form disclosed herein and that various other combinations, modifications, and environments may be resorted to, falling within the scope of the concept as disclosed herein, either as described above or as apparent to those skilled in the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A face recognition system, comprising:
the information input module is used for acquiring a face picture and a service provider identifier;
the service provider management module is used for increasing or decreasing the service provider identification module;
the service provider judging module is used for judging whether a corresponding service provider identification module exists according to the service provider identification acquired by the information input module;
the first image distribution module is used for distributing the face image to the corresponding service provider identification module when the service provider judgment module judges that the corresponding service provider identification module exists;
the service provider identification module is used for identifying the received face picture and outputting an identification processing result;
and the second picture distribution module is used for distributing the face picture to a preset picture processing terminal when the service provider identification modules corresponding to the service provider identifications all identify the face picture.
2. The face recognition system of claim 1, wherein the first image distribution module is further configured to output first prompt information when the facilitator determination module determines that the corresponding facilitator identification module does not exist.
3. The face recognition system of claim 1, wherein the second image distribution module is further configured to output a second prompt message when at least one service provider recognition module corresponding to the service provider identification does not recognize that the face image passes through.
4. A face recognition method applied to the face recognition system according to claim 1, wherein the face recognition method comprises:
a picture acquisition step: acquiring a face picture and a service provider identifier;
and a service provider judgment step: judging whether a corresponding service provider identification module exists according to the service provider identification;
picture identification: if the corresponding service provider identification module exists, the face picture is distributed to the service provider identification module corresponding to the service provider identification, and the service provider identification module carries out identification processing on the face picture;
a picture distribution step: and if all the service provider identification modules pass the identification, distributing the face picture to a preset picture processing terminal.
5. The face recognition method according to claim 4, wherein in the service provider judging step, if the corresponding service provider recognition module does not exist, the image obtaining step is executed.
6. The face recognition method of claim 5, wherein when the corresponding service provider identification module does not exist in the service provider determination step, the corresponding service provider identification module is added before the image acquisition step is executed.
7. The face recognition method according to claim 4, wherein in the picture recognition step, if at least one service provider recognition module fails to recognize the face, the picture acquisition step is performed.
8. The face recognition method of claim 4, wherein the picture recognition step comprises:
distributing the face picture to one of service provider identification modules corresponding to service provider identifications, and defining the service provider identification module as a pre-identification module;
the pre-recognition module carries out recognition processing on the face picture;
if the pre-recognition module passes the recognition, the face picture is distributed to all the other service provider recognition modules except the pre-recognition module in the service provider recognition module corresponding to the service provider identification;
and the service provider identification module identifies the face picture.
9. The method according to claim 8, wherein in the step of image recognition, if the pre-recognition module fails to recognize, the step of image acquisition is performed.
10. The face recognition method of claim 4, further comprising:
a picture storage step: and storing the face picture.
CN202111494580.0A 2021-12-09 2021-12-09 Face recognition method and system Active CN113918131B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111494580.0A CN113918131B (en) 2021-12-09 2021-12-09 Face recognition method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111494580.0A CN113918131B (en) 2021-12-09 2021-12-09 Face recognition method and system

Publications (2)

Publication Number Publication Date
CN113918131A true CN113918131A (en) 2022-01-11
CN113918131B CN113918131B (en) 2022-07-19

Family

ID=79248788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111494580.0A Active CN113918131B (en) 2021-12-09 2021-12-09 Face recognition method and system

Country Status (1)

Country Link
CN (1) CN113918131B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160086021A1 (en) * 2014-09-24 2016-03-24 1A Smart Start, Inc. Substance Testing Systems and Methods with Test Subject Identification Using Electronic Facial Recognition Techniques
US20170308739A1 (en) * 2015-06-11 2017-10-26 Tencent Technology (Shenzhen) Company Limited Human face recognition method and recognition system
CN108319938A (en) * 2017-12-31 2018-07-24 奥瞳***科技有限公司 High quality training data preparation system for high-performance face identification system
CN109598232A (en) * 2018-12-03 2019-04-09 恒睿(重庆)人工智能技术研究院有限公司 A kind of integrated bio identification technology control method and its device
CN110738156A (en) * 2019-10-10 2020-01-31 武汉普利商用机器有限公司 face recognition system and method based on message middleware
CN110852139A (en) * 2018-08-21 2020-02-28 阿里巴巴集团控股有限公司 Biometric feature recognition method, biometric feature recognition device, biometric feature recognition equipment and storage medium
CN111277554A (en) * 2018-12-05 2020-06-12 阿里巴巴集团控股有限公司 Authentication method, device, system and storage medium
CN111400690A (en) * 2020-03-25 2020-07-10 支付宝(杭州)信息技术有限公司 Biological verification method and device
CN111695462A (en) * 2020-05-29 2020-09-22 平安科技(深圳)有限公司 Face recognition method, face recognition device, storage medium and server
CN112712026A (en) * 2020-12-29 2021-04-27 广州广电运通智能科技有限公司 Identity recognition method, face registration method, computer device and storage medium
CN113159000A (en) * 2021-05-26 2021-07-23 中国工商银行股份有限公司 Face recognition method, device and system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160086021A1 (en) * 2014-09-24 2016-03-24 1A Smart Start, Inc. Substance Testing Systems and Methods with Test Subject Identification Using Electronic Facial Recognition Techniques
US20170308739A1 (en) * 2015-06-11 2017-10-26 Tencent Technology (Shenzhen) Company Limited Human face recognition method and recognition system
CN108319938A (en) * 2017-12-31 2018-07-24 奥瞳***科技有限公司 High quality training data preparation system for high-performance face identification system
CN110852139A (en) * 2018-08-21 2020-02-28 阿里巴巴集团控股有限公司 Biometric feature recognition method, biometric feature recognition device, biometric feature recognition equipment and storage medium
CN109598232A (en) * 2018-12-03 2019-04-09 恒睿(重庆)人工智能技术研究院有限公司 A kind of integrated bio identification technology control method and its device
CN111277554A (en) * 2018-12-05 2020-06-12 阿里巴巴集团控股有限公司 Authentication method, device, system and storage medium
CN110738156A (en) * 2019-10-10 2020-01-31 武汉普利商用机器有限公司 face recognition system and method based on message middleware
CN111400690A (en) * 2020-03-25 2020-07-10 支付宝(杭州)信息技术有限公司 Biological verification method and device
CN111695462A (en) * 2020-05-29 2020-09-22 平安科技(深圳)有限公司 Face recognition method, face recognition device, storage medium and server
CN112712026A (en) * 2020-12-29 2021-04-27 广州广电运通智能科技有限公司 Identity recognition method, face registration method, computer device and storage medium
CN113159000A (en) * 2021-05-26 2021-07-23 中国工商银行股份有限公司 Face recognition method, device and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ADRIAN ROSEBROCK: "Face recognition with OpenCV, Python, and deep learning", 《HTTPS://PYIMAGESEARCH.COM/2018/06/18/FACE-RECOGNITION-WITH-OPENCV-PYTHON-AND-DEEP-LEARNING/》 *
汉柏: "人脸识别***技术", 《HTTP://WWW.CHINA-DIDAC.COM/HANBAIRENLIANSHIBIE.PDF》 *

Also Published As

Publication number Publication date
CN113918131B (en) 2022-07-19

Similar Documents

Publication Publication Date Title
US12015615B2 (en) Apparatus and method for coordinating the matching and initial communications between individuals in a dating application
CN106096539A (en) A kind of method carrying out bio-identification and terminal
CN107491674B (en) Method and device for user authentication based on characteristic information
CN111343179B (en) Real-time consensus method and device for authenticity of data on link
CN110826799B (en) Service prediction method, device, server and readable storage medium
US11758403B1 (en) Threat identification, prevention, and remedy
CN109766483B (en) Regular expression generation method, device, computer equipment and storage medium
CN111476216A (en) Face recognition method and device, computer equipment and readable storage medium
CN114724215A (en) Sensitive image identification method and system
CN108037989B (en) SDK component identification method and device
CN113918131B (en) Face recognition method and system
CN116524206B (en) Target image identification method and device
CN111783677B (en) Face recognition method, device, server and computer readable medium
CN111526253B (en) Call control method, device, computer equipment and storage medium
CN113992784B (en) Audio and video call method, device, computer equipment and storage medium
CN113468886B (en) Work order processing method and device and computer equipment
CN115269494A (en) Data archiving method and device
CN108270796B (en) Method, device and system for verifying image verification code
CN111176630A (en) Method and device for changing identity information of person on duty
CN111814551A (en) Human face recognition method, device and equipment based on small program and storage medium
CN110750366A (en) Message processing method and device, computer equipment and storage medium
CN110544099A (en) Payment method, payment processing system and payment acceptance terminal based on block chain
CN111508617B (en) Epidemic situation data maintenance method and device, computer equipment and readable storage medium
US11604938B1 (en) Systems for obscuring identifying information in images
CN112084827B (en) Data processing method and 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
GR01 Patent grant
GR01 Patent grant