CN110175446A - Personal identification method and relevant apparatus - Google Patents
Personal identification method and relevant apparatus Download PDFInfo
- Publication number
- CN110175446A CN110175446A CN201910472649.6A CN201910472649A CN110175446A CN 110175446 A CN110175446 A CN 110175446A CN 201910472649 A CN201910472649 A CN 201910472649A CN 110175446 A CN110175446 A CN 110175446A
- Authority
- CN
- China
- Prior art keywords
- information
- image
- ratio
- identification
- fingerprint
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/12—Fingerprints or palmprints
- G06V40/13—Sensors therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/12—Fingerprints or palmprints
- G06V40/1347—Preprocessing; Feature extraction
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/12—Fingerprints or palmprints
- G06V40/1365—Matching; Classification
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/14—Vascular patterns
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
- Collating Specific Patterns (AREA)
Abstract
本申请公开了一种身份识别方法及相关装置,应用于包括生物识别模组的电子设备,该方法包括:通过生物识别模组进行生物识别,得到指纹图像和指静脉图像;解析指纹图像,得到指纹特征信息,以及解析指静脉图像,得到指静脉特征信息;基于指纹特征信息确定指纹图像的第一质量评价值,以及基于指静脉特征信息确定指静脉图像的第二质量评价值;基于第一质量评价值和第二质量评价值确定第一比例和第二比例;基于第一比例和第二比例进行身份识别。采用本申请实施例可提高身份识别的成功率。
The present application discloses an identification method and a related device, which are applied to electronic equipment including a biometric identification module. The method includes: performing biometric identification through the biometric identification module to obtain a fingerprint image and a finger vein image; analyzing the fingerprint image to obtain fingerprint feature information, and analyzing the finger vein image to obtain finger vein feature information; determining a first quality evaluation value of the fingerprint image based on the fingerprint feature information, and determining a second quality evaluation value of the finger vein image based on the finger vein feature information; The quality evaluation value and the second quality evaluation value determine the first ratio and the second ratio; the identification is performed based on the first ratio and the second ratio. By adopting the embodiments of the present application, the success rate of identity recognition can be improved.
Description
技术领域technical field
本申请涉及电子技术领域,尤其涉及一种身份识别方法及相关装置。The present application relates to the field of electronic technology, and in particular, to an identity recognition method and related devices.
背景技术Background technique
身份识别的常用方式例如有指纹识别、瞳孔识别、人脸识别等。目前,电子设备(例如手机、平板等)上设置的识别方式通常是上述常用方式中的一种。这种单模式识别存在这样一个问题,采集到的图像的有效识别区域较少时,即使该有效识别区域内所有的特征点与预定特征点全部匹配成功,电子设备仍然会判断身份识别失败,从而导致身份识别的成功率降低。Common methods of identity recognition include fingerprint recognition, pupil recognition, face recognition, and the like. At present, the identification method set on an electronic device (such as a mobile phone, a tablet, etc.) is usually one of the above-mentioned common methods. There is such a problem in this single-pattern recognition. When the valid recognition area of the collected image is small, even if all the feature points in the valid recognition area are successfully matched with the predetermined feature points, the electronic device will still judge that the identity recognition fails, and thus This reduces the success rate of identification.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种身份识别方法及相关装置,用于提高身份识别的成功率。Embodiments of the present application provide an identity recognition method and a related device, which are used to improve the success rate of identity recognition.
第一方面,本申请实施例提供一种身份识别方法,应用于包括生物识别模组的电子设备,所述方法包括:In a first aspect, an embodiment of the present application provides an identification method, which is applied to an electronic device including a biometric identification module, and the method includes:
通过所述生物识别模组进行生物识别,得到指纹图像和指静脉图像;Perform biometric identification through the biometric identification module to obtain a fingerprint image and a finger vein image;
解析所述指纹图像,得到指纹特征信息,以及解析所述指静脉图像,得到指静脉特征信息;Parsing the fingerprint image to obtain fingerprint feature information, and parsing the finger vein image to obtain finger vein feature information;
基于所述指纹特征信息确定所述指纹图像的第一质量评价值,以及基于所述指静脉特征信息确定所述指静脉图像的第二质量评价值;determining a first quality evaluation value of the fingerprint image based on the fingerprint feature information, and determining a second quality evaluation value of the finger vein image based on the finger vein feature information;
基于所述第一质量评价值和所述第二质量评价值确定第一比例和第二比例,所述第一比例用于表征所述指纹特征信息在总的生物特征信息中的占比,所述第二比例用于表征所述指静脉特征信息在总的生物特征信息中的占比;A first ratio and a second ratio are determined based on the first quality evaluation value and the second quality evaluation value, where the first ratio is used to represent the proportion of the fingerprint feature information in the total biometric information, and the The second ratio is used to represent the proportion of the finger vein feature information in the total biometric information;
基于所述第一比例和所述第二比例进行身份识别。The identification is performed based on the first scale and the second scale.
第二方面,本申请实施例提供一种身份识别装置,应用于包括生物识别模组的电子设备,所述装置包括:In a second aspect, an embodiment of the present application provides an identification device, which is applied to an electronic device including a biometric module, and the device includes:
图像采集单元,用于通过所述生物识别模组进行生物识别,得到指纹图像和指静脉图像;an image acquisition unit for performing biometric identification through the biometric identification module to obtain a fingerprint image and a finger vein image;
解析单元,用于解析所述指纹图像,得到指纹特征信息,以及解析所述指静脉图像,得到指静脉特征信息;an analysis unit, configured to analyze the fingerprint image to obtain fingerprint feature information, and analyze the finger vein image to obtain finger vein feature information;
确定单元,用于基于所述指纹特征信息确定所述指纹图像的第一质量评价值,以及基于所述指静脉特征信息确定所述指静脉图像的第二质量评价值;基于所述第一质量评价值和所述第二质量评价值确定第一比例和第二比例,所述第一比例用于表征所述指纹特征信息在总的生物特征信息中的占比,所述第二比例用于表征所述指静脉特征信息在总的生物特征信息中的占比;a determining unit, configured to determine a first quality evaluation value of the fingerprint image based on the fingerprint feature information, and determine a second quality evaluation value of the finger vein image based on the finger vein feature information; based on the first quality The evaluation value and the second quality evaluation value determine a first ratio and a second ratio, the first ratio is used to represent the proportion of the fingerprint feature information in the total biometric information, and the second ratio is used to representing the proportion of the finger vein feature information in the total biometric information;
身份识别单元,用于基于所述第一比例和所述第二比例进行身份识别。An identification unit, configured to perform identification based on the first ratio and the second ratio.
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面所述的方法中的步骤的指令。In a third aspect, embodiments of the present application provide an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the above-mentioned processing The above program includes instructions for executing the steps in the method described in the first aspect of the embodiments of the present application.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面所述的方法中所描述的部分或全部步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the computer program as described in the first embodiment of the present application. Some or all of the steps described in the method of an aspect.
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面所述的方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute as implemented in the present application. For example, some or all of the steps described in the method described in the first aspect. The computer program product may be a software installation package.
可以看出,在本申请实施例中,先通过生物识别模组进行生物识别,得到指纹图像和指静脉图像;然后解析该指纹图像,得到指纹特征信息,以及解析该指静脉图像,得到指静脉特征信息;基于该指纹特征信息确定指纹图像的第一质量评价值,以及基于该指静脉特征信息确定指静脉图像的第二质量评价值;基于第一质量评价值和第二质量评价值确定第一比例和第二比例,以及基于第一比例和第二比例进行身份识别,这种融合指纹识别和指静脉识别的多模式识别,采集到的特征信息多于单模式识别采集到的特征信息,能够弥补单模式识别下由于采集到的特征信息过少而导致识别失败的问题,从而提升身份识别的成功率;同时,指纹识别和指静脉识别共用一套生物识别模组,解决了多模式识别中采用两套生物识别模组导致需占用电子设备更大的空间问题。It can be seen that, in the embodiment of the present application, the biometric identification module is used for biometric identification to obtain a fingerprint image and a finger vein image; then the fingerprint image is analyzed to obtain fingerprint feature information, and the finger vein image is analyzed to obtain a finger vein image. feature information; determine the first quality evaluation value of the fingerprint image based on the fingerprint feature information, and determine the second quality evaluation value of the finger vein image based on the finger vein feature information; determine the first quality evaluation value based on the first quality evaluation value and the second quality evaluation value. A ratio and a second ratio, and identification based on the first ratio and the second ratio, this multi-pattern recognition that combines fingerprint recognition and finger vein recognition, collects more feature information than single-pattern recognition. It can make up for the problem of recognition failure caused by too little characteristic information collected under single-pattern recognition, thereby improving the success rate of identity recognition; at the same time, fingerprint recognition and finger vein recognition share a set of biometric recognition modules, which solves the problem of multi-pattern recognition. The use of two sets of biometric modules leads to the problem of taking up more space for electronic equipment.
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These and other aspects of the present application will be more clearly understood in the description of the following embodiments.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本申请实施例提供的一种电子设备的结构示意图;1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图2是本申请实施例提供的一种身份识别方法的流程示意图;2 is a schematic flowchart of an identification method provided by an embodiment of the present application;
图3是本申请实施例提供的一种身份识别方法的流程示意图;3 is a schematic flowchart of an identity identification method provided by an embodiment of the present application;
图4是本申请实施例提供的一种电子设备的结构示意图;4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图5是本申请实施例提供的一种身份识别装置的结构示意图。FIG. 5 is a schematic structural diagram of an identification device provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only The embodiments are part of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the scope of protection of the present application.
以下分别进行详细说明。Each of them will be described in detail below.
本申请的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third" and "fourth" in the description and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order . Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。Hereinafter, some terms in the present application will be explained so as to facilitate the understanding of those skilled in the art.
请参见图1,图1是本申请实施例提供的一种电子设备的结构示意图,该电子设备包括处理器、存储器、信号处理器、通信接口、触控屏、生物识别模块、扬声器、麦克风、随机存取存储器(Random Access Memory,RAM)和摄像头等等。Please refer to FIG. 1. FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device includes a processor, a memory, a signal processor, a communication interface, a touch screen, a biometric identification module, a speaker, a microphone, a Random Access Memory (Random Access Memory, RAM) and cameras, etc.
其中,处理器也可以是AP处理器,也可以是其他处理器。The processor may also be an AP processor or other processors.
其中,存储器、信号处理器、触控屏、扬声器、麦克风、RAM和摄像头与处理器连接,通信接口与信号处理器连接。The memory, signal processor, touch screen, speaker, microphone, RAM and camera are connected to the processor, and the communication interface is connected to the signal processor.
其中,生物识别模组包括生物识别传感器、发射器、陀螺仪等。所述发射器用于发射红外光信号,所述生物识别模组用于进行生物识别,得到指纹图像和指静脉图像。生物识别模组可以设置在电子设备的正面、背面、两侧或其他便于实现指静脉识别与指纹识别的位置,在此不做限定。Among them, the biometric module includes biometric sensors, transmitters, gyroscopes, and the like. The transmitter is used for emitting infrared light signals, and the biometric identification module is used for biometric identification to obtain a fingerprint image and a finger vein image. The biometric module can be arranged on the front, back, two sides of the electronic device, or other positions that are convenient for finger vein identification and fingerprint identification, which are not limited here.
其中,触控屏包括生物识别区域,生物识别模组位于生物识别区域的下方。The touch screen includes a biometric identification area, and the biometric identification module is located below the biometric identification area.
在本申请实施例中,处理器,用于通过所述生物识别模组进行生物识别,得到指纹图像和指静脉图像;解析所述指纹图像,得到指纹特征信息,以及解析所述指静脉图像,得到指静脉特征信息;基于所述指纹特征信息确定所述指纹图像的第一质量评价值,以及基于所述指静脉特征信息确定所述指静脉图像的第二质量评价值;基于所述第一质量评价值和所述第二质量评价值确定第一比例和第二比例,所述第一比例用于表征所述指纹特征信息在总的生物特征信息中的占比,所述第二比例用于表征所述指静脉特征信息在总的生物特征信息中的占比;基于所述第一比例和所述第二比例进行身份识别。In the embodiment of the present application, the processor is configured to perform biometric identification through the biometric identification module to obtain a fingerprint image and a finger vein image; parse the fingerprint image to obtain fingerprint feature information, and parse the finger vein image, obtaining finger vein feature information; determining a first quality evaluation value of the fingerprint image based on the fingerprint feature information, and determining a second quality evaluation value of the finger vein image based on the finger vein feature information; The quality evaluation value and the second quality evaluation value determine a first ratio and a second ratio, the first ratio is used to represent the proportion of the fingerprint feature information in the total biometric information, and the second ratio is used is used to characterize the proportion of the finger vein feature information in the total biometric information; identification is performed based on the first proportion and the second proportion.
在本申请的一实现方式中,所述指纹特征信息包括多个第一信息,所述指静脉特征信息包括多个第二信息,每个第一信息对应一个第一数值,每个第二信息对应一个第二数值,每个第一信息对应一个第一权重,每个第二信息对应一个第二权重,在基于所述指纹特征信息确定所述指纹图像的第一质量评价值,以及基于所述指静脉特征信息确定所述指静脉图像的第二质量评价值方面,处理器,具体用于基于所述多个第一信息对应的多个第一权重,所述多个第一信息对应的多个第一数值和质量评价公式进行计算,得到所述指纹图像的第一质量评价值;基于所述多个第二信息对应的多个第二权重,所述多个第二信息对应的多个第二数值和所述质量评价公式进行计算,得到所述指静脉图像的第二质量评价值。In an implementation manner of the present application, the fingerprint feature information includes a plurality of first information, the finger vein feature information includes a plurality of second information, each first information corresponds to a first value, and each second information Corresponding to a second value, each first information corresponding to a first weight, and each second information corresponding to a second weight, determining the first quality evaluation value of the fingerprint image based on the fingerprint feature information, and based on the In terms of determining the second quality evaluation value of the finger vein image by the finger vein feature information, the processor is specifically configured to be based on a plurality of first weights corresponding to the plurality of first information, and the plurality of first information corresponding to A plurality of first values and a quality evaluation formula are calculated to obtain a first quality evaluation value of the fingerprint image; based on the plurality of second weights corresponding to the plurality of second information, the plurality of second information corresponding to the plurality of second information The second numerical value and the quality evaluation formula are calculated to obtain the second quality evaluation value of the finger vein image.
在本申请的一实现方式中,在基于所述第一比例和所述第二比例进行身份识别方面,处理器,具体用于将所述指纹图像与预定指纹图像进行匹配,以得到第一匹配度;将所述指静脉图像与预定指静脉图像进行匹配,以得到第二匹配度;在所述第一匹配度和所述第二匹配度均大于或等于第一阈值时,基于所述第一匹配度、所述第一比例、所述第二匹配度、所述第二比例和匹配度公式确定第三匹配度;在所述第三匹配度大于或等于第二阈值时,确定身份识别成功。In an implementation manner of the present application, in terms of performing identity recognition based on the first ratio and the second ratio, the processor is specifically configured to match the fingerprint image with a predetermined fingerprint image to obtain a first matching matching the finger vein image with the predetermined finger vein image to obtain a second matching degree; when both the first matching degree and the second matching degree are greater than or equal to the first threshold, based on the first matching degree A matching degree, the first proportion, the second matching degree, the second proportion and the matching degree formula determine the third matching degree; when the third matching degree is greater than or equal to the second threshold, determine the identity recognition success.
在本申请的一实现方式中,处理器,还用于在所述第一匹配度或所述第二匹配度小于所述第一阈值时,或者,在所述第三匹配度小于所述第二阈值时,确定所述身份识别失败。In an implementation manner of the present application, the processor is further configured to, when the first matching degree or the second matching degree is less than the first threshold, or when the third matching degree is less than the first matching degree When there are two thresholds, it is determined that the identity recognition fails.
在本申请的一实现方式中,所述电子设备还包括生物识别区域,所述生物识别模组包括发射器和生物识别传感器,所述发射器用于发射红外光信号,在通过所述生物识别模组进行生物识别,得到指纹图像和指静脉图像方面,处理器,具体用于控制所述发射器发射第一红外光信号照射所述生物识别区域,以及通过所述生物识别模组进行指纹识别,得到指纹图像;控制所述发射器发射第二红外光信号照射所述生物识别区域,以及通过所述生物识别模组进行指静脉识别,得到指静脉图像;所述第一红外光信号和所述第二红外光信号的频率不同,手指静脉血液对所述第一红外光信号的吸收率小于对所述第二红外光信号的吸收率。In an implementation manner of the present application, the electronic device further includes a biometric identification area, the biometric identification module includes a transmitter and a biometric sensor, the transmitter is used for emitting infrared light signals, and when the biometric identification module passes the In terms of obtaining the fingerprint image and the finger vein image, the processor is specifically configured to control the transmitter to emit a first infrared light signal to illuminate the biometric identification area, and to perform fingerprint identification through the biometric identification module, obtaining a fingerprint image; controlling the transmitter to emit a second infrared light signal to illuminate the biometric identification area, and performing finger vein identification through the biometric identification module to obtain a finger vein image; the first infrared light signal and the The frequencies of the second infrared light signals are different, and the absorption rate of the finger vein blood to the first infrared light signal is smaller than the absorption rate of the second infrared light signal.
在本申请的一实现方式中,所述指静脉信息包括第三信息,所述第三信息包括手指静脉血液的明暗变化程度和/或手指静脉的伸张变化程度,在基于所述第一比例和所述第二比例进行身份识别之前,处理器,还用于基于所述第三信息确定手指静脉血液的流动速度;在所述手指静脉血液的流动速度大于或等于第一速度时,确定所述指纹图像和所述指静脉图像关联的手指为活体手指。In an implementation manner of the present application, the finger vein information includes third information, where the third information includes a degree of change in light and shade of blood in the finger vein and/or a degree of change in the extension of the finger vein, based on the first ratio and Before the identification of the second ratio is performed, the processor is further configured to determine the flow speed of the finger vein blood based on the third information; when the flow speed of the finger vein blood is greater than or equal to the first speed, determine the The finger associated with the fingerprint image and the finger vein image is a living finger.
在本申请的一实现方式中,在控制所述发射器发射第一红外光信号照射所述生物识别区域之前,处理器,还用于确定所述指纹图像和所述指静脉图像关联的手指与所述生物识别传感器的第一距离和所述手指的移动速度;基于所述第一距离和所述移动速度确定所述发射器的工作参数,所述工作参数包括以下至少一种:发射功率、发射时间、光信号强度。In an implementation manner of the present application, before controlling the transmitter to emit a first infrared light signal to illuminate the biometric identification area, the processor is further configured to determine whether the finger associated with the fingerprint image and the finger vein image is related to the fingerprint image. the first distance of the biometric sensor and the moving speed of the finger; the working parameters of the transmitter are determined based on the first distance and the moving speed, and the working parameters include at least one of the following: transmit power, Emission time, optical signal strength.
需要说明的是,各模块所执行的步骤的具体实现过程可参见下述方法所述的具体实现过程,在此不再叙述。It should be noted that, for the specific implementation process of the steps executed by each module, reference may be made to the specific implementation process described in the following method, which will not be described here.
请参见图2,图2是本申请实施例提供的一种身份识别方法的流程示意图,应用于上述电子设备,方法包括:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of an identification method provided by an embodiment of the present application, which is applied to the above-mentioned electronic device. The method includes:
步骤201:通过所述生物识别模组进行生物识别,得到指纹图像和指静脉图像。Step 201: Perform biometric identification through the biometric identification module to obtain a fingerprint image and a finger vein image.
其中,生物识别模组具备指纹图像采集功能和指静脉图像采集功能,可以同时采集指纹图像和指静脉图像;也可以先采集指纹图像,再采集指静脉图像;还可以先采集指静脉图像,再采集指纹图像,在此不作限定。Among them, the biometric module has a fingerprint image acquisition function and a finger vein image acquisition function, which can collect fingerprint images and finger vein images at the same time; it can also collect fingerprint images first, and then collect finger vein images; The fingerprint image is collected, which is not limited here.
步骤202:解析所述指纹图像,得到指纹特征信息,以及解析所述指静脉图像,得到指静脉特征信息。Step 202: Analyze the fingerprint image to obtain fingerprint feature information, and analyze the finger vein image to obtain finger vein feature information.
在本申请的一实现方式中,所述多个第一信息包括以下至少一个:所述指纹图像的有效面积、所述指纹图像的偏移度、所述指纹图像的干湿度、所述指纹图像的特征点;所述多个第二信息包括以下至少一个:所述指静脉图像的有效面积、所述指静脉图像的偏移度、所述指静脉图像的对比度、所述指静脉图像的特征点。In an implementation manner of the present application, the plurality of first pieces of information include at least one of the following: the effective area of the fingerprint image, the degree of offset of the fingerprint image, the dryness and humidity of the fingerprint image, the fingerprint image The plurality of second information includes at least one of the following: the effective area of the finger vein image, the offset degree of the finger vein image, the contrast of the finger vein image, the characteristics of the finger vein image point.
其中,指纹图像和指静脉图像均包括前景区域和背景区域,指纹图像的有效面积是指指纹图像中前景区域的面积,指静脉图像的有效面积是指指静脉图像中前景区域的面积。The fingerprint image and the finger vein image both include a foreground area and a background area, the effective area of the fingerprint image refers to the area of the foreground area in the fingerprint image, and the effective area of the finger vein image refers to the area of the foreground area in the finger vein image.
其中,指纹图像的偏移度是指纹图像的有效面积的质心相对于指纹图像的质心的偏移程度,指静脉图像的偏移度是指静脉图像的有效面积的质心相对于指纹图像的质心的偏移程度。The offset degree of the fingerprint image refers to the offset degree of the centroid of the effective area of the fingerprint image relative to the centroid of the fingerprint image, and the offset degree of the finger vein image refers to the offset degree of the centroid of the effective area of the vein image relative to the centroid of the fingerprint image. degree of offset.
其中,指纹图像的干湿度是从录入手指的干湿情况角度去衡量指纹图像质量的一个参数。手指过干或过湿会造成录入的指纹纹路不清晰、特征点数量少、方向信息混乱等问题。手指过干时,录入的指纹图像以白像素为主,其灰度方差较小而灰度均值较大;手指过湿时,录入的指纹图像以黑像素为主,其灰度方差和灰度均值均较小。Among them, the dryness and humidity of the fingerprint image is a parameter to measure the quality of the fingerprint image from the angle of the wetness and dryness of the recorded finger. If the fingers are too dry or too wet, the recorded fingerprint lines will be unclear, the number of feature points will be small, and the direction information will be confused. When the finger is too dry, the entered fingerprint image is dominated by white pixels, and its grayscale variance is small and the grayscale mean is large; when the finger is too wet, the entered fingerprint image is dominated by black pixels, and its grayscale variance and grayscale Means are small.
其中,指静脉图像的对比度是从光照角度去衡量指静脉图像质量的一个参数。指静脉图像采集过程中,由于光照不均匀的影响,会导致图像偏亮或偏暗,从而不利于后续图像处理。指静脉图像的对比度可以通过指静脉图像的均方差确定。Among them, the contrast of the finger vein image is a parameter to measure the quality of the finger vein image from the angle of illumination. In the process of finger vein image acquisition, due to the influence of uneven illumination, the image will be brighter or darker, which is not conducive to subsequent image processing. The contrast of the finger vein image can be determined by the mean square error of the finger vein image.
其中,指纹图像的特征点提供了指纹唯一性的确认信息,指纹图像的特征点例如有核心点、三角点、纹数、分叉点、分歧点、孤立点、环点、短纹等。Among them, the feature points of the fingerprint image provide confirmation information of the uniqueness of the fingerprint, such as core points, triangle points, number of lines, bifurcation points, divergence points, isolated points, ring points, short lines and so on.
其中,指静脉图像的特征点提供了指静脉唯一性的确认信息,指静脉图像的特征点例如有端点、交叉点、纹线等。Among them, the feature points of the finger vein image provide confirmation information of the uniqueness of the finger vein, and the feature points of the finger vein image include, for example, endpoints, intersections, and ridges.
步骤203:基于所述指纹特征信息确定所述指纹图像的第一质量评价值,以及基于所述指静脉特征信息确定所述指静脉图像的第二质量评价值。Step 203: Determine a first quality evaluation value of the fingerprint image based on the fingerprint feature information, and determine a second quality evaluation value of the finger vein image based on the finger vein feature information.
在本申请的一实现方式中,所述指纹特征信息包括多个第一信息,所述指静脉特征信息包括多个第二信息,每个第一信息对应一个第一数值,每个第二信息对应一个第二数值,每个第一信息对应一个第一权重,每个第二信息对应一个第二权重,所述基于所述指纹特征信息确定所述指纹图像的第一质量评价值,以及基于所述指静脉特征信息确定所述指静脉图像的第二质量评价值,包括:In an implementation manner of the present application, the fingerprint feature information includes a plurality of first information, the finger vein feature information includes a plurality of second information, each first information corresponds to a first value, and each second information Corresponding to a second value, each first information corresponding to a first weight, and each second information corresponding to a second weight, the determining the first quality evaluation value of the fingerprint image based on the fingerprint feature information, and the The finger vein feature information determines the second quality evaluation value of the finger vein image, including:
基于所述多个第一信息对应的多个第一权重,所述多个第一信息对应的多个第一数值和质量评价公式进行计算,得到所述指纹图像的第一质量评价值;Based on a plurality of first weights corresponding to the plurality of first pieces of information, a plurality of first values corresponding to the plurality of first pieces of information, and a quality evaluation formula are calculated to obtain a first quality evaluation value of the fingerprint image;
基于所述多个第二信息对应的多个第二权重,所述多个第二信息对应的多个第二数值和所述质量评价公式进行计算,得到所述指静脉图像的第二质量评价值。Based on the plurality of second weights corresponding to the plurality of second information, the plurality of second values corresponding to the plurality of second information, and the quality evaluation formula are calculated to obtain the second quality evaluation of the finger vein image. value.
在本申请的一实现方式中,指纹图像的有效面积对应的第一数值基于第一公式确定,第一公式为Q1=S0/S,其中,Q1为指纹图像的有效面积对应的第一数值,S0为指纹图像的有效面积,S为指纹图像的总面积,S=S0+S1,S0为指纹图像的无效面积。In an implementation of the present application, the first value corresponding to the effective area of the fingerprint image is determined based on a first formula. The first formula is Q 1 =S 0 /S, where Q 1 is the first value corresponding to the effective area of the fingerprint image. A value, S 0 is the effective area of the fingerprint image, S is the total area of the fingerprint image, S=S 0 +S 1 , S 0 is the invalid area of the fingerprint image.
在本申请的一实现方式中,指纹图像的偏移度对应的第一数值基于第二公式确定,第二公式为Q2=1-(Xc-W/2)/(W/2)或Q2=1-(Yc-H/2)/(H/2),其中,Q2为指纹图像的偏移度对应的第一数值,Xc和Yc分别为指纹图像的有效面积区域的质心的横坐标和纵坐标,W和H分别为指纹图像的宽度和长度。In an implementation manner of the present application, the first value corresponding to the offset degree of the fingerprint image is determined based on a second formula, and the second formula is Q 2 =1-(X c -W/2)/(W/2) or Q 2 =1-(Y c -H/2)/(H/2), wherein Q 2 is the first numerical value corresponding to the offset degree of the fingerprint image, X c and Y c are the effective area of the fingerprint image respectively The abscissa and ordinate of the centroid, W and H are the width and length of the fingerprint image, respectively.
在本申请的一实现方式中,指纹图像的干湿度对应的第一数值基于第三公式确定,第三公式为Q3=1-ND/N-NW/N,其中,Q3为指纹图像的干湿度对应的第一数值,ND、NW、N分别为指纹图像的干图像块数、湿图像块数和前景块总数。In an implementation of the present application, the first value corresponding to the dry humidity of the fingerprint image is determined based on a third formula, and the third formula is Q 3 =1-N D /NN W /N, where Q 3 is the value of the fingerprint image The first numerical value corresponding to the dry humidity, N D , N W , and N are the number of dry image blocks, the number of wet image blocks, and the total number of foreground blocks of the fingerprint image, respectively.
在本申请的一实现方式中,指纹图像的特征点对应的第一数值基于第四公式确定,第四公式为Q4=PT/P,其中,Q4为指纹图像的特征点对应的第一数值,PT、P分别为指纹图像的特征点数量数和预设指纹图像中的特征点数量。In an implementation of the present application, the first value corresponding to the feature point of the fingerprint image is determined based on a fourth formula, and the fourth formula is Q 4 =P T /P, where Q 4 is the first value corresponding to the feature point of the fingerprint image. A numerical value, P T and P are the number of feature points in the fingerprint image and the number of feature points in the preset fingerprint image, respectively.
在本申请的一实现方式中,指静脉图像的对比度对应的第二数值基于第五公式确定,第五公式为Q5=Cδ/C,其中,Q5为指静脉图像的对比度对应的第一数值,Cδ、C分别为指静脉图像的均方差和标准均方差。In an implementation of the present application, the second value corresponding to the contrast of the finger vein image is determined based on a fifth formula, and the fifth formula is Q 5 =C δ /C, where Q 5 is the first value corresponding to the contrast of the finger vein image A numerical value, C δ , C are the mean square error and standard mean square error of the finger vein image, respectively.
需要说明的是,所述指静脉图像的有效面积对应的第二数值与所述指纹图像的有效面积对应的第一数值确定方式相同,所述指静脉图像的偏移度对应的第二数值与所述指纹图像的偏移度对应的第一数值确定方式相同,所述指静脉图像的特征点对应的第二数值与所述指纹图像的特征点对应的第一数值确定方式相同,在此不再重复说明。It should be noted that, the second numerical value corresponding to the effective area of the finger vein image is determined in the same manner as the first numerical value corresponding to the effective area of the fingerprint image, and the second numerical value corresponding to the offset degree of the finger vein image is the same as the first numerical value corresponding to the effective area of the fingerprint image. The first numerical value corresponding to the offset degree of the fingerprint image is determined in the same manner, and the second numerical value corresponding to the feature point of the finger vein image is determined in the same manner as the first numerical value corresponding to the feature point of the fingerprint image. Repeat the instructions again.
在本申请的一实现方式中,所述质量评价公式基于第六公式确定,所述第六公式为:其中Q为总的质量评价值,Qi为第i个信息对应的数值,Ri第i个信息对应的权重。In an implementation manner of the present application, the quality evaluation formula is determined based on a sixth formula, and the sixth formula is: Among them, Q is the total quality evaluation value, Q i is the value corresponding to the ith information, and R i is the weight corresponding to the ith information.
步骤204:基于所述第一质量评价值和所述第二质量评价值确定第一比例和第二比例,所述第一比例用于表征所述指纹特征信息在总的生物特征信息中的占比,所述第二比例用于表征所述指静脉特征信息在总的生物特征信息中的占比。Step 204: Determine a first ratio and a second ratio based on the first quality evaluation value and the second quality evaluation value, where the first ratio is used to represent the proportion of the fingerprint feature information in the total biometric information. The second ratio is used to represent the proportion of the finger vein feature information in the total biometric information.
在本申请的一实现方式中,所述基于所述第一质量评价值和所述第二质量评价值确定第一比例和第二比例,包括:In an implementation manner of the present application, the determining of the first ratio and the second ratio based on the first quality evaluation value and the second quality evaluation value includes:
基于第七公式确定第一比例和基于第八公式确定第二比例,所述第七公式为m1=q6/(q6+q7),所述第八公式为m2=q7/(q6+q7),所述m1和所述m2分别为所述第一比例和所述第二比例,所述q6和所述q7分别为所述第一质量评价值和所述第二质量评价值。The first ratio is determined based on the seventh formula, and the second ratio is determined based on the eighth formula, the seventh formula is m 1 =q 6 /(q 6 +q 7 ), and the eighth formula is m 2 =q 7 / (q 6 +q 7 ), the m 1 and the m 2 are the first ratio and the second ratio, respectively, the q 6 and the q 7 are the first quality evaluation value and the the second quality evaluation value.
步骤205:基于所述第一比例和所述第二比例进行身份识别。Step 205: Perform identification based on the first ratio and the second ratio.
可以看出,在本申请实施例中,先通过生物识别模组进行生物识别,得到指纹图像和指静脉图像;然后解析该指纹图像,得到指纹特征信息,以及解析该指静脉图像,得到指静脉特征信息;基于该指纹特征信息确定指纹图像的第一质量评价值,以及基于该指静脉特征信息确定指静脉图像的第二质量评价值;基于第一质量评价值和第二质量评价值确定第一比例和第二比例,以及基于第一比例和第二比例进行身份识别,这种融合指纹识别和指静脉识别的多模式识别,采集到的特征信息多于单模式识别采集到的特征信息,能够弥补单模式识别下由于采集到的特征信息过少而导致识别失败的问题,从而提升身份识别的成功率;同时,指纹识别和指静脉识别共用一套生物识别模组,解决了多模式识别中采用两套生物识别模组导致需占用电子设备更大的空间问题。It can be seen that, in the embodiment of the present application, the biometric identification module is used for biometric identification to obtain a fingerprint image and a finger vein image; then the fingerprint image is analyzed to obtain fingerprint feature information, and the finger vein image is analyzed to obtain a finger vein image. feature information; determine the first quality evaluation value of the fingerprint image based on the fingerprint feature information, and determine the second quality evaluation value of the finger vein image based on the finger vein feature information; determine the first quality evaluation value based on the first quality evaluation value and the second quality evaluation value. A ratio and a second ratio, and identification based on the first ratio and the second ratio, this multi-pattern recognition that combines fingerprint recognition and finger vein recognition, collects more feature information than single-pattern recognition. It can make up for the problem of recognition failure caused by too little characteristic information collected under single-pattern recognition, thereby improving the success rate of identity recognition; at the same time, fingerprint recognition and finger vein recognition share a set of biometric recognition modules, which solves the problem of multi-pattern recognition. The use of two sets of biometric modules leads to the problem of taking up more space for electronic equipment.
在本申请的一实现方式中,所述基于所述第一比例和所述第二比例进行身份识别,包括:In an implementation manner of the present application, the performing identification based on the first ratio and the second ratio includes:
将所述指纹图像与预定指纹图像进行匹配,以得到第一匹配度;matching the fingerprint image with a predetermined fingerprint image to obtain a first degree of matching;
将所述指静脉图像与预定指静脉图像进行匹配,以得到第二匹配度;matching the finger vein image with a predetermined finger vein image to obtain a second matching degree;
在所述第一匹配度和所述第二匹配度均大于或等于第一阈值时,基于所述第一匹配度、所述第一比例、所述第二匹配度、所述第二比例和匹配度公式确定第三匹配度;When both the first matching degree and the second matching degree are greater than or equal to a first threshold, based on the first matching degree, the first ratio, the second matching degree, the second ratio and the The matching degree formula determines the third matching degree;
在所述第三匹配度大于或等于第二阈值时,确定身份识别成功。When the third degree of matching is greater than or equal to the second threshold, it is determined that the identity recognition is successful.
在本申请的一实现方式中,所述匹配度公式为n=m1n1+m2n2,所述n为所述第三匹配度,所述n1和n2分别为所述第一匹配度和所述第二匹配度。In an implementation manner of the present application, the matching degree formula is n=m 1 n 1 +m 2 n 2 , the n is the third matching degree, and n 1 and n 2 are the third matching degree respectively. A matching degree and the second matching degree.
其中,第一阈值例如为50%、60%、70%,或是其他值,在此不作限定。The first threshold is, for example, 50%, 60%, 70%, or other values, which are not limited here.
其中,第二阈值例如为80%、85%、90%,或是其他值,在此不作限定。The second threshold is, for example, 80%, 85%, 90%, or other values, which are not limited here.
在本申请的一实现方式中,所述方法还包括:In an implementation of the present application, the method further includes:
在所述第一匹配度或所述第二匹配度小于所述第一阈值时,或者,在所述第三匹配度小于所述第二阈值时,确定所述身份识别失败。When the first matching degree or the second matching degree is less than the first threshold, or when the third matching degree is less than the second threshold, it is determined that the identity recognition fails.
举例说明,第一匹配度为0,第二匹配度为100%,第一比例为1/2,第二比例为1/2,第一阈值为60%,由于第一匹配度小于第一阈值,仍然确定身份识别失败。For example, the first matching degree is 0, the second matching degree is 100%, the first ratio is 1/2, the second ratio is 1/2, and the first threshold is 60%, because the first matching degree is smaller than the first threshold , still determined that the identification failed.
又举例说明,第一匹配度为70%,第二匹配度为90%,第一比例为1/2,第二比例为1/2,第一阈值为60%,第二阈值为80%,计算出的第三匹配度为80%,确定身份识别成功。As another example, the first matching degree is 70%, the second matching degree is 90%, the first ratio is 1/2, the second ratio is 1/2, the first threshold is 60%, the second threshold is 80%, The calculated third matching degree is 80%, and it is determined that the identification is successful.
在本申请的一实现方式中,所述将所述指静脉图像与预定指静脉图像进行匹配,包括:In an implementation manner of the present application, the matching of the finger vein image with a predetermined finger vein image includes:
分析所述指静脉图像的特征点分布;analyzing the feature point distribution of the finger vein image;
按照M个不同圆心对所述指静脉图像进行圆形图像截取,得到M个圆形静脉区域图像,所述M为大于3的整数;Perform circular image interception on the finger vein images according to M different circle centers to obtain M circular vein region images, where M is an integer greater than 3;
从所述M个圆形静脉区域图像中选出目标圆形静脉区域图像,所述目标圆形静脉区域图像所包含的特征点的数量大于所述M个圆形静脉区域图像中的其他圆形静脉区域图像;A target circular vein area image is selected from the M circular vein area images, and the number of feature points included in the target circular vein area image is larger than that of other circular areas in the M circular vein area images vein area image;
将所述目标圆形静脉区域图像划分得到N个圆环,所述N个圆环的环宽相同;Dividing the target circular vein area image to obtain N rings, and the ring widths of the N rings are the same;
从所述N个圆环中半径最小的圆环开始,将所述N个圆环依次与预定指静脉图像进行特征点匹配,并累计已匹配圆环的匹配值。Starting from the ring with the smallest radius among the N rings, the N rings are sequentially matched with the predetermined finger vein images for feature points, and the matching values of the matched rings are accumulated.
可以看出,在本申请实施例中,只有在第一匹配度和所述第二匹配度均大于或等于第一阈值时,才进行身份识别,避免了由于指纹识别图像或指静脉图像为复制的图像造成身份识别成功的情况,提高了身份识别的安全性。It can be seen that, in the embodiment of the present application, identification is performed only when the first matching degree and the second matching degree are both greater than or equal to the first threshold, which avoids the fact that the fingerprint identification image or the finger vein image is duplicated. The image results in the successful identification of the identification, which improves the security of identification.
在本申请的一实现方式中,所述电子设备还包括生物识别区域,所述生物识别模组包括发射器和生物识别传感器,所述发射器用于发射红外光信号,所述通过所述生物识别模组进行生物识别,得到指纹图像和指静脉图像,包括:In an implementation manner of the present application, the electronic device further includes a biometric identification area, the biometric identification module includes a transmitter and a biometric sensor, the transmitter is used for emitting an infrared light signal, and the biometric identification The module performs biometric identification to obtain fingerprint images and finger vein images, including:
控制所述发射器发射第一红外光信号照射所述生物识别区域,以及通过所述生物识别模组进行指纹识别,得到指纹图像;Controlling the transmitter to emit a first infrared light signal to illuminate the biometric identification area, and performing fingerprint identification through the biometric identification module to obtain a fingerprint image;
控制所述发射器发射第二红外光信号照射所述生物识别区域,以及通过所述生物识别模组进行指静脉识别,得到指静脉图像;Controlling the transmitter to emit a second infrared light signal to illuminate the biometric identification area, and performing finger vein identification through the biometric identification module to obtain a finger vein image;
所述第一红外光信号和所述第二红外光信号的频率不同,手指静脉血液对所述第一红外光信号的吸收率小于对所述第二红外光信号的吸收率。The frequencies of the first infrared light signal and the second infrared light signal are different, and the absorption rate of the finger vein blood to the first infrared light signal is lower than the absorption rate of the second infrared light signal.
其中,流经指静脉血液的血红蛋白对700nm~1000nm附近的红外光信号会有吸收作用。例如,第一红外光信号的频率为500GHz,第二红外光信号的频率为375GHz。Among them, the hemoglobin flowing through the blood of the finger vein will absorb the infrared light signal near 700nm ~ 1000nm. For example, the frequency of the first infrared light signal is 500 GHz, and the frequency of the second infrared light signal is 375 GHz.
可以看出,在本申请实施例中,采集指纹图像和指静脉图像的光信号均为红外光信号,不需点亮生物识别区域就可进行生物特征信息的采集,节约了功耗。It can be seen that, in the embodiment of the present application, the optical signals of the fingerprint image and the finger vein image are both infrared light signals, and the biometric information can be collected without lighting the biometric identification area, which saves power consumption.
在本申请的一实现方式中,所述指静脉信息包括第三信息,所述第三信息包括手指静脉血液的明暗变化程度和/或手指静脉的伸张变化程度,所述基于所述第一比例和所述第二比例进行身份识别之前,所述方法还包括:In an implementation manner of the present application, the finger vein information includes third information, where the third information includes a degree of change in light and shade of blood in the finger vein and/or a degree of change in the extension of the finger vein, and the information is based on the first ratio. Before performing identification with the second ratio, the method further includes:
基于所述第三信息确定手指静脉血液的流动速度;determining the flow velocity of blood in the vein of the finger based on the third information;
在所述手指静脉血液的流动速度大于或等于第一速度时,确定所述指纹图像和所述指静脉图像关联的手指为活体手指。When the flow velocity of the blood in the finger vein is greater than or equal to the first velocity, it is determined that the finger associated with the fingerprint image and the finger vein image is a living finger.
其中,第一速度例如可以为0.1mm/s、0.2mm/s、0.3mm/s,或是其他值,在此不作限定。The first speed may be, for example, 0.1 mm/s, 0.2 mm/s, 0.3 mm/s, or other values, which are not limited herein.
举例说明,每隔0.1ms获取一张指静脉图像,确定每张指静脉图像中同一位置的伸张变化程度,假定第一张指静脉图像的伸张变化程度为0,第二张指静脉图像的伸张变化程度为0.01mm,第三张指静脉图像的伸张变化程度为0.02mm,第四张指静脉图像的伸张变化程度为0.03mm,则可确定手指静脉血液的流动速度为0.1mm/s。For example, a finger vein image is acquired every 0.1ms, and the degree of extension change at the same position in each finger vein image is determined. If the change degree is 0.01mm, the extension change degree of the third finger vein image is 0.02mm, and the extension change degree of the fourth finger vein image is 0.03mm, it can be determined that the blood flow velocity of the finger vein is 0.1mm/s.
可以看出,在本申请实施例中,在进行身份识别之前,先进行活体验证,进一步提高了身份识别的安全性。It can be seen that, in the embodiment of the present application, before the identification is performed, the living body verification is performed, which further improves the security of the identification.
在本申请的一实现方式中,所述控制所述发射器发射第一红外光信号照射所述生物识别区域之前,所述方法还包括:In an implementation manner of the present application, before the controlling the transmitter to emit a first infrared light signal to illuminate the biometric identification area, the method further includes:
确定所述指纹图像和所述指静脉图像关联的手指与所述生物识别传感器的第一距离和所述手指的移动速度;determining the first distance between the finger associated with the fingerprint image and the finger vein image and the biometric sensor and the movement speed of the finger;
基于所述第一距离和所述移动速度确定所述发射器的工作参数,所述工作参数包括以下至少一种:发射功率、发射时间、光信号强度。A working parameter of the transmitter is determined based on the first distance and the moving speed, and the working parameter includes at least one of the following: transmit power, transmit time, and optical signal strength.
举例说明,如表1所示,表1为第一距离、移动速度与工作参数的映射关系表。For example, as shown in Table 1, Table 1 is a mapping relationship table between the first distance, the moving speed and the working parameters.
表1Table 1
可以看出,在本申请实施例中,通过第一距离和移动速度确定发射功率,既可以提高生物特征信息的采集速度,同时还更够节约功耗。It can be seen that, in the embodiment of the present application, determining the transmit power by the first distance and the moving speed can not only improve the collection speed of biometric information, but also save power consumption.
与所述图2所示的实施例一致的,请参阅图3,图3是本申请实施例提供的一种身份识别方法的流程示意图,应用于包括生物识别模组的电子设备,所述电子设备还包括生物识别区域,所述生物识别模组包括发射器和生物识别传感器,所述发射器用于发射红外光信号,本身份识别方法包括:Consistent with the embodiment shown in FIG. 2 , please refer to FIG. 3 . FIG. 3 is a schematic flowchart of an identification method provided by an embodiment of the present application, which is applied to an electronic device including a biometric identification module. The device also includes a biometric area, the biometric module includes a transmitter and a biometric sensor, the transmitter is used to emit infrared light signals, and the identification method includes:
步骤301:确定手指与所述生物识别传感器的第一距离和所述手指的移动速度。Step 301: Determine the first distance between the finger and the biometric sensor and the movement speed of the finger.
步骤302:基于所述第一距离和所述移动速度确定所述发射器的工作参数,所述工作参数包括以下至少一种:发射功率、发射时间、光信号强度。Step 302: Determine a working parameter of the transmitter based on the first distance and the moving speed, where the working parameter includes at least one of the following: transmit power, transmit time, and optical signal strength.
步骤303:控制所述发射器基于所述工作参数发射第一红外光信号照射所述生物识别区域,以及通过所述生物识别模组进行指纹识别,得到指纹图像。Step 303: Control the transmitter to emit a first infrared light signal based on the working parameters to illuminate the biometric identification area, and perform fingerprint identification through the biometric identification module to obtain a fingerprint image.
步骤304:控制所述发射器基于所述工作参数发射第二红外光信号照射所述生物识别区域,以及通过所述生物识别模组进行指静脉识别,得到指静脉图像,所述第一红外光信号和所述第二红外光信号的频率不同,手指静脉血液对所述第一红外光信号的吸收率小于对所述第二红外光信号的吸收率。Step 304 : control the transmitter to emit a second infrared light signal based on the working parameters to illuminate the biometric identification area, and perform finger vein identification through the biometric identification module to obtain a finger vein image, the first infrared light The frequency of the signal and the second infrared light signal are different, and the absorption rate of the finger vein blood to the first infrared light signal is smaller than the absorption rate of the second infrared light signal.
步骤305:解析所述指纹图像,得到指纹特征信息,以及解析所述指静脉图像,得到指静脉特征信息,所述指纹特征信息包括多个第一信息,所述指静脉特征信息包括多个第二信息,每个第一信息对应一个第一数值,每个第二信息对应一个第二数值,每个第一信息对应一个第一权重,每个第二信息对应一个第二权重,所述指静脉信息包括第三信息,所述第三信息包括手指静脉血液的明暗变化程度和/或手指静脉的伸张变化程度。Step 305: Analyze the fingerprint image to obtain fingerprint feature information, and analyze the finger vein image to obtain finger vein feature information, where the fingerprint feature information includes a plurality of first pieces of information, and the finger vein feature information includes a plurality of first pieces of information. Two information, each first information corresponds to a first value, each second information corresponds to a second value, each first information corresponds to a first weight, each second information corresponds to a second weight, the index The vein information includes third information, where the third information includes the degree of change in brightness and darkness of blood in the vein of the finger and/or the degree of change in the extension of the vein in the finger.
步骤306:基于所述第三信息确定手指静脉血液的流动速度。Step 306: Determine the flow speed of the blood in the vein of the finger based on the third information.
步骤307:确定所述手指静脉血液的流动速度是否大于或等于第一速度。Step 307: Determine whether the flow velocity of the finger vein blood is greater than or equal to the first velocity.
若是,则执行步骤308;If yes, go to step 308;
若否,则执行步骤318。If not, step 318 is executed.
步骤308:确定所述手指为活体手指。Step 308: Determine that the finger is a living finger.
步骤309:基于所述多个第一信息对应的多个第一权重,所述多个第一信息对应的多个第一数值和质量评价公式进行计算,得到所述指纹图像的第一质量评价值。Step 309: Calculate based on a plurality of first weights corresponding to the plurality of first information, a plurality of first values corresponding to the plurality of first information, and a quality evaluation formula to obtain a first quality evaluation of the fingerprint image. value.
步骤310:基于所述多个第二信息对应的多个第二权重,所述多个第二信息对应的多个第二数值和所述质量评价公式进行计算,得到所述指静脉图像的第二质量评价值。Step 310: Calculate based on the plurality of second weights corresponding to the plurality of second information, the plurality of second values corresponding to the plurality of second information, and the quality evaluation formula to obtain the first number of the finger vein image. Two quality evaluation values.
步骤311:基于所述第一质量评价值和所述第二质量评价值确定第一比例和第二比例,所述第一比例用于表征所述指纹特征信息在总的生物特征信息中的占比,所述第二比例用于表征所述指静脉特征信息在总的生物特征信息中的占比。Step 311: Determine a first ratio and a second ratio based on the first quality evaluation value and the second quality evaluation value, where the first ratio is used to represent the proportion of the fingerprint feature information in the total biometric information. The second ratio is used to represent the proportion of the finger vein feature information in the total biometric information.
步骤312:将所述指纹图像与预定指纹图像进行匹配,以得到第一匹配度,以及将所述指静脉图像与预定指静脉图像进行匹配,以得到第二匹配度。Step 312: Match the fingerprint image with a predetermined fingerprint image to obtain a first matching degree, and match the finger vein image with a predetermined finger vein image to obtain a second matching degree.
步骤313:确定所述第一匹配度和所述第二匹配度是否均大于或等于第一阈值。Step 313: Determine whether the first matching degree and the second matching degree are both greater than or equal to a first threshold.
若是,则执行步骤314;If yes, go to step 314;
若否,则执行步骤318。If not, step 318 is executed.
步骤314:在所述第一匹配度和所述第二匹配度均大于或等于第一阈值时,基于所述第一匹配度、所述第一比例、所述第二匹配度、所述第二比例和匹配度公式确定第三匹配度。Step 314: When both the first matching degree and the second matching degree are greater than or equal to a first threshold, based on the first matching degree, the first ratio, the second matching degree, the The second ratio and the matching degree formula determine the third matching degree.
步骤315:确定所述第三匹配度是否大于或等于第二阈值。Step 315: Determine whether the third matching degree is greater than or equal to a second threshold.
若是,则执行步骤316。If so, step 316 is executed.
若否,则执行步骤317。If not, go to step 317.
步骤316:确定身份识别成功。Step 316: Determine that the identity recognition is successful.
步骤317:确定所述身份识别失败。Step 317: Determine that the identity recognition fails.
需要说明的是,本实施例的具体实现过程可参见上述方法实施例所述的具体实现过程,在此不再叙述。It should be noted that, for the specific implementation process of this embodiment, reference may be made to the specific implementation process described in the foregoing method embodiment, which is not described herein again.
与上述图2和图3所示的实施例一致的,请参阅图4,图4是本申请实施例提供的一种电子设备的结构示意图,如图所示,该电子设备包括存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行以下步骤的指令:Consistent with the embodiments shown in FIGS. 2 and 3 above, please refer to FIG. 4. FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in the figure, the electronic device includes a memory and a communication interface. and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the program comprising instructions for performing the following steps:
通过所述生物识别模组进行生物识别,得到指纹图像和指静脉图像;Perform biometric identification through the biometric identification module to obtain a fingerprint image and a finger vein image;
解析所述指纹图像,得到指纹特征信息,以及解析所述指静脉图像,得到指静脉特征信息;Parsing the fingerprint image to obtain fingerprint feature information, and parsing the finger vein image to obtain finger vein feature information;
基于所述指纹特征信息确定所述指纹图像的第一质量评价值,以及基于所述指静脉特征信息确定所述指静脉图像的第二质量评价值;determining a first quality evaluation value of the fingerprint image based on the fingerprint feature information, and determining a second quality evaluation value of the finger vein image based on the finger vein feature information;
基于所述第一质量评价值和所述第二质量评价值确定第一比例和第二比例,所述第一比例用于表征所述指纹特征信息在总的生物特征信息中的占比,所述第二比例用于表征所述指静脉特征信息在总的生物特征信息中的占比;A first ratio and a second ratio are determined based on the first quality evaluation value and the second quality evaluation value, where the first ratio is used to represent the proportion of the fingerprint feature information in the total biometric information, and the The second ratio is used to represent the proportion of the finger vein feature information in the total biometric information;
基于所述第一比例和所述第二比例进行身份识别。The identification is performed based on the first scale and the second scale.
在本申请的一实现方式中,所述指纹特征信息包括多个第一信息,所述指静脉特征信息包括多个第二信息,每个第一信息对应一个第一数值,每个第二信息对应一个第二数值,每个第一信息对应一个第一权重,每个第二信息对应一个第二权重,在基于所述指纹特征信息确定所述指纹图像的第一质量评价值,以及基于所述指静脉特征信息确定所述指静脉图像的第二质量评价值方面,上述程序包括具体用于执行以下步骤的指令:In an implementation manner of the present application, the fingerprint feature information includes a plurality of first information, the finger vein feature information includes a plurality of second information, each first information corresponds to a first value, and each second information Corresponding to a second value, each first information corresponding to a first weight, and each second information corresponding to a second weight, determining the first quality evaluation value of the fingerprint image based on the fingerprint feature information, and based on the In terms of determining the second quality evaluation value of the finger vein image based on the finger vein feature information, the above program includes instructions specifically for executing the following steps:
基于所述多个第一信息对应的多个第一权重,所述多个第一信息对应的多个第一数值和质量评价公式进行计算,得到所述指纹图像的第一质量评价值;Based on a plurality of first weights corresponding to the plurality of first pieces of information, a plurality of first values corresponding to the plurality of first pieces of information, and a quality evaluation formula are calculated to obtain a first quality evaluation value of the fingerprint image;
基于所述多个第二信息对应的多个第二权重,所述多个第二信息对应的多个第二数值和所述质量评价公式进行计算,得到所述指静脉图像的第二质量评价值。Based on the plurality of second weights corresponding to the plurality of second information, the plurality of second values corresponding to the plurality of second information, and the quality evaluation formula are calculated to obtain the second quality evaluation of the finger vein image. value.
在本申请的一实现方式中,在基于所述第一比例和所述第二比例进行身份识别方面,上述程序包括具体用于执行以下步骤的指令:In an implementation manner of the present application, in terms of performing identification based on the first ratio and the second ratio, the above program includes instructions specifically for performing the following steps:
将所述指纹图像与预定指纹图像进行匹配,以得到第一匹配度;matching the fingerprint image with a predetermined fingerprint image to obtain a first degree of matching;
将所述指静脉图像与预定指静脉图像进行匹配,以得到第二匹配度;matching the finger vein image with a predetermined finger vein image to obtain a second matching degree;
在所述第一匹配度和所述第二匹配度均大于或等于第一阈值时,基于所述第一匹配度、所述第一比例、所述第二匹配度、所述第二比例和匹配度公式确定第三匹配度;When both the first matching degree and the second matching degree are greater than or equal to a first threshold, based on the first matching degree, the first ratio, the second matching degree, the second ratio and the The matching degree formula determines the third matching degree;
在所述第三匹配度大于或等于第二阈值时,确定身份识别成功。When the third degree of matching is greater than or equal to the second threshold, it is determined that the identity recognition is successful.
在本申请的一实现方式中,在基于所述第一比例和所述第二比例进行身份识别方面,上述程序包括具体用于执行以下步骤的指令:In an implementation manner of the present application, in terms of performing identification based on the first ratio and the second ratio, the above program includes instructions specifically for performing the following steps:
在所述第一匹配度或所述第二匹配度小于所述第一阈值时,或者,在所述第三匹配度小于所述第二阈值时,确定所述身份识别失败。When the first matching degree or the second matching degree is less than the first threshold, or when the third matching degree is less than the second threshold, it is determined that the identity recognition fails.
在本申请的一实现方式中,所述电子设备还包括生物识别区域,所述生物识别模组包括发射器和生物识别传感器,所述发射器用于发射红外光信号,在通过所述生物识别模组进行生物识别,得到指纹图像和指静脉图像方面,上述程序包括具体用于执行以下步骤的指令:In an implementation manner of the present application, the electronic device further includes a biometric identification area, the biometric identification module includes a transmitter and a biometric sensor, the transmitter is used for emitting infrared light signals, and when the biometric identification module passes the In terms of obtaining the fingerprint image and the finger vein image, the above program includes specific instructions for performing the following steps:
控制所述发射器发射第一红外光信号照射所述生物识别区域,以及通过所述生物识别模组进行指纹识别,得到指纹图像;Controlling the transmitter to emit a first infrared light signal to illuminate the biometric identification area, and performing fingerprint identification through the biometric identification module to obtain a fingerprint image;
控制所述发射器发射第二红外光信号照射所述生物识别区域,以及通过所述生物识别模组进行指静脉识别,得到指静脉图像;Controlling the transmitter to emit a second infrared light signal to illuminate the biometric identification area, and performing finger vein identification through the biometric identification module to obtain a finger vein image;
所述第一红外光信号和所述第二红外光信号的频率不同,手指静脉血液对所述第一红外光信号的吸收率小于对所述第二红外光信号的吸收率。The frequencies of the first infrared light signal and the second infrared light signal are different, and the absorption rate of the finger vein blood to the first infrared light signal is lower than the absorption rate of the second infrared light signal.
在本申请的一实现方式中,所述指静脉信息包括第三信息,所述第三信息包括手指静脉血液的明暗变化程度和/或手指静脉的伸张变化程度,在基于所述第一比例和所述第二比例进行身份识别之前,上述程序包括还用于执行以下步骤的指令:In an implementation manner of the present application, the finger vein information includes third information, where the third information includes a degree of change in light and shade of blood in the finger vein and/or a degree of change in the extension of the finger vein, based on the first ratio and Before the second ratio is identified, the above program includes instructions for performing the following steps:
基于所述第三信息确定手指静脉血液的流动速度;determining the flow velocity of blood in the vein of the finger based on the third information;
在所述手指静脉血液的流动速度大于或等于第一速度时,确定所述指纹图像和所述指静脉图像关联的手指为活体手指。When the flow velocity of the blood in the finger vein is greater than or equal to the first velocity, it is determined that the finger associated with the fingerprint image and the finger vein image is a living finger.
在本申请的一实现方式中,在控制所述发射器发射第一红外光信号照射所述生物识别区域之前,上述程序包括还用于执行以下步骤的指令:In an implementation manner of the present application, before the transmitter is controlled to emit a first infrared light signal to illuminate the biometric identification area, the above-mentioned program includes an instruction for performing the following steps:
确定所述指纹图像和所述指静脉图像关联的手指与所述生物识别传感器的第一距离和所述手指的移动速度;determining the first distance between the finger associated with the fingerprint image and the finger vein image and the biometric sensor and the movement speed of the finger;
基于所述第一距离和所述移动速度确定所述发射器的工作参数,所述工作参数包括以下至少一种:发射功率、发射时间、光信号强度。A working parameter of the transmitter is determined based on the first distance and the moving speed, and the working parameter includes at least one of the following: transmit power, transmit time, and optical signal strength.
需要说明的是,本实施例的具体实现过程可参见上述方法实施例所述的具体实现过程,在此不再叙述。It should be noted that, for the specific implementation process of this embodiment, reference may be made to the specific implementation process described in the foregoing method embodiment, which is not described herein again.
上述实施例主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing embodiments mainly introduce the solutions of the embodiments of the present application from the perspective of the method-side execution process. It can be understood that, in order to realize the above-mentioned functions, the electronic device includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or a combination of hardware and computer software with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
本申请实施例可以根据所述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。所述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the embodiments of the present application, the electronic device may be divided into functional units according to the method examples. For example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit may be implemented in the form of hardware, or may be implemented in the form of software functional units. It should be noted that the division of units in the embodiments of the present application is schematic, and is only a logical function division, and other division methods may be used in actual implementation.
下面为本申请装置实施例,本申请装置实施例用于执行本申请方法实施例所实现的方法。请参阅图5,图5是本申请实施例提供的一种身份识别装置的结构示意图,应用于包括生物识别模组的电子设备,所述装置包括:The following are apparatus embodiments of the present application, and the apparatus embodiments of the present application are used to execute the methods implemented by the method embodiments of the present application. Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of an identification device provided by an embodiment of the present application, which is applied to an electronic device including a biometric module. The device includes:
图像采集单元501,用于通过所述生物识别模组进行生物识别,得到指纹图像和指静脉图像;An image acquisition unit 501, configured to perform biometric identification through the biometric identification module to obtain a fingerprint image and a finger vein image;
解析单元502,用于解析所述指纹图像,得到指纹特征信息,以及解析所述指静脉图像,得到指静脉特征信息;An analysis unit 502, configured to analyze the fingerprint image to obtain fingerprint feature information, and analyze the finger vein image to obtain finger vein feature information;
确定单元503,用于基于所述指纹特征信息确定所述指纹图像的第一质量评价值,以及基于所述指静脉特征信息确定所述指静脉图像的第二质量评价值;基于所述第一质量评价值和所述第二质量评价值确定第一比例和第二比例,所述第一比例用于表征所述指纹特征信息在总的生物特征信息中的占比,所述第二比例用于表征所述指静脉特征信息在总的生物特征信息中的占比;A determining unit 503, configured to determine a first quality evaluation value of the fingerprint image based on the fingerprint feature information, and determine a second quality evaluation value of the finger vein image based on the finger vein feature information; based on the first quality evaluation value of the finger vein image The quality evaluation value and the second quality evaluation value determine a first ratio and a second ratio, the first ratio is used to represent the proportion of the fingerprint feature information in the total biometric information, and the second ratio is used to characterize the proportion of the finger vein feature information in the total biometric information;
身份识别单元504,用于基于所述第一比例和所述第二比例进行身份识别。An identification unit 504, configured to perform identification based on the first ratio and the second ratio.
在本申请的一实现方式中,所述指纹特征信息包括多个第一信息,所述指静脉特征信息包括多个第二信息,每个第一信息对应一个第一数值,每个第二信息对应一个第二数值,每个第一信息对应一个第一权重,每个第二信息对应一个第二权重,在基于所述指纹特征信息确定所述指纹图像的第一质量评价值,以及基于所述指静脉特征信息确定所述指静脉图像的第二质量评价值方面,确定单元503,具体用于基于所述多个第一信息对应的多个第一权重,所述多个第一信息对应的多个第一数值和质量评价公式进行计算,得到所述指纹图像的第一质量评价值;基于所述多个第二信息对应的多个第二权重,所述多个第二信息对应的多个第二数值和所述质量评价公式进行计算,得到所述指静脉图像的第二质量评价值。In an implementation manner of the present application, the fingerprint feature information includes a plurality of first information, the finger vein feature information includes a plurality of second information, each first information corresponds to a first value, and each second information Corresponding to a second value, each first information corresponding to a first weight, and each second information corresponding to a second weight, determining the first quality evaluation value of the fingerprint image based on the fingerprint feature information, and based on the In terms of determining the second quality evaluation value of the finger vein image based on the finger vein feature information, the determining unit 503 is specifically configured to based on a plurality of first weights corresponding to the plurality of first information, the plurality of first information corresponding to Calculate the plurality of first values and the quality evaluation formula of the fingerprint image to obtain the first quality evaluation value of the fingerprint image; based on the plurality of second weights corresponding to the plurality of second information, the corresponding A plurality of second numerical values and the quality evaluation formula are calculated to obtain a second quality evaluation value of the finger vein image.
在本申请的一实现方式中,在基于所述第一比例和所述第二比例进行身份识别方面,身份识别单元504,具体用于将所述指纹图像与预定指纹图像进行匹配,以得到第一匹配度;将所述指静脉图像与预定指静脉图像进行匹配,以得到第二匹配度;在所述第一匹配度和所述第二匹配度均大于或等于第一阈值时,基于所述第一匹配度、所述第一比例、所述第二匹配度、所述第二比例和匹配度公式确定第三匹配度;在所述第三匹配度大于或等于第二阈值时,确定身份识别成功。In an implementation manner of the present application, in terms of performing identity recognition based on the first ratio and the second ratio, the identity recognition unit 504 is specifically configured to match the fingerprint image with a predetermined fingerprint image to obtain the first a matching degree; matching the finger vein image with a predetermined finger vein image to obtain a second matching degree; when both the first matching degree and the second matching degree are greater than or equal to the first threshold, based on the The first matching degree, the first proportion, the second matching degree, the second proportion and the matching degree formula determine the third matching degree; when the third matching degree is greater than or equal to the second threshold, determine Identification succeeded.
在本申请的一实现方式中,在基于所述第一比例和所述第二比例进行身份识别方面,身份识别单元504,具体用于在所述第一匹配度或所述第二匹配度小于所述第一阈值时,或者,在所述第三匹配度小于所述第二阈值时,确定所述身份识别失败。In an implementation manner of the present application, in terms of performing identity recognition based on the first ratio and the second ratio, the identity recognition unit 504 is specifically configured to perform the identity recognition when the first matching degree or the second matching degree is less than When the first threshold, or when the third degree of matching is smaller than the second threshold, it is determined that the identity recognition fails.
在本申请的一实现方式中,所述电子设备还包括生物识别区域,所述生物识别模组包括发射器和生物识别传感器,所述发射器用于发射红外光信号,在通过所述生物识别模组进行生物识别,得到指纹图像和指静脉图像方面,图像采集单元501,具体用于控制所述发射器发射第一红外光信号照射所述生物识别区域,以及通过所述生物识别模组进行指纹识别,得到指纹图像;控制所述发射器发射第二红外光信号照射所述生物识别区域,以及通过所述生物识别模组进行指静脉识别,得到指静脉图像;所述第一红外光信号和所述第二红外光信号的频率不同,手指静脉血液对所述第一红外光信号的吸收率小于对所述第二红外光信号的吸收率。In an implementation manner of the present application, the electronic device further includes a biometric identification area, the biometric identification module includes a transmitter and a biometric sensor, the transmitter is used for emitting infrared light signals, and when the biometric identification module passes the In terms of obtaining the fingerprint image and the finger vein image, the image acquisition unit 501 is specifically used to control the transmitter to emit a first infrared light signal to illuminate the biometric identification area, and to perform fingerprint identification through the biometric identification module. identification to obtain a fingerprint image; control the transmitter to emit a second infrared light signal to illuminate the biometric identification area, and perform finger vein identification through the biometric identification module to obtain a finger vein image; the first infrared light signal and The frequencies of the second infrared light signals are different, and the absorptivity of the finger vein blood to the first infrared light signal is smaller than the absorption rate of the second infrared light signal.
在本申请的一实现方式中,所述指静脉信息包括第三信息,所述第三信息包括手指静脉血液的明暗变化程度和/或手指静脉的伸张变化程度,在基于所述第一比例和所述第二比例进行身份识别之前,确定单元503,还用于基于所述第三信息确定手指静脉血液的流动速度;在所述手指静脉血液的流动速度大于或等于第一速度时,确定所述指纹图像和所述指静脉图像关联的手指为活体手指。In an implementation manner of the present application, the finger vein information includes third information, where the third information includes a degree of change in light and shade of blood in the finger vein and/or a degree of change in the extension of the finger vein, based on the first ratio and Before the identification of the second ratio is performed, the determining unit 503 is further configured to determine the flow speed of the finger vein blood based on the third information; when the flow speed of the finger vein blood is greater than or equal to the first speed, determine the flow speed of the finger vein blood. The finger associated with the fingerprint image and the finger vein image is a living finger.
在本申请的一实现方式中,在控制所述发射器发射第一红外光信号照射所述生物识别区域之前,确定单元503,还用于确定所述指纹图像和所述指静脉图像关联的手指与所述生物识别传感器的第一距离和所述手指的移动速度;基于所述第一距离和所述移动速度确定所述发射器的工作参数,所述工作参数包括以下至少一种:发射功率、发射时间、光信号强度。In an implementation of the present application, before controlling the transmitter to emit a first infrared light signal to illuminate the biometric identification area, the determining unit 503 is further configured to determine the finger associated with the fingerprint image and the finger vein image a first distance from the biometric sensor and a moving speed of the finger; based on the first distance and the moving speed, a working parameter of the transmitter is determined, and the working parameter includes at least one of the following: transmit power , emission time, optical signal strength.
需要说明的是,图像采集单元501、解析单元502、确定单元503和身份识别单元504可通过处理器实现。It should be noted that the image acquisition unit 501 , the analysis unit 502 , the determination unit 503 and the identification unit 504 may be implemented by a processor.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。Embodiments of the present application further provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to execute part or all of the steps of any method described in the above method embodiments , the above computer includes electronic equipment.
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。Embodiments of the present application further provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute any one of the method embodiments described above. some or all of the steps of the method. The computer program product may be a software installation package, and the computer includes an electronic device.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Because in accordance with the present application, certain steps may be performed in other orders or concurrently. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the above-mentioned units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art, or all or part of the technical solution, and the computer software product is stored in a memory, Several instructions are included to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the above-mentioned methods in the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), magnetic disk or optical disk, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been introduced in detail above, and the principles and implementations of the present application are described in this paper by using specific examples. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application; at the same time, for Persons of ordinary skill in the art, based on the idea of the present application, will have changes in the specific implementation manner and application scope. In summary, the contents of this specification should not be construed as limitations on the present application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910472649.6A CN110175446A (en) | 2019-05-31 | 2019-05-31 | Personal identification method and relevant apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910472649.6A CN110175446A (en) | 2019-05-31 | 2019-05-31 | Personal identification method and relevant apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110175446A true CN110175446A (en) | 2019-08-27 |
Family
ID=67696980
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910472649.6A Pending CN110175446A (en) | 2019-05-31 | 2019-05-31 | Personal identification method and relevant apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110175446A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110837821A (en) * | 2019-12-05 | 2020-02-25 | 深圳市亚略特生物识别科技有限公司 | Identity recognition method, equipment and electronic system based on biological characteristics |
CN111274890A (en) * | 2020-01-14 | 2020-06-12 | 北京集创北方科技股份有限公司 | Detection method, apparatus, equipment and storage medium |
CN118334759A (en) * | 2024-03-22 | 2024-07-12 | 一脉通(深圳)智能科技有限公司 | Finger vein recognition method, device, module and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101901336A (en) * | 2010-06-11 | 2010-12-01 | 哈尔滨工程大学 | Decision-level fusion method for fingerprint and finger vein dual-modal recognition |
US8676046B2 (en) * | 2009-10-15 | 2014-03-18 | Jack Harper | Fingerprint scanning systems and methods |
CN107506629A (en) * | 2017-07-28 | 2017-12-22 | 广东欧珀移动通信有限公司 | Solve lock control method and Related product |
-
2019
- 2019-05-31 CN CN201910472649.6A patent/CN110175446A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8676046B2 (en) * | 2009-10-15 | 2014-03-18 | Jack Harper | Fingerprint scanning systems and methods |
CN101901336A (en) * | 2010-06-11 | 2010-12-01 | 哈尔滨工程大学 | Decision-level fusion method for fingerprint and finger vein dual-modal recognition |
CN107506629A (en) * | 2017-07-28 | 2017-12-22 | 广东欧珀移动通信有限公司 | Solve lock control method and Related product |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110837821A (en) * | 2019-12-05 | 2020-02-25 | 深圳市亚略特生物识别科技有限公司 | Identity recognition method, equipment and electronic system based on biological characteristics |
CN111274890A (en) * | 2020-01-14 | 2020-06-12 | 北京集创北方科技股份有限公司 | Detection method, apparatus, equipment and storage medium |
CN118334759A (en) * | 2024-03-22 | 2024-07-12 | 一脉通(深圳)智能科技有限公司 | Finger vein recognition method, device, module and medium |
CN118334759B (en) * | 2024-03-22 | 2024-12-13 | 一脉通(深圳)智能科技有限公司 | Finger vein recognition method, device, module and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11915517B2 (en) | Image processing device, image processing method, face recognition system, program, and storage medium | |
CN107609383B (en) | 3D face identity authentication method and device | |
CN107748869B (en) | 3D face identity authentication method and device | |
CN107633165B (en) | 3D face identity authentication method and device | |
CN104573458B (en) | A kind of personal identification method based on electrocardiosignal, apparatus and system | |
CN107438854B (en) | System and method for performing fingerprint-based user authentication using images captured by a mobile device | |
CN107004114B (en) | Blood vessel image capturing device and personal authentication system | |
CN110175446A (en) | Personal identification method and relevant apparatus | |
CN103383723A (en) | Method and system for spoof detection for biometric authentication | |
US9514351B2 (en) | Processing a fingerprint for fingerprint matching | |
CN105160739A (en) | Automatic identification equipment, automatic identification method and door control system | |
CN107506629B (en) | Unlocking control method and related product | |
US20140079295A1 (en) | Apparatus and method for discriminating disguised face | |
CN107657161A (en) | Mobile payment method and related products based on face recognition | |
KR101759444B1 (en) | Expression recognition sysyem and method using a head mounted display | |
CN107077279B (en) | Method and device for pressure detection | |
CN110287918A (en) | living body identification method and related product | |
CN107430689A (en) | For obtaining the method and fingerprint sensing system of fingerprint image | |
CN107451535A (en) | Iris living body detection method and related products | |
CN109858337A (en) | A kind of face identification method based on pupil information, system and equipment | |
CN106663201A (en) | A palm detection method and apparatus | |
CN108596110A (en) | Image-recognizing method and device, electronic equipment, storage medium | |
CN114299546A (en) | Method and device for identifying pet identity, storage medium and electronic equipment | |
CN110008824A (en) | Palm grain identification method, device, computer equipment and storage medium | |
CN205540781U (en) | Identity recognition system |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190827 |