TW202133041A - A method, a device for extracting features of fingerprint images and computer-readable storage medium - Google Patents

A method, a device for extracting features of fingerprint images and computer-readable storage medium Download PDF

Info

Publication number
TW202133041A
TW202133041A TW109108509A TW109108509A TW202133041A TW 202133041 A TW202133041 A TW 202133041A TW 109108509 A TW109108509 A TW 109108509A TW 109108509 A TW109108509 A TW 109108509A TW 202133041 A TW202133041 A TW 202133041A
Authority
TW
Taiwan
Prior art keywords
fingerprint image
binary
feature
features
fingerprint
Prior art date
Application number
TW109108509A
Other languages
Chinese (zh)
Other versions
TWI754241B (en
Inventor
翟劍鋒
龍文勇
李准
Original Assignee
大陸商敦泰電子(深圳)有限公司
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 大陸商敦泰電子(深圳)有限公司 filed Critical 大陸商敦泰電子(深圳)有限公司
Publication of TW202133041A publication Critical patent/TW202133041A/en
Application granted granted Critical
Publication of TWI754241B publication Critical patent/TWI754241B/en

Links

Images

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
    • G06V40/12Fingerprints or palmprints
    • G06V40/1347Preprocessing; Feature extraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • G06V10/267Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion by performing operations on regions, e.g. growing, shrinking or watersheds
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/28Quantising the image, e.g. histogram thresholding for discrimination between background and foreground patterns
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/30Noise filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • G06V10/757Matching configurations of points or features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/46Descriptors for shape, contour or point-related descriptors, e.g. scale invariant feature transform [SIFT] or bags of words [BoW]; Salient regional features
    • G06V10/467Encoded features or binary features, e.g. local binary patterns [LBP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Computational Linguistics (AREA)
  • Biophysics (AREA)
  • Molecular Biology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Medical Informatics (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The present disclosure relates to a method, a device for extracting features of fingerprint images, and a computer-readable storage medium. The method include: obtaining fingerprint images, pre-processing the fingerprint images to remove noise information in the fingerprint images, and extracting two-value characteristics of the fingerprint images by using a trained preset convolution neural network model, in which the preset convolution neural network includes a continuous activation function that simulates a step function, and matching the two-value feature of the fingerprint images with a two-value feature of a pre-stored fingerprint image to get a matching result. The present disclosure makes two-value processing on the characteristics of the output of the preset convolution neural network model by using the activation function of the preset convolution neural network model to, which improves the matching efficiency of the two-value features of the fingerprint image.

Description

指紋圖像的特徵提取方法、裝置及電腦可讀存儲介質Fingerprint image feature extraction method, device and computer readable storage medium

本發明涉及指紋圖像識別領域,具體涉及一種指紋圖像的特徵提取方法、裝置及電腦可讀存儲介質。The invention relates to the field of fingerprint image recognition, in particular to a fingerprint image feature extraction method, device and computer readable storage medium.

當前指紋圖像用於特徵抽取的神經網路均輸出浮點型描述子,其特徵比對速度較慢,不能滿足速度要求較高的平臺應用需求。例如採用sift、orb等基於特徵點的圖像匹配演算法對指紋圖像進行特徵提取出的圖像二級/三級特徵點極多,如仍採用浮點特徵匹配,那麼圖像的匹配效率將是極低的。The current neural networks used for feature extraction of fingerprint images all output floating-point descriptors, and their feature comparison speed is slow, which cannot meet the requirements of high-speed platform applications. For example, image matching algorithms based on feature points such as sift and orb are used to extract features from fingerprint images. There are many secondary/third-level feature points of the image. If floating-point feature matching is still used, the matching efficiency of the image Will be extremely low.

鑒於以上內容,有必要提出一種指紋圖像的特徵提取方法、裝置及電腦可讀存儲介質以提取出指紋圖像的二值特徵,以提高指紋圖像的匹配效率。In view of the above, it is necessary to propose a fingerprint image feature extraction method, device, and computer-readable storage medium to extract the binary features of the fingerprint image, so as to improve the matching efficiency of the fingerprint image.

本申請的第一方面提供一種指紋圖像的特徵提取方法,所述方法包括步驟:The first aspect of the present application provides a fingerprint image feature extraction method. The method includes the steps:

獲取指紋圖像;Get fingerprint image;

對所述指紋圖像進行預處理以去除所述指紋圖像中的雜訊;Preprocessing the fingerprint image to remove noise in the fingerprint image;

利用已訓練好的預設卷積神經網路模型提取出所述指紋圖像的二值特徵,其中所述預設卷積神經網路包括具有可類比階躍函數功能且連續的啟動函數; 及Extracting the binary features of the fingerprint image by using a trained preset convolutional neural network model, wherein the preset convolutional neural network includes a continuous activation function with an analogous step function function; and

將所述指紋圖像的二值特徵與預存指紋圖像的二值特徵進行匹配得到匹配結果。The binary feature of the fingerprint image is matched with the binary feature of the pre-stored fingerprint image to obtain a matching result.

優選的,所述預設卷積神經網路包括輸入層、多個用於進行特徵提取的卷積層、全連接層、啟動函數及輸出層,所述輸入層、卷積層、全連接層、啟動函數及輸出層依次相連接。Preferably, the preset convolutional neural network includes an input layer, a plurality of convolutional layers for feature extraction, a fully connected layer, an activation function, and an output layer. The input layer, convolutional layer, fully connected layer, and activation The function and output layer are connected in turn.

優選的,所述利用已訓練好的預設卷積神經網路模型提取出所述指紋圖像的二值特徵包括:Preferably, the extracting the binary features of the fingerprint image by using the trained preset convolutional neural network model includes:

通過所述輸入層為所述指紋圖像提供輸入通道;通過所述卷積層對所述指紋圖像的特徵進行訓練提取;通過所述全連接層對各卷積層所訓練提取出的特徵進行整合;通過所述啟動函數對所述全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據預設閾值進行分割得到所述指紋圖像的二值特徵;及通過所述輸出層輸出二值特徵。Provide an input channel for the fingerprint image through the input layer; train and extract the features of the fingerprint image through the convolutional layer; integrate the features trained and extracted by each convolutional layer through the fully connected layer Binarize the features output by the fully connected layer through the activation function and segment the results of the binarization process according to a preset threshold to obtain the binary features of the fingerprint image; and through the output The layer outputs binary features.

優選的,所述啟動函數

Figure 02_image001
,所述預設閾值為1/2,
Figure 02_image003
為使用者設定的常數,所述啟動函數對所述全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據預設閾值進行分割得到所述指紋圖像的二值特徵包括:Preferably, the start function
Figure 02_image001
, The preset threshold is 1/2,
Figure 02_image003
It is a constant set by the user, the activation function performs binarization processing on the features output by the fully connected layer, and divides the result of the binarization processing according to a preset threshold to obtain the binary features of the fingerprint image including :

通過

Figure 02_image001
對所述全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據1/2進行分割得到所述指紋圖像的二值特徵。pass through
Figure 02_image001
Binarization is performed on the features output by the fully connected layer, and the result of the binarization is divided according to 1/2 to obtain the binary features of the fingerprint image.

優選的,所述啟動函數為

Figure 02_image005
,所述預設閾值為0,
Figure 02_image003
為使用者設定的常數,所述啟動函數對所述全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據預設閾值進行分割得到所述指紋圖像的二值特徵包括:Preferably, the start function is
Figure 02_image005
, The preset threshold is 0,
Figure 02_image003
It is a constant set by the user, the activation function performs binarization processing on the features output by the fully connected layer, and divides the result of the binarization processing according to a preset threshold to obtain the binary features of the fingerprint image including :

通過所述啟動函數

Figure 02_image005
對所述全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據0進行分割得到所述指紋圖像的二值特徵。By the start function
Figure 02_image005
Binarization is performed on the features output by the fully connected layer, and the result of the binarization is divided according to 0 to obtain the binary features of the fingerprint image.

優選的,所述將所述指紋圖像的二值特徵與預存指紋圖像的二值特徵進行匹配得到匹配結果包括:Preferably, the matching the binary feature of the fingerprint image with the binary feature of the pre-stored fingerprint image to obtain the matching result includes:

計算所述指紋圖像的二值特徵與所述預存指紋圖像的特徵值的漢明距離值;及Calculating the Hamming distance between the binary feature of the fingerprint image and the feature value of the pre-stored fingerprint image; and

當所述漢明距離值小於或等於所述預設距離值時,則所述指紋圖像與所述預存指紋圖像匹配成功。When the Hamming distance value is less than or equal to the preset distance value, the fingerprint image is successfully matched with the pre-stored fingerprint image.

優選的,所述計算所述指紋圖像的二值特徵與所述預存指紋圖像的特徵值的漢明距離值包括:Preferably, the calculating the Hamming distance value between the binary feature of the fingerprint image and the feature value of the pre-stored fingerprint image includes:

將所述指紋圖像的二值特徵與所述預存指紋圖像的特徵值進行異或運算得到異或結果,所述異或結果的個數為所述指紋圖像與所述預存指紋圖像的漢明距離值。Perform an XOR operation on the binary feature of the fingerprint image and the feature value of the prestored fingerprint image to obtain an XOR result, and the number of the XOR results is the fingerprint image and the prestored fingerprint image The Hamming distance value.

優選的,對所述指紋圖像進行預處理以去除所述指紋圖像中的雜訊包括:Preferably, preprocessing the fingerprint image to remove noise in the fingerprint image includes:

對所述指紋圖像進行指紋分割以去除所述指紋圖像中的背景區域;Performing fingerprint segmentation on the fingerprint image to remove the background area in the fingerprint image;

對所述指紋圖像進行指紋增強以去除所述指紋圖像中的叉連、中斷點及模糊不清的部分;及Performing fingerprint enhancement on the fingerprint image to remove cross-connections, interruptions, and blurred parts in the fingerprint image; and

對所述指紋圖像進行細化處理以刪除所述指紋圖像中文線的邊緣圖元。Refinement processing is performed on the fingerprint image to delete edge primitives of Chinese lines in the fingerprint image.

本申請的第二方面提供一種指紋圖像的特徵提取裝置,所述裝置包括:A second aspect of the present application provides a fingerprint image feature extraction device, the device includes:

獲取模組,用於獲取指紋圖像;The acquisition module is used to acquire fingerprint images;

預處理模組,用於對所述指紋圖像進行預處理以去除所述指紋圖像中的雜訊;A preprocessing module for preprocessing the fingerprint image to remove noise in the fingerprint image;

特徵提取模組,用於利用已訓練好的預設卷積神經網路模型提取出所述指紋圖像的二值特徵,其中所述預設卷積神經網路包括具有可類比階躍函數功能且連續的啟動函數; 及The feature extraction module is used to extract the binary features of the fingerprint image by using a trained preset convolutional neural network model, wherein the preset convolutional neural network includes a function with an analogous step function And continuous activation function; and

匹配模組,用於將所述指紋圖像的二值特徵與預存指紋圖像的二值特徵進行匹配得到匹配結果。The matching module is used to match the binary feature of the fingerprint image with the binary feature of the pre-stored fingerprint image to obtain a matching result.

本申請的協力廠商面提供一種電腦可讀存儲介質,其上存儲有電腦程式,所述電腦程式被處理器執行時實現所述指紋圖像的特徵提取方法。The third party of this application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the fingerprint image feature extraction method is realized.

本案通過所述預設卷積神經網路模型的啟動函數對所述預設卷積神經網路模型輸出的特徵進行二值化處理得到指紋圖像的二值特徵,將所述指紋圖像的二值特徵與預存指紋圖像的二值特徵進行匹配得到匹配結果,如此提高指紋圖像的二值特徵的匹配效率。In this case, binarization processing is performed on the features output by the preset convolutional neural network model through the activation function of the preset convolutional neural network model to obtain the binary features of the fingerprint image, and the fingerprint image The binary feature is matched with the binary feature of the pre-stored fingerprint image to obtain the matching result, which improves the matching efficiency of the binary feature of the fingerprint image.

為了能夠更清楚地理解本發明的上述目的、特徵和優點,下面結合附圖和具體實施例對本發明進行詳細描述。需要說明的是,在不衝突的情況下,本申請的實施例及實施例中的特徵可以相互組合。In order to be able to understand the above objectives, features and advantages of the present invention more clearly, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments of the application and the features in the embodiments can be combined with each other if there is no conflict.

在下面的描述中闡述了很多具體細節以便於充分理解本發明,所描述的實施例僅僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有做出創造性勞動前提下所獲得的所有其他實施例,都屬於本發明保護的範圍。In the following description, many specific details are explained in order to fully understand the present invention. The described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

除非另有定義,本文所使用的所有的技術和科學術語與屬於本發明的技術領域的技術人員通常理解的含義相同。本文中在本發明的說明書中所使用的術語只是為了描述具體的實施例的目的,不是旨在于限制本發明。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments, and are not intended to limit the present invention.

優選地,本發明指紋圖像的特徵提取方法應用在一個或者多個電子設備中。所述電子設備是一種能夠按照事先設定或存儲的指令,自動進行數值計算和/或資訊處理的設備,其硬體包括但不限於微處理器、專用積體電路(Application Specific Integrated Circuit,ASIC)、可程式設計閘陣列(Field-Programmable Gate Array,FPGA)、數文書處理器(Digital Signal Processor,DSP)、嵌入式設備等。Preferably, the fingerprint image feature extraction method of the present invention is applied to one or more electronic devices. The electronic device is a device that can automatically perform numerical calculation and/or information processing in accordance with pre-set or stored instructions. Its hardware includes, but is not limited to, a microprocessor and a dedicated integrated circuit (ASIC) , Field-Programmable Gate Array (FPGA), Digital Signal Processor (DSP), embedded devices, etc.

所述電子設備可以是桌上型電腦、筆記型電腦、平板電腦及雲端伺服器等計算設備。所述設備可以與使用者通過鍵盤、滑鼠、遙控器、觸控板或聲控設備等方式進行人機交互。The electronic device may be a computing device such as a desktop computer, a notebook computer, a tablet computer, and a cloud server. The device can interact with the user through a keyboard, a mouse, a remote control, a touch pad, or a voice control device.

圖1是本發明一實施方式中指紋圖像的特徵提取方法的流程圖。根據不同的需求,所述流程圖中步驟的順序可以改變,某些步驟可以省略。Fig. 1 is a flowchart of a feature extraction method of a fingerprint image in an embodiment of the present invention. According to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted.

參考圖1所示,所述指紋圖像的特徵提取方法具體包括以下步驟:Referring to FIG. 1, the feature extraction method of the fingerprint image specifically includes the following steps:

步驟S101、獲取指紋圖像。Step S101: Obtain a fingerprint image.

本實施方式中,通過指紋採集器採集指紋圖像。本實施方式中,所述指紋採集器為光學指紋採集器,熱敏式指紋識別器或生物射頻指紋識別器。In this embodiment, the fingerprint image is collected by the fingerprint collector. In this embodiment, the fingerprint collector is an optical fingerprint collector, a thermal fingerprint reader or a biometric radio frequency fingerprint reader.

步驟S102、對所述指紋圖像進行預處理以去除所述指紋圖像中的雜訊。Step S102: Perform preprocessing on the fingerprint image to remove noise in the fingerprint image.

本實施方式中,所述對所述指紋圖像進行預處理以去除所述指紋圖像中的雜訊包括:對所述指紋圖像進行指紋分割以去除所述指紋圖像中的背景區域。在具體實施方式中,可以採用基於閾值的圖像分割演算法對所述指紋圖像進行指紋分割以去除所述指紋圖像中的背景區域。In this embodiment, the preprocessing the fingerprint image to remove noise in the fingerprint image includes: performing fingerprint segmentation on the fingerprint image to remove the background area in the fingerprint image. In a specific implementation, a threshold-based image segmentation algorithm may be used to perform fingerprint segmentation on the fingerprint image to remove the background area in the fingerprint image.

在一實施方式中,所述對所述指紋圖像進行預處理以去除所述指紋圖像中的雜訊包括:對所述指紋圖像進行指紋增強以去除所述指紋圖像中的叉連、中斷點及模糊不清的部分。在具體實施方式中,通過STFT(Short Time Fourier Transform)指紋增強演算法對指紋圖像進行指紋分割,從而去除所述指紋圖像中的背景區域。In one embodiment, the preprocessing the fingerprint image to remove noise in the fingerprint image includes: performing fingerprint enhancement on the fingerprint image to remove cross-connections in the fingerprint image. , Interruption points and obscure parts. In a specific implementation, the fingerprint image is segmented by the fingerprint enhancement algorithm of STFT (Short Time Fourier Transform), so as to remove the background area in the fingerprint image.

在一實施方式中,所述對所述指紋圖像進行預處理以去除所述指紋圖像中的雜訊包括:對指紋圖像進行細化處理以刪除指紋圖像中文線的邊緣圖元。在具體實施方式中,通過OPTA細化演算法對指紋圖像進行細化處理以刪除指紋圖像中文線的邊緣圖元。In one embodiment, the preprocessing of the fingerprint image to remove noise in the fingerprint image includes: thinning the fingerprint image to delete edge primitives of Chinese lines in the fingerprint image. In a specific embodiment, the fingerprint image is refined by the OPTA refinement algorithm to delete the edge primitives of the Chinese line of the fingerprint image.

在一實施方式中,所述對所述指紋圖像進行預處理以去除所述指紋圖像中的雜訊包括:對所述指紋圖像進行指紋分割以去除所述指紋圖像中的背景區域;對所述指紋圖像進行指紋增強以去除所述指紋圖像中的叉連、中斷點及模糊不清的部分;及對指紋圖像進行細化處理以刪除指紋圖像中文線的邊緣圖元。In an embodiment, the preprocessing the fingerprint image to remove noise in the fingerprint image includes: performing fingerprint segmentation on the fingerprint image to remove the background area in the fingerprint image ; Perform fingerprint enhancement on the fingerprint image to remove the cross-connections, interruptions and fuzzy parts in the fingerprint image; and refine the fingerprint image to delete the edge map of the Chinese line of the fingerprint image Yuan.

步驟S103、利用已訓練好的預設卷積神經網路模型提取出所述指紋圖像的二值特徵,其中所述預設卷積神經網路包括具有可類比階躍函數功能且連續的啟動函數。Step S103: Extract the binary features of the fingerprint image by using a trained preset convolutional neural network model, wherein the preset convolutional neural network includes a function of an analogous step function and continuous activation function.

本實施方式中,所述預設卷積神經網路包括輸入層、多個用於進行特徵提取的卷積層、全連接層、啟動函數及輸出層。所述輸入層、卷積層、全連接層、啟動函數及輸出層依次相連接。本實施方式中,所述“利用已訓練好的預設卷積神經網路模型提取出所述指紋圖像的二值特徵”包括:通過所述輸入層為指紋圖像提供輸入通道;通過卷積層對所述指紋圖像的特徵進行訓練提取;通過所述全連接層對各卷積層所訓練提取出的特徵進行整合;通過所述啟動函數對全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據預設閾值進行分割得到指紋圖像的二值特徵;通過所述輸出層輸出二值特徵。In this embodiment, the preset convolutional neural network includes an input layer, a plurality of convolutional layers for feature extraction, a fully connected layer, an activation function, and an output layer. The input layer, convolutional layer, fully connected layer, activation function and output layer are connected in sequence. In this embodiment, the "extracting the binary features of the fingerprint image using the trained preset convolutional neural network model" includes: providing an input channel for the fingerprint image through the input layer; The buildup layer trains and extracts the features of the fingerprint image; the fully connected layer integrates the features extracted by the training of each convolutional layer; the binarization process is performed on the features output by the fully connected layer through the start function, and The result of the binarization process is segmented according to a preset threshold to obtain the binary feature of the fingerprint image; the binary feature is output through the output layer.

本實施方式中,所述啟動函數為

Figure 02_image001
,所述預設閾值為1/2,
Figure 02_image003
為用戶設定的常數。所述“啟動函數對全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據預設閾值進行分割得到指紋圖像的二值特徵”包括:通過所述啟動函數
Figure 02_image001
全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據1/2進行分割得到所述指紋圖像的二值特徵。本實施方式中,當逐漸增大設定的常數
Figure 02_image003
時,所述啟動函數
Figure 02_image001
,接近於階躍函數
Figure 02_image011
。In this embodiment, the startup function is
Figure 02_image001
, The preset threshold is 1/2,
Figure 02_image003
A constant set by the user. The “starting function binarizes the features output by the fully connected layer and segmenting the result of the binarization processing according to a preset threshold to obtain the binary features of the fingerprint image” includes: through the start function
Figure 02_image001
The feature output by the fully connected layer is binarized, and the result of the binarization process is divided according to 1/2 to obtain the binary feature of the fingerprint image. In this embodiment, when the set constant is gradually increased
Figure 02_image003
When the start function
Figure 02_image001
, Close to the step function
Figure 02_image011
.

在另一實施方式中,所述啟動函數為

Figure 02_image005
,所述預設閾值為0,
Figure 02_image003
為用戶設定的常數。所述“啟動函數對全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據預設閾值進行分割得到指紋圖像的二值特徵”包括:通過所述啟動函數
Figure 02_image005
對全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據0進行分割得到所述指紋圖像的二值特徵。本實施方式中,當逐漸增大設定的常數
Figure 02_image003
時,所述啟動函數
Figure 02_image005
接近於階躍函數
Figure 02_image015
。In another embodiment, the start function is
Figure 02_image005
, The preset threshold is 0,
Figure 02_image003
A constant set by the user. The “starting function binarizes the features output by the fully connected layer and segmenting the result of the binarization processing according to a preset threshold to obtain the binary features of the fingerprint image” includes: through the start function
Figure 02_image005
Binarization is performed on the features output by the fully connected layer, and the result of the binarization is divided according to 0 to obtain the binary features of the fingerprint image. In this embodiment, when the set constant is gradually increased
Figure 02_image003
When the start function
Figure 02_image005
Close to step function
Figure 02_image015
.

本實施方式中,所述方法還包括:對所述預設卷積神經網路模型進行訓練。具體的,在對預設卷積神經網路模型進行訓練時,可以在伺服器2中存儲預設數量的指紋圖像樣本,並且由使用者對所述指紋圖像樣本進行分類;例如,可以準備1000指紋圖像樣本,然後按照這些指紋圖像樣本所歸屬的使用者對這1000張指紋圖像樣本進行分類,並將每一個分類的二指紋圖像樣本進行二值特徵標定。當準備的預設數量的指紋圖像樣本分類完成後,此時可以將所述預設卷積神經網路模型作為分類模型,將所述人臉指紋圖像樣本作為訓練樣本輸入到所述預設卷積神經網路模型中進行訓練,並根據預設卷積神經網路模型輸出的分類結果,對所述預設卷積神經網路模型各基層上節點之間的連接的權重參數進行調整。所述預設卷積神經網路模型在每次調整後基於輸入的訓練樣本進行訓練後,輸出的分類結果與用戶標定的分類結果相比,準確度將會逐漸提高。與此同時,用戶可以預先設置一個準確度閾值,在不斷的調整過程中,如果所述預設卷積神經網路模型輸出的分類結果與用戶標定的分類結果相比,準確度達到預先設置的準確度閾值後,此時所述預設卷積神經網路模型中各基層節點之間連接的權重參數均為最佳權重參數,可以認為所述預設卷積神經網路模型已經訓練完畢。本實施方式中,在預設卷積神經網路模型訓練畢完後,通過已訓練好的預設卷積神經網路模型,對輸入到預設卷積神經網路模型中的指紋圖像進行二值特徵的提取。In this embodiment, the method further includes: training the preset convolutional neural network model. Specifically, when training the preset convolutional neural network model, a preset number of fingerprint image samples can be stored in the server 2, and the fingerprint image samples can be classified by the user; for example, Prepare 1000 fingerprint image samples, and then classify these 1000 fingerprint image samples according to the users to whom these fingerprint image samples belong, and perform binary feature calibration on each classified two fingerprint image sample. When the classification of the prepared preset number of fingerprint image samples is completed, the preset convolutional neural network model can be used as the classification model at this time, and the face fingerprint image samples can be input to the preset as training samples. Set the convolutional neural network model for training, and adjust the weight parameters of the connections between nodes on each base layer of the preset convolutional neural network model according to the classification results output by the preset convolutional neural network model . After the preset convolutional neural network model is trained based on the input training samples after each adjustment, the accuracy of the output classification result will be gradually improved compared with the classification result calibrated by the user. At the same time, the user can set an accuracy threshold in advance. In the continuous adjustment process, if the classification result output by the preset convolutional neural network model is compared with the classification result calibrated by the user, the accuracy reaches the preset accuracy. After the accuracy threshold, at this time, the weight parameters connected between the base nodes in the preset convolutional neural network model are all optimal weight parameters, and it can be considered that the preset convolutional neural network model has been trained. In this embodiment, after the training of the preset convolutional neural network model is completed, the fingerprint image input into the preset convolutional neural network model is performed through the trained preset convolutional neural network model. Extraction of binary features.

步驟S104、將所述指紋圖像的二值特徵與預存指紋圖像的二值特徵進行匹配得到匹配結果。Step S104: Match the binary feature of the fingerprint image with the binary feature of the pre-stored fingerprint image to obtain a matching result.

本實施方式中,所述“將所述指紋圖像的二值特徵與預存指紋圖像的二值特徵進行匹配得到匹配結果”包括:計算所述指紋圖像的二值特徵與預存指紋圖像的特徵值的漢明距離值;及當漢明距離值小於或等於預設距離值時,則所述指紋圖像與預存指紋圖像匹配成功。In this embodiment, the "matching the binary feature of the fingerprint image with the binary feature of the pre-stored fingerprint image to obtain a matching result" includes: calculating the binary feature of the fingerprint image and the pre-stored fingerprint image When the Hamming distance value is less than or equal to the preset distance value, the fingerprint image and the pre-stored fingerprint image are matched successfully.

本實施方式中,所述“計算所述指紋圖像的二值特徵與預存指紋圖像的特徵值的漢明距離值”包括:將所述指紋圖像的二值特徵與預存指紋圖像的特徵值進行異或運算得到異或結果,所述異或結果的個數為所述指紋圖像與預存指紋圖像的漢明距離值。In this embodiment, the "calculating the Hamming distance value between the binary feature of the fingerprint image and the feature value of the pre-stored fingerprint image" includes: comparing the binary feature of the fingerprint image with the pre-stored fingerprint image The feature value is XORed to obtain XOR results, and the number of XOR results is the Hamming distance value between the fingerprint image and the pre-stored fingerprint image.

本實施方式中,通過所述預設卷積神經網路模型的啟動函數對全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據預設閾值進行分割就可以得到指紋圖像的二值特徵,將所述指紋圖像的二值特徵與預存指紋圖像的二值特徵進行匹配得到匹配結果,如此提高指紋圖像的二值特徵的匹配效率。In this embodiment, the feature output by the fully connected layer is binarized by the activation function of the preset convolutional neural network model, and the result of the binarization process is segmented according to a preset threshold to obtain a fingerprint image. For the binary feature of the image, the binary feature of the fingerprint image is matched with the binary feature of the pre-stored fingerprint image to obtain a matching result, which improves the matching efficiency of the binary feature of the fingerprint image.

圖2為本發明一實施方式中指紋圖像的特徵提取裝置40的結構圖。FIG. 2 is a structural diagram of a fingerprint image feature extraction device 40 in an embodiment of the present invention.

在一些實施例中,所述指紋圖像的特徵提取示裝置40運行於電子設備中。所述指紋圖像的特徵提取裝置40可以包括多個由程式碼段所組成的功能模組。所述指紋圖像的特徵提取裝置40中的各個程式段的程式碼可以存儲於記憶體中,並由至少一個處理器所執行,以執行指紋圖像的特徵提取的功能。In some embodiments, the feature extraction and display device 40 of the fingerprint image runs in an electronic device. The fingerprint image feature extraction device 40 may include a plurality of functional modules composed of code segments. The code of each program segment in the fingerprint image feature extraction device 40 can be stored in the memory and executed by at least one processor to perform the feature extraction function of the fingerprint image.

本實施例中,所述指紋圖像的特徵提取裝置40根據其所執行的功能,可以被劃分為多個功能模組。參閱圖2所示,所述指紋圖像的特徵提取裝置40可以包括獲取模組401、預處理模組402、特徵提取模組403及匹配模組404。本發明所稱的模組是指一種能夠被至少一個處理器所執行並且能夠完成固定功能的一系列電腦程式段,其存儲在記憶體中。所述在一些實施例中,關於各模組的功能將在後續的實施例中詳述。In this embodiment, the fingerprint image feature extraction device 40 can be divided into multiple functional modules according to the functions it performs. Referring to FIG. 2, the fingerprint image feature extraction device 40 may include an acquisition module 401, a preprocessing module 402, a feature extraction module 403 and a matching module 404. The module referred to in the present invention refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, which are stored in the memory. In some embodiments, the functions of each module will be described in detail in subsequent embodiments.

所述獲取模組401獲取指紋圖像。The acquiring module 401 acquires a fingerprint image.

本實施方式中,所述獲取模組401通過指紋採集器採集指紋圖像。本實施方式中,所述指紋採集器為光學指紋採集器,熱敏式指紋識別器或生物射頻指紋識別器。In this embodiment, the acquisition module 401 collects fingerprint images through a fingerprint collector. In this embodiment, the fingerprint collector is an optical fingerprint collector, a thermal fingerprint reader or a biometric radio frequency fingerprint reader.

所述預處理模組402對所述指紋圖像進行預處理以去除所述指紋圖像中的雜訊。The preprocessing module 402 preprocesses the fingerprint image to remove noise in the fingerprint image.

本實施方式中,所述預處理模組402對所述指紋圖像進行指紋分割以去除所述指紋圖像中的背景區域。在具體實施方式中,所述預處理模組402可以採用基於閾值的圖像分割演算法對所述指紋圖像進行指紋分割以去除所述指紋圖像中的背景區域。In this embodiment, the preprocessing module 402 performs fingerprint segmentation on the fingerprint image to remove the background area in the fingerprint image. In a specific embodiment, the preprocessing module 402 may use a threshold-based image segmentation algorithm to perform fingerprint segmentation on the fingerprint image to remove the background area in the fingerprint image.

在一實施方式中,所述預處理模組402對所述指紋圖像進行指紋增強以去除所述指紋圖像中的叉連、中斷點及模糊不清的部分。在具體實施方式中,所述預處理模組402通過STFT(Short Time Fourier Transform)指紋增強演算法對指紋圖像進行指紋分割,從而去除所述指紋圖像中的背景區域。In one embodiment, the pre-processing module 402 performs fingerprint enhancement on the fingerprint image to remove cross-connections, interruptions, and blurred parts in the fingerprint image. In a specific embodiment, the pre-processing module 402 performs fingerprint segmentation on the fingerprint image through the STFT (Short Time Fourier Transform) fingerprint enhancement algorithm, so as to remove the background area in the fingerprint image.

在一實施方式中,所述預處理模組402對指紋圖像進行細化處理以刪除指紋圖像中文線的邊緣圖元。在具體實施方式中,所述預處理模組402通過OPTA細化演算法對指紋圖像進行細化處理以刪除指紋圖像中文線的邊緣圖元。In one embodiment, the preprocessing module 402 performs a thinning process on the fingerprint image to delete the edge primitives of the Chinese line of the fingerprint image. In a specific embodiment, the pre-processing module 402 performs refinement processing on the fingerprint image through the OPTA refinement algorithm to delete the edge primitives of the Chinese line of the fingerprint image.

在一實施方式中,所述預處理模組402對所述指紋圖像進行指紋分割以去除所述指紋圖像中的背景區域;對所述指紋圖像進行指紋增強以去除所述指紋圖像中的叉連、中斷點及模糊不清的部分;及對指紋圖像進行細化處理以刪除指紋圖像中文線的邊緣圖元。In one embodiment, the preprocessing module 402 performs fingerprint segmentation on the fingerprint image to remove the background area in the fingerprint image; performs fingerprint enhancement on the fingerprint image to remove the fingerprint image Cross-connects, interrupted points and fuzzy parts in the middle; and refine the fingerprint image to delete the edge primitives of the Chinese line of the fingerprint image.

所述特徵提取模組403利用已訓練好的預設卷積神經網路模型提取出所述指紋圖像的二值特徵,其中所述預設卷積神經網路包括具有可類比階躍函數功能且連續的啟動函數。The feature extraction module 403 uses a trained preset convolutional neural network model to extract the binary features of the fingerprint image, wherein the preset convolutional neural network includes a function with an analogous step function And continuous start function.

本實施方式中,所述預設卷積神經網路包括輸入層、多個用於進行特徵提取的卷積層、全連接層、啟動函數及輸出層。所述輸入層、卷積層、全連接層、啟動函數及輸出層依次相連接。本實施方式中,所述特徵提取模組403通過所述輸入層為指紋圖像提供輸入通道;通過卷積層對所述指紋圖像的特徵進行訓練提取;通過所述全連接層對各卷積層所訓練提取出的特徵進行整合;通過所述啟動函數對全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據預設閾值進行分割得到指紋圖像的二值特徵;通過所述輸出層輸出二值特徵。In this embodiment, the preset convolutional neural network includes an input layer, a plurality of convolutional layers for feature extraction, a fully connected layer, an activation function, and an output layer. The input layer, convolutional layer, fully connected layer, activation function and output layer are connected in sequence. In this embodiment, the feature extraction module 403 provides an input channel for the fingerprint image through the input layer; trains and extracts the features of the fingerprint image through the convolutional layer; Integrating the features extracted by training; binarizing the features output by the fully connected layer through the activation function and segmenting the results of the binarization processing according to a preset threshold to obtain the binary features of the fingerprint image; by The output layer outputs binary features.

本實施方式中,所述啟動函數為

Figure 02_image001
,所述預設閾值為1/2,
Figure 02_image003
為用戶設定的常數。所述特徵提取模組403通過所述啟動函數
Figure 02_image001
對全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據1/2進行分割得到所述指紋圖像的二特徵。本實施方式中,當逐漸增大設定的常數
Figure 02_image003
時,所述
Figure 02_image001
接近於階躍函數
Figure 02_image011
。In this embodiment, the startup function is
Figure 02_image001
, The preset threshold is 1/2,
Figure 02_image003
A constant set by the user. The feature extraction module 403 uses the activation function
Figure 02_image001
Binarization is performed on the features output by the fully connected layer, and the result of the binarization is divided according to 1/2 to obtain the binary features of the fingerprint image. In this embodiment, when the set constant is gradually increased
Figure 02_image003
When the
Figure 02_image001
Close to step function
Figure 02_image011
.

在另一實施方式中,所述啟動函數為

Figure 02_image005
,所述預設閾值為0,
Figure 02_image003
為用戶設定的常數,例如
Figure 02_image003
為大於1的整數。所述特徵提取模組403通過所述啟動函數
Figure 02_image005
對全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據0進行分割得到所述指紋圖像的二值特徵。本實施方式中,當逐漸增大設定的常數
Figure 02_image003
時,所述
Figure 02_image005
接近於階躍函數
Figure 02_image015
。In another embodiment, the start function is
Figure 02_image005
, The preset threshold is 0,
Figure 02_image003
Constants set by the user, for example
Figure 02_image003
Is an integer greater than 1. The feature extraction module 403 uses the activation function
Figure 02_image005
Binarization is performed on the features output by the fully connected layer, and the result of the binarization is divided according to 0 to obtain the binary features of the fingerprint image. In this embodiment, when the set constant is gradually increased
Figure 02_image003
When the
Figure 02_image005
Close to step function
Figure 02_image015
.

本實施方式中,所述特徵提取模組403還用於對所述預設卷積神經網路模型進行訓練。具體的,在對預設卷積神經網路模型進行訓練時,可以在伺服器2中存儲預設數量的指紋圖像樣本,並且由使用者對所述指紋圖像樣本進行分類;例如,可以準備1000指紋圖像樣本,然後按照這些指紋圖像樣本所歸屬的使用者對這1000張指紋圖像樣本進行分類,並將每一個分類的二指紋圖像樣本進行二值特徵標定。當準備的預設數量的指紋圖像樣本分類完成後,此時可以將所述預設卷積神經網路模型作為分類模型,將所述人臉指紋圖像樣本作為訓練樣本輸入到所述預設卷積神經網路模型中進行訓練,並根據預設卷積神經網路模型輸出的分類結果,對所述預設卷積神經網路模型各基層上節點之間的連接的權重參數進行調整。所述預設卷積神經網路模型在每次調整後基於輸入的訓練樣本進行訓練後,輸出的分類結果與用戶標定的分類結果相比,準確度將會逐漸提高。與此同時,用戶可以預先設置一個準確度閾值,在不斷的調整過程中,如果所述預設卷積神經網路模型輸出的分類結果與用戶標定的分類結果相比,準確度達到預先設置的準確度閾值後,此時所述預設卷積神經網路模型中各基層節點之間連接的權重參數均為最佳權重參數,可以認為所述預設卷積神經網路模型已經訓練完畢。本實施方式中,在預設卷積神經網路模型訓練畢完後,通過已訓練好的預設卷積神經網路模型,對輸入到預設卷積神經網路模型中的指紋圖像進行二值特徵的提取。In this embodiment, the feature extraction module 403 is also used to train the preset convolutional neural network model. Specifically, when training the preset convolutional neural network model, a preset number of fingerprint image samples can be stored in the server 2, and the fingerprint image samples can be classified by the user; for example, Prepare 1000 fingerprint image samples, and then classify these 1000 fingerprint image samples according to the users to whom these fingerprint image samples belong, and perform binary feature calibration on each classified two fingerprint image sample. When the classification of the prepared preset number of fingerprint image samples is completed, the preset convolutional neural network model can be used as the classification model at this time, and the face fingerprint image samples can be input to the preset as training samples. Set the convolutional neural network model for training, and adjust the weight parameters of the connections between nodes on each base layer of the preset convolutional neural network model according to the classification results output by the preset convolutional neural network model . After the preset convolutional neural network model is trained based on the input training samples after each adjustment, the accuracy of the output classification result will be gradually improved compared with the classification result calibrated by the user. At the same time, the user can set an accuracy threshold in advance. In the continuous adjustment process, if the classification result output by the preset convolutional neural network model is compared with the classification result calibrated by the user, the accuracy reaches the preset accuracy. After the accuracy threshold, at this time, the weight parameters connected between the base nodes in the preset convolutional neural network model are all optimal weight parameters, and it can be considered that the preset convolutional neural network model has been trained. In this embodiment, after the training of the preset convolutional neural network model is completed, the fingerprint image input into the preset convolutional neural network model is performed through the trained preset convolutional neural network model. Extraction of binary features.

所述匹配模組404將所述指紋圖像的二值特徵與預存指紋圖像的二值特徵進行匹配得到匹配結果。The matching module 404 matches the binary feature of the fingerprint image with the binary feature of the pre-stored fingerprint image to obtain a matching result.

本實施方式中,所述匹配模組404計算所述指紋圖像的二值特徵與預存指紋圖像的特徵值的漢明距離值,及當漢明距離值小於或等於預設距離值時,則所述指紋圖像與預存指紋圖像匹配成功。In this embodiment, the matching module 404 calculates the Hamming distance value between the binary feature of the fingerprint image and the feature value of the pre-stored fingerprint image, and when the Hamming distance value is less than or equal to the preset distance value, Then the fingerprint image is successfully matched with the pre-stored fingerprint image.

本實施方式中,所述匹配模組404用於將所述指紋圖像的二值特徵與預存指紋圖像的特徵值進行異或運算得到異或結果,所述異或結果的個數為所述指紋圖像與預存指紋圖像的漢明距離值。In this embodiment, the matching module 404 is used to perform an XOR operation on the binary feature of the fingerprint image and the feature value of the prestored fingerprint image to obtain an XOR result, and the number of XOR results is determined by the number of XOR results. The Hamming distance between the fingerprint image and the pre-stored fingerprint image.

本實施方式中,所述匹配模組404通過所述預設卷積神經網路模型的啟動函數對全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據預設閾值進行分割就可以得到指紋圖像的二值特徵,將所述指紋圖像的二值特徵與預存指紋圖像的二值特徵進行匹配得到匹配結果,如此提高指紋圖像的二值特徵的匹配效率。In this embodiment, the matching module 404 binarizes the features output by the fully connected layer through the startup function of the preset convolutional neural network model, and performs binarization processing on the result of the binarization process according to a preset threshold. The binary feature of the fingerprint image can be obtained by segmentation, and the binary feature of the fingerprint image is matched with the binary feature of the pre-stored fingerprint image to obtain a matching result, thus improving the matching efficiency of the binary feature of the fingerprint image.

圖3為本發明一實施方式中電子設備6的示意圖。FIG. 3 is a schematic diagram of the electronic device 6 in an embodiment of the present invention.

所述電子設備6包括記憶體61、處理器62以及存儲在所述記憶體61中並可在所述處理器62上運行的電腦程式63。所述處理器62執行所述電腦程式63時實現上述指紋圖像的特徵提取方法實施例中的步驟,例如圖1所示的步驟S101~S104。或者,所述處理器62執行所述電腦程式63時實現上述指紋圖像的特徵提取裝置實施例中各模組/單元的功能,例如圖2中的模組401~404。The electronic device 6 includes a memory 61, a processor 62, and a computer program 63 stored in the memory 61 and running on the processor 62. The processor 62 implements the steps in the embodiment of the fingerprint image feature extraction method when the computer program 63 is executed, for example, steps S101 to S104 shown in FIG. 1. Alternatively, when the processor 62 executes the computer program 63, the functions of the modules/units in the embodiment of the fingerprint image feature extraction device are realized, such as the modules 401 to 404 in FIG. 2.

示例性的,所述電腦程式63可以被分割成一個或多個模組/單元,所述一個或者多個模組/單元被存儲在所述記憶體61中,並由所述處理器62執行,以完成本發明。所述一個或多個模組/單元可以是能夠完成特定功能的一系列電腦程式指令段,所述指令段用於描述所述電腦程式63在所述電子設備6中的執行過程。例如,所述電腦程式63可以被分割成圖2中的獲取模組401、預處理模組402、特徵提取模組403及匹配模組404。Exemplarily, the computer program 63 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 61 and executed by the processor 62 , To complete the present invention. The one or more modules/units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 63 in the electronic device 6. For example, the computer program 63 can be divided into the acquisition module 401, the preprocessing module 402, the feature extraction module 403, and the matching module 404 in FIG. 2.

所述電子設備6可以是桌上型電腦、筆記本、掌上型電腦及雲端伺服器等計算設備。本領域技術人員可以理解,所述示意圖僅僅是電子設備6的示例,並不構成對電子設備6的限定,可以包括比圖示更多或更少的部件,或者組合某些部件,或者不同的部件,例如所述電子設備6還可以包括輸入輸出設備、網路接入設備、匯流排等。The electronic device 6 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. Those skilled in the art can understand that the schematic diagram is only an example of the electronic device 6 and does not constitute a limitation on the electronic device 6. It may include more or less components than those shown in the figure, or a combination of certain components, or different components. Components, for example, the electronic device 6 may also include input and output devices, network access devices, bus bars, and the like.

所稱處理器62可以是中央處理模組(Central Processing Unit,CPU),還可以是其他通用處理器、數位訊號處理器 (Digital Signal Processor,DSP)、專用積體電路 (Application Specific Integrated Circuit,ASIC)、現成可程式設計閘陣列 (Field-Programmable Gate Array,FPGA) 或者其他可程式設計邏輯器件、分立門或者電晶體邏輯器件、分立硬體元件等。通用處理器可以是微處理器或者所述處理器62也可以是任何常規的處理器等,所述處理器62是所述電子設備6的控制中心,利用各種介面和線路連接整個電子設備6的各個部分。The so-called processor 62 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), and dedicated integrated circuits (Application Specific Integrated Circuits, ASICs). ), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor 62 can also be any conventional processor, etc. The processor 62 is the control center of the electronic device 6, which uses various interfaces and lines to connect the entire electronic device 6 Various parts.

所述記憶體61可用於存儲所述電腦程式63和/或模組/單元,所述處理器62通過運行或執行存儲在所述記憶體61內的電腦程式和/或模組/單元,以及調用存儲在記憶體61內的資料,實現所述計電子設備6的各種功能。所述記憶體61可主要包括存儲程式區和存儲資料區,其中,存儲程式區可存儲作業系統、至少一個功能所需的應用程式(比如聲音播放功能、圖像播放功能等)等;存儲資料區可存儲根據電子設備6的使用所創建的資料(比如音訊資料、電話本等)等。此外,記憶體61可以包括高速隨機存取記憶體,還可以包括非易失性記憶體,例如硬碟、記憶體、插接式硬碟,智慧存儲卡(Smart Media Card, SMC),安全數位(Secure Digital, SD)卡,快閃記憶體卡(Flash Card)、至少一個磁碟記憶體件、快閃記憶體器件、或其他易失性固態記憶體件。The memory 61 can be used to store the computer programs 63 and/or modules/units, and the processor 62 runs or executes the computer programs and/or modules/units stored in the memory 61, and The data stored in the memory 61 is called to realize various functions of the computer and electronic device 6. The memory 61 may mainly include a storage program area and a storage data area, where the storage program area can store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; The area can store data (such as audio data, phone book, etc.) created based on the use of the electronic device 6 and so on. In addition, the memory 61 may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, memory, plug-in hard disk, smart memory card (Smart Media Card, SMC), and secure digital (Secure Digital, SD) card, flash memory card (Flash Card), at least one magnetic disk memory device, flash memory device, or other volatile solid-state memory device.

所述電子設備6集成的模組/單元如果以軟體功能模組的形式實現並作為獨立的產品銷售或使用時,可以存儲在一個電腦可讀取存儲介質中。基於這樣的理解,本發明實現上述實施例方法中的全部或部分流程,也可以通過電腦程式來指令相關的硬體來完成,所述的電腦程式可存儲於一電腦可讀存儲介質中,所述電腦程式在被處理器執行時,可實現上述各個方法實施例的步驟。其中,所述電腦程式包括電腦程式代碼,所述電腦程式代碼可以為原始程式碼形式、物件代碼形式、可執行檔或某些中間形式等。所述電腦可讀介質可以包括:能夠攜帶所述電腦程式代碼的任何實體或裝置、記錄介質、U盤、移動硬碟、磁碟、光碟、電腦記憶體、唯讀記憶體(ROM,Read-Only Memory)、隨機存取記憶體(RAM,Random Access Memory)、電載波信號、電信信號以及軟體分發介質等。需要說明的是,所述電腦可讀介質包含的內容可以根據司法管轄區內立法和專利實踐的要求進行適當的增減,例如在某些司法管轄區,根據立法和專利實踐,電腦可讀介質不包括電載波信號和電信信號。If the integrated module/unit of the electronic device 6 is realized in the form of a software function module and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the foregoing method embodiments can be realized. Wherein, the computer program includes computer program code, and the computer program code may be in the form of original program code, object code, executable file, or some intermediate forms. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read- Only Memory), Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunications signal, and software distribution media, etc. It should be noted that the content contained in the computer-readable medium can be appropriately added or deleted according to the requirements of the legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to the legislation and patent practice, the computer-readable medium Does not include electrical carrier signals and telecommunication signals.

在本發明所提供的幾個實施例中,應該理解到,所揭露的電子設備和方法,可以通過其它的方式實現。例如,以上所描述的電子設備實施例僅僅是示意性的,例如,所述模組的劃分,僅僅為一種邏輯功能劃分,實際實現時可以有另外的劃分方式。In the several embodiments provided by the present invention, it should be understood that the disclosed electronic device and method may be implemented in other ways. For example, the electronic device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

另外,在本發明各個實施例中的各功能模組可以集成在相同處理模組中,也可以是各個模組單獨物理存在,也可以兩個或兩個以上模組集成在相同模組中。上述集成的模組既可以採用硬體的形式實現,也可以採用硬體加軟體功能模組的形式實現。In addition, the functional modules in the various embodiments of the present invention may be integrated in the same processing module, or each module may exist alone physically, or two or more modules may be integrated in the same module. The above-mentioned integrated modules can be implemented either in the form of hardware or in the form of hardware plus software functional modules.

對於本領域技術人員而言,顯然本發明不限於上述示範性實施例的細節,而且在不背離本發明的精神或基本特徵的情況下,能夠以其他的具體形式實現本發明。因此,無論從哪一點來看,均應將實施例看作是示範性的,而且是非限制性的,本發明的範圍由所附權利要求而不是上述說明限定,因此旨在將落在權利要求的等同要件的含義和範圍內的所有變化涵括在本發明內。不應將權利要求中的任何附圖標記視為限制所涉及的權利要求。此外,顯然“包括”一詞不排除其他模組或步驟,單數不排除複數。電子設備權利要求中陳述的多個模組或電子設備也可以由同一個模組或電子設備通過軟體或者硬體來實現。第一,第二等詞語用來表示名稱,而並不表示任何特定的順序。For those skilled in the art, it is obvious that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic characteristics of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the present invention is defined by the appended claims rather than the above description, and therefore it is intended to fall within the claims. All changes within the meaning and scope of the equivalent elements of are included in the present invention. Any reference signs in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "include" does not exclude other modules or steps, and the singular does not exclude the plural. Multiple modules or electronic devices stated in the claims of an electronic device can also be implemented by the same module or electronic device through software or hardware. Words such as first and second are used to denote names, but do not denote any specific order.

上文所列出之一系列之詳細說明僅係針對本發明之可行性實施方式之具體說明,它們並非用以限制本發明之保護範圍,凡未脫離本發明技藝精神所作之等效實施方式或變更均應包含於本發明之保護範圍之內。The series of detailed descriptions listed above are only specific descriptions of feasible implementations of the present invention. They are not intended to limit the scope of protection of the present invention. Any equivalent implementations or implementations made without departing from the technical spirit of the present invention All changes should be included in the protection scope of the present invention.

40:指紋圖像的特徵提取裝置 401:獲取模組 402:預處理模組 403:特徵提取模組 404:匹配模組 6:電子設備 61:記憶體 62:處理器 63:電腦程式 S101~S104:步驟40: Feature extraction device for fingerprint images 401: Get Module 402: preprocessing module 403: Feature Extraction Module 404: matching module 6: Electronic equipment 61: Memory 62: processor 63: computer program S101~S104: steps

圖1是本發明一實施方式中指紋圖像的特徵提取方法的流程圖。Fig. 1 is a flowchart of a feature extraction method of a fingerprint image in an embodiment of the present invention.

圖2是本發明一實施方式中指紋圖像的特徵提取裝置的結構圖。Fig. 2 is a structural diagram of a fingerprint image feature extraction device in an embodiment of the present invention.

圖3本發明電子設備的示意圖。Fig. 3 is a schematic diagram of the electronic device of the present invention.

S101~S104:步驟S101~S104: steps

Claims (10)

一種指紋圖像的特徵提取方法,其中,所述方法包括步驟: 獲取指紋圖像; 對所述指紋圖像進行預處理以去除所述指紋圖像中的雜訊; 利用已訓練好的預設卷積神經網路模型提取出所述指紋圖像的二值特徵,其中所述預設卷積神經網路包括具有可類比階躍函數功能且連續的啟動函數;及 將所述指紋圖像的二值特徵與預存指紋圖像的二值特徵進行匹配得到匹配結果。A fingerprint image feature extraction method, wherein the method includes the steps: Get fingerprint image; Preprocessing the fingerprint image to remove noise in the fingerprint image; Using a trained preset convolutional neural network model to extract the binary features of the fingerprint image, wherein the preset convolutional neural network includes a continuous starting function with an analogous step function function; and The binary feature of the fingerprint image is matched with the binary feature of the pre-stored fingerprint image to obtain a matching result. 如請求項1所述的指紋圖像的特徵提取方法,其中,所述預設卷積神經網路包括輸入層、多個用於進行特徵提取的卷積層、全連接層、啟動函數及輸出層,所述輸入層、卷積層、全連接層、啟動函數及輸出層依次相連接。The fingerprint image feature extraction method according to claim 1, wherein the preset convolutional neural network includes an input layer, a plurality of convolutional layers for feature extraction, a fully connected layer, an activation function, and an output layer , The input layer, convolutional layer, fully connected layer, activation function and output layer are connected in sequence. 如請求項2所述的指紋圖像的特徵提取方法,其中,所述利用已訓練好的預設卷積神經網路模型提取出所述指紋圖像的二值特徵包括: 通過所述輸入層為所述指紋圖像提供輸入通道;通過所述卷積層對所述指紋圖像的特徵進行訓練提取;通過所述全連接層對各卷積層所訓練提取出的特徵進行整合;通過所述啟動函數對所述全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據預設閾值進行分割得到所述指紋圖像的二值特徵;及通過所述輸出層輸出所述二值特徵。The fingerprint image feature extraction method according to claim 2, wherein the extracting the binary features of the fingerprint image by using a trained preset convolutional neural network model includes: Provide an input channel for the fingerprint image through the input layer; train and extract the features of the fingerprint image through the convolutional layer; integrate the features trained and extracted by each convolutional layer through the fully connected layer Binarize the features output by the fully connected layer through the activation function and segment the results of the binarization process according to a preset threshold to obtain the binary features of the fingerprint image; and through the output The layer outputs the binary feature. 如請求項3所述的指紋圖像的特徵提取方法,其中,所述啟動函數為
Figure 03_image001
,所述預設閾值為1/2,
Figure 03_image003
為使用者設定的常數,所述啟動函數對所述全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據預設閾值進行分割得到所述指紋圖像的二值特徵包括: 通過
Figure 03_image001
對所述全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據1/2進行分割得到所述指紋圖像的二值特徵。
The fingerprint image feature extraction method according to claim 3, wherein the activation function is
Figure 03_image001
, The preset threshold is 1/2,
Figure 03_image003
It is a constant set by the user, the activation function performs binarization processing on the features output by the fully connected layer, and divides the result of the binarization processing according to a preset threshold to obtain the binary features of the fingerprint image including : pass through
Figure 03_image001
Binarization is performed on the features output by the fully connected layer, and the result of the binarization is divided according to 1/2 to obtain the binary features of the fingerprint image.
如請求項3所述的指紋圖像的特徵提取方法,其中,所述啟動函數為
Figure 03_image005
,所述預設閾值為0,
Figure 03_image003
為使用者設定的常數,所述啟動函數對所述全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據預設閾值進行分割得到所述指紋圖像的二值特徵包括: 通過所述啟動函數
Figure 03_image005
對所述全連接層輸出的特徵進行二值化處理及將二值化處理的結果依據0進行分割得到所述指紋圖像的二值特徵。
The fingerprint image feature extraction method according to claim 3, wherein the activation function is
Figure 03_image005
, The preset threshold is 0,
Figure 03_image003
It is a constant set by the user, the activation function performs binarization processing on the features output by the fully connected layer, and divides the result of the binarization processing according to a preset threshold to obtain the binary features of the fingerprint image including : Through the start function
Figure 03_image005
Binarization is performed on the features output by the fully connected layer, and the result of the binarization is divided according to 0 to obtain the binary features of the fingerprint image.
如請求項1所述的指紋圖像的特徵提取方法,其中,所述將所述指紋圖像的二值特徵與預存指紋圖像的二值特徵進行匹配得到匹配結果包括: 計算所述指紋圖像的二值特徵與所述預存指紋圖像的特徵值的漢明距離值;及 當所述漢明距離值小於或等於所述預設距離值時,則所述指紋圖像與所述預存指紋圖像匹配成功。The fingerprint image feature extraction method according to claim 1, wherein the matching the binary feature of the fingerprint image with the binary feature of the pre-stored fingerprint image to obtain the matching result includes: Calculating the Hamming distance between the binary feature of the fingerprint image and the feature value of the pre-stored fingerprint image; and When the Hamming distance value is less than or equal to the preset distance value, the fingerprint image is successfully matched with the pre-stored fingerprint image. 如請求項6所述的指紋圖像的特徵提取方法,其中,所述計算所述指紋圖像的二值特徵與所述預存指紋圖像的特徵值的漢明距離值包括: 將所述指紋圖像的二值特徵與所述預存指紋圖像的特徵值進行異或運算得到異或結果,所述異或結果的個數為所述指紋圖像與所述預存指紋圖像的漢明距離值。The fingerprint image feature extraction method according to claim 6, wherein the calculating the Hamming distance value between the binary feature of the fingerprint image and the feature value of the prestored fingerprint image includes: Perform an XOR operation on the binary feature of the fingerprint image and the feature value of the prestored fingerprint image to obtain an XOR result, and the number of the XOR results is the fingerprint image and the prestored fingerprint image The Hamming distance value. 如請求項1所述的指紋圖像的特徵提取方法,其中,對所述指紋圖像進行預處理以去除所述指紋圖像中的雜訊包括: 對所述指紋圖像進行指紋分割以去除所述指紋圖像中的背景區域; 對所述指紋圖像進行指紋增強以去除所述指紋圖像中的叉連、中斷點及模糊不清的部分;及 對所述指紋圖像進行細化處理以刪除所述指紋圖像中文線的邊緣圖元。The fingerprint image feature extraction method according to claim 1, wherein, preprocessing the fingerprint image to remove noise in the fingerprint image includes: Performing fingerprint segmentation on the fingerprint image to remove the background area in the fingerprint image; Performing fingerprint enhancement on the fingerprint image to remove cross-connections, interruptions, and blurred parts in the fingerprint image; and Refinement processing is performed on the fingerprint image to delete edge primitives of Chinese lines in the fingerprint image. 一種指紋圖像的特徵提取裝置,其中,所述裝置包括: 獲取模組,用於獲取指紋圖像; 預處理模組,用於對所述指紋圖像進行預處理以去除所述指紋圖像中的雜訊; 特徵提取模組,用於利用已訓練好的預設卷積神經網路模型提取出所述指紋圖像的二值特徵,其中所述預設卷積神經網路包括具有可類比階躍函數功能且連續的啟動函數; 及 匹配模組,用於將所述指紋圖像的二值特徵與預存指紋圖像的二值特徵進行匹配得到匹配結果。A fingerprint image feature extraction device, wherein the device includes: The acquisition module is used to acquire fingerprint images; A preprocessing module for preprocessing the fingerprint image to remove noise in the fingerprint image; The feature extraction module is used to extract the binary features of the fingerprint image by using a trained preset convolutional neural network model, wherein the preset convolutional neural network includes a function with an analogous step function And continuous activation function; and The matching module is used to match the binary feature of the fingerprint image with the binary feature of the pre-stored fingerprint image to obtain a matching result. 一種電腦可讀存儲介質,其上存儲有電腦程式,其中:所述電腦程式被處理器執行時實現如請求項1-8中任一項所述指紋圖像的特徵提取方法。A computer-readable storage medium having a computer program stored thereon, wherein: the computer program is executed by a processor to implement the fingerprint image feature extraction method according to any one of claim items 1-8.
TW109108509A 2020-02-27 2020-03-13 A method, a device for extracting features of fingerprint images and computer-readable storage medium TWI754241B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010125597.8 2020-02-27
CN202010125597.8A CN113312946A (en) 2020-02-27 2020-02-27 Fingerprint image feature extraction method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
TW202133041A true TW202133041A (en) 2021-09-01
TWI754241B TWI754241B (en) 2022-02-01

Family

ID=77370442

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109108509A TWI754241B (en) 2020-02-27 2020-03-13 A method, a device for extracting features of fingerprint images and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN113312946A (en)
TW (1) TWI754241B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116311389B (en) * 2022-08-18 2023-12-12 荣耀终端有限公司 Fingerprint identification method and device

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100884743B1 (en) * 2006-12-07 2009-02-19 한국전자통신연구원 Method for matching fingerprint using minutiae and binary image and system using the same
CN103294987A (en) * 2012-03-05 2013-09-11 天津华威智信科技发展有限公司 Fingerprint matching method and fingerprint matching implementation mode
CN103971342B (en) * 2014-05-21 2017-11-03 厦门美图之家科技有限公司 A kind of image noise detection method based on convolutional neural networks
US10339362B2 (en) * 2016-12-08 2019-07-02 Veridium Ip Limited Systems and methods for performing fingerprint based user authentication using imagery captured using mobile devices
CN107844753A (en) * 2017-10-20 2018-03-27 珠海习悦信息技术有限公司 Pedestrian in video image recognition methods, device, storage medium and processor again
US11082720B2 (en) * 2017-11-21 2021-08-03 Nvidia Corporation Using residual video data resulting from a compression of original video data to improve a decompression of the original video data
CN109063572A (en) * 2018-07-04 2018-12-21 南京信息工程大学 It is a kind of based on multiple dimensioned and multireel lamination Fusion Features fingerprint activity test methods
CN108960214A (en) * 2018-08-17 2018-12-07 中控智慧科技股份有限公司 Fingerprint enhancement binarization method, device, equipment, system and storage medium
CN109492589A (en) * 2018-11-13 2019-03-19 重庆工程职业技术学院 The recognition of face working method and intelligent chip merged by binary features with joint stepped construction
CN109934180B (en) * 2019-03-18 2021-06-01 Oppo广东移动通信有限公司 Fingerprint identification method and related device
CN110188227B (en) * 2019-05-05 2022-11-18 华南理工大学 Hash image retrieval method based on deep learning and low-rank matrix optimization
CN110533603A (en) * 2019-07-24 2019-12-03 宁德市公路局 A kind of point cloud noise-reduction method based on entropy and convolutional neural networks
CN110517329B (en) * 2019-08-12 2021-05-14 北京邮电大学 Deep learning image compression method based on semantic analysis
CN110765857A (en) * 2019-09-12 2020-02-07 敦泰电子(深圳)有限公司 Fingerprint identification method, chip and electronic device

Also Published As

Publication number Publication date
TWI754241B (en) 2022-02-01
CN113312946A (en) 2021-08-27

Similar Documents

Publication Publication Date Title
WO2020244066A1 (en) Text classification method, apparatus, device, and storage medium
WO2018019194A1 (en) Image recognition method, terminal, and nonvolatile storage medium
CN110458078B (en) Face image data clustering method, system and equipment
TWI754242B (en) Method, device for evaluating fingerprint quality based on images and electronic device
CN114897806A (en) Defect detection method, electronic device and computer readable storage medium
CN111340035A (en) Train ticket identification method, system, equipment and medium
WO2024001123A1 (en) Image recognition method and apparatus based on neural network model, and terminal device
CN102637255A (en) Method and device for processing faces contained in images
WO2021051939A1 (en) Document area positioning method and device
CN116403094A (en) Embedded image recognition method and system
CN111488813B (en) Video emotion marking method and device, electronic equipment and storage medium
CN113205047A (en) Drug name identification method and device, computer equipment and storage medium
US20220215679A1 (en) Method of determining a density of cells in a cell image, electronic device, and storage medium
TWI754241B (en) A method, a device for extracting features of fingerprint images and computer-readable storage medium
Gunawan et al. Performance Evaluation of Automatic Number Plate Recognition on Android Smartphone Platform.
WO2022120008A1 (en) A machine learning method and computing device for art authentication
CN110210425B (en) Face recognition method and device, electronic equipment and storage medium
CN111949793B (en) User intention recognition method and device and terminal equipment
CN110659631A (en) License plate recognition method and terminal equipment
CN112257689A (en) Training and recognition method of face recognition model, storage medium and related equipment
CN111062199B (en) Bad information identification method and device
CN112288045B (en) Seal authenticity distinguishing method
CN115311664A (en) Method, device, medium and equipment for identifying text type in image
CN112037814B (en) Audio fingerprint extraction method and device, electronic equipment and storage medium
Behrad et al. Content-based obscene video recognition by combining 3D spatiotemporal and motion-based features