[go: up one dir, main page]

CN106156727A - The recognition methods of a kind of biological characteristic and terminal - Google Patents

The recognition methods of a kind of biological characteristic and terminal Download PDF

Info

Publication number
CN106156727A
CN106156727A CN201610472329.7A CN201610472329A CN106156727A CN 106156727 A CN106156727 A CN 106156727A CN 201610472329 A CN201610472329 A CN 201610472329A CN 106156727 A CN106156727 A CN 106156727A
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.)
Granted
Application number
CN201610472329.7A
Other languages
Chinese (zh)
Other versions
CN106156727B (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 Zhongkong Biological Recognition 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 Zhongkong Biological Recognition Information Technology Co Ltd filed Critical Xiamen Zhongkong Biological Recognition 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 biological feature recognition method and a terminal, which are used to accelerate the speed of identifying the biological feature by the terminal. The method in 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 dimensionality 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 the second An original feature is dimensionally reduced to obtain the second feature, the first sample is a sample stored or collected in advance 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 second feature The second original feature of 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 recognized, and the fourth feature is compared and recognized with the second feature to obtain a recognition result.

Description

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

技术领域technical field

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

背景技术Background technique

生物识别技术是利用人体生物特征进行身份认证的一种技术,生物特征是唯一的(与他人不同)、可以测量或可以自动识别和验证的生理特性或行为方式,分为生理特征和行为特征。生物识别系统对特征特性进行取样,提取其唯一特征并进行身份认证。生物识别技术作为一种身份识别的手段,具有独特的优势,近年来已逐渐成为国际上的研究热点。目前比较成熟并大规模使用的方式主要为,指纹、虹膜、脸、耳、掌纹、手章静脉等。而生物特征识别技术通常按照,扫描、数字化处理、分析、特征提取、存储、匹配分类几个步骤处理。Biometric technology is a technology that uses human biological characteristics for identity authentication. Biometric characteristics are unique (different from others), physiological characteristics or behaviors that can be measured or automatically identified and verified, and are divided into physiological characteristics and behavioral characteristics. The biometric system samples the characteristic characteristics, extracts its unique characteristics and performs identity authentication. As a means of identification, biometric technology has unique advantages, and has gradually become a research hotspot in the world in recent years. At present, the methods that are relatively mature and used on a large scale mainly include fingerprints, irises, faces, ears, palm prints, and hand stamp veins. Biometric identification technology usually follows 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 higher reliability in biometric recognition, usually high-dimensional features are extracted as much as possible during the feature extraction stage. For example, after the face is divided into 9x9 blocks to extract LBP features and calculate the histogram, the obtained features are 9x9x256 original Local binary pattern (full name in English: Local Binary Patterns, referred to as LBP) features, if you use a unified LBP (full name in English: Unified LBP), its features are 9x9x58; the features obtained by the feature extraction algorithm based on key point processing blocks will also Many, for example, 7 key points, the Unified LBP histogram features obtained by the 4x4 block method at each key point are 7x4x4x58=6496.

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

发明内容Contents of the invention

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

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

终端确定目标相等错误率和目标认假率;终端根据该目标相等错误率将第一样本的第一原始特征降维得到第一特征,并根据该目标认假率将该第一原始特征降维得到第二特征,该第一样本为该终端预先存储或采集的样本;该终端将该第一特征和该第二特征进行存储;该终端获取待识别对象的生物影像生成第二样本并提取该第二样本的第二原始特征;该终端根据该目标相等错误率将该第二原始特征降维得到第三特征,并根据该目标认假率将该第二原始特征降维得到第四特征;该终端将该第三特征与该第一特征进行比对识别并将该第四特征与该第二特征进行比对识别得到识别结果。The terminal determines the target equal error rate and the target false recognition rate; the terminal reduces the dimensionality 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. The first sample is a sample stored or collected in advance 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 extracting 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 feature; the terminal compares and recognizes the third feature with the first feature and compares and recognizes the fourth feature with the second feature to obtain a recognition 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 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 dimensionality 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 within the first value range so that the first feature does not exceed the minimum equal error rate of the second value range, and the first value range is the target equal error rate value range, the second value range is the value range of the first feature;

该目标认假率为第三取值范围内使得该第二特征不超过第四取值范围的最小认假率,该第三取值范围为该目标认假率的取值范围,该第四取值范围为该第二特征的取值范围。The target false recognition 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 characteristic.

另一种可能实现方式中,该终端将该第三特征与该第一特征进行比对识别并将该第四特征与该第二特征进行比对识别得到识别结果包括:该终端判断该第三特征与该第一特征的相似度是否小于第一阈值;In another possible implementation manner, the terminal comparing and identifying the third feature with the first feature and comparing and identifying the fourth feature with the second feature to obtain a recognition result includes: the terminal judging that the third feature Whether the similarity between the 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 judges whether the fourth feature and the second feature are less than a 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.

另一种可能实现方式中,该终端判断该第三特征与该第一特征的相似度是否小于第一阈值之后,该方法还包括:若该第三特征与该第一特征的相似度小于该第一阈值,则该终端判断该第二样本与该第一样本不相同。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 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 smaller than a second threshold, the method further includes: if the similarity between the fourth feature and the second feature is smaller than the second threshold, Then the terminal judges 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 a relational expression to obtain a first quantized feature, and quantizes the second feature according to the relational expression to obtain a second quantized feature;

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

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

该终端根据该关系式将该第三特征量化得到第三量化特征,并根据该关系式将该第四特征进行量化得到第四量化特征;The terminal quantizes the third feature according to the relational expression to obtain a third quantized feature, and quantizes the fourth feature according to the relational expression 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 a recognition result.

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

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

ff ll oo oo rr (( (( VV -- VV mm ii nno )) ×× NN VV maxmax -- VV mm ii nno )) ;;

其中该V为样本降维后的特征取值,该Vmin为样本降维后的最小特征取值,该Vmax为样本降维后的最大特征取值,N的取值为255或65535。Wherein, V is the feature value after dimensionality reduction of the sample, V min is the minimum feature value after dimensionality reduction of the sample, V max is the maximum feature value after dimensionality reduction of the sample, 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 dimensionality 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 to obtain the first feature according to the target false recognition rate determined by the determination module. The first original feature is dimensionally reduced to obtain the second feature, and the first sample is a sample stored or collected in advance by the terminal;

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

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

第二降维模块,用于根据该确定模块确定的该目标相等错误率将该获取模块获取的该第二原始特征降维得到第三特征,并根据该确定模块确定的该目标认假率将该获取模块获取的该第二原始特征降维得到第四特征;The second dimension reduction module is used to reduce the dimensionality 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 acquired by the acquisition module is dimensionally reduced to obtain a fourth feature;

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

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

该目标认假率为第三取值范围内使得该第二特征不超过第四取值范围的最小认假率,该第三取值范围为该目标认假率的取值范围,该第四取值范围为该第二特征的取值范围。The target false recognition 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 characteristic.

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

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

第二判断单元,用于若该第一判断单元判断该第三特征与该第一特征的相似度不小于该第一阈值,则判断该第四特征与该第二特征是否小于第二阈值;A second judging unit, configured to judge whether the fourth feature and the second feature are smaller than a 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 identification unit is configured to determine 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 determine 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:

第三识别单元,用于若该第二判断单元判断该第四特征与该第二特征的相似度小于第二阈值,则该终端判断该第二样本与该第一样本不相同。The third identifying unit is configured to determine 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:

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

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

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

第二量化单元,用于根据该关系式将该第三特征量化得到第三量化特征,并根据该关系式将该第四特征进行量化得到第四量化特征;The second quantization unit is configured to quantize the third feature according to the relational expression to obtain a third quantization feature, and quantize the fourth feature according to the relational expression to obtain a fourth quantization 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 a recognition result.

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

ff ll oo oo rr (( (( VV -- VV mm ii nno )) ×× NN VV maxmax -- VV mm ii nno )) ;;

其中该V为样本降维后的特征取值,该Vmin为样本降维后的最小特征取值,该Vmax为样本降维后的最大特征取值,N的取值为255或65535。Wherein, V is the feature value after dimensionality reduction of the sample, V min is the minimum feature value after dimensionality reduction of the sample, V max is the maximum feature value after dimensionality reduction of the sample, 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, memory and buses;

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

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

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

从以上技术方案可以看出,本发明实施例具有以下优点:终端根据目标相等错误率和目标认假率分别对第一样本的第一原始特征进行降维得到第一特征和第二特征并进行存储;当终端获取待识别对象的生物影像得到第二样本并提取到第二样本的第二原始特征后,同样根据目标相等错误率和目标认假率分别对第二原始特征进行降维得到第三特征和第四特征;当第二样本与第一样本比对识别的过程中,第三特征与第一特征进行比对,第四特征与第二特征进行比对,由于减少了第一样本和第二样本的生物特征,从而降低了终端在比对识别过程中运算过程的复杂度,进而加快了终端识别生物特征的速度。It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages: the terminal respectively 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 to obtain the first feature and the second feature and storage; when the terminal obtains the biological image of the object to be identified 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 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, due to the reduction of the first feature The biological characteristics of the first sample and the second sample, thereby reducing the complexity of the calculation process of the terminal in the process of comparing and identifying, thereby speeding up the speed of terminal recognition of biological characteristics.

附图说明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 the embodiment of the present invention.

具体实施方式detailed description

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

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a 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 making creative efforts shall fall within the protection scope of the present invention.

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

101、终端确定目标相等错误率和目标认假率。101. The terminal determines a target equal error rate and a target false acceptance 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 the error rate dimensionality reduction does not exceed the minimum equal error rate of the pre-selected value range. The minimum false recognition rate whose value does not exceed the pre-selected value 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 human face as 6496 as an example, if the value range of the feature after dimension reduction according to the equal error rate is [10,20], the value of the feature after dimension reduction 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 is [0.000001,0.000003]. In practical applications, if the equal error rate is 0.05, The terminal can reduce the dimension of the original feature to 10 dimensions. When the equal error rate is 0.03, the terminal can reduce the dimension of the original feature to 20 dimensions. Then the terminal chooses 0.03 as the target equal error rate. When the false rate value is 0.000001, the terminal can reduce the original feature dimension to 400 dimensions. When the false recognition rate value is 0.000003, the terminal can reduce the original feature dimension to 200 dimensions. Then the terminal chooses 0.000001 as the target equal Error rate.

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

该终端获取到需要预先存储或采集的第一样本并提取该第一样本的第一原始特征。该终端根据确定好的目标相等错误率将该第一原始特征进行降维得到第一特征,根据确定好的目标认假率将该第一原始特征进行降维得到第二特征。The terminal obtains the first sample that needs to be stored or collected in advance and extracts the first original feature of the first sample. The terminal performs dimensionality reduction on the first original feature according to the determined target equal error rate to obtain the first feature, and performs dimensionality reduction on 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 feature of the face, various methods can be used. For example, after the face is divided into 9x9 blocks to extract LBP features and calculate the histogram, the obtained features are 9x9x256 original LBP features. If you use In the case of Unified LBP, its features are 9x9x58; the feature extraction algorithm based on the key point block will also get a lot of features, for example, 7 key points, the Unified LBP histogram feature obtained by the 4x4 block method at each key point The number is 7x4x4x58=6496, and the extraction method of the original feature of the sample is not limited here. In this embodiment, the original feature of the face is 6496 as an example. According to the target equal error rate and target false recognition rate selected in step 101, the first feature obtained by reducing the dimension of the face 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 dimensionally reduced first feature and the second feature.

在实际应用中,该终端还可以确定与该第一特征和该第二特征相对应的PIN,并将该PIN与该第一特征和该第二特征同时进行存储,这样可以在具体比对时直接读取到该第一特征和该第二特征。In practical applications, the terminal can also determine the PIN corresponding to the first feature and the second feature, and store the PIN and the first feature and the second feature at the same time, so that when comparing 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 expression: Quantify the first feature and the second feature to obtain the first quantized feature and the second quantized feature. For example, the first feature is 20 dimensions, where the value of one dimension is 0.5, the value of the other dimension is 2, and the value of the largest dimension is 3, the value of the smallest dimension is 0.2, and the value of N is 255, then the quantization values of the features obtained by quantization according to the relational expression 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, and 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 For a quantized feature, 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. The specific method is not described here. Do limited.

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

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

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

105、终端根据目标相等错误率将第二原始特征降维得到第三特征,并根据该目标认假率将该第二原始特征降维得到第四特征。105. The terminal reduces the dimensionality of the second original feature according to the target equal error rate to obtain a third feature, and reduces the dimensionality of the second original feature according to the target false recognition rate to obtain a 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 feature and the second feature of the pre-stored or collected first sample and stores them after the storage space is small, the terminal also needs to quantify the first feature and the second feature of the second sample The third feature and the fourth feature are quantized in the same manner to obtain quantized features.

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

该终端设定该第三特征与该第一特征的相似度的第一阈值,并设定该第四特征与该第二特征的相似度的第二阈值,然后该终端判断该第三特征与该第一特征的相似度是否小于第一阈值;若该第三特征与该第一特征的相似度不小于该第一阈值,则该终端判断该第四特征与该第二特征是否小于第二阈值;若该第四特征与该第二特征的相似度不小于第二阈值,则该终端判断该第二样本与该第一样本相同。若该第三特征与该第一特征的相似度小于该第一阈值,则该终端判断该第二样本与该第一样本不相同,同时可以不用在比对识别第四特征和第二特征之间的相似度;若该第三特征与该第一特征的相似度不小于该第一阈值且该第四特征与该第二特征的相似度小于该第二阈值时,该终端同样判断该第二样本与该第一样本不相同。The terminal sets a first threshold of similarity between the third feature and the first feature, and sets a second threshold of similarity between the fourth feature and the second feature, and then the terminal judges that the third feature is similar to the second feature Whether the similarity of 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, then the terminal judges whether the fourth feature and the second feature are smaller than the second A 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. If the similarity between the third feature and the first feature is less than the first threshold, the terminal judges that the second sample is different from the first sample, and at the same time, it is not necessary 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 that the The second sample is different from the first sample.

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

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

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

若该打卡机采用一对多的识别方式,则假设公司员工为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 recognition method, assuming that the company employees are A, B, and C, the punch card machine needs to pre-store sample A, sample B, and sample C, and the samples here are all faces. The original features of sample A, sample B, and sample C are all 6496-dimensional, so the punching machine performs dimensionality reduction on sample A, sample B, and sample C according to the equal error rate of 0.03 to obtain feature sets (20A, 20B, 20C); Then, according to the false recognition rate of 0.000001, the sample A, sample B, and sample C are dimensionally reduced to obtain feature sets (400A, 400B, 400C). The punch card machine then stores the feature set (20A, 20B, 20C) and the feature set (400A, 400B, 400C), that is, the feature set (20A, 20B, 20C) occupies 3*20 bytes, and the feature set (400A, 400B, 400C) occupy 3*400 bytes. If employee A needs to check-in, the punch-card 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 dimensionality of the original features of employee A to obtain feature 20a and feature 400a. Before the comparison and recognition, the punching machine loads the stored feature set (20A, 20B, 20C) into the memory, and then compares 20a with 20A, 20B, and 20C respectively to obtain 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. Here, the check-in machine judges that they are the same person if the similarity is not less than 0.8. At this time, the first quantitative feature with a similarity not lower than 0.8 is (20A , 20B); the punching 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 It is 0.5, and the condition for the punch card machine to judge that they are the same person is that the similarity is not less than 0.9. Since only the features of sample A meet the requirement of similarity with the face image sample of employee A, the punch card machine thinks that sample A is the same person as employee A and displays it. In practical application, if the punch card 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 judging that the punch card machine is the same person is The similarity is not less than 0.9. Then the punch card machine can judge that sample A and sample B are the same person as employee A and display it; or it can only consider that sample A and employee A with a similarity of 0.95 are the same person 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 with the third threshold again, where the third threshold is 0.95, then the clock-in 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 feature of sample A and save it to the memory of the punch card machine. middle. When employee A needs to check in, he inputs the PIN, and the punch card machine reads the features corresponding to the input PIN from the memory, that is, (20A, 400A) and loads it into the memory, and at the same time collects the face image of employee A, extracts the features and reduces the dimension to obtain (20a, 400a); the punching machine compares (20A, 20a), if its similarity is less than the first threshold 0.8, the punching fails; if the similarity is not less than 0.8, then the punching machine further compares (400A, 400a), If the similarity is not less than the second threshold of 0.9, the check-in is successful, and if the similarity is less than 0.9, the check-in fails.

本实施例中终端根据目标相等错误率和目标认假率分别对第一样本的第一原始特征进行降维得到第一特征和第二特征并进行存储;当终端获取待识别对象的生物影像得到第二样本并提取到第二样本的第二原始特征后,同样根据目标相等错误率和目标认假率分别对第二原始特征进行降维得到第三特征和第四特征;当第二样本与第一样本比对识别的过程中,第三特征与第一特征进行比对,第四特征与第二特征进行比对,由于减少了第一样本和第二样本的生物特征,从而降低了终端在比对识别过程中运算过程的复杂度,进而加快了终端识别生物特征的速度。同时可以将第一特征和第二特征进行量化存储,这样可以有效的节省存储空间。In this embodiment, the terminal reduces the dimensionality 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 store them; when the terminal obtains the biological image of the object to be identified After obtaining the second sample and extracting the second original feature of the second sample, the second original feature is also dimensionally reduced according to the target equal error rate and target false recognition rate respectively 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. Since the biological features of the first sample and the second sample are reduced, thus The complexity of the operation process in the comparison and identification process of the terminal is reduced, thereby accelerating the speed of terminal identification of biometric features. At the same time, the first feature and the second feature can be quantified 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 introduced below. Please refer to FIG. 2. An embodiment of the terminal in the embodiment of the present invention includes:

确定模块201,用于确定目标相等错误率和目标认假率;Determining module 201, is 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 to obtain the first feature 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 dimensionality of the dimensionality reduction module;

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

第二降维模块205,用于根据该确定模块确定的该目标相等错误率将该获取模块获取的该第二原始特征降维得到第三特征,并根据该确定模块确定的该目标认假率将该获取模块获取的该第二原始特征降维得到第四特征;The second dimension reduction module 205 is used to reduce the dimensionality 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. reducing the dimensionality of the second original feature acquired by the acquisition module to obtain a fourth feature;

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

可选的,本实施例中该目标相等错误率为第一取值范围内使得该第一特征不超过第二取值范围的最小相等错误率,该第一取值范围为该目标相等错误率的取值范围,该第二取值范围为该第一特征的取值范围;Optionally, in this embodiment, the target equal error rate is within the first value range so that the first feature does not exceed the minimum equal error rate of 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 recognition 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, configured to judge whether the similarity between the third feature and the first feature is smaller than a first threshold;

第二判断单元,用于若该第一判断单元判断该第三特征与该第一特征的相似度不小于该第一阈值,则判断该第四特征与该第二特征是否小于第二阈值;A second judging unit, configured to judge whether the fourth feature and the second feature are smaller than a 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 identification unit is configured to determine 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 also includes:

第二识别单元,用于若该第一判断单元判断该第三特征与该第一特征的相似度小于该第一阈值,则判断该第二样本与该第一样本不相同。The second identifying unit is configured to determine 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 also includes:

第三识别单元,用于若该第二判断单元判断该第四特征与该第二特征的相似度小于第二阈值,则该终端判断该第二样本与该第一样本不相同。The third identifying unit is configured to determine 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:

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

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

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

第二量化单元,用于根据该关系式将该第三特征量化得到第三量化特征,并根据该关系式将该第四特征进行量化得到第四量化特征;The second quantization unit is configured to quantize the third feature according to the relational expression to obtain a third quantization feature, and quantize the fourth feature according to the relational expression to obtain a fourth quantization 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 a recognition result.

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

ff ll oo oo rr (( (( VV -- VV mm ii nno )) ×× NN VV maxmax -- VV mm ii nno )) ;;

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

本实施例中第一降维模块202根据确定模块201确定的目标相等错误率和目标认假率分别对第一样本的第一原始特征进行降维得到第一特征和第二特征并通过存储存储模块203进行存储;当获取模块204获取生物影像得到第二样本并提取到第二样本的第二原始特征后,第二降维模块205同样根据目标相等错误率和目标认假率分别对第二原始特征进行降维得到第三特征和第四特征;当第二样本与第一样本比对识别的过程中,识别模块206将第三特征与第一特征进行比对,第四特征与第二特征进行比对,由于减少了第一样本和第二样本的生物特征,从而降低了终端在比对识别过程中运算过程的复杂度,进而加快了终端识别生物特征的速度。In this embodiment, the first dimensionality reduction module 202 respectively 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 determination module 201 to obtain the first feature and the second feature, and store the The storage module 203 stores; 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 dimensionality reduction module 205 also calculates the first error rate 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 recognition module 206 compares the third feature with the first feature, and the fourth feature is compared with the first sample. Compared with the second feature, since the biometric features of the first sample and the second sample are reduced, the complexity of the calculation process of the terminal in the process of comparing and identifying is reduced, and the speed of identifying the biometric feature of the terminal is accelerated.

具体请参阅图3,本发明实施例中终端的另一个实施例,包括:Please refer to FIG. 3 for details. 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 (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 representation, 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 (central processing unit, CPU for short), a network processor (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 a hardware chip. The aforementioned hardware chip may be an application-specific integrated circuit (application-specific integrated circuit, ASIC for short), a programmable logic device (programmable logic device, PLD for short), or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (complex programmable logic device, CPLD for short), a field-programmable gate array (field-programmable gate array, FPGA for short), a generic array logic (generic array logic, GAL for short) or any 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 a volatile memory (volatile memory), such as a random-access memory (random-access memory, RAM for short); the memory may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory). memory), hard disk (hard disk drive, referred to as HDD) or solid-state drive (solid-state drive, referred to as SSD); the storage 304 may also include a combination of the above types of storage.

可选地,存储器304还可以用于存储程序指令,处理器302调用该存储器304中存储的程序指令,可以执行图1所示实施例中的一个或多个步骤,或其中可选的实施方式,实现上述方法中终端行为的功能。Optionally, the memory 304 can also be used to store program instructions, and the processor 302 calls the program instructions stored in the memory 304 to perform one or more steps in the embodiment shown in FIG. 1 , or alternative implementations thereof. , to realize the function of the 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 dimensionality 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 obtain the first feature according to the target equal error rate determined by the determination module The target false recognition rate determined by the determination module reduces the dimensionality of the first original feature to obtain a second feature, and the first sample is a sample stored or collected in advance by the terminal;

该存储器304,具有如下功能:将该降维模块降维得到的该第一特征和该第二特征进行存储;The memory 304 has the following function: storing the first feature and the second feature obtained by reducing the dimensionality of 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: according to the target equal error rate determined by the determination module, the second original feature obtained by the acquisition module is dimensionally reduced to obtain a third feature, and according to the target false recognition rate determined by the determination module Dimensionality reduction of the second original feature acquired by the acquisition module to obtain a fourth feature; comparing the third feature obtained by dimensionality reduction of the second dimension reduction module with the first feature obtained by dimensionality reduction of the first dimension reduction module Identifying and comparing the fourth feature obtained by reducing the dimensionality of the second dimensionality reduction module with the second feature obtained by reducing the dimensionality of the first dimensionality reduction module to obtain a recognition result.

可选的,该目标相等错误率为第一取值范围内使得该第一特征不超过第二取值范围的最小相等错误率,该第一取值范围为该目标相等错误率的取值范围,该第二取值范围为该第一特征的取值范围;Optionally, the target equal error rate is within the first value range so that the first feature does not exceed the minimum equal error rate of 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 recognition 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 characteristic.

可选的,该处理器302,具体还具有如下功能:判断该第三特征与该第一特征的相似度是否小于第一阈值;若该第一判断单元判断该第三特征与该第一特征的相似度不小于该第一阈值,则判断该第四特征与该第二特征是否小于第二阈值;若该第二判断判断该第四特征与该第二特征的相似度不小于第二阈值,则判断该第二样本与该第一样本相同。Optionally, the processor 302 specifically has the following function: judge whether the similarity between the third feature and the first feature is less than a first threshold; if the first judging unit judges that the third feature is similar to the first feature If the similarity between the fourth feature and the second feature is not less than the second threshold; if the second judgment judges 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 specifically has the following function: if the first judging unit judges that the similarity between the third feature and the first feature is less than the first threshold, then judge that the second sample is similar to the first feature. The samples are not the same.

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

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

该处理器302,具体还具有如下功能:根据该关系式将该第三特征量化得到第三量化特征,并根据该关系式将该第四特征进行量化得到第四量化特征;将该第三量化特征与第一量化特征进行比对识别并将该第四量化特征与该第二量化特征进行比对识别得到识别结果。The processor 302 specifically has the following functions: quantify the third feature according to the relational expression to obtain a third quantized feature, and quantize the fourth feature according to the relational expression to obtain a fourth quantized feature; quantify 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 a recognition result.

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

ff ll oo oo rr (( (( VV -- VV mm ii nno )) ×× NN VV maxmax -- VV mm ii nno )) ;;

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

本实施例中处理器302根据目标相等错误率和目标认假率分别对第一样本的第一原始特征进行降维得到第一特征和第二特征并通过存储器304进行存储;当收发器301获取待识别对象的生物影像得到第二样本并提取到第二样本的第二原始特征后,处理器302同样根据目标相等错误率和目标认假率分别对第二原始特征进行降维得到第三特征和第四特征;当第二样本与第一样本比对识别的过程中,处理器302将第三特征与第一特征进行比对,第四特征与第二特征进行比对,由于减少了第一样本和第二样本的生物特征,从而降低了终端在比对识别过程中运算过程的复杂度,进而加快了终端识别生物特征的速度。In this embodiment, the processor 302 respectively 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 to obtain the first feature and the second feature and store them through 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 respectively to obtain the third 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 compares the fourth feature with the second feature, due to the reduction The biological characteristics of the first sample and the second sample are improved, thereby reducing the complexity of the calculation process of the terminal in the process of comparing and identifying, thereby accelerating the speed of terminal recognition of biological characteristics.

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

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

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention 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 to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile 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, rather than 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 that: it can still understand the foregoing The technical solutions recorded in each embodiment are modified, or some of the technical features are replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (15)

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

* 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
US20070203904A1 (en) * 2006-02-21 2007-08-30 Samsung Electronics Co., Ltd. Object verification apparatus and method
US20070230754A1 (en) * 2006-03-30 2007-10-04 Jain Anil K Level 3 features for fingerprint matching
US20090175512A1 (en) * 2008-01-08 2009-07-09 Omron Corporation Face collation apparatus
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070203904A1 (en) * 2006-02-21 2007-08-30 Samsung Electronics Co., Ltd. Object verification apparatus and method
US20070230754A1 (en) * 2006-03-30 2007-10-04 Jain Anil K Level 3 features for fingerprint matching
CN101021900A (en) * 2007-03-15 2007-08-22 上海交通大学 Method for making human face posture estimation utilizing dimension reduction method
US20090175512A1 (en) * 2008-01-08 2009-07-09 Omron Corporation Face collation apparatus
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 (2)

* Cited by examiner, † Cited by third party
Title
A. MANSOURI ET AL: "《 2015 IEEE 28th Canadian Conference on Electrical and Computer Engineering (CCECE)》", 6 May 2015 *
贺邓超 等: ""基于最小分类错误率和Parzen窗的降维方法"", 《计算机工程与应用》 *

Also Published As

Publication number Publication date
CN106156727B (en) 2019-07-09

Similar Documents

Publication Publication Date Title
US10664581B2 (en) Biometric-based authentication method, apparatus and system
CN105956448B (en) A kind of unlocked by fingerprint method, apparatus and user terminal
CN105825109B (en) The method and terminal of a kind of terminal unlocking
CN105760738B (en) The method and terminal of a kind of unlocked by fingerprint
WO2019033525A1 (en) Au feature recognition method, device and storage medium
WO2020244071A1 (en) Neural network-based gesture recognition method and apparatus, storage medium, and device
CN106056083B (en) A kind of information processing method and terminal
CN112418189B (en) Face recognition method, device and equipment for wearing mask and storage medium
CN111626371A (en) Image classification method, device and equipment and readable storage medium
CN105844129B (en) Fingerprint unlocking method and terminal
EP3371739A1 (en) High speed reference point independent database filtering for fingerprint identification
CN111191207A (en) Electronic file control method and device, computer equipment and storage medium
CN107368722A (en) Biological image verification method, computer readable storage medium, mobile terminal
CN109684993B (en) Face recognition method, system and equipment based on nostril information
CN112883980A (en) Data processing method and system
CN116910734A (en) Biological feature identification method for power operation and maintenance, terminal equipment and storage medium
Gunawan et al. Performance Evaluation of Automatic Number Plate Recognition on Android Smartphone Platform.
Viedma et al. Relevant features for gender classification in NIR periocular images
TWI786977B (en) Finger authenticity recognition method, electronic device, and storage medium
CN113641844A (en) Identity verification method, device, terminal and storage medium for marital registration system
CN106156727B (en) A kind of recognition methods and terminal of biological characteristic
CN118262388A (en) Fingerprint identification method and device, electronic equipment and storage medium
Sehgal Palm recognition using LBP and SVM
CN118334733B (en) Facial pigment spot classification method and device based on pooling orthogonal fusion
CN110619700B (en) Method for controlling intelligent door lock, control device, intelligent door lock and equipment

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

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.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
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.

CP03 Change of name, title or address
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

TR01 Transfer of patent right