[go: up one dir, main page]

CN106156727B - A kind of recognition methods and terminal of biological characteristic - Google Patents

A kind of recognition methods and terminal of biological characteristic Download PDF

Info

Publication number
CN106156727B
CN106156727B CN201610472329.7A CN201610472329A CN106156727B CN 106156727 B CN106156727 B CN 106156727B CN 201610472329 A CN201610472329 A CN 201610472329A CN 106156727 B CN106156727 B CN 106156727B
Authority
CN
China
Prior art keywords
feature
sample
terminal
value range
target
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
CN201610472329.7A
Other languages
Chinese (zh)
Other versions
CN106156727A (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.)
Entropy Based Technology Guangdong Co ltd
Original Assignee
Xiamen Central Intelligent Information Technology 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 Xiamen Central Intelligent Information Technology Co Ltd filed Critical Xiamen Central Intelligent Information Technology Co Ltd
Priority to CN201610472329.7A priority Critical patent/CN106156727B/en
Publication of CN106156727A publication Critical patent/CN106156727A/en
Application granted granted Critical
Publication of CN106156727B publication Critical patent/CN106156727B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/50Maintenance of biometric data or enrolment thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Collating Specific Patterns (AREA)
  • Image Analysis (AREA)

Abstract

本发明实施例公开了一种生物特征的识别方法以及终端,用于加快终端识别生物特征的速度。本发明实施例方法包括:终端确定目标相等错误率和目标认假率;终端根据目标相等错误率将第一样本的第一原始特征降维得到第一特征,并根据目标认假率将第一原始特征降维得到第二特征,第一样本为终端预先存储或采集的样本;终端将第一特征和第二特征进行存储;终端获取待识别对象的生物影像生成第二样本并提取第二样本的第二原始特征;终端根据目标相等错误率将第二原始特征降维得到第三特征,并根据目标认假率将第二原始特征降维得到第四特征;终端将第三特征与第一特征进行比对识别并将第四特征与第二特征进行比对识别得到识别结果。

The embodiment of the present invention discloses a method for identifying a biometric feature and a terminal, which are used to speed up the identification of the biometric feature by the terminal. The method of the embodiment of the present invention includes: the terminal determines the target equal error rate and the target false recognition rate; the terminal reduces the dimension of the first original feature of the first sample according to the target equal error rate to obtain the first feature, and according to the target false recognition rate An original feature is dimensionally reduced to obtain a second feature, and the first sample is a sample pre-stored or collected by the terminal; the terminal stores the first feature and the second feature; the terminal obtains the biological image of the object to be identified to generate the second sample and extracts the first sample The second original feature of the two samples; the terminal reduces the dimension of the second original feature according to the target equal error rate to obtain the third feature, and reduces the dimension of the second original feature according to the target false recognition rate to obtain the fourth feature; the terminal combines the third feature with The first feature is compared and identified, and the fourth feature is compared and identified with the second feature to obtain an identification result.

Description

一种生物特征的识别方法和终端A biometric identification method and terminal

技术领域technical field

本发明涉及终端领域,尤其涉及一种生物特征的识别方法和终端。The present invention relates to the field of terminals, and in particular, to a biometric identification method and a terminal.

背景技术Background technique

生物识别技术是利用人体生物特征进行身份认证的一种技术,生物特征是唯一的(与他人不同)、可以测量或可以自动识别和验证的生理特性或行为方式,分为生理特征和行为特征。生物识别系统对特征特性进行取样,提取其唯一特征并进行身份认证。生物识别技术作为一种身份识别的手段,具有独特的优势,近年来已逐渐成为国际上的研究热点。目前比较成熟并大规模使用的方式主要为,指纹、虹膜、脸、耳、掌纹、手章静脉等。而生物特征识别技术通常按照,扫描、数字化处理、分析、特征提取、存储、匹配分类几个步骤处理。Biometrics is a technology that uses human biometrics for identity authentication. Biometrics are unique (different from others) physiological characteristics or behaviors that can be measured or automatically identified and verified. They are divided into physiological characteristics and behavioral characteristics. The biometric system samples characteristic features, extracts their unique characteristics and performs identity authentication. As a means of identification, biometrics has unique advantages and has gradually become an international research hotspot in recent years. At present, the more mature and large-scale use methods are mainly fingerprint, iris, face, ear, palm print, palm vein, etc. The biometric identification technology is usually processed according to several steps of scanning, digital processing, analysis, feature extraction, storage, matching and classification.

目前在生物特征识别中为了获得较高的可靠性,通常在特征提取阶段时会尽量提取高维度的特征,比如人脸分块9x9提取LBP特征并计算直方图后,得到的特征为9x9x256个原始局部二值模式(英文全称:Local Binary Patterns,简称LBP)特征,若使用统一LBP(英文全称:Unified LBP)的话,其特征为9x9x58个;基于关键点处分块的特征提取算法得到的特征也会很多,例如,7个关键点,每个关键点处4x4的分块方法得到的Unified LBP直方图特征为7x4x4x58=6496个。At present, in order to obtain high reliability in biometric recognition, high-dimensional features are usually extracted as much as possible in the feature extraction stage. Local Binary Patterns (English full name: Local Binary Patterns, LBP for short) feature, if unified LBP (English full name: Unified LBP) is used, its features are 9x9x58; the features obtained by the feature extraction algorithm based on the block at key points will also be There are many, for example, 7 keypoints, and the unified LBP histogram feature obtained by the 4x4 block method at each keypoint is 7x4x4x58=6496.

但是高维度特征的体积大,特征多,进而导致终端在比对识别中运算过程复杂,进而降低了终端识别生物特征的速度。However, the high-dimensional features are large in size and have many features, which in turn leads to complicated computing processes in the comparison and identification of the terminal, thereby reducing the speed at which the terminal recognizes biometrics.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供了一种生物特征的识别方法和终端,用于加快终端识别生物特征的速度。The embodiments of the present invention provide a method and a terminal for identifying biometrics, which are used to speed up the identification of biometrics by the terminal.

第一方面,本发明实施例提供一种生物特征的识别方法,包括:In a first aspect, an embodiment of the present invention provides a method for identifying biological features, including:

终端确定目标相等错误率和目标认假率;终端根据该目标相等错误率将第一样本的第一原始特征降维得到第一特征,并根据该目标认假率将该第一原始特征降维得到第二特征,该第一样本为该终端预先存储或采集的样本;该终端将该第一特征和该第二特征进行存储;该终端获取待识别对象的生物影像生成第二样本并提取该第二样本的第二原始特征;该终端根据该目标相等错误率将该第二原始特征降维得到第三特征,并根据该目标认假率将该第二原始特征降维得到第四特征;该终端将该第三特征与该第一特征进行比对识别并将该第四特征与该第二特征进行比对识别得到识别结果。The terminal determines the target equal error rate and the target false recognition rate; the terminal reduces the dimension of the first original feature of the first sample according to the target equal error rate to obtain the first feature, and reduces the first original feature according to the target false recognition rate. Dimension to obtain a second feature, the first sample is a sample pre-stored or collected by the terminal; the terminal stores the first feature and the second feature; the terminal obtains the biological image of the object to be identified to generate a second sample and Extract the second original feature of the second sample; the terminal reduces the dimension of the second original feature according to the target equal error rate to obtain the third feature, and reduces the dimension of the second original feature according to the target false recognition rate to obtain the fourth feature feature; the terminal compares and identifies the third feature with the first feature, and compares and identifies the fourth feature with the second feature to obtain an identification result.

在实际应用中,终端根据该目标相等错误率将第一样本的第一原始特征降维得到第一特征可以是在该终端根据目标认假率将第一原始特征降维得到第二特征之后,该终端再根据目标相等错误率将该第二特征降维得到该第一特征,具体方式此处不做限定。In practical applications, the terminal reduces the dimension of the first original feature of the first sample to obtain the first feature according to the target equal error rate, which may be after the terminal reduces the dimension of the first original feature to obtain the second feature according to the target false recognition rate , the terminal then reduces the dimension of the second feature according to the target equal error rate to obtain the first feature, and the specific method is not limited here.

一种可能实现方式中,该目标相等错误率为第一取值范围内使得该第一特征不超过第二取值范围的最小相等错误率,该第一取值范围为该目标相等错误率的取值范围,该第二取值范围为该第一特征的取值范围;In a possible implementation manner, the target equal error rate is the minimum equal error rate within a first value range such that the first feature does not exceed the second value range, and the first value range is a minimum equal error rate of the target equal error rate. the value range, the second value range is the value range of the first feature;

该目标认假率为第三取值范围内使得该第二特征不超过第四取值范围的最小认假率,该第三取值范围为该目标认假率的取值范围,该第四取值范围为该第二特征的取值范围。The target false acceptance rate is within the third value range so that the second feature does not exceed the minimum false recognition rate of the fourth value range, the third value range is the value range of the target false recognition rate, and the fourth The value range is the value range of the second feature.

另一种可能实现方式中,该终端将该第三特征与该第一特征进行比对识别并将该第四特征与该第二特征进行比对识别得到识别结果包括:该终端判断该第三特征与该第一特征的相似度是否小于第一阈值;In another possible implementation manner, the terminal compares and identifies the third feature with the first feature, and compares and identifies the fourth feature with the second feature to obtain an identification result including: the terminal judging the third feature Whether the similarity between the feature and the first feature is less than the first threshold;

若该第三特征与该第一特征的相似度不小于该第一阈值,则该终端判断该第四特征与该第二特征是否小于第二阈值;If the similarity between the third feature and the first feature is not less than the first threshold, the terminal determines whether the fourth feature and the second feature are less than the second threshold;

若该第四特征与该第二特征的相似度不小于第二阈值,则该终端判断该第二样本与该第一样本相同。If the similarity between the fourth feature and the second feature is not less than the second threshold, the terminal determines that the second sample is the same as the first sample.

另一种可能实现方式中,该终端判断该第三特征与该第一特征的相似度是否小于第一阈值之后,该方法还包括:若该第三特征与该第一特征的相似度小于该第一阈值,则该终端判断该第二样本与该第一样本不相同。In another possible implementation manner, after the terminal determines whether the similarity between the third feature and the first feature is less than a first threshold, the method further includes: if the similarity between the third feature and the first feature is less than the the first threshold, the terminal determines that the second sample is different from the first sample.

另一种可能实现方式中,该终端判断该第四特征与该第二特征是否小于第二阈值之后,该方法还包括:若该第四特征与该第二特征的相似度小于第二阈值,则该终端判断该第二样本与该第一样本不相同。In another possible implementation manner, after the terminal determines whether the fourth feature and the second feature are less than a second threshold, the method further includes: if the similarity between the fourth feature and the second feature is less than the second threshold, Then the terminal determines that the second sample is different from the first sample.

另一种可能实现方式中,该终端将该第一特征和该第二特征进行存储包括:In another possible implementation manner, the terminal storing the first feature and the second feature includes:

该终端根据关系式将该第一特征量化得到第一量化特征,并根据该关系式将该第二特征进行量化得到第二量化特征;The terminal quantizes the first feature according to the relationship to obtain the first quantized feature, and quantizes the second feature according to the relationship to obtain the second quantized feature;

该终端将该第一量化特征和该第二量化特征进行存储;The terminal stores the first quantitative feature and the second quantitative feature;

该终端将该第三特征与该第一特征进行比对识别并将该第四特征与该第二特征进行比对识别得到识别结果包括:The terminal compares and identifies the third feature with the first feature and compares and identifies the fourth feature with the second feature to obtain an identification result including:

该终端根据该关系式将该第三特征量化得到第三量化特征,并根据该关系式将该第四特征进行量化得到第四量化特征;The terminal quantizes the third feature according to the relationship to obtain a third quantized feature, and quantizes the fourth feature according to the relationship to obtain a fourth quantized feature;

该终端将该第三量化特征与第一量化特征进行比对识别并将该第四量化特征与该第二量化特征进行比对识别得到识别结果。The terminal compares and identifies the third quantitative feature with the first quantitative feature, and compares and identifies the fourth quantitative feature with the second quantitative feature to obtain an identification result.

在实际应用中,该终端还可以存储与该第一特征和该第二特征相对应的个人识别密码(英文全称:Personal Identification Number,简称:PIN)。In practical applications, the terminal may also store a personal identification password (full English name: Personal Identification Number, abbreviation: PIN) corresponding to the first feature and the second feature.

另一种可能实现方式中,该关系式为:In another possible implementation, the relation is:

其中该V为样本降维后的特征取值,该Vmin为样本降维后的最小特征取值,该Vmax为样本降维后的最大特征取值,N的取值为255或65535。Among them, the V is the feature value of the sample after dimensionality reduction, the Vmin is the minimum feature value after the sample dimensionality reduction, the Vmax is the maximum feature value after the sample dimensionality reduction, and the value of N is 255 or 65535.

第二方面,本发明实施例提供一种终端,包括:In a second aspect, an embodiment of the present invention provides a terminal, including:

确定模块,用于确定目标相等错误率和目标认假率;A determination module is used to determine the target equal error rate and the target false recognition rate;

第一降维模块,用于根据该确定模块确定的该目标相等错误率将第一样本的第一原始特征降维得到第一特征,并根据该确定模块确定的该目标认假率将该第一原始特征降维得到第二特征,该第一样本为该终端预先存储或采集的样本;The first dimension reduction module is used to reduce the dimension of the first original feature of the first sample to obtain the first feature according to the target equal error rate determined by the determination module, and use the target false recognition rate determined by the determination module to reduce the dimension. The first original feature is dimensionally reduced to obtain a second feature, and the first sample is a sample pre-stored or collected by the terminal;

存储模块,用于将该降维模块降维得到的该第一特征和该第二特征进行存储;a storage module for storing the first feature and the second feature obtained by reducing the dimension by the dimensionality reduction module;

获取模块,用于获取待识别对象的生物影像生成第二样本并提取该第二样本的第二原始特征;an acquisition module, configured to acquire a biological image of the object to be identified to generate a second sample and extract the second original feature of the second sample;

第二降维模块,用于根据该确定模块确定的该目标相等错误率将该获取模块获取的该第二原始特征降维得到第三特征,并根据该确定模块确定的该目标认假率将该获取模块获取的该第二原始特征降维得到第四特征;The second dimension reduction module is configured to reduce the dimension of the second original feature acquired by the acquisition module to obtain a third feature according to the target equal error rate determined by the determination module, and according to the target false recognition rate determined by the determination module to The second original feature obtained by the obtaining module is dimensionally reduced to obtain a fourth feature;

识别模块,用于将该第二降维模块降维得到的该第三特征与该第一降维模块降维得到的该第一特征进行比对识别并将该第二降维模块降维得到的该第四特征与该第一降维模块降维得到的该第二特征进行比对识别得到识别结果。an identification module, configured to compare and identify the third feature obtained by the second dimension reduction module and the first feature obtained by the first dimension reduction module, and obtain the second dimension reduction module The fourth feature of , and the second feature obtained by dimension reduction of the first dimensionality reduction module are compared and identified to obtain an identification result.

一种可能实现方式中,该目标相等错误率为第一取值范围内使得该第一特征不超过第二取值范围的最小相等错误率,该第一取值范围为该目标相等错误率的取值范围,该第二取值范围为该第一特征的取值范围;In a possible implementation manner, the target equal error rate is the minimum equal error rate within a first value range such that the first feature does not exceed the second value range, and the first value range is a minimum equal error rate of the target equal error rate. the value range, the second value range is the value range of the first feature;

该目标认假率为第三取值范围内使得该第二特征不超过第四取值范围的最小认假率,该第三取值范围为该目标认假率的取值范围,该第四取值范围为该第二特征的取值范围。The target false acceptance rate is within the third value range so that the second feature does not exceed the minimum false recognition rate of the fourth value range, the third value range is the value range of the target false recognition rate, and the fourth The value range is the value range of the second feature.

另一种可能实现方式中,该识别模块包括:In another possible implementation manner, the identification module includes:

第一判断单元,用于判断该第三特征与该第一特征的相似度是否小于第一阈值;a first judging unit for judging whether the similarity between the third feature and the first feature is less than a first threshold;

第二判断单元,用于若该第一判断单元判断该第三特征与该第一特征的相似度不小于该第一阈值,则判断该第四特征与该第二特征是否小于第二阈值;a second judging unit, configured to judge whether the fourth feature and the second feature are less than the second threshold if the first judging unit judges that the similarity between the third feature and the first feature is not less than the first threshold;

第一识别单元,用于若该第二判断判断该第四特征与该第二特征的相似度不小于第二阈值,则判断该第二样本与该第一样本相同。The first identifying unit is configured to judge that the second sample is the same as the first sample if the second judgment judges that the similarity between the fourth feature and the second feature is not less than a second threshold.

另一种可能实现方式中,该识别模块还包括:In another possible implementation manner, the identification module further includes:

第二识别单元,用于若该第一判断单元判断该第三特征与该第一特征的相似度小于该第一阈值,则判断该第二样本与该第一样本不相同。The second identifying unit is configured to judge that the second sample is different from the first sample if the first judging unit judges that the similarity between the third feature and the first feature is smaller than the first threshold.

另一种可能实现方式中,该识别模块还包括:In another possible implementation manner, the identification module further includes:

第三识别单元,用于若该第二判断单元判断该第四特征与该第二特征的相似度小于第二阈值,则该终端判断该第二样本与该第一样本不相同。A third identifying unit, configured to judge, by the terminal, that the second sample is different from the first sample if the second judging unit judges that the similarity between the fourth feature and the second feature is less than a second threshold.

另一种可能实现方式中,该存储模块包括:In another possible implementation manner, the storage module includes:

第一量化单元,用于根据关系式将该第一特征量化得到第一量化特征,并根据该关系式将该第二特征进行量化得到第二量化特征;a first quantization unit, configured to quantify the first feature according to the relational formula to obtain the first quantized feature, and quantify the second feature according to the relational formula to obtain the second quantized feature;

存储单元,用于将该量化单元量化得到的该第一量化特征和该第二量化特征进行存储;a storage unit for storing the first quantization feature and the second quantization feature obtained by quantizing the quantization unit;

该识别模块包括:The identification module includes:

第二量化单元,用于根据该关系式将该第三特征量化得到第三量化特征,并根据该关系式将该第四特征进行量化得到第四量化特征;a second quantization unit, configured to quantify the third feature according to the relational expression to obtain a third quantitative characteristic, and quantify the fourth characteristic according to the relational expression to obtain a fourth quantitative characteristic;

第四识别单元,用于将该第三量化特征与第一量化特征进行比对识别并将该第四量化特征与该第二量化特征进行比对识别得到识别结果。The fourth identification unit is configured to compare and identify the third quantitative feature with the first quantitative feature, and compare and identify the fourth quantitative feature with the second quantitative feature to obtain an identification result.

另一种可能实现方式中,该关系式为:In another possible implementation, the relation is:

其中该V为样本降维后的特征取值,该Vmin为样本降维后的最小特征取值,该Vmax为样本降维后的最大特征取值,N的取值为255或65535。Among them, the V is the feature value of the sample after dimensionality reduction, the Vmin is the minimum feature value after the sample dimensionality reduction, the Vmax is the maximum feature value after the sample dimensionality reduction, and the value of N is 255 or 65535.

第三方面,本发明实施例提供一种终端,包括:In a third aspect, an embodiment of the present invention provides a terminal, including:

收发器,处理器,存储器和总线;transceivers, processors, memories and buses;

该收发器,该处理器与该存储器通过该总线相连;The transceiver, the processor and the memory are connected through the bus;

该处理器具有如下功能:确定目标相等错误率和目标认假率;根据该确定模块确定的该目标相等错误率将第一样本的第一原始特征降维得到第一特征,并根据该确定模块确定的该目标认假率将该第一原始特征降维得到第二特征,该第一样本为该终端预先存储或采集的样本;The processor has the following functions: determining the target equal error rate and the target false recognition rate; reducing the dimension of the first original feature of the first sample to obtain the first feature according to the target equal error rate determined by the determining module, and determining The target false recognition rate determined by the module reduces the dimension of the first original feature to obtain a second feature, and the first sample is a sample pre-stored or collected by the terminal;

该存储器具有如下功能:将该降维模块降维得到的该第一特征和该第二特征进行存储;The memory has the following functions: storing the first feature and the second feature obtained by reducing the dimensionality of the dimensionality reduction module;

该收发器具有如下功能:获取待识别对象的生物影像生成第二样本并提取该第二样本的第二原始特征;The transceiver has the following functions: obtaining a biological image of the object to be identified to generate a second sample and extracting second original features of the second sample;

该处理器具有如下功能:根据该确定模块确定的该目标相等错误率将该获取模块获取的该第二原始特征降维得到第三特征,并根据该确定模块确定的该目标认假率将该获取模块获取的该第二原始特征降维得到第四特征;将该第二降维模块降维得到的该第三特征与该第一降维模块降维得到的该第一特征进行比对识别并将该第二降维模块降维得到的该第四特征与该第一降维模块降维得到的该第二特征进行比对识别得到识别结果。The processor has the following functions: reducing the dimension of the second original feature acquired by the acquiring module to obtain a third feature according to the target equal error rate determined by the determining module, and applying the target false recognition rate determined by the determining module to the third feature The second original feature obtained by the acquisition module is dimensionally reduced to obtain a fourth feature; the third feature obtained by the dimensionality reduction of the second dimensionality reduction module is compared with the first feature obtained by the first dimensionality reduction module. The fourth feature obtained by the dimension reduction of the second dimension reduction module is compared with the second feature obtained by the dimension reduction of the first dimension reduction module to obtain a recognition result.

从以上技术方案可以看出,本发明实施例具有以下优点:终端根据目标相等错误率和目标认假率分别对第一样本的第一原始特征进行降维得到第一特征和第二特征并进行存储;当终端获取待识别对象的生物影像得到第二样本并提取到第二样本的第二原始特征后,同样根据目标相等错误率和目标认假率分别对第二原始特征进行降维得到第三特征和第四特征;当第二样本与第一样本比对识别的过程中,第三特征与第一特征进行比对,第四特征与第二特征进行比对,由于减少了第一样本和第二样本的生物特征,从而降低了终端在比对识别过程中运算过程的复杂度,进而加快了终端识别生物特征的速度。It can be seen from the above technical solutions that the embodiment of the present invention has the following advantages: the terminal reduces the dimension of the first original feature of the first sample according to the target equal error rate and the target false recognition rate, respectively, to obtain the first feature and the second feature, and After the terminal obtains the biological image of the object to be recognized to obtain the second sample and extracts the second original feature of the second sample, the second original feature is also dimensionally reduced according to the target equal error rate and the target false recognition rate to obtain The third feature and the fourth feature; when the second sample is compared and identified with the first sample, the third feature is compared with the first feature, and the fourth feature is compared with the second feature. The biometric features of one sample and the second sample are obtained, thereby reducing the complexity of the computing process of the terminal in the comparison and identification process, thereby speeding up the speed of the terminal identifying the biometrics.

附图说明Description of drawings

图1为本发明实施例中生物特征的识别方法的一个实施例示意图;FIG. 1 is a schematic diagram of an embodiment of a biometric identification method in an embodiment of the present invention;

图2为本发明实施例中终端的一个实施例示意图;FIG. 2 is a schematic diagram of an embodiment of a terminal in an embodiment of the present invention;

图3为本发明实施例中终端的另一个实施例示意图。FIG. 3 is a schematic diagram of another embodiment of a terminal in an embodiment of the present invention.

具体实施方式Detailed ways

本发明实施例提供了一种生物特征的识别方法和终端,用于加快终端识别生物特征的速度。The embodiments of the present invention provide a method and a terminal for identifying biometrics, which are used to speed up the identification of biometrics by the terminal.

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to make those skilled in the art better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only Embodiments are part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

下面通过具体实施例,分别进行详细说明,请参阅图1,本发明实施例提供一种生物特征的识别方法,包括:The following is a detailed description of each of the specific embodiments. Please refer to FIG. 1. An embodiment of the present invention provides a method for identifying biological features, including:

101、终端确定目标相等错误率和目标认假率。101. The terminal determines the target equal error rate and the target false recognition rate.

用户预先设定好高维度原始特征降维后的特征的取值范围,相等错误率的取值范围和认假率的取值范围;然后在相等错误率的取值范围中选择能使根据相等错误率降维后的特征的取值不超过预先取值范围的最小相等错误率为目标相等错误率,然后在认假率的取值范围中选择能使根据认假率降维后的特征的取值不超过预先取值范围的最小认假率为目标认假率。The user pre-sets the value range of the high-dimensional original feature after dimensionality reduction, the value range of the equal error rate and the value range of the false recognition rate; The value of the feature after dimensionality reduction by the error rate does not exceed the minimum equal error rate of the pre-valued range. The minimum false recognition rate that does not exceed the pre-valued range is the target false recognition rate.

本实施例中,以人脸的原始特征维度为6496为例,假如根据相等错误率降维后的特征的取值范围为[10,20],根据认假率降维后的特征的取值范围为[200,400],而相等错误率的取值范围为[0.03,0.05]和认假率的取值范围[0.000001,0.000003],而实际应用中,若当相等错误率取值为0.05时,该终端可以将原始特征降维到10维,当相等错误率取值为0.03时,该终端可以将原始特征降维到20维,则该终端选择0.03作为目标相等错误率,同理若当认假率取值为0.000001时,该终端可以将原始特征降维到400维,当认假率取值为0.000003时,该终端可以将原始特征降维到200维,则该终端选择0.000001作为目标相等错误率。In this embodiment, taking the original feature dimension of the face as 6496 as an example, if the value range of the dimension-reduced feature according to the equal error rate is [10, 20], the value of the dimension-reduced feature according to the false recognition rate The range is [200, 400], and the value range of the equal error rate is [0.03, 0.05] and the value range of the false recognition rate [0.000001, 0.000003]. In practical applications, if the equal error rate is 0.05, The terminal can reduce the original feature dimension to 10 dimensions. When the equal error rate is 0.03, the terminal can reduce the original feature dimension to 20 dimensions, then the terminal selects 0.03 as the target equal error rate. When the false rate is 0.000001, the terminal can reduce the original feature dimension to 400 dimensions, and when the false recognition rate is 0.000003, the terminal can reduce the original feature to 200 dimensions, then the terminal selects 0.000001 as the target equal to Error rate.

102、终端根据目标相等错误率将第一样本的第一原始特征降维得到第一特征,并根据目标认假率将第一原始特征降维得到第二特征。102. The terminal reduces the dimension of the first original feature of the first sample according to the target equal error rate to obtain the first feature, and reduces the dimension of the first original feature according to the target false recognition rate to obtain the second feature.

该终端获取到需要预先存储或采集的第一样本并提取该第一样本的第一原始特征。该终端根据确定好的目标相等错误率将该第一原始特征进行降维得到第一特征,根据确定好的目标认假率将该第一原始特征进行降维得到第二特征。The terminal acquires the first sample that needs to be stored or collected in advance, and extracts the first original feature of the first sample. The terminal reduces the dimension of the first original feature according to the determined target equal error rate to obtain the first feature, and reduces the dimension of the first original feature according to the determined target false recognition rate to obtain the second feature.

在实际应用中,在终端提取人脸的第一原始特征时,可以采用多种方式,例如人脸分块9x9提取LBP特征并计算直方图后,得到的特征为9x9x256个原始LBP特征,若使用Unified LBP的话,其特征为9x9x58个;基于关键点处分块的特征提取算法得到的特征也会很多,例如,7个关键点,每个关键点处4x4的分块方法得到的Unified LBP直方图特征为7x4x4x58=6496个,样本的原始特征的提取方式此处不做限定。本实施例以人脸原始特征为6496为例,根据步骤101中选择的目标相等错误率和目标认假率对该人脸进行降维得到的第一特征为20维,第二特征为400维。In practical applications, when the terminal extracts the first original features of the face, various methods can be used. For example, after the face is divided into 9x9 blocks to extract the LBP features and the histogram is calculated, the obtained features are 9x9x256 original LBP features. For Unified LBP, its features are 9x9x58; the feature extraction algorithm based on the block at key points will also obtain a lot of features, for example, 7 key points, and the unified LBP histogram feature obtained by the block method of 4x4 at each key point is 7x4x4x58=6496, and the extraction method of the original features of the sample is not limited here. In this embodiment, the original feature of the face is 6496 as an example, the first feature obtained by reducing the dimension of the face according to the target equal error rate and the target false recognition rate selected in step 101 is 20 dimensions, and the second feature is 400 dimensions .

103、终端将第一特征和第二特征进行存储。103. The terminal stores the first feature and the second feature.

终端将降维后的第一特征和第二特征进行存储。The terminal stores the dimension-reduced first feature and the second feature.

在实际应用中,该终端还可以确定与该第一特征和该第二特征相对应的PIN,并将该PIN与该第一特征和该第二特征同时进行存储,这样可以在具体比对时直接读取到该第一特征和该第二特征。In practical applications, the terminal may also determine a PIN corresponding to the first feature and the second feature, and store the PIN with the first feature and the second feature at the same time, so that the The first feature and the second feature are read directly.

在实际应用中,若终端的存储空间不大,则该终端还可以根据关系式:将第一特征和第二特征进行量化得到第一量化特征和第二量化特征,比如第一特征为20维,其中一个维度的值为0.5,另一个维度的值为2,最大的维度的值为3,最小的维度的值为0.2,N的取值为255,则根据关系式量化得到的特征的量化值分别如下:0.5的量化值为27,2的量化值为163,3的量化值为255,0.2的量化值为0,即该第一特征可以用0到255的无符号8位整数进行表示,同时这些无符号的8位整数可以用一个字节进行表示,那么进行存储该第一量化特征时,该第一量化特征仅占用20个字节,大大的减少了占用的存储空间。同时实际应用中,量化时也可以选用-128到127的8位有符号整数或0至65535的16位无符号整数或-32768到32767的16位有符号整数来表示特征,具体方式此处不做限定。In practical applications, if the storage space of the terminal is not large, the terminal can also use the relational formula: Quantize the first feature and the second feature to obtain the first quantitative feature and the second quantitative feature. For example, the first feature is 20 dimensions, the value of one dimension is 0.5, the value of the other dimension is 2, and the value of the largest dimension is is 3, the value of the smallest dimension is 0.2, and the value of N is 255, the quantization values of the features obtained according to the relational quantization are as follows: the quantization value of 0.5 is 27, the quantization value of 2 is 163, and the quantization value of 3 is 255, the quantization value of 0.2 is 0, that is, the first feature can be represented by an unsigned 8-bit integer from 0 to 255, and these unsigned 8-bit integers can be represented by one byte, then store the first feature. When a quantized feature is used, the first quantized feature only occupies 20 bytes, which greatly reduces the occupied storage space. At the same time, in practical applications, 8-bit signed integers from -128 to 127, 16-bit unsigned integers from 0 to 65535, or 16-bit signed integers from -32768 to 32767 can also be used to represent features during quantization. Do limit.

104、终端获取待识别对象的生物影像生成第二样本并提取第二样本的第二原始特征。104. The terminal acquires the biological image of the object to be identified, generates a second sample, and extracts a second original feature of the second sample.

终端在使用的过程中,获取待识别对象的生物影像,如人脸,在获取到生物影像之后将之作为需要进行识别的第二样本,并提取该生物影像的第二原始特征。During use, the terminal acquires a biological image of an object to be recognized, such as a human face, takes the biological image as a second sample to be recognized after acquiring the biological image, and extracts the second original feature of the biological image.

在实际应用中,终端获取的待识别对象的生物影像可以是指纹、虹膜、脸、耳、掌纹、手章静脉等,同时终端获取待识别对象的生物影像的方式可以是通过摄像头,红外扫描等,终端提取第二原始特征的方式也可以是提取LBP特征并计算直方图或基于关键点处分块的特征提取算法得到特征,具体此处不做限定。In practical applications, the biometric image of the object to be recognized by the terminal may be fingerprint, iris, face, ear, palm print, palm vein, etc. At the same time, the method for the terminal to acquire the biometric image of the object to be recognized may be through a camera, infrared scanning Etc., the terminal extracts the second original feature by extracting the LBP feature and calculating the histogram or obtaining the feature based on the feature extraction algorithm of the key point processing block, which is not specifically limited here.

105、终端根据目标相等错误率将第二原始特征降维得到第三特征,并根据该目标认假率将该第二原始特征降维得到第四特征。105. The terminal reduces the dimension of the second original feature according to the target equal error rate to obtain the third feature, and reduces the dimension of the second original feature according to the target false recognition rate to obtain the fourth feature.

该终端根据确定好的目标相等错误率将该第二原始特征进行降维得到第三特征,根据确定好的目标认假率将该第二原始特征进行降维得到第四特征。The terminal performs dimensionality reduction on the second original feature according to the determined target equal error rate to obtain a third feature, and performs dimensionality reduction on the second original feature according to the determined target false recognition rate to obtain a fourth feature.

在实际应用中,若终端在存储空间小的情况下将该预先存储或采集的第一样本的第一特征和第二特征进行量化之后再存储,则该终端同样需要将该第二样本的第三特征和第四特征采用同样的方式进行量化得到量化特征。In practical applications, if the terminal quantifies the first and second features of the pre-stored or collected first sample when the storage space is small, the terminal also needs to store the first and second features of the second sample. The third feature and the fourth feature are quantized in the same way to obtain quantized features.

106、终端将第三特征与第一特征进行比对识别并将第四特征与第二特征进行比对识别得到识别结果。106. The terminal compares and identifies the third feature with the first feature, and compares and identifies the fourth feature with the second feature to obtain an identification result.

该终端设定该第三特征与该第一特征的相似度的第一阈值,并设定该第四特征与该第二特征的相似度的第二阈值,然后该终端判断该第三特征与该第一特征的相似度是否小于第一阈值;若该第三特征与该第一特征的相似度不小于该第一阈值,则该终端判断该第四特征与该第二特征是否小于第二阈值;若该第四特征与该第二特征的相似度不小于第二阈值,则该终端判断该第二样本与该第一样本相同。若该第三特征与该第一特征的相似度小于该第一阈值,则该终端判断该第二样本与该第一样本不相同,同时可以不用在比对识别第四特征和第二特征之间的相似度;若该第三特征与该第一特征的相似度不小于该第一阈值且该第四特征与该第二特征的相似度小于该第二阈值时,该终端同样判断该第二样本与该第一样本不相同。The terminal sets a first threshold for the similarity between the third feature and the first feature, and sets a second threshold for the similarity between the fourth feature and the second feature, and then the terminal determines that the third feature is the same as the second feature. Whether the similarity of the first feature is less than the first threshold; if the similarity of the third feature and the first feature is not less than the first threshold, the terminal determines whether the fourth feature and the second feature are less than the second feature Threshold; if the similarity between the fourth feature and the second feature is not less than the second threshold, the terminal determines that the second sample is the same as the first sample. If the similarity between the third feature and the first feature is less than the first threshold, the terminal determines that the second sample is not the same as the first sample, and does not need to compare and identify the fourth feature and the second feature If the similarity between the third feature and the first feature is not less than the first threshold and the similarity between the fourth feature and the second feature is less than the second threshold, the terminal also judges the The second sample is not the same as the first sample.

比如第一阈值为0.8,第二阈值为0.9,第三特征与第一特征的相似度为0.85,该第四特征与第二特征相似度为0.9时,该终端判断第二样本与第一样本是同一人,若该第三特征与第一特征的相似度为0.79,则终端判断第二样本与第一样本不是同一人或者该第三特征与第一特征的相似度为0.85,则该第四特征与第二特征的相似度为0.89,则该终端同样判断该第二样本与该第一样本不是同一人。For example, when the first threshold is 0.8, the second threshold is 0.9, the similarity between the third feature and the first feature is 0.85, and the similarity between the fourth feature and the second feature is 0.9, the terminal determines that the second sample is the same as the first It is the same person, if the similarity between the third feature and the first feature is 0.79, the terminal determines that the second sample and the first sample are not the same person or the similarity between the third feature and the first feature is 0.85, then The similarity between the fourth feature and the second feature is 0.89, and the terminal also determines that the second sample and the first sample are not the same person.

在实际应用中,若终端在存储空间小的情况下将该预先存储的第一样本的第一特征和第二特征进行量化之后再存储,则该终端在进行比对识别时,则需要将第三量化特征与第一量化特征以及第四量化特征与第二量化特征采用上述同样的比对识别方式进行识别。In practical applications, if the terminal quantifies the first feature and the second feature of the pre-stored first sample when the storage space is small, then the terminal needs to quantify the first and second features of the first sample before performing comparison and identification. The third quantitative feature and the first quantitative feature and the fourth quantitative feature and the second quantitative feature are identified by the same comparison and identification method described above.

为便于理解,下面以一个实际应用场景对本实施例中生物特征的识别方法进行详细描述,本实施例中,终端包含但不限于手机,打卡机等,终端以打卡机为例。For ease of understanding, the biometric identification method in this embodiment is described in detail below with an actual application scenario. In this embodiment, terminals include but are not limited to mobile phones, card punching machines, etc. The terminal takes a punching card machine as an example.

若该打卡机采用一对多的识别方式,则假设公司员工为A,B,C三人,该打卡机需要预存样本A,样本B,样本C,此处样本均为人脸。样本A,样本B和样本C的原始特征均为6496维,则该打卡机根据相等错误率0.03分别将该样本A,样本B,样本C进行降维得到特征集合(20A,20B,20C);再根据认假率0.000001分别将该样本A,样本B,样本C进行降维得到特征集合(400A,400B,400C)。该打卡机再分别将特征集合(20A,20B,20C)和特征集合(400A,400B,400C)进行存储,即特征集合(20A,20B,20C)占用3*20字节,特征集合(400A,400B,400C)占用3*400字节。若员工A需要进行打卡,则打卡机通过摄像头获取到员工A的人脸影像作为识别样本并提取原始特征,然后采用同样的方式将员工A的原始特征降维量化得到特征20a和特征400a。该打卡机在比对识别之前将存储的特征集合(20A,20B,20C)先载入内存,再将20a分别与20A,20B,20C进行比对得到如下结果:20a与20A相似度为0.85,20a与20B相似度为0.8,20a与20C相似度为0.75,此处该打卡机判断是同一人的条件是相似度不小于0.8,此时相似度不低于0.8的第一量化特征为(20A,20B);该打卡机再将存储的特征集合(400A,400B)载入内存,再将400a分别与400A,400B进行比对得到如下结果:400a与400A相似度为0.95,400a与400B相似度为0.5,此处打卡机判断是同一人的条件是相似度不小于0.9。由于只有样本A的特征与员工A的人脸影像样本相似度达到要求,则打卡机认为样本A为员工A为同一人并进行显示。在实际应用中若该打卡机在将400a分别与400A,400B进行比对得到如下结果:400a与400A相似度为0.95,400a与400B相似度为0.9,此处打卡机判断是同一人的条件是相似度不小于0.9。则该打卡机可以判断样本A与样本B均与员工A为同一人并进行显示;或者可以仅认为相似度为0.95的样本A与员工A为同一人并进行显示,即仅选择相似度最高的样本为最终结果;或者可以将两个相似度再次对第三阈值进行比较,此处的第三阈值为0.95,则该打卡机最终认为样本A与员工A为同一人并进行显示。If the punch card machine adopts a one-to-many identification method, it is assumed that there are three employees of the company, A, B, and C. The punch card machine needs to pre-store sample A, sample B, and sample C, where the samples are all faces. The original features of sample A, sample B and sample C are all 6496-dimensional, then the punch card machine performs dimension reduction on sample A, sample B, and sample C respectively according to the equal error rate of 0.03 to obtain the feature set (20A, 20B, 20C); Then, according to the false recognition rate of 0.000001, the sample A, sample B, and sample C are respectively dimensionally reduced to obtain a feature set (400A, 400B, 400C). The punch card machine then stores the feature set (20A, 20B, 20C) and the feature set (400A, 400B, 400C) respectively, that is, the feature set (20A, 20B, 20C) occupies 3*20 bytes, and the feature set (400A, 400B, 400C) occupies 3*400 bytes. If employee A needs to punch in, the punch-in machine obtains the face image of employee A through the camera as a recognition sample and extracts the original features, and then uses the same method to reduce the dimension and quantify the original features of employee A to obtain features 20a and 400a. The punch card machine loads the stored feature sets (20A, 20B, 20C) into the memory before comparing and identifying, and then compares 20a with 20A, 20B, and 20C, respectively, and obtains the following results: the similarity between 20a and 20A is 0.85, The similarity between 20a and 20B is 0.8, and the similarity between 20a and 20C is 0.75. The condition for the punch card machine to judge that it is the same person is that the similarity is not less than 0.8. At this time, the first quantitative feature whose similarity is not less than 0.8 is (20A , 20B); the punch card machine then loads the stored feature set (400A, 400B) into the memory, and then compares 400a with 400A and 400B respectively to obtain the following results: the similarity between 400a and 400A is 0.95, and the similarity between 400a and 400B is 0.95. is 0.5, and the condition for the punch card machine to judge that it is the same person is that the similarity is not less than 0.9. Since only the characteristics of sample A and the face image sample of employee A meet the requirements, the punch card machine considers that sample A is the same person as employee A and displays it. In practical application, if the punching machine compares 400a with 400A and 400B respectively, the following results are obtained: the similarity between 400a and 400A is 0.95, and the similarity between 400a and 400B is 0.9. The condition for the punching machine to judge that it is the same person is The similarity is not less than 0.9. Then the punch card machine can judge that both sample A and sample B are the same person as employee A and display it; or it can only consider that sample A with a similarity of 0.95 is the same person as employee A and display it, that is, only select the one with the highest similarity. The sample is the final result; or the two similarities can be compared to the third threshold again, where the third threshold is 0.95, then the punch card machine finally considers that sample A and employee A are the same person and displays it.

同时打卡机也可以采用一对一的验证方式,则该打卡机在存储样本A的特征(20A,400A)时,会确定一个与样本A的特征相对应的PIN一起保存到该打卡机的存储器中。员工A需要打卡时,输入该PIN,该打卡机从存储器中读取输入该PIN对应的特征,即(20A,400A)载入内存,同时采集员工A的人脸影像,提取特征并降维得到(20a,400a);该打卡机比对(20A,20a),若其相似度小于第一阈值0.8,则打卡失败;若相似度不小于0.8,则打卡机进一步比对(400A,400a),若其相似度不小于第二阈值0.9则打卡成功,若相似度小于0.9则打卡失败。At the same time, the punch card machine can also adopt a one-to-one verification method. When the punch card machine stores the characteristics of sample A (20A, 400A), it will determine a PIN corresponding to the characteristics of sample A and save it to the memory of the punch card machine. middle. When employee A needs to punch in, enter the PIN, and the punch card machine reads and enters the characteristics corresponding to the PIN from the memory, that is, (20A, 400A) is loaded into the memory, and at the same time collects the face image of employee A, extracts the features and reduces the dimension to get (20a, 400a); the punching machine compares (20A, 20a), if the similarity is less than the first threshold of 0.8, the punching fails; if the similarity is not less than 0.8, the punching machine is further compared (400A, 400a), If the similarity is not less than the second threshold of 0.9, the check-in succeeds, and if the similarity is less than 0.9, the check-in fails.

本实施例中终端根据目标相等错误率和目标认假率分别对第一样本的第一原始特征进行降维得到第一特征和第二特征并进行存储;当终端获取待识别对象的生物影像得到第二样本并提取到第二样本的第二原始特征后,同样根据目标相等错误率和目标认假率分别对第二原始特征进行降维得到第三特征和第四特征;当第二样本与第一样本比对识别的过程中,第三特征与第一特征进行比对,第四特征与第二特征进行比对,由于减少了第一样本和第二样本的生物特征,从而降低了终端在比对识别过程中运算过程的复杂度,进而加快了终端识别生物特征的速度。同时可以将第一特征和第二特征进行量化存储,这样可以有效的节省存储空间。In this embodiment, the terminal performs dimensionality reduction on the first original feature of the first sample according to the target equal error rate and the target false recognition rate, respectively, to obtain the first feature and the second feature and store it; when the terminal obtains the biological image of the object to be recognized After the second sample is obtained and the second original feature of the second sample is extracted, the second original feature is also dimensionally reduced according to the target equal error rate and the target false recognition rate to obtain the third feature and the fourth feature; when the second sample In the process of comparing and identifying with the first sample, the third feature is compared with the first feature, and the fourth feature is compared with the second feature. The complexity of the calculation process of the terminal in the comparison and identification process is reduced, thereby accelerating the speed of the terminal to identify the biometrics. At the same time, the first feature and the second feature can be quantized and stored, which can effectively save storage space.

上面介绍了本发明实施例中的生物特征的识别方法,下面介绍本发明实施例中的终端,请参阅图2,本发明实施例中的终端的一个实施例包括:The biometric identification method in the embodiment of the present invention is described above, and the terminal in the embodiment of the present invention is described below. Please refer to FIG. 2. An example of the terminal in the embodiment of the present invention includes:

确定模块201,用于确定目标相等错误率和目标认假率;A determination module 201, used for determining the target equal error rate and the target false recognition rate;

第一降维模块202,用于根据该确定模块确定的该目标相等错误率将第一样本的第一原始特征降维得到第一特征,并根据该确定模块确定的该目标认假率将该第一原始特征降维得到第二特征,该第一样本为该终端预先存储或采集的样本;The first dimension reduction module 202 is used to reduce the dimension of the first original feature of the first sample to obtain the first feature according to the target equal error rate determined by the determination module, and according to the target false recognition rate determined by the determination module The first original feature is dimensionally reduced to obtain a second feature, and the first sample is a sample pre-stored or collected by the terminal;

存储模块203,用于将该降维模块降维得到的该第一特征和该第二特征进行存储;A storage module 203, configured to store the first feature and the second feature obtained by reducing the dimension by the dimensionality reduction module;

获取模块204,用于获取待识别对象的生物影像生成第二样本并提取该第二样本的第二原始特征;an acquisition module 204, configured to acquire a biological image of the object to be identified, generate a second sample, and extract a second original feature of the second sample;

第二降维模块205,用于根据该确定模块确定的该目标相等错误率将该获取模块获取的该第二原始特征降维得到第三特征,并根据该确定模块确定的该目标认假率将该获取模块获取的该第二原始特征降维得到第四特征;The second dimension reduction module 205 is configured to reduce the dimension of the second original feature acquired by the acquisition module to obtain a third feature according to the target equal error rate determined by the determination module, and to obtain a third feature according to the target false recognition rate determined by the determination module The second original feature obtained by the obtaining module is dimensionally reduced to obtain a fourth feature;

识别模块206,用于将该第二降维模块降维得到的该第三特征与该第一降维模块降维得到的该第一特征进行比对识别并将该第二降维模块降维得到的该第四特征与该第一降维模块降维得到的该第二特征进行比对识别得到识别结果。The identification module 206 is used to compare and identify the third feature obtained by the second dimension reduction module and the first feature obtained by the first dimension reduction module and reduce the dimension by the second dimension reduction module. The obtained fourth feature is compared and identified with the second feature obtained by the first dimensionality reduction module to obtain an identification result.

可选的,本实施例中该目标相等错误率为第一取值范围内使得该第一特征不超过第二取值范围的最小相等错误率,该第一取值范围为该目标相等错误率的取值范围,该第二取值范围为该第一特征的取值范围;Optionally, in this embodiment, the target equal error rate is the minimum equal error rate within the first value range such that the first feature does not exceed the second value range, and the first value range is the target equal error rate The value range of , the second value range is the value range of the first feature;

该目标认假率为第三取值范围内使得该第二特征不超过第四取值范围的最小认假率,该第三取值范围为该目标认假率的取值范围,该第四取值范围为该第二特征的取值范围。The target false acceptance rate is within the third value range so that the second feature does not exceed the minimum false recognition rate of the fourth value range, the third value range is the value range of the target false recognition rate, and the fourth The value range is the value range of the second feature.

可选的,该识别模块206包括:Optionally, the identification module 206 includes:

第一判断单元,用于判断该第三特征与该第一特征的相似度是否小于第一阈值;a first judging unit for judging whether the similarity between the third feature and the first feature is less than a first threshold;

第二判断单元,用于若该第一判断单元判断该第三特征与该第一特征的相似度不小于该第一阈值,则判断该第四特征与该第二特征是否小于第二阈值;a second judging unit, configured to judge whether the fourth feature and the second feature are less than the second threshold if the first judging unit judges that the similarity between the third feature and the first feature is not less than the first threshold;

第一识别单元,用于若该第二判断判断该第四特征与该第二特征的相似度不小于第二阈值,则判断该第二样本与该第一样本相同。The first identifying unit is configured to judge that the second sample is the same as the first sample if the second judgment judges that the similarity between the fourth feature and the second feature is not less than a second threshold.

可选的,该识别模块206还包括:Optionally, the identification module 206 further includes:

第二识别单元,用于若该第一判断单元判断该第三特征与该第一特征的相似度小于该第一阈值,则判断该第二样本与该第一样本不相同。The second identifying unit is configured to judge that the second sample is different from the first sample if the first judging unit judges that the similarity between the third feature and the first feature is smaller than the first threshold.

可选的,该识别模块206还包括:Optionally, the identification module 206 further includes:

第三识别单元,用于若该第二判断单元判断该第四特征与该第二特征的相似度小于第二阈值,则该终端判断该第二样本与该第一样本不相同。A third identifying unit, configured to judge, by the terminal, that the second sample is different from the first sample if the second judging unit judges that the similarity between the fourth feature and the second feature is less than a second threshold.

可选的,该存储模块204包括:Optionally, the storage module 204 includes:

第一量化单元,用于根据关系式将该第一特征量化得到第一量化特征,并根据该关系式将该第二特征进行量化得到第二量化特征;a first quantization unit, configured to quantify the first feature according to the relational formula to obtain the first quantized feature, and quantify the second feature according to the relational formula to obtain the second quantized feature;

存储单元,用于将该量化单元量化得到的该第一量化特征和该第二量化特征进行存储;a storage unit for storing the first quantization feature and the second quantization feature obtained by quantizing the quantization unit;

该识别模块206包括:The identification module 206 includes:

第二量化单元,用于根据该关系式将该第三特征量化得到第三量化特征,并根据该关系式将该第四特征进行量化得到第四量化特征;a second quantization unit, configured to quantify the third feature according to the relational expression to obtain a third quantitative characteristic, and quantify the fourth characteristic according to the relational expression to obtain a fourth quantitative characteristic;

第四识别单元,用于将该第三量化特征与第一量化特征进行比对识别并将该第四量化特征与该第二量化特征进行比对识别得到识别结果。The fourth identification unit is configured to compare and identify the third quantitative feature with the first quantitative feature, and compare and identify the fourth quantitative feature with the second quantitative feature to obtain an identification result.

可选的,该关系式为:Optionally, the relation is:

其中该V为样本降维后的特征取值,该Vmin为样本降维后的最小特征取值,该Vmax为样本降维后的最大特征取值,N的取值为255或65535。Among them, the V is the feature value of the sample after dimensionality reduction, the Vmin is the minimum feature value after the sample dimensionality reduction, the Vmax is the maximum feature value after the sample dimensionality reduction, and the value of N is 255 or 65535.

本实施例中第一降维模块202根据确定模块201确定的目标相等错误率和目标认假率分别对第一样本的第一原始特征进行降维得到第一特征和第二特征并通过存储存储模块203进行存储;当获取模块204获取生物影像得到第二样本并提取到第二样本的第二原始特征后,第二降维模块205同样根据目标相等错误率和目标认假率分别对第二原始特征进行降维得到第三特征和第四特征;当第二样本与第一样本比对识别的过程中,识别模块206将第三特征与第一特征进行比对,第四特征与第二特征进行比对,由于减少了第一样本和第二样本的生物特征,从而降低了终端在比对识别过程中运算过程的复杂度,进而加快了终端识别生物特征的速度。In this embodiment, the first dimensionality reduction module 202 performs dimensionality reduction on the first original feature of the first sample according to the target equal error rate and the target false recognition rate determined by the determining module 201, respectively, to obtain the first feature and the second feature, and store the first feature and the second feature. The storage module 203 performs storage; when the acquisition module 204 acquires the biological image to obtain the second sample and extracts the second original feature of the second sample, the second dimension reduction module 205 also performs the second dimensionality reduction according to the target equal error rate and the target false recognition rate respectively. Dimensionality reduction is performed on the two original features to obtain the third feature and the fourth feature; when the second sample is compared and identified with the first sample, the identification module 206 compares the third feature with the first feature, and the fourth feature and The second feature is compared, because the biometric features of the first sample and the second sample are reduced, thereby reducing the complexity of the terminal in the process of comparing and identifying, thereby speeding up the speed of the terminal identifying the biometrics.

具体请参阅图3,本发明实施例中终端的另一个实施例,包括:Specifically, referring to FIG. 3, another embodiment of the terminal in the embodiment of the present invention includes:

收发器301,处理器302,总线303,存储器304;transceiver 301, processor 302, bus 303, memory 304;

该收发器301,该处理器302与该存储器304通过该总线303相连;The transceiver 301, the processor 302 and the memory 304 are connected through the bus 303;

总线303可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图3中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 303 may be a peripheral component interconnect (PCI for short) bus or an extended industry standard architecture (extended industry standard architecture, EISA for short) bus or the like. The bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 3, but it does not mean that there is only one bus or one type of bus.

处理器302可以是中央处理器(central processing unit,简称CPU),网络处理器(network processor,简称NP)或者CPU和NP的组合。The processor 302 may be a central processing unit (CPU for short), a network processor (NP for short), or a combination of CPU and NP.

处理器302还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,简称ASIC),可编程逻辑器件(programmable logic device,简称PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,简称CPLD),现场可编程逻辑门阵列(field-programmable gate array,简称FPGA),通用阵列逻辑(generic array logic,简称GAL)或其任意组合。The processor 302 may further include hardware chips. The above-mentioned hardware chip may be an application-specific integrated circuit (ASIC for short), a programmable logic device (PLD for short) or a combination thereof. The above-mentioned PLD can be a complex programmable logic device (CPLD for short), a field-programmable gate array (FPGA for short), a general array logic (GAL for short) or any of the above. combination.

该存储器304可以包括易失性存储器(volatile memory),例如随机存取存储器(random-access memory,简称RAM);存储器也可以包括非易失性存储器(non-volatilememory),例如快闪存储器(flash memory),硬盘(hard disk drive,简称HDD)或固态硬盘(solid-state drive,简称SSD);存储器304还可以包括上述种类的存储器的组合。The memory 304 may include volatile memory (volatile memory), such as random-access memory (random-access memory, RAM for short); the memory may also include non-volatile memory (non-volatile memory), such as flash memory (flash memory) memory), a hard disk drive (HDD for short) or a solid-state drive (SSD for short); the memory 304 may also include a combination of the above-mentioned types of memory.

可选地,存储器304还可以用于存储程序指令,处理器302调用该存储器304中存储的程序指令,可以执行图1所示实施例中的一个或多个步骤,或其中可选的实施方式,实现上述方法中终端行为的功能。Optionally, the memory 304 may also be used to store program instructions, and the processor 302 may call the program instructions stored in the memory 304 to execute one or more steps in the embodiment shown in FIG. 1 , or an optional implementation manner therein. , to realize the function of terminal behavior in the above method.

该处理器302,具有如下功能:确定目标相等错误率和目标认假率;根据该确定模块确定的该目标相等错误率将第一样本的第一原始特征降维得到第一特征,并根据该确定模块确定的该目标认假率将该第一原始特征降维得到第二特征,该第一样本为该终端预先存储或采集的样本;The processor 302 has the following functions: determine the target equal error rate and the target false recognition rate; reduce the dimension of the first original feature of the first sample to obtain the first feature according to the target equal error rate determined by the determining module, and obtain the first feature according to the target equal error rate determined by the determining module The target false recognition rate determined by the determining module reduces the dimension of the first original feature to obtain a second feature, and the first sample is a sample pre-stored or collected by the terminal;

该存储器304,具有如下功能:将该降维模块降维得到的该第一特征和该第二特征进行存储;The memory 304 has the following functions: storing the first feature and the second feature obtained by reducing the dimension by the dimensionality reduction module;

该收发器301,具有如下功能:获取待识别对象的生物影像生成第二样本并提取该第二样本的第二原始特征;The transceiver 301 has the following functions: acquiring a biological image of an object to be identified to generate a second sample and extracting a second original feature of the second sample;

该处理器302,具有如下功能:根据该确定模块确定的该目标相等错误率将该获取模块获取的该第二原始特征降维得到第三特征,并根据该确定模块确定的该目标认假率将该获取模块获取的该第二原始特征降维得到第四特征;将该第二降维模块降维得到的该第三特征与该第一降维模块降维得到的该第一特征进行比对识别并将该第二降维模块降维得到的该第四特征与该第一降维模块降维得到的该第二特征进行比对识别得到识别结果。The processor 302 has the following functions: reducing the dimension of the second original feature obtained by the obtaining module to obtain a third feature according to the target equal error rate determined by the determining module, and obtaining a third feature according to the target false recognition rate determined by the determining module The second original feature obtained by the acquisition module is dimensionally reduced to obtain a fourth feature; the third feature obtained by the dimensionality reduction of the second dimensionality reduction module is compared with the first feature obtained by the dimensionality reduction of the first dimensionality reduction module The recognition result is obtained by comparing and identifying the fourth feature obtained by the second dimension reduction module and the second feature obtained by the first dimension reduction module.

可选的,该目标相等错误率为第一取值范围内使得该第一特征不超过第二取值范围的最小相等错误率,该第一取值范围为该目标相等错误率的取值范围,该第二取值范围为该第一特征的取值范围;Optionally, the target equal error rate is the minimum equal error rate within the first value range such that the first feature does not exceed the second value range, and the first value range is the value range of the target equal error rate , the second value range is the value range of the first feature;

该目标认假率为第三取值范围内使得该第二特征不超过第四取值范围的最小认假率,该第三取值范围为该目标认假率的取值范围,该第四取值范围为该第二特征的取值范围。The target false acceptance rate is within the third value range so that the second feature does not exceed the minimum false recognition rate of the fourth value range, the third value range is the value range of the target false recognition rate, and the fourth The value range is the value range of the second feature.

可选的,该处理器302,具体还具有如下功能:判断该第三特征与该第一特征的相似度是否小于第一阈值;若该第一判断单元判断该第三特征与该第一特征的相似度不小于该第一阈值,则判断该第四特征与该第二特征是否小于第二阈值;若该第二判断判断该第四特征与该第二特征的相似度不小于第二阈值,则判断该第二样本与该第一样本相同。Optionally, the processor 302 further has the following functions: judging whether the similarity between the third feature and the first feature is less than a first threshold; if the first judging unit judges the third feature and the first feature If the similarity of the fourth feature and the second feature is not less than the first threshold, it is determined whether the fourth feature and the second feature are less than the second threshold; if the second judgment determines that the similarity between the fourth feature and the second feature is not less than the second threshold , then it is judged that the second sample is the same as the first sample.

可选的,该处理器302,具体还具有如下功能:若该第一判断单元判断该第三特征与该第一特征的相似度小于该第一阈值,则判断该第二样本与该第一样本不相同。Optionally, the processor 302 further has the following functions: if the first judgment unit judges that the similarity between the third feature and the first feature is less than the first threshold, then judge the second sample and the first The samples are not the same.

可选的,该处理器302,具体还具有如下功能:若该第二判断单元判断该第四特征与该第二特征的相似度小于第二阈值,则该终端判断该第二样本与该第一样本不相同。Optionally, the processor 302 further has the following functions: if the second judging unit judges that the similarity between the fourth feature and the second feature is less than a second threshold, the terminal judges that the second sample is the same as the second sample. A sample is not the same.

可选的,该存储器304,具体还具有如下功能:根据关系式将该第一特征量化得到第一量化特征,并根据该关系式将该第二特征进行量化得到第二量化特征;将该量化单元量化得到的该第一量化特征和该第二量化特征进行存储;Optionally, the memory 304 further has the following functions: quantizing the first feature according to the relationship to obtain the first quantized feature, and quantizing the second feature according to the relationship to obtain the second quantized feature; the quantization The first quantization feature and the second quantization feature obtained by unit quantization are stored;

该处理器302,具体还具有如下功能:根据该关系式将该第三特征量化得到第三量化特征,并根据该关系式将该第四特征进行量化得到第四量化特征;将该第三量化特征与第一量化特征进行比对识别并将该第四量化特征与该第二量化特征进行比对识别得到识别结果。The processor 302 also has the following functions: quantizing the third feature according to the relationship to obtain a third quantized feature, and quantizing the fourth feature according to the relationship to obtain a fourth quantized feature; quantizing the third feature The feature is compared and identified with the first quantitative feature, and the fourth quantitative feature is compared and identified with the second quantitative feature to obtain an identification result.

可选的,该关系式为:Optionally, the relation is:

其中该V为样本降维后的特征取值,该Vmin为样本降维后的最小特征取值,该Vmax为样本降维后的最大特征取值,N的取值为255或65535。Among them, the V is the feature value of the sample after dimensionality reduction, the Vmin is the minimum feature value after the sample dimensionality reduction, the Vmax is the maximum feature value after the sample dimensionality reduction, and the value of N is 255 or 65535.

本实施例中处理器302根据目标相等错误率和目标认假率分别对第一样本的第一原始特征进行降维得到第一特征和第二特征并通过存储器304进行存储;当收发器301获取待识别对象的生物影像得到第二样本并提取到第二样本的第二原始特征后,处理器302同样根据目标相等错误率和目标认假率分别对第二原始特征进行降维得到第三特征和第四特征;当第二样本与第一样本比对识别的过程中,处理器302将第三特征与第一特征进行比对,第四特征与第二特征进行比对,由于减少了第一样本和第二样本的生物特征,从而降低了终端在比对识别过程中运算过程的复杂度,进而加快了终端识别生物特征的速度。In this embodiment, the processor 302 performs dimensionality reduction on the first original feature of the first sample according to the target equal error rate and the target false recognition rate, respectively, to obtain the first feature and the second feature, which are stored in the memory 304; when the transceiver 301 After acquiring the biological image of the object to be recognized to obtain the second sample and extracting the second original feature of the second sample, the processor 302 also performs dimensionality reduction on the second original feature according to the target equal error rate and the target false recognition rate to obtain the third sample. feature and the fourth feature; when the second sample is compared and identified with the first sample, the processor 302 compares the third feature with the first feature, and the fourth feature with the second feature. The biometric features of the first sample and the second sample are obtained, thereby reducing the complexity of the computing process of the terminal during the comparison and identification process, thereby speeding up the speed of the terminal identifying the biometric features.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the 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 Can be integrated into 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, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed 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 invention 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-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions for causing 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 methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, removable hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.

以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (13)

1.一种生物特征的识别方法,其特征在于,包括:1. a kind of identification method of biological feature, is characterized in that, comprises: 终端确定目标相等错误率和目标认假率,所述目标相等错误率为第一取值范围内使得第一特征不超过第二取值范围的最小相等错误率,所述第一取值范围为所述目标相等错误率的取值范围,所述第二取值范围为所述第一特征的取值范围;所述目标认假率为第三取值范围内使得第二特征不超过第四取值范围的最小认假率,所述第三取值范围为所述目标认假率的取值范围,所述第四取值范围为所述第二特征的取值范围;The terminal determines the target equal error rate and the target false recognition rate, the target equal error rate is the minimum equal error rate within the first value range so that the first feature does not exceed the second value range, and the first value range is The value range of the target equal error rate, the second value range is the value range of the first feature; the target recognition rate is within the third value range so that the second feature does not exceed the fourth value range The minimum false recognition rate of the value range, the third value range is the value range of the target false recognition rate, and the fourth value range is the value range of the second feature; 终端根据所述目标相等错误率将第一样本的第一原始特征降维得到第一特征,并根据所述目标认假率将所述第一原始特征降维得到第二特征,所述第一样本为所述终端预先存储或采集的样本;The terminal reduces the dimension of the first original feature of the first sample according to the target equal error rate to obtain the first feature, and reduces the dimension of the first original feature according to the target false recognition rate to obtain the second feature. A sample is a sample pre-stored or collected by the terminal; 所述终端将所述第一特征和所述第二特征进行存储;The terminal stores the first characteristic and the second characteristic; 所述终端获取待识别对象的生物影像生成第二样本并提取所述第二样本的第二原始特征;The terminal obtains the biological image of the object to be identified to generate a second sample and extracts the second original feature of the second sample; 所述终端根据所述目标相等错误率将所述第二原始特征降维得到第三特征,并根据所述目标认假率将所述第二原始特征降维得到第四特征;The terminal reduces the dimension of the second original feature according to the target equal error rate to obtain a third feature, and reduces the dimension of the second original feature according to the target false recognition rate to obtain a fourth feature; 所述终端将所述第三特征与所述第一特征进行比对识别并将所述第四特征与所述第二特征进行比对识别得到识别结果。The terminal compares and identifies the third feature with the first feature, and compares and identifies the fourth feature with the second feature to obtain an identification result. 2.根据权利要求1所述的方法,其特征在于,所述终端将所述第三特征与所述第一特征进行比对识别并将所述第四特征与所述第二特征进行比对识别得到识别结果包括:2. The method according to claim 1, wherein the terminal compares and identifies the third feature with the first feature and compares the fourth feature with the second feature The identification results obtained include: 所述终端判断所述第三特征与所述第一特征的相似度是否小于第一阈值;The terminal determines whether the similarity between the third feature and the first feature is less than a first threshold; 若所述第三特征与所述第一特征的相似度不小于所述第一阈值,则所述终端判断所述第四特征与所述第二特征是否小于第二阈值;If the similarity between the third feature and the first feature is not less than the first threshold, the terminal determines whether the fourth feature and the second feature are less than the second threshold; 若所述第四特征与所述第二特征的相似度不小于第二阈值,则所述终端判断所述第二样本与所述第一样本相同。If the similarity between the fourth feature and the second feature is not less than a second threshold, the terminal determines that the second sample is the same as the first sample. 3.根据权利要求2所述的方法,其特征在于,所述终端判断所述第三特征与所述第一特征的相似度是否小于第一阈值之后,所述方法还包括:3. The method according to claim 2, wherein after the terminal determines whether the similarity between the third feature and the first feature is less than a first threshold, the method further comprises: 若所述第三特征与所述第一特征的相似度小于所述第一阈值,则所述终端判断所述第二样本与所述第一样本不相同。If the similarity between the third feature and the first feature is less than the first threshold, the terminal determines that the second sample is different from the first sample. 4.根据权利要求2所述的方法,其特征在于,所述终端判断所述第四特征与所述第二特征是否小于第二阈值之后,所述方法还包括:4. The method according to claim 2, wherein after the terminal determines whether the fourth characteristic and the second characteristic are less than a second threshold, the method further comprises: 若所述第四特征与所述第二特征的相似度小于第二阈值,则所述终端判断所述第二样本与所述第一样本不相同。If the similarity between the fourth feature and the second feature is less than a second threshold, the terminal determines that the second sample is different from the first sample. 5.根据权利要求1至4中任一项所述的方法,其特征在于,所述终端将所述第一特征和所述第二特征进行存储包括:5. The method according to any one of claims 1 to 4, wherein the storing, by the terminal, the first characteristic and the second characteristic comprises: 所述终端根据关系式将所述第一特征量化得到第一量化特征,并根据所述关系式将所述第二特征进行量化得到第二量化特征;The terminal quantizes the first feature according to the relationship to obtain the first quantized feature, and quantizes the second feature according to the relationship to obtain the second quantized feature; 所述终端将所述第一量化特征和所述第二量化特征进行存储;The terminal stores the first quantization feature and the second quantization feature; 所述终端将所述第三特征与所述第一特征进行比对识别并将所述第四特征与所述第二特征进行比对识别得到识别结果包括:The terminal compares and identifies the third feature with the first feature and compares and identifies the fourth feature with the second feature to obtain an identification result including: 所述终端根据所述关系式将所述第三特征量化得到第三量化特征,并根据所述关系式将所述第四特征进行量化得到第四量化特征;The terminal quantizes the third feature according to the relationship to obtain a third quantized feature, and quantizes the fourth feature according to the relationship to obtain a fourth quantized feature; 所述终端将所述第三量化特征与第一量化特征进行比对识别并将所述第四量化特征与所述第二量化特征进行比对识别得到识别结果。The terminal compares and identifies the third quantitative feature with the first quantitative feature, and compares and identifies the fourth quantitative feature with the second quantitative feature to obtain an identification result. 6.根据权利要求5所述的方法,其特征在于,所述关系式为:6. The method according to claim 5, wherein the relational expression is: 其中所述V为样本降维后的特征取值,所述Vmin为样本降维后的最小特征取值,所述Vmax为样本降维后的最大特征取值,N的取值为255或65535。The V is the feature value of the sample after dimensionality reduction, the Vmin is the minimum feature value after the sample dimensionality reduction, the Vmax is the maximum feature value after the sample dimensionality reduction, and the value of N is 255 or 65535. 7.一种终端,其特征在于,包括:7. A terminal, characterized in that, comprising: 确定模块,用于确定目标相等错误率和目标认假率,所述目标相等错误率为第一取值范围内使得第一特征不超过第二取值范围的最小相等错误率,所述第一取值范围为所述目标相等错误率的取值范围,所述第二取值范围为所述第一特征的取值范围;所述目标认假率为第三取值范围内使得第二特征不超过第四取值范围的最小认假率,所述第三取值范围为所述目标认假率的取值范围,所述第四取值范围为所述第二特征的取值范围;The determining module is used to determine the target equal error rate and the target false recognition rate, the target equal error rate is the minimum equal error rate within the first value range so that the first feature does not exceed the second value range, the first The value range is the value range of the target equal error rate, the second value range is the value range of the first feature; the target recognition rate is within the third value range so that the second feature The minimum false acceptance rate that does not exceed the fourth value range, the third value range is the value range of the target false recognition rate, and the fourth value range is the value range of the second feature; 第一降维模块,用于根据所述确定模块确定的所述目标相等错误率将第一样本的第一原始特征降维得到第一特征,并根据所述确定模块确定的所述目标认假率将所述第一原始特征降维得到第二特征,所述第一样本为所述终端预先存储或采集的样本;The first dimension reduction module is configured to reduce the dimension of the first original feature of the first sample to obtain the first feature according to the target equal error rate determined by the determination module, and recognize the target according to the target determination module determined by the determination module. The false rate reduces the dimension of the first original feature to obtain a second feature, and the first sample is a sample pre-stored or collected by the terminal; 存储模块,用于将所述降维模块降维得到的所述第一特征和所述第二特征进行存储;a storage module, configured to store the first feature and the second feature obtained by the dimensionality reduction module; 获取模块,用于获取待识别对象的生物影像生成第二样本并提取所述第二样本的第二原始特征;an acquisition module, configured to acquire a biological image of the object to be identified, generate a second sample, and extract a second original feature of the second sample; 第二降维模块,用于根据所述确定模块确定的所述目标相等错误率将所述获取模块获取的所述第二原始特征降维得到第三特征,并根据所述确定模块确定的所述目标认假率将所述获取模块获取的所述第二原始特征降维得到第四特征;The second dimension reduction module is configured to reduce the dimension of the second original feature obtained by the obtaining module to obtain a third feature according to the target equal error rate determined by the determining module, and obtain a third feature according to the target equal error rate determined by the determining module. The target false recognition rate reduces the dimension of the second original feature obtained by the obtaining module to obtain a fourth feature; 识别模块,用于将所述第二降维模块降维得到的所述第三特征与所述第一降维模块降维得到的所述第一特征进行比对识别并将所述第二降维模块降维得到的所述第四特征与所述第一降维模块降维得到的所述第二特征进行比对识别得到识别结果。an identification module, configured to compare and identify the third feature obtained by the second dimension reduction module and the first feature obtained by the first dimension reduction module The fourth feature obtained by the dimensionality reduction module and the second feature obtained by the dimensionality reduction of the first dimensionality reduction module are compared and identified to obtain an identification result. 8.根据权利要求7所述的终端,其特征在于,所述识别模块包括:8. The terminal according to claim 7, wherein the identification module comprises: 第一判断单元,用于判断所述第三特征与所述第一特征的相似度是否小于第一阈值;a first judging unit, configured to judge whether the similarity between the third feature and the first feature is less than a first threshold; 第二判断单元,用于若所述第一判断单元判断所述第三特征与所述第一特征的相似度不小于所述第一阈值,则判断所述第四特征与所述第二特征是否小于第二阈值;a second judging unit, configured to judge the fourth feature and the second feature if the first judging unit judges that the similarity between the third feature and the first feature is not less than the first threshold Whether it is less than the second threshold; 第一识别单元,用于若所述第二判断判断所述第四特征与所述第二特征的相似度不小于第二阈值,则判断所述第二样本与所述第一样本相同。A first identifying unit, configured to judge that the second sample is the same as the first sample if the second judgment judges that the similarity between the fourth feature and the second feature is not less than a second threshold. 9.根据权利要求8所述的终端,其特征在于,所述识别模块还包括:9. The terminal according to claim 8, wherein the identification module further comprises: 第二识别单元,用于若所述第一判断单元判断所述第三特征与所述第一特征的相似度小于所述第一阈值,则判断所述第二样本与所述第一样本不相同。a second identifying unit, configured to judge the second sample and the first sample if the first judging unit judges that the similarity between the third feature and the first feature is less than the first threshold Are not the same. 10.根据权利要求8所述的终端,其特征在于,所述识别模块还包括:10. The terminal according to claim 8, wherein the identification module further comprises: 第三识别单元,用于若所述第二判断单元判断所述第四特征与所述第二特征的相似度小于第二阈值,则所述终端判断所述第二样本与所述第一样本不相同。a third identifying unit, configured to judge, by the terminal, that the second sample is the same as the first if the second judging unit judges that the similarity between the fourth feature and the second feature is less than a second threshold This is not the same. 11.根据权利要求7至10中任一项所述的终端,其特征在于,所述存储模块包括:11. The terminal according to any one of claims 7 to 10, wherein the storage module comprises: 第一量化单元,用于根据关系式将所述第一特征量化得到第一量化特征,并根据所述关系式将所述第二特征进行量化得到第二量化特征;a first quantization unit, configured to quantify the first feature according to the relational formula to obtain the first quantized feature, and quantify the second feature according to the relational formula to obtain the second quantized feature; 存储单元,用于将所述量化单元量化得到的所述第一量化特征和所述第二量化特征进行存储;a storage unit for storing the first quantization feature and the second quantization feature obtained by the quantization unit quantization; 所述识别模块包括:The identification module includes: 第二量化单元,用于根据所述关系式将所述第三特征量化得到第三量化特征,并根据所述关系式将所述第四特征进行量化得到第四量化特征;a second quantization unit, configured to quantify the third feature according to the relational formula to obtain a third quantized feature, and quantify the fourth feature according to the relational formula to obtain a fourth quantized feature; 第四识别单元,用于将所述第三量化特征与第一量化特征进行比对识别并将所述第四量化特征与所述第二量化特征进行比对识别得到识别结果。The fourth identification unit is configured to compare and identify the third quantitative feature with the first quantitative feature, and compare and identify the fourth quantitative feature with the second quantitative feature to obtain an identification result. 12.根据权利要求11所述的终端,其特征在于,所述关系式为:12. The terminal according to claim 11, wherein the relational formula is: 其中所述V为样本降维后的特征取值,所述Vmin为样本降维后的最小特征取值,所述Vmax为样本降维后的最大特征取值,N的取值为255或65535。The V is the feature value of the sample after dimensionality reduction, the Vmin is the minimum feature value after the sample dimensionality reduction, the Vmax is the maximum feature value after the sample dimensionality reduction, and the value of N is 255 or 65535. 13.一种终端,其特征在于,包括:13. A terminal, characterized in that, comprising: 收发器,处理器,存储器和总线;transceivers, processors, memories and buses; 所述收发器,所述处理器与所述存储器通过所述总线相连;the transceiver, the processor and the memory are connected through the bus; 所述处理器具有如下功能:确定目标相等错误率和目标认假率,所述目标相等错误率为第一取值范围内使得第一特征不超过第二取值范围的最小相等错误率,所述第一取值范围为所述目标相等错误率的取值范围,所述第二取值范围为所述第一特征的取值范围;所述目标认假率为第三取值范围内使得第二特征不超过第四取值范围的最小认假率,所述第三取值范围为所述目标认假率的取值范围,所述第四取值范围为所述第二特征的取值范围;根据所述目标相等错误率将第一样本的第一原始特征降维得到第一特征,并根据所述目标认假率将所述第一原始特征降维得到第二特征,所述第一样本为所述终端预先存储或采集的样本;The processor has the following functions: determining a target equal error rate and a target false recognition rate, and the target equal error rate is a minimum equal error rate within the first value range so that the first feature does not exceed the second value range, so The first value range is the value range of the target equal error rate, the second value range is the value range of the first feature; the target false positive rate is within the third value range such that The second feature does not exceed the minimum false recognition rate of the fourth value range, the third value range is the value range of the target false recognition rate, and the fourth value range is the value range of the second feature value range; reduce the dimension of the first original feature of the first sample according to the target equal error rate to obtain the first feature, and reduce the dimension of the first original feature to obtain the second feature according to the target false recognition rate, so The first sample is a sample pre-stored or collected by the terminal; 所述存储器具有如下功能:将所述第一特征和所述第二特征进行存储;The memory has the following functions: storing the first feature and the second feature; 所述收发器具有如下功能:获取待识别对象的生物影像生成第二样本并提取所述第二样本的第二原始特征;The transceiver has the following functions: obtaining a biological image of the object to be identified to generate a second sample and extracting a second original feature of the second sample; 所述处理器具有如下功能:根据所述目标相等错误率将所述第二原始特征降维得到第三特征,并根据所述目标认假率将所述第二原始特征降维得到第四特征;将所述第三特征与所述第一特征进行比对识别并将所述第四特征与所述第二特征进行比对识别得到识别结果。The processor has the following functions: reducing the dimension of the second original feature according to the target equal error rate to obtain a third feature, and reducing the dimension of the second original feature according to the target false recognition rate to obtain a fourth feature ; Compare and identify the third feature with the first feature and compare and identify the fourth feature with the second feature to obtain an identification result.
CN201610472329.7A 2016-06-24 2016-06-24 A kind of recognition methods and terminal of biological characteristic Active CN106156727B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610472329.7A CN106156727B (en) 2016-06-24 2016-06-24 A kind of recognition methods and terminal of biological characteristic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610472329.7A CN106156727B (en) 2016-06-24 2016-06-24 A kind of recognition methods and terminal of biological characteristic

Publications (2)

Publication Number Publication Date
CN106156727A CN106156727A (en) 2016-11-23
CN106156727B true CN106156727B (en) 2019-07-09

Family

ID=57349308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610472329.7A Active CN106156727B (en) 2016-06-24 2016-06-24 A kind of recognition methods and terminal of biological characteristic

Country Status (1)

Country Link
CN (1) CN106156727B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021900A (en) * 2007-03-15 2007-08-22 上海交通大学 Method for making human face posture estimation utilizing dimension reduction method
CN101526997A (en) * 2009-04-22 2009-09-09 无锡名鹰科技发展有限公司 Embedded infrared face image identifying method and identifying device
CN103927529A (en) * 2014-05-05 2014-07-16 苏州大学 Acquiring method, application method and application system of final classifier
CN105138972A (en) * 2015-08-11 2015-12-09 北京天诚盛业科技有限公司 Face authentication method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070083436A (en) * 2006-02-21 2007-08-24 삼성전자주식회사 Object authentication device and method
US20070230754A1 (en) * 2006-03-30 2007-10-04 Jain Anil K Level 3 features for fingerprint matching
JP2009163555A (en) * 2008-01-08 2009-07-23 Omron Corp Face collation apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021900A (en) * 2007-03-15 2007-08-22 上海交通大学 Method for making human face posture estimation utilizing dimension reduction method
CN101526997A (en) * 2009-04-22 2009-09-09 无锡名鹰科技发展有限公司 Embedded infrared face image identifying method and identifying device
CN103927529A (en) * 2014-05-05 2014-07-16 苏州大学 Acquiring method, application method and application system of final classifier
CN105138972A (en) * 2015-08-11 2015-12-09 北京天诚盛业科技有限公司 Face authentication method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于最小分类错误率和Parzen窗的降维方法";贺邓超 等;《计算机工程与应用》;20140831;第50卷(第14期);185-188

Also Published As

Publication number Publication date
CN106156727A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
US10664581B2 (en) Biometric-based authentication method, apparatus and system
US10242247B2 (en) Fingerprint unlocking method and terminal
JP2015513754A (en) Face recognition method and device
WO2022127112A1 (en) Cross-modal face recognition method, apparatus and device, and storage medium
WO2022127111A1 (en) Cross-modal face recognition method, apparatus and device, and storage medium
CN107657161A (en) Mobile payment method and related products based on face recognition
Darwaish et al. Biometric identification on android smartphones
CN106056083A (en) Information processing method and terminal
EP3371739A1 (en) High speed reference point independent database filtering for fingerprint identification
WO2017131870A1 (en) Decoy-based matching system for facial recognition
WO2017156963A1 (en) Method for fingerprint unlocking, and terminal
CN111191207A (en) Electronic file control method and device, computer equipment and storage medium
CN107967461A (en) The training of SVM difference models and face verification method, apparatus, terminal and storage medium
CN110929244A (en) Digital identity identification method, device, equipment and storage medium
CN106650568A (en) Human face identifying method and apparatus
CN116910734A (en) Biological feature identification method for power operation and maintenance, terminal equipment and storage medium
KR100467152B1 (en) Personal authentication method of face recognition system
CN106156727B (en) A kind of recognition methods and terminal of biological characteristic
CN113641844A (en) Identity verification method, device, terminal and storage medium for marital registration system
CN113128427A (en) Face recognition method and device, computer readable storage medium and terminal equipment
CN111950403A (en) An iris classification method and system, electronic device and storage medium
CN111274899A (en) Face matching method and device, electronic equipment and storage medium
US20220343681A1 (en) Evaluating method and system for face verification, and computer storage medium
Sehgal Palm recognition using LBP and SVM
CN118379560B (en) Image fraud detection method, apparatus, device, storage medium, and program product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170824

Address after: 361008, Xiamen three software park, Fujian Province, 8 North Street, room 2001

Applicant after: XIAMEN ZKTECO INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 361000 Fujian province Xiamen software park two sunrise Road No. 32 403 unit 02 District

Applicant before: XIAMEN ZKTECO BIOMETRIC IDENTIFICATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 1301, No.132, Fengqi Road, phase III, software park, Xiamen City, Fujian Province

Patentee after: Xiamen Entropy Technology Co.,Ltd.

Address before: 361008 room 8, 2001 North Avenue, Xiamen Software Park, Fujian, three

Patentee before: XIAMEN ZKTECO INFORMATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20250108

Address after: No. 51 Binhe Road, Zhangmutou Town, Dongguan City, Guangdong Province 523628

Patentee after: Entropy based technology (Guangdong) Co.,Ltd.

Country or region after: China

Address before: Room 1301, 132 Fengqi Road, phase III, software park, Xiamen City, Fujian Province, 361008

Patentee before: Xiamen Entropy Technology Co.,Ltd.

Country or region before: China