Palmprint recognition method, device, terminal equipment and storage medium based on the whole palm

Through texture extraction of the whole palm area and sub-region feature fusion, the problem of high stability requirements for the area of ​​interest in the existing technology is solved, and more efficient and accurate palmprint recognition is achieved, which is suitable for non-contact and non-restrictive scenarios. .

CN113705344BActive Publication Date: 2024-10-01XIAN EASY PALM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110826116.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-21
Publication Date
2024-10-01
Estimated Expiration
2041-07-21

AI Technical Summary

Technical Problem

Existing palmprint recognition technology has high requirements on the stability and consistency of the area of ​​interest, and only uses the texture information in the center of the palm, which limits the recognition accuracy. It is especially difficult to achieve high efficiency and accuracy in non-contact and non-restrictive recognition scenarios. identity authentication.

Method used

The whole palm area is used to extract texture and wrinkle information. It divides four sub-regions and uses a convolutional neural network to extract features. It combines the fusion network to obtain the full palm features and calculates the feature distance to achieve identity recognition without changing the lighting, background, and angle of the image collection. Additional restrictions on poses and postures to improve flexibility.

Benefits of technology

It improves the accuracy and robustness of palmprint recognition, can make more comprehensive use of palm texture features, enhances the flexibility and accuracy of recognition, and is suitable for non-restrictive scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113705344B_ABST
    Figure CN113705344B_ABST
Patent Text Reader

Abstract

The present invention discloses a palm print recognition method, device, terminal equipment and storage medium based on the whole palm. First, for the collected human hand image, a key point detection algorithm is used to locate the key point A on the outside of the index finger heel and the key point B on the outside of the little finger heel, and then the whole palm area is extracted according to the distance and vertical direction between them. The whole palm area of ​​the present invention covers more palm print area and contains more palm print textures, wrinkles and other features. The whole palm area is evenly divided into four sub-areas, and a convolutional neural network is designed for each sub-area to extract sub-area features. Finally, these sub-area features are spliced ​​together and input into a fusion network to extract the final palm print features for identification. This part of the method can fully extract the discriminative palm print information of different directions in the whole palm area. The present invention can greatly improve the accuracy of existing palm print recognition technology and can reduce the strict requirements of the recognition method on the collection of human hand images.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of biometric identification, and relates to a palmprint identification method, device, terminal equipment and storage medium based on the entire palm. Background Art

[0002] With the rapid development of the digital economy, information technology has been integrated into all walks of life, promoting the upgrading and development of related industries, but this has also put forward higher requirements for identity authentication. Compared with traditional identity recognition technologies based on physical attributes, biometric recognition directly uses human physiological or behavioral characteristics for recognition, which has the advantages of stability, convenience, security and reliability. Currently, commonly used biometric recognition technologies mainly include face recognition, fingerprint recognition, iris recognition, etc. Compared with other biometric recognition technologies, palmprint recognition is an identity authentication technology with better privacy and richer texture, and has irreplaceable application value in related fields.

[0003] The current palmprint recognition technology first locates the region of interest in the center of the palm, then uses a feature extraction algorithm to convert the region into a low-dimensional vector, and finally completes the identity recognition through a distance matching algorithm. However, these methods are too dependent on the region of interest, requiring the region of interest to be highly stable and consistent, which is a great challenge for non-contact palmprint recognition, especially non-restrictive palmprint recognition; in addition, these methods only use the texture information at the center of the palmprint, but do not use the rich discriminative features of other areas in the palm, which also limits its recognition accuracy. In order to solve the problems existing in the existing technology, it is necessary to develop new algorithms to achieve more efficient and accurate palmprint recognition based on the entire palm. Summary of the invention

[0004] The purpose of the present invention is to solve the problems in the prior art and provide a palm print recognition method, device, terminal device and storage medium based on the whole palm. The present invention can make full use of the rich texture and wrinkle information of the whole palm area, and introduce four sub-area networks and a fusion network to extract recognizable palm print features. Since the scheme uses the whole palm area, there is no additional restriction on the background, lighting, angle and posture of the hand image collection, and it is more flexible to use.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions:

[0006] The palmprint recognition method based on the whole palm includes the following steps:

[0007] Collect palm images and locate the key points on the outer side of the index finger and the outer side of the little finger.

[0008] Extract the entire palm area;

[0009] Divide the entire palm area into several sub-areas and extract the features of the sub-areas;

[0010] The features of the sub-regions are fused to obtain the features of the entire palm region;

[0011] Calculate the distance between features in the entire palm area to achieve identity recognition.

[0012] The method of the present invention is further improved in that:

[0013] When collecting the palm image, the user can freely place the hand according to his / her own wishes to collect the palm image.

[0014] The specific method of locating the key points on the outer side of the index finger heel and the key points on the outer side of the little finger heel is as follows:

[0015] First, the area where the palm is located is detected based on the YOLOv5 algorithm. The input image is divided into 7×7 grids. The grid where the center point of the palm is located is used to predict the palm. Each grid predicts two target boxes, and the center position coordinates, width, height and confidence of the target box are output; the loss function used in training is the bounding box confidence loss L conf , category loss L cla With coordinate loss L GIOU :

[0016] L1=L conf +L cla +L GIOU

[0017] The final key point positioning is completed by using the regression model within the located palm area. The located palm area image is input into the regression model, and the predicted coordinates of the two points are output. During training, the mean square error between the predicted coordinates and the annotated true coordinates is used as the loss function:

[0018]

[0019] Where (x, y) represents the real coordinates of the key point. Represents the predicted coordinates of the key points.

[0020] The specific method for extracting the entire palm area is as follows:

[0021] Key point A on the outside of the index finger heel and key point B on the outside of the little finger heel are at the edge of the full palm area. The two are respectively used as two vertices of the square full palm area, and the distance between them is defined as the side length L of the square full palm area, and the side length L is obtained by calculating the Euclidean distance between the coordinates of key point A and key point B; the direction of the perpendicular line of line segment AB is used as the direction of the full palm area, and the full palm area is cropped out in the human hand image.

[0022] The specific method of dividing the entire palm area into several sub-areas and extracting the features of the sub-areas is as follows:

[0023] The entire palm area is evenly divided into four sub-areas P1, P2, P3, and P4 according to the palm functional area, and then the four sub-areas P1, P2, P3, and P4 are respectively input into four convolutional neural networks f1, f2, f3, and f4, and the features of the four sub-areas are extracted as f1(P1), f2(P2), f3(P3), and f4(P4), respectively. Among them, f1, f2, f3, and f4 adopt the convolution part of the VGG16 network structure or the ResNet network structure; then f1(P1), f2(P2), f3(P3), and f4(P4) are spliced ​​into one feature in a channel-aligned manner, expressed as f(P1, P2, P3, P4).

[0024] The specific method of fusing the features of the sub-regions to obtain the features of the entire palm region is as follows:

[0025] The features f(P1, P2, P3, P4) are input into the fusion network f, and finally the features f(P) of the entire palm area are obtained.

[0026] The specific method of calculating the distance between the features of the entire palm area to achieve identity recognition is as follows:

[0027] Contrast loss is used to train the convolutional neural networks f1, f2, f3, f4 and the fusion network f of the entire feature extraction part. For two full palm area images P i and P j For example, the contrast loss between the two is expressed as:

[0028]

[0029] Among them, S ij Represents image P i and P j The category relationship between them is that when they belong to the same category, S ij =1, when two belong to different categories, S ij =0,D ij Represents image P i and P j When training the feature extraction convolutional neural networks f1, f2, f3, f4 and the fusion network f, multiple full palm area images are input and L is calculated based on the category relationship between them. f , and perform gradient backpropagation to update their weights.

[0030] The present invention also discloses a palm print recognition device based on the entire palm, comprising:

[0031] An image acquisition module, the image acquisition module is used to acquire a palm image and locate key points on the outer side of the heel of the index finger and the outer side of the heel of the little finger;

[0032] A palm region extraction module, wherein the palm region extraction module is used to extract the entire palm region;

[0033] A sub-region feature extraction module, wherein the sub-region feature extraction module is used to divide the entire palm region into a plurality of sub-regions and extract features of the sub-regions;

[0034] A full palm region feature extraction module, wherein the full palm region feature extraction module is used to fuse the features of the sub-regions to obtain the features of the full palm region;

[0035] The identity recognition module is used to calculate the distance between the features of the entire palm area to achieve identity recognition.

[0036] A terminal device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0037] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0038] Compared with the prior art, the present invention has the following beneficial effects:

[0039] The present invention realizes accurate palmprint recognition based on the whole palm area in the human hand image. Compared with most existing palmprint recognition methods which are only based on the central area of ​​part of the palm, the present invention utilizes the whole palm area with a larger area, so that more texture and stripe features in the palm can be extracted, and the recognition accuracy is further improved. In addition, the present invention divides the whole palm area with a larger area into multiple sub-areas, and designs a convolutional neural network to extract the features of the sub-areas respectively, and finally obtains the features of the whole palm by fusing the features of different sub-areas through a fusion network, which can fully mine the discriminative information in the whole palm and further improve the accuracy and robustness of the palmprint recognition method. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0041] Figure 1 It is a schematic diagram of the full palm area extraction and feature extraction of the present invention.

[0042] Figure 2 Schematic diagram of the recognition process of the present invention. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0044] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0046] In the description of the embodiments of the present invention, it should be noted that if the terms "upper", "lower", "horizontal", "inner", etc. indicate an orientation or positional relationship based on the orientation or positional relationship shown in the drawings, or the orientation or positional relationship in which the product of the invention is usually placed when in use, it is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0047] In addition, if the term "horizontal" appears, it does not mean that the component must be absolutely horizontal, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", which does not mean that the structure must be completely horizontal, but can be slightly tilted.

[0048] In the description of the embodiments of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0049] The present invention is further described in detail below in conjunction with the accompanying drawings:

[0050] See also Figure 1 and Figure 2 The embodiment of the present invention discloses a palmprint recognition method based on the whole palm, comprising the following steps:

[0051] Step 1: Use the palm print acquisition device to capture a complete image of a person's hand. During the capture process, no additional restrictions are imposed on lighting, background, palm posture, and angle. The user can freely place the hand according to his or her own wishes.

[0052] Step 2: Use the target detection and regression model to locate the key point A on the outside of the index finger heel and the key point B on the outside of the little finger heel;

[0053] Palm key point positioning

[0054] After acquiring the image of the human hand, it is necessary to locate the key points of the palm, so as to further determine the position of the entire palm area. The present invention only needs to locate two key points, namely key point A on the outside of the index finger heel and key point B on the outside of the little finger heel. Specifically, this part first detects the area where the palm is located based on the YOLOv5 algorithm. This algorithm is a single-stage target detection algorithm. Its core idea is to divide the input image into 7×7 grids. The grid where the center point of the palm is located is used to predict the palm, where each grid predicts two target boxes and outputs the center position coordinates, width and height, and confidence of the target box. The loss function used in training includes three parts: bounding box confidence loss L conf , category loss L cla With coordinate loss L GIOU , which can be expressed as:

[0055] L1=L conf +L cla +L GIOU

[0056] This part can locate the area where the palm is located in the image, thereby narrowing the range of key point positioning. Then, the regression model is used to complete the final key point positioning within the located palm area. The located palm area image is input into the regression model, and the coordinates of the two predicted points are directly output. During training, the mean square error between the predicted coordinates and the annotated true coordinates is used as the loss function, which can be expressed as:

[0057]

[0058] Where (x, y) represents the real coordinates of the key point. Represents the predicted coordinates of the key points.

[0059] Step 3: Using the length L of line segment AB as the side length and the perpendicular line of line segment AB as the direction, extract the entire palm area P from the hand image.

[0060] Full palm area extraction

[0061] After obtaining the two key points, the entire palm area can be further accurately obtained. The entire palm area determined by the present invention is a square. Figure 1 , key points A and B are at the edge of the full palm area, so they are respectively used as the two vertices of the square full palm area, and the distance between them is defined as the side length L of the square full palm area, which can be obtained by calculating the Euclidean distance between the coordinates of key points A and B; then it is necessary to further determine the direction of the square full palm area. The present invention uses the perpendicular direction of line segment AB as the direction of the full palm area, so that the full palm area can be cropped out in the human hand image. The full palm area covers a larger palm print area and contains more discriminative palm print features.

[0062] Step 4: Divide the entire palm area P extracted in step 3 evenly into four sub-areas P1, P2, P3, and P4;

[0063] After obtaining the entire palm area, it is further evenly divided into four sub-areas P1, P2, P3, and P4. The principle of division here is mainly based on the setting of the palm functional area. For example, P3 mainly covers the hypothenar area of ​​the palm, and P4 mainly covers the thenar area of ​​the palm.

[0064] Step 5: Input the four sub-regions P1, P2, P3, and P4 extracted in step 4 into four convolutional neural networks f1, f2, f3, and f4 respectively, and extract the features of the four sub-regions as f1(P1), f2(P2), f3(P3), and f4(P4) respectively; f1, f2, f3, and f4 can adopt a classic network structure, such as the convolution part of VGG16 or ResNet network, but they use different weights;

[0065] Step 6: The features f1(P1), f2(P2), f3(P3), and f4(P4) of the four sub-regions extracted in step 5 are directly concatenated into one feature in a channel-aligned manner, denoted as f(P1, P2, P3, P4);

[0066] Step 7: Input the features f(P1, P2, P3, P4) obtained in step 6 into the fusion network f, and finally obtain the features f(P) of the entire palm area;

[0067] Step 8: Calculate the distance between the features f(P) obtained in step 7 to achieve identity recognition.

[0068] Training of feature extraction network

[0069] Here, contrast loss is used to train the entire feature extraction network (i.e., networks f1, f2, f3, f4 and fusion network f). For two full palm area images P i and P j For example, the contrast loss between them is expressed as

[0070]

[0071] Where S ij Represents image P i and P j When they belong to the same category, S ij = 1, when they belong to different categories, S ij =0,D ij Represents image P i and P j In this way, when training the feature extraction network (i.e., network f1, f2, f3, f4 and fusion network f), multiple full palm area images are input, and L is calculated based on the category relationship between them. f , and perform gradient backpropagation to update their weights.

[0072] like Figure 2 As shown, the embodiment of the present invention also discloses a palmprint recognition device based on the whole palm, comprising:

[0073] An image acquisition module, the image acquisition module is used to acquire a palm image and locate key points on the outer side of the heel of the index finger and the outer side of the heel of the little finger;

[0074] A palm region extraction module, wherein the palm region extraction module is used to extract the entire palm region;

[0075] A sub-region feature extraction module, wherein the sub-region feature extraction module is used to divide the entire palm region into a plurality of sub-regions and extract features of the sub-regions;

[0076] A full palm region feature extraction module, wherein the full palm region feature extraction module is used to fuse the features of the sub-regions to obtain the features of the full palm region;

[0077] The identity recognition module is used to calculate the distance between the features of the entire palm area to achieve identity recognition.

[0078] A schematic diagram of a terminal device provided in an embodiment of the present invention. The terminal device of this embodiment includes: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor executes the computer program, the functions of the modules / units in the above-mentioned device embodiments are implemented.

[0079] The computer program may be divided into one or more modules / units, and the one or more modules / units are stored in the memory and executed by the processor to accomplish the present invention.

[0080] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.

[0081] The processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0082] The memory may be used to store the computer programs and / or modules, and the processor implements various functions of the terminal device by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory.

[0083] If the module / unit integrated in the terminal device is implemented in the form of a software functional unit 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 embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0084] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. Palmprint recognition method based on the entire palm, It is characterized in that The following steps are involved: Collect palm images and locate the key points on the outer side of the index finger and the outer side of the little finger. Extract the entire palm area. The specific method is as follows: Key point A on the outside of the heel of the index finger and key point B on the outside of the heel of the little finger are at the edge of the full palm area. The two are respectively used as two vertices of the square full palm area, and the distance between them is defined as the side length L of the square full palm area. The side length L is obtained by calculating the Euclidean distance between the coordinates of key point A and key point B; the direction of the perpendicular line of line segment AB is used as the direction of the full palm area, and the full palm area is cropped out in the human hand image; Divide the entire palm area into several sub-areas and extract the features of the sub-areas. The specific method is as follows: The entire palm area is evenly divided into four sub-areas according to the palm functional area , , , , and then the four sub-areas , , , Input into four convolutional neural networks respectively , , , In the figure, the features of the four sub-regions are extracted as follows: , , , ,in , , , Use the convolution part of the VGG16 network structure or the ResNet network structure; then , , , The channels are aligned and concatenated into a feature, expressed as ; The features of the sub-regions are fused to obtain the features of the entire palm region, as follows: Input to the fusion network Finally, the features of the entire palm area are obtained ; Calculate the distance between the features of the entire palm area to achieve identity recognition. The specific method is as follows: Convolutional neural network using contrast loss for the entire feature extraction part , , , and converged networks For training, for two full palm area images and For example, the contrast loss between the two is expressed as: in, Representing images and When the two belong to the same category, , when they belong to different categories, , Representing images and The Euclidean distance between is a threshold; when training feature extraction convolutional neural network , , , and converged networks When multiple full palm area images are input, the relationship between their categories is calculated. , and perform gradient backpropagation to update their weights.

2. The palmprint recognition method based on the whole palm according to claim 1, It is characterized in that When collecting the palm image, the user can freely place the hand according to his / her own wishes to collect the palm image.

3. The palmprint recognition method based on the whole palm according to claim 1, It is characterized in that The specific method of locating the key points on the outer side of the index finger heel and the key points on the outer side of the little finger heel is as follows: First, the area where the palm is located is detected based on the YOLOv5 algorithm. The input image is divided into 7×7 grids. The grid where the center point of the palm is located is used to predict the palm. Each grid predicts two target boxes, and the center position coordinates, width, height and confidence of the target box are output; the loss function used in training is the bounding box confidence loss , category loss With coordinate loss : The final key point positioning is completed by using the regression model within the located palm area. The located palm area image is input into the regression model, and the predicted coordinates of the two points are output. During training, the mean square error between the predicted coordinates and the annotated true coordinates is used as the loss function: in represents the real coordinates of the key points, Represents the predicted coordinates of the key points.

4. A palm print recognition device based on the whole palm for implementing the method described in claim 1, It is characterized in that include: An image acquisition module, the image acquisition module is used to acquire a palm image and locate key points on the outer side of the heel of the index finger and the outer side of the heel of the little finger; A palm region extraction module, wherein the palm region extraction module is used to extract the entire palm region; A sub-region feature extraction module, wherein the sub-region feature extraction module is used to divide the entire palm region into a plurality of sub-regions and extract features of the sub-regions; A full palm region feature extraction module, wherein the full palm region feature extraction module is used to fuse the features of the sub-regions to obtain the features of the full palm region; The identity recognition module is used to calculate the distance between the features of the entire palm area to achieve identity recognition.

5. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.

6. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.