CN113918131B - Face recognition method and system - Google Patents

Face recognition method and system Download PDF

Info

Publication number
CN113918131B
CN113918131B CN202111494580.0A CN202111494580A CN113918131B CN 113918131 B CN113918131 B CN 113918131B CN 202111494580 A CN202111494580 A CN 202111494580A CN 113918131 B CN113918131 B CN 113918131B
Authority
CN
China
Prior art keywords
service provider
module
picture
face
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.)
Active
Application number
CN202111494580.0A
Other languages
Chinese (zh)
Other versions
CN113918131A (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 server judging module is used for judging whether a corresponding server identification module exists according to the server 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 identify that the face picture passes through.
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;
a picture identification step: 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, subsequent processing operations are 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 "there is no corresponding service provider identification module", or the first prompt message includes similar information such as "missing star service provider identification module" ("indicates the name of the missing service provider identification 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. 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 identification pass the face picture, the face picture is distributed to a preset picture processing terminal, so that the consistency of the face picture passing the face identification check 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 a difference value occurs due to inconsistent face identification algorithms of 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 judging 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 the user 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 that one or more selected service provider identification modules do not exist, and after the user adds a corresponding service provider identification module for the face identification system, the face picture and the service provider identification are input again.
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 the pre-identification processing on the face picture, and when the pre-identification is not passed, the subsequent identification processing is not executed, 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 the pre-identification processing of the face picture.
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 the present invention, and it is to be understood that the invention is not limited to the precise form disclosed herein and is not to be construed as limited to the exclusion of other embodiments, and that various other combinations, modifications, and environments may be used and modifications may be made within the scope of the concepts described herein, either by the above teachings or the skill or knowledge of 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 (7)

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 judging 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: if all the service provider identification modules pass the identification, the face picture is distributed to a preset picture processing terminal;
the picture identification step comprises the following steps:
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 service provider recognition modules except the pre-recognition module in the service provider recognition module corresponding to the service provider identification;
the service provider identification module identifies the face picture;
in the picture identification step, if the pre-identification module does not pass the identification, the picture acquisition step is executed;
selecting the service provider identification module with the lowest identification passing rate from the service provider identification modules selected by the user to carry out the pre-identification processing of the face picture; in the step of judging the service provider, if the corresponding service provider identification module does not exist, the step of obtaining the picture is executed.
5. The face recognition method of claim 4, 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.
6. 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.
7. 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 CN113918131A (en) 2022-01-11
CN113918131B true 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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108319938A (en) * 2017-12-31 2018-07-24 奥瞳***科技有限公司 High quality training data preparation system for high-performance face identification system
CN110738156A (en) * 2019-10-10 2020-01-31 武汉普利商用机器有限公司 face recognition system and method based on message middleware
CN111695462A (en) * 2020-05-29 2020-09-22 平安科技(深圳)有限公司 Face recognition method, face recognition device, storage medium and server
CN113159000A (en) * 2021-05-26 2021-07-23 中国工商银行股份有限公司 Face recognition method, device and system

Family Cites Families (7)

* 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
CN104966053B (en) * 2015-06-11 2018-12-28 腾讯科技(深圳)有限公司 Face identification method and identifying system
CN110852139B (en) * 2018-08-21 2024-05-24 斑马智行网络(香港)有限公司 Biometric identification method, device, apparatus 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
CN114817884A (en) * 2020-03-25 2022-07-29 支付宝(杭州)信息技术有限公司 Biological verification method and device
CN112712026B (en) * 2020-12-29 2023-08-01 广州广电运通智能科技有限公司 Identity recognition method, face registration method, computer device, and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108319938A (en) * 2017-12-31 2018-07-24 奥瞳***科技有限公司 High quality training data preparation system for high-performance face identification system
CN110738156A (en) * 2019-10-10 2020-01-31 武汉普利商用机器有限公司 face recognition system and method based on message middleware
CN111695462A (en) * 2020-05-29 2020-09-22 平安科技(深圳)有限公司 Face recognition method, face recognition device, storage medium and server
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
Face recognition with OpenCV, Python, and deep learning;Adrian Rosebrock;《https://pyimagesearch.com/2018/06/18/face-recognition-with-opencv-python-and-deep-learning/》;20210704;全文 *
人脸识别***技术;汉柏;《http://www.china-didac.com/hanbairenlianshibie.pdf》;20180327;1-11页 *

Also Published As

Publication number Publication date
CN113918131A (en) 2022-01-11

Similar Documents

Publication Publication Date Title
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
CN108280422B (en) Method and device for recognizing human face
CN110826799B (en) Service prediction method, device, server and readable storage medium
US11758403B1 (en) Threat identification, prevention, and remedy
CN111476216A (en) Face recognition method and device, computer equipment and readable storage medium
CN111985360A (en) Face recognition method, device, equipment and medium
CN113763211A (en) Infringement detection method and device based on block chain and electronic equipment
CN113918131B (en) Face recognition method and system
CN108037989B (en) SDK component identification method and device
CN111783677B (en) Face recognition method, device, server and computer readable medium
CN116524206B (en) Target image identification method and device
CN109063442B (en) Service implementation method and device and camera implementation method and device
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
CN110674695B (en) Service providing method, device, equipment and medium based on identity information identification
CN111176630A (en) Method and device for changing identity information of person on duty
CN108270796B (en) Method, device and system for verifying image verification code
CN111814551A (en) Human face recognition method, device and equipment based on small program and storage medium
US11604938B1 (en) Systems for obscuring identifying information in images
CN116049893B (en) Sensitive software big data processing method and server for coping with cloud service
CN112084827B (en) Data processing method and device
CN113239202B (en) Data processing method, device, server and storage medium

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