WO2020168759A1 - Palmprint recognition method and apparatus, computer device and storage medium - Google Patents

Palmprint recognition method and apparatus, computer device and storage medium Download PDF

Info

Publication number
WO2020168759A1
WO2020168759A1 PCT/CN2019/118424 CN2019118424W WO2020168759A1 WO 2020168759 A1 WO2020168759 A1 WO 2020168759A1 CN 2019118424 W CN2019118424 W CN 2019118424W WO 2020168759 A1 WO2020168759 A1 WO 2020168759A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
palm
base
thumb
finger
Prior art date
Application number
PCT/CN2019/118424
Other languages
French (fr)
Chinese (zh)
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 WO2020168759A1 publication Critical patent/WO2020168759A1/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
    • 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/1365Matching; Classification

Abstract

A palmprint recognition method and apparatus, a computer device and a storage medium. The method comprises: acquiring a hand image to be recognized (S21); determining a palm area in the hand image according to a pre-trained convolutional neural network model (S22); determining a thumb root area in the hand image according to the characteristics of the palm area (S23); determining an overlapped part of the palm area and the thumb root area by performing area comparison between the palm area and the thumb root area (S24); cutting out the overlapped part from the palm area (S25); and carrying out palmprint recognition on the palm area of which the overlapped part is cut out (S26). Due to the fact that the thumb root area is cut out, interference caused by thumb deformation to palmprint recognition can be reduced, the palmprint recognition accuracy can be improved, and the palmprint matching degree is improved.

Description

掌纹识别方法、装置、计算机设备和存储介质Palmprint recognition method, device, computer equipment and storage medium
本申请要求与2019年2月20日提交中国专利局、申请号为2019101271501、申请名称为“掌纹识别方法、装置、计算机设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。This application claims priority with the Chinese patent application filed on February 20, 2019 with the Chinese Patent Office, the application number is 2019101271501, and the application title is "Palmprint recognition method, device, computer equipment and storage medium", the entire content of which is incorporated by reference Incorporate in the application.
技术领域Technical field
本申请涉及掌纹识别技术领域,特别是涉及一种掌纹识别方法、装置、计算机设备和存储介质。This application relates to the field of palmprint recognition technology, and in particular to a palmprint recognition method, device, computer equipment and storage medium.
背景技术Background technique
掌纹是手掌皮肤上所有纹路的统称,主要包括乳突纹、主线和皱褶。掌纹具有唯一性,即不同的人的掌纹千差万别,没有任何两个手掌是完全相同的。基于掌纹的这一特点,可以进行身份鉴别。Palm prints are the general term for all lines on the palm skin, mainly including mastoid lines, main lines and folds. The palm prints are unique, that is, the palm prints of different people are very different, and no two palms are exactly the same. Based on this feature of palmprints, identification can be performed.
目前,掌纹识别有接触式掌纹识别和非接触式掌纹识别,这两种都是通过采集掌纹的图像来进行身份识别。其中的非接触式掌纹识别因具有操作方便简单、干净卫生等优势成为了掌纹识别研究的一个热点。在对相关技术研究过程中,发明人发现:在进行非接触掌纹识别时因为大拇指的形变使得掌纹特征不稳定,所以会降低掌纹识别的准确度。At present, palmprint recognition includes contact palmprint recognition and non-contact palmprint recognition, both of which are used for identity recognition by collecting palmprint images. Among them, non-contact palmprint recognition has become a hotspot in palmprint recognition research because of its convenient and simple operation, clean and sanitary advantages. In the process of researching related technologies, the inventor found that the palmprint feature is unstable due to the deformation of the thumb during non-contact palmprint recognition, which reduces the accuracy of palmprint recognition.
发明内容Summary of the invention
本申请实施例提供一种掌纹识别方法、装置、计算机设备和存储介质,能够提高掌纹识别的准确性。The embodiments of the present application provide a palmprint recognition method, device, computer equipment, and storage medium, which can improve the accuracy of palmprint recognition.
本申请实施例提供一种掌纹识别方法,包括:获取待识别的手部图像;根据预先训练的卷积神经网络模型,确定所述手部图像中的手掌区域;根据所述手掌区域的特征,确定所述手部图像中的大拇指根部区域;通过将所述手掌区域和所述大拇指根部区域进行区域比对,确定所述手掌区域和所述大拇指根部区域的重叠部分;将所述重叠部分从所述手掌区域中切除;对切除所述重叠部分的手掌区域进行掌纹识别。An embodiment of the application provides a palmprint recognition method, including: acquiring a hand image to be recognized; determining a palm area in the hand image according to a pre-trained convolutional neural network model; and according to the characteristics of the palm area , Determine the thumb root area in the hand image; compare the palm area and the thumb root area to determine the overlap between the palm area and the thumb root area; The overlapping part is cut out from the palm area; palmprint recognition is performed on the palm area where the overlapping part is cut out.
本申请实施例还提供一种掌纹识别装置,该装置包括:图像获取模块,用于获取待识别的手部图像;第一确定模块,用于根据预先训练的卷积神经网络模型,确定所述手部图像中的手掌区域;第二确定模块,用于根据所述手掌区域的特征,确定所述手部图像中的大拇指根部区域;第三确定模块,用于通过将所述手掌区域和所述大拇指根部区域进行区域比对,确定所述手掌区域和所述大拇指根部区域的重叠部分;区域切除模块,用于将所述重叠部分从所述手掌区域中切除;掌纹识别模块,用于对切除所述重叠部分的手掌区域进行掌纹识别。An embodiment of the present application also provides a palmprint recognition device, which includes: an image acquisition module for acquiring a hand image to be recognized; a first determination module for determining a palmprint recognition device based on a pre-trained convolutional neural network model The palm area in the hand image; the second determining module is used to determine the thumb root area in the hand image according to the characteristics of the palm area; the third determining module is used to determine the palm area Perform an area comparison with the thumb root area to determine the overlap portion of the palm area and the thumb root area; a region cutting module for cutting the overlap portion from the palm area; palmprint recognition The module is used for recognizing palm prints in the palm area where the overlapping part is cut off.
本申请实施例还提供一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行上述掌纹识别方法的步骤。An embodiment of the present application further provides a computer device, including a memory and a processor. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor executes the aforementioned palm. Steps of pattern recognition method.
本申请实施例还提供一种存储有计算机可读指令的非易失性可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行上述掌纹识别方法的步骤。The embodiments of the present application also provide a non-volatile readable storage medium storing computer readable instructions, which when executed by one or more processors, cause the one or more processors to execute the aforementioned palm Steps of pattern recognition method.
本申请实施例提供的掌纹识别方法、装置、计算机设备和存储介质,在对手掌区域进行识别之前,将其与大拇指根部区域的重叠部分切除,然后对切除重叠部分切除后的手掌区域进行掌纹识别。由于切除了大拇指根部区域,因此可以减少因大拇指形变对掌纹识别造成的干扰,能够提高掌纹识别的准确性,提高掌纹匹配度。The palmprint recognition method, device, computer equipment, and storage medium provided by the embodiments of the present application cut off the overlap between the palm area and the thumb root area before recognizing the palm area, and then perform the resection on the palm area after the overlapped portion is removed. Palmprint recognition. Since the root area of the thumb is removed, the interference caused by the deformation of the thumb on the palmprint recognition can be reduced, the accuracy of the palmprint recognition can be improved, and the palmprint matching degree can be improved.
附图说明Description of the drawings
图1为一个实施例中计算机设备的内部结构框图;Figure 1 is a block diagram of the internal structure of a computer device in an embodiment;
图2为一个实施例中掌纹识别方法的流程图;Figure 2 is a flowchart of a palmprint recognition method in an embodiment;
图3为一个实施例中图像采集模块采集到的图像的示意图;Figure 3 is a schematic diagram of an image collected by an image collection module in an embodiment;
图4为一个实施例中手部图像的示意图;Figure 4 is a schematic diagram of a hand image in an embodiment;
图5为一个实施例中确定所述手部图像中的手掌区域的流程示意图;FIG. 5 is a schematic diagram of a process of determining the palm area in the hand image in an embodiment;
图6为一个实施例中手部图像的示意图;Figure 6 is a schematic diagram of a hand image in an embodiment;
图7为一个实施例中手部图像的示意图;Figure 7 is a schematic diagram of a hand image in an embodiment;
图8为一个实施例中手部图像的示意图;Figure 8 is a schematic diagram of a hand image in an embodiment;
图9为一个实施例中对切除所述重叠部分的手掌区域进行掌纹识别的流程示意图;FIG. 9 is a schematic diagram of the process of recognizing palmprints on the palm area where the overlap portion is cut in an embodiment;
图10为一个实施例中掌纹识别装置的结构示意图。Fig. 10 is a schematic structural diagram of a palmprint recognition device in an embodiment.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。可以理解, 本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。In order to make the purpose, technical solutions, and advantages of this application clearer, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the application, and are not used to limit the application. It can be understood that the terms "first", "second", etc. used in this application can be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from another element.
图1为本申请一个实施例中计算机设备的结构示意图。如图1所示,该计算机设备包括通过系统总线连接的处理器、非易失性存储介质、存储器和网络接口。其中,该计算机设备的非易失性存储介质存储有操作系统、数据库和计算机可读指令,数据库中可存储有控件信息序列,该计算机可读指令被处理器执行时,可使得处理器实现一种掌纹识别方法。该计算机设备的处理器用于提供计算和控制能力,支撑整个计算机设备的运行。该计算机设备的存储器中可存储有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器执行一种掌纹识别方法。该计算机设备的网络接口用于与终端连接通信。本领域技术人员可以理解,图1中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Figure 1 is a schematic structural diagram of a computer device in an embodiment of the application. As shown in Figure 1, the computer device includes a processor, a non-volatile storage medium, a memory, and a network interface connected through a system bus. Wherein, the non-volatile storage medium of the computer device stores an operating system, a database, and computer-readable instructions. The database may store control information sequences. When the computer-readable instructions are executed by the processor, the processor can realize a A palmprint recognition method. The processor of the computer equipment is used to provide calculation and control capabilities, and supports the operation of the entire computer equipment. A computer readable instruction may be stored in the memory of the computer device. When the computer readable instruction is executed by the processor, the processor may execute a palmprint recognition method. The network interface of the computer device is used to connect and communicate with the terminal. Those skilled in the art can understand that the structure shown in FIG. 1 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
在一个实施例中,提出了一种掌纹识别方法,该掌纹识别方法可以应用于图1所示出的计算机设备中。本实施例提供的掌纹识别方法的具体应用场景有多种,计算机设备的具体形式也有多种。例如,某公司采用的是非接触式掌纹识别的门禁设备,该公司的员工在上下班时需要在门禁设备上进行身份识别。此时,门禁设备作为一种计算机设备可以采用本实施例提供的掌纹识别方法进行掌纹识别,进而实现身份识别。参考图2,本实施例提供的掌纹识别方法具体可以包括以下步骤:In one embodiment, a palmprint recognition method is proposed, which can be applied to the computer device shown in FIG. 1. There are many specific application scenarios of the palmprint recognition method provided in this embodiment, and there are also many specific forms of computer equipment. For example, a company uses a non-contact palmprint recognition access control device, and employees of this company need to perform identification on the access control device when commuting. At this time, as a computer device, the access control device can use the palmprint recognition method provided in this embodiment to perform palmprint recognition, thereby realizing identity recognition. Referring to FIG. 2, the palmprint recognition method provided in this embodiment may specifically include the following steps:
S21、获取待识别的手部图像;该步骤的触发方式有多种,例如,当人们需要进行身份识别时,触发计算机设备上的按键,或者进行某种手势操作,以触发图像采集模块(例如,摄像头)进行图像采集。这样,计算机设备中的处理器可以对图像采集模块采集到的图像进行检测。其中,图像采集模块可以为计算机设备的一部分,也可以独立于计算机设备而设置。S21. Obtain a hand image to be recognized; there are many triggering methods for this step, for example, when people need to perform identity recognition, trigger a button on a computer device, or perform a certain gesture operation to trigger an image acquisition module (for example, , Camera) for image acquisition. In this way, the processor in the computer device can detect the images collected by the image collection module. Among them, the image acquisition module can be a part of the computer equipment, or can be set independently of the computer equipment.
在实际中,计算机设备中的处理器具体可以采用目标检测算法(Single Shot MultiBox Detector,简称SSD)对图像采集模块采集的图像进行检测,定位手部所在区域,进而得到手部图像。例如,在如图3所示,在图像采集模块采集的图像31中检测到手部所在区域32,进而将手部所在区域32作为手部图像,这样可以减少其他区域对掌纹识别造成干扰,同时,采用目标检测算法便于检测出完整的手部图像,不完整的手部图像会被过滤掉,从而保证手部图像包含指尖、指根和手掌。In practice, the processor in the computer device may specifically use a target detection algorithm (Single Shot MultiBox Detector, SSD for short) to detect the image collected by the image acquisition module, locate the area where the hand is, and then obtain the hand image. For example, as shown in Figure 3, the area 32 of the hand is detected in the image 31 collected by the image acquisition module, and then the area 32 of the hand is used as the hand image, which can reduce the interference of other areas on palmprint recognition. , The target detection algorithm is used to facilitate the detection of complete hand images, and incomplete hand images will be filtered out, so as to ensure that the hand image contains fingertips, finger roots and palms.
S22、根据预先训练的卷积神经网络模型,确定所述手部图像中的手掌区域;可理解的是,手掌区域是手部图像中主要体现掌纹信息的区域。可理解的是,大拇指根部区域为图4中标记41所在的区域。在实际应用中,确定所述手部图像中手掌区域的方式有多种,下面参考图5介绍其中一种:S22: Determine the palm area in the hand image according to the pre-trained convolutional neural network model; it is understandable that the palm area is the area in the hand image that mainly reflects palmprint information. It is understandable that the root area of the thumb is the area where the mark 41 in FIG. 4 is located. In practical applications, there are many ways to determine the palm area in the hand image, one of which is described below with reference to FIG. 5:
S51、采用预先训练的卷积神经网络模型对所述手部图像进行识别,得到所述食指指根位置、所述小指指根位置和和除大拇指之外的任意一手指的指尖位置;所述卷积神经网络模型由包括若干张已标记出食指指根位置、小指指根位置和除大拇指之外的任意一手指的指尖位置的手部图像的训练数据集训练得到;S51: Recognizing the hand image using a pre-trained convolutional neural network model to obtain the position of the base of the index finger, the position of the base of the little finger, and the position of the fingertip of any finger other than the thumb; The convolutional neural network model is trained by a training data set including a number of hand images that have marked the position of the base of the index finger, the position of the base of the little finger, and the position of the fingertip of any finger other than the thumb;
可理解的是,上述除大拇指之外的任意一手指的指尖位置,可以为食指指尖位置、中指指尖位置、无名指指尖位置或小指指尖位置。本步骤中采用预先训练的卷积神经网络模型对所述手部图像进行识别,得到所述食指指根位置、所述小指指根位置和和除大拇指之外的任意一手指的指尖位置。以中指指尖位置为例,对其具体识别过程进行说明:对Cascade卷积神经网络模型进行训练,训练数据集中包括若干张已经标注过食指指根位置、小指指根位置和中指指尖位置的手部图像。在对Cascade卷积神经网络模型训练完成之后,利用该模型对新输入的手部图像进行关键点提取,便可以得到食指指根位置、小指指根位置和中指指尖位置。It is understandable that the position of the fingertip of any finger other than the thumb can be the position of the index finger, the middle finger, the ring finger, or the little finger. In this step, a pre-trained convolutional neural network model is used to recognize the hand image to obtain the position of the base of the index finger, the position of the base of the little finger, and the position of the fingertip of any finger other than the thumb . Taking the position of the middle finger tip as an example, the specific recognition process is explained: The Cascade convolutional neural network model is trained. The training data set includes a number of index finger root positions, pinky root positions and middle finger fingertip positions that have been marked. Hand image. After the Cascade convolutional neural network model is trained, the model is used to extract the key points of the newly input hand image, and the position of the root of the index finger, the root of the little finger, and the position of the middle finger can be obtained.
S52、根据所述食指指根位置、所述小指指根位置和所述指尖位置,确定所述手掌区域。在实际应用中,可以根据需要对手掌区域的形状进行设置,例如,可以设置成圆形、椭圆形、正方形、长方形等任意形状。S52: Determine the palm area according to the position of the base of the index finger, the position of the base of the little finger, and the position of the fingertip. In practical applications, it can be set according to the shape of the palm area as required, for example, it can be set to any shape such as a circle, an ellipse, a square, and a rectangle.
例如,如图6所示,将手掌区域设置为一个以所述食指指根位置A和所述小指指根位置B之间的连线AB为一条边的正方形区域61,且所述正方形区域61的中心位于所述连线远离所述指尖位置D的一侧。由于所述食指指根位置A和所述小指指根位置B之间的连线AB可以把手掌区域分割为两部分:一部分主要是除大拇指之外的四个手指所在的区域,该区域为上述连线AB靠近上述指尖位置D的一侧;另一部分主要是大拇指及手掌所在的区域,该区域为上述连线AB远离上述指尖位置D的一侧。上述正方形区域61对 其一条边和中心所在大致方位进行限定,从而可以确定唯一的一个正方形区域作为手掌区域。For example, as shown in FIG. 6, the palm area is set as a square area 61 with the line AB between the base of the index finger A and the base of the little finger B as one side, and the square area 61 The center of is located on the side of the line away from the fingertip position D. Since the line AB between the base position of the index finger A and the base position B of the little finger can divide the palm area into two parts: one part is mainly the area where the four fingers other than the thumb are located, and this area is The line AB is close to the fingertip position D; the other part is mainly the area where the thumb and palm are located, and this area is the side of the line AB away from the fingertip position D. The above-mentioned square area 61 defines the approximate orientation of one side and the center, so that the only square area can be determined as the palm area.
步骤S51和S52提供了一种比较简单的确定手掌区域的方法,当然,也可以采用下面的方法确定手掌区域:首先,依据S51提取出手部图像中的食指指根位置A、小指指根位置B和中指指尖位置D。为方便计算,可根据食指指根位置A和小指指根位置B的连线AB、连线AB与中指指尖位置D的上下关系,确定手的倾斜角度,根据倾斜角度对手部图像进行旋转,直至连线AB旋转到水平方向,且手指向上。然后,确定手掌区域的中心和一条边,进而确定手掌区域。具体为:如图7所示,设置连线AB的中垂线CE,E点位于连线AB的中点,且中垂线CE的长度length为连线AB的长度的一半,将点C作为正方形区域的中点,且以连线AB作为正方形区域的一条边,形成一个正方形区域,将该正方形区域作为手掌区域。该手掌区域的四个顶点分别为p1(C.x-length,C.y-length)、p2(C.x+length,C.y-length)、p3(C.x-length,C.y+length)和p4(C.x+length,C.y+length)。Steps S51 and S52 provide a relatively simple method for determining the palm area. Of course, the following methods can also be used to determine the palm area: First, extract the position of the base of the index finger and the base of the little finger in the hand image according to S51 And middle finger fingertip position D. For the convenience of calculation, you can determine the tilt angle of the hand according to the line AB of the index finger base position A and the little finger base position B, the line AB and the middle finger tip position D, and rotate the hand image according to the tilt angle. Until the connection AB rotates to the horizontal direction, and the finger is up. Then, determine the center and one edge of the palm area, and then determine the palm area. Specifically: As shown in Figure 7, set the mid-perpendicular line CE of the line AB, point E is located at the midpoint of the line AB, and the length of the mid-perpendicular line CE is half the length of the line AB, and point C is taken as The midpoint of the square area, and the line AB is taken as one side of the square area to form a square area, and the square area is used as the palm area. The four vertices of the palm area are p1 (Cx-length, Cy-length), p2 (C.x+length, Cy-length), p3 (Cx-length, C.y+length) and p4 (C. x+length,C.y+length).
S23、根据所述手掌区域的特征,确定所述手部图像中的大拇指根部区域;在实际应用中,可以根据需要对大拇指根部区域的形状进行设置,例如,可以设置成圆形、椭圆形、正方形、长方形等任意形状。下面以大拇指根部区域为椭圆形为例,对确定所述手部图像中的大拇指根部区域的一种方式进行介绍:如图8所示,在所述手部图像中选取满足预设条件的椭圆区域,并将所述椭圆区域作为所述大拇指根部区域;其中,所述预设条件包括:所述椭圆区域的长轴的长度为所述连线AB的长度的(1±10%)*2/5,短轴的长度为所述连线AB的长度的(1±10%)*1/4,所述椭圆区域的中心F位于所述正方形区域的第一边AG上,所述第一边AG为垂直于所述连线AB且靠近大拇指的一边。也就是说,将椭圆区域的长轴设置为连线AB的长度的(1±10%)*2/5,将椭圆区域的短轴设置为连线AB的长度的(1±10%)*1/4,即确定了椭圆区域的长轴和短轴。椭圆区域的中心F与手部图像中的手是左手还是右手有关。如果是左手,手掌区域左侧的边靠近大拇指,可以将椭圆区域的中心F设置在正方x形的手掌区域左侧的边上,如果是右手,手掌区域右侧的边靠近大拇指,可以将椭圆区域的中心F设置在正方形的手掌区域右侧的边上。S23. Determine the root area of the thumb in the hand image according to the characteristics of the palm area; in practical applications, the shape of the root area of the thumb can be set as needed, for example, it can be set to a circle or an ellipse. Shape, square, rectangle and other arbitrary shapes. Taking the elliptical shape of the thumb root region as an example, a way to determine the thumb root region in the hand image will be introduced: as shown in Figure 8, the hand image is selected to meet the preset conditions The ellipse area is taken as the thumb root area; wherein the preset condition includes: the length of the long axis of the ellipse area is (1±10% of the length of the line AB )*2/5, the length of the minor axis is (1±10%)*1/4 of the length of the line AB, the center F of the elliptical area is located on the first side AG of the square area, so The first side AG is a side perpendicular to the line AB and close to the thumb. In other words, set the major axis of the elliptical area to (1±10%)*2/5 of the length of the line AB, and set the minor axis of the ellipse area to (1±10%)* of the length of the line AB 1/4, which determines the major axis and minor axis of the ellipse. The center F of the elliptical area is related to whether the hand in the hand image is the left hand or the right hand. If it is a left hand, the left side of the palm area is close to the thumb, and the center F of the ellipse area can be set on the left side of the square x-shaped palm area. If it is a right hand, the right side of the palm area is close to the thumb. Set the center F of the ellipse area on the right side of the square palm area.
以没有依据手的倾斜角度进行旋转调整的手部图像为例,介绍一种判断手部图像上的手是左手还是右手的方式:判断中指指尖位置的纵坐标是否大于小指指根位置的纵坐标,并判断中指指尖位置的横坐标是否小于小指指根位置的横坐标:Taking a hand image without rotation adjustment based on the tilt angle of the hand as an example, a method for judging whether the hand on the hand image is the left hand or the right hand is introduced: to determine whether the ordinate of the middle finger tip position is greater than the ordinate of the little finger base position. Coordinates, and determine whether the abscissa of the middle finger tip position is smaller than the abscissa of the little finger root position:
若中指指尖位置大于小指指根位置,且中指指尖位置的横坐标小于小指指根位置的横坐标,则为左手;If the position of the tip of the middle finger is greater than the position of the base of the little finger, and the abscissa of the position of the middle fingertip is smaller than that of the base of the little finger, the left hand is considered;
若中指指尖位置大于小指指根位置,且中指指尖位置的横坐标大于小指指根位置的横坐标,则为右手;If the position of the tip of the middle finger is greater than the position of the base of the little finger, and the abscissa of the position of the middle fingertip is greater than that of the base of the little finger, it is the right hand;
若中指指尖位置小于小指指根位置,且中指指尖位置的横坐标大于小指指根位置的横坐标,则为左手;If the position of the tip of the middle finger is smaller than the base of the little finger, and the abscissa of the position of the middle finger tip is greater than the abscissa of the base of the little finger, it is the left hand;
若中指指尖位置小于小指指根位置,且中指指尖位置的横坐标小于小指指根位置的横坐标,则为右手。If the position of the tip of the middle finger is smaller than the position of the base of the little finger, and the abscissa of the position of the middle finger tip is smaller than the position of the base of the little finger, it is the right hand.
可理解的是,通过判断中指指尖位置的纵坐标和小指指根位置的纵坐标的大小关系,可以知道手的上下方向。通过判断中指指尖位置的横坐标和小指指根位置的横坐标的大小关系,可以知道大拇指在手掌的左侧还是右侧。通过手的上下方向以及大拇指相对手掌的方位,可以明确手部图像中的手是左手还是右手。当明确手部图像中的手是左手还是右手后,便可以确定椭圆区域的中心设置在正方形的手掌区域的哪条边上了,便可以确定椭圆区域的中心的横坐标。It is understandable that the up and down direction of the hand can be known by judging the size relationship between the ordinate of the fingertip position of the middle finger and the ordinate of the base of the little finger. By judging the size relationship between the abscissa of the fingertip position of the middle finger and the abscissa of the base of the little finger, it can be known whether the thumb is on the left or right of the palm. Through the up and down direction of the hand and the position of the thumb relative to the palm, it can be determined whether the hand in the hand image is the left hand or the right hand. When it is clear whether the hand in the hand image is the left hand or the right hand, it can be determined which side of the square palm area the center of the ellipse area is set, and the abscissa of the center of the ellipse area can be determined.
在上文中,椭圆区域的中心所在的手掌区域的边为第一边,椭圆中心在第一边上的具体位置可以根据正方形的边长确定。例如,椭圆中心的纵坐标为正方形的边长的(1±10%)*4/5。这里的4/5为经验值,在实际应用中可以根据情况修改。In the above, the side of the palm area where the center of the ellipse is located is the first side, and the specific position of the center of the ellipse on the first side can be determined according to the side length of the square. For example, the ordinate of the center of the ellipse is (1±10%)*4/5 of the side length of the square. The 4/5 here is an empirical value, which can be modified according to the actual application.
S24、通过将所述手掌区域和所述大拇指根部区域进行区域比对,确定所述手掌区域和所述大拇指根部区域的重叠部分;举例来说,如图8所示,正方形区域为手掌区域,椭圆区域为大拇指根部区域,正方形区域和椭圆区域的重叠部分即图8中的阴影部分。这里,将手掌区域和大拇指区域进行区域比对,具体比对方式可以包括:确定手掌区域中各个像素的坐标和大拇指根部区域中各个像素的坐标,将手掌区域和大拇指根部区域中坐标相同的各个像素组成的区域即为上述重叠部分。S24. Determine the overlap between the palm area and the thumb root area by comparing the palm area with the thumb root area; for example, as shown in FIG. 8, the square area is the palm Area, the ellipse area is the thumb root area, and the overlap of the square area and the ellipse area is the shaded part in Figure 8. Here, the palm area and the thumb area are compared. The specific comparison method may include: determining the coordinates of each pixel in the palm area and the coordinates of each pixel in the thumb root area, and comparing the coordinates in the palm area and the thumb root area The area composed of the same pixels is the above overlapping part.
S25、将所述重叠部分从所述手掌区域中切除;将重叠部分从手掌区域中切除的方式有多种,例如,将重叠部分的像素均置为0。S25. Cut the overlapping part from the palm area; there are many ways to cut the overlapping part from the palm area, for example, all pixels of the overlapping part are set to 0.
S26、对切除所述重叠部分的手掌区域进行掌纹识别。在实际应用中,对切除所述重叠部分的手掌区域进行掌纹识别的方式有多种,下面参考图9介绍其中一种:S26. Perform palmprint recognition on the palm area where the overlap portion is cut off. In practical applications, there are many ways to recognize palm prints in the palm area where the overlapped part is cut. The following describes one of them with reference to FIG. 9:
S91、确定切除所述重叠部分的手掌区域的特征向量分别与预先存储的多个掌纹图像的特征向量之间 的余弦相似度;可理解的是,特征向量为切除所述重叠部分的手掌区域的多个掌纹特征所组成的向量。具体可以采用机器学习模型(例如,轻量化卷积神经网络MobileNet)从手掌区域中提取特征向量。可理解的是,余弦相似度是通过计算两个特征向量的夹角余弦值来评估两个特征向量的相似度,进而得知切除所述重叠部分的手掌区域与预先存储的掌纹图像之间的相似度。S91. Determine the cosine similarity between the feature vector of the palm area where the overlap is removed and the feature vectors of multiple palmprint images stored in advance; it is understandable that the feature vector is the palm area where the overlap is removed A vector composed of multiple palmprint features of. Specifically, a machine learning model (for example, a lightweight convolutional neural network MobileNet) can be used to extract feature vectors from the palm area. It is understandable that the cosine similarity is to evaluate the similarity of the two feature vectors by calculating the cosine value of the included angle of the two feature vectors, and then to know the difference between the palm area where the overlap is removed and the pre-stored palmprint image The similarity.
S92、根据所述余弦相似度,确定所述切除所述重叠部分的手掌区域是否识别成功。例如,切除所述重叠部分的手掌区域的特征向量与预先存储的一个掌纹图像的特征向量之间的余弦相似度高于预设阈值,则认为切除所述重叠部分的手掌区域与预先存储的这个掌纹图像足够相似,两者匹配成功,即切除所述重叠部分的手掌区域识别成功。S92. Determine, according to the cosine similarity, whether the palm area where the overlapping part is cut is successfully recognized. For example, if the cosine similarity between the feature vector of the palm area where the overlap is removed and the feature vector of a palmprint image stored in advance is higher than a preset threshold, it is considered that the palm area where the overlap is removed is similar to the pre-stored palmprint image. This palmprint image is sufficiently similar that the two match successfully, that is, the palm area where the overlapped part is cut is successfully recognized.
这里,采用余弦相似度评价切除所述重叠部分的手掌区域与预先存储的掌纹图像的相似度,具有计算简单、易实现的优点。当然,还可以采用其他的指标来评价两者的相似度。本实施例提供的掌纹识别方法,在对手掌区域进行识别之前,将其与大拇指根部区域的重叠部分切除,然后对切除重叠部分切除后的手掌区域进行掌纹识别。由于切除了大拇指根部区域,因此可以减少因大拇指形变对掌纹识别造成的干扰,能够提高掌纹识别的准确性,提高掌纹匹配度。Here, the use of cosine similarity to evaluate the similarity between the palm region where the overlapped portion is cut off and the pre-stored palmprint image has the advantages of simple calculation and easy implementation. Of course, other indicators can also be used to evaluate the similarity between the two. In the palmprint recognition method provided in this embodiment, before recognizing the palm area, the overlapping part with the thumb root area is removed, and then the palmprint recognition is performed on the palm area after the overlapping part is removed. Since the root area of the thumb is removed, the interference caused by the deformation of the thumb on the palmprint recognition can be reduced, the accuracy of the palmprint recognition can be improved, and the palmprint matching degree can be improved.
如图10所示,在一个实施例中,提供了一种掌纹识别装置100,该掌纹识别装置100可以集成于上述的计算机设备中,具体可以包括:As shown in FIG. 10, in one embodiment, a palmprint recognition device 100 is provided. The palmprint recognition device 100 may be integrated into the above-mentioned computer equipment, and may specifically include:
图像获取模块101,用于获取待识别的手部图像;The image acquisition module 101 is used to acquire a hand image to be recognized;
第一确定模块102,用于根据预先训练的卷积神经网络模型,确定所述手部图像中的手掌区域;The first determining module 102 is configured to determine the palm area in the hand image according to the pre-trained convolutional neural network model;
第二确定模块103,用于根据所述手掌区域的特征,确定所述手部图像中的大拇指根部区域;The second determining module 103 is configured to determine the thumb root area in the hand image according to the characteristics of the palm area;
第三确定模块104,用于通过将所述手掌区域和所述大拇指根部区域进行区域比对,确定所述手掌区域和所述大拇指根部区域的重叠部分;The third determining module 104 is configured to determine the overlapping portion of the palm area and the thumb root area by comparing the palm area and the thumb root area;
区域切除模块105,用于将所述重叠部分从所述手掌区域中切除;The area cutting module 105 is used to cut the overlapped part from the palm area;
掌纹识别模块106,用于对切除所述重叠部分的手掌区域进行掌纹识别。The palmprint recognition module 106 is used for recognizing palmprints on the palm area where the overlapped part is cut.
在一些实施例中,第一确定模块102包括:第一确定单元,用于采用预先训练的卷积神经网络模型对所述手部图像进行识别,得到所述食指指根位置、所述小指指根位置和和除大拇指之外的任意一手指的指尖位置;所述卷积神经网络模型由包括若干张已标记出食指指根位置、小指指根位置和除大拇指之外的任意一手指的指尖位置的手部图像的训练数据集训练得到;第二确定单元,用于根据所述食指指根位置、所述小指指根位置和所述指尖位置,确定所述手掌区域。In some embodiments, the first determining module 102 includes: a first determining unit for recognizing the hand image using a pre-trained convolutional neural network model to obtain the position of the base of the index finger and the little finger The root position and the fingertip position of any finger other than the thumb; the convolutional neural network model consists of a number of marked index finger root positions, little finger root positions and any one except the thumb The training data set of the hand image of the fingertip position of the finger is obtained through training; the second determining unit is configured to determine the palm area according to the position of the base of the index finger, the position of the base of the little finger, and the position of the fingertip.
在一些实施例中,所述手掌区域是一个以所述食指指根位置和所述小指指根位置之间的连线为一条边的正方形区域,且所述正方形区域的中心位于所述连线远离所述指尖位置的一侧。In some embodiments, the palm area is a square area with a line between the base of the index finger and the base of the little finger as one side, and the center of the square area is located on the line The side away from the fingertip position.
在一些实施例中,第二确定模块103还包括:区域选取单元,用于在所述手部图像中选取满足预设条件的椭圆区域,并将所述椭圆区域作为所述大拇指根部区域;其中,所述预设条件包括:所述椭圆区域的长轴的长度为所述连线的长度的(1±10%)*2/5,短轴的长度为所述连线的长度的(1±10%)*1/4,所述椭圆区域的中心位于所述正方形区域的第一边上,所述第一边为垂直于所述连线且靠近大拇指的一边。In some embodiments, the second determining module 103 further includes: a region selecting unit, configured to select an elliptical region that meets a preset condition in the hand image, and use the elliptical region as the thumb root region; Wherein, the preset conditions include: the length of the major axis of the elliptical area is (1±10%)*2/5 of the length of the line, and the length of the minor axis is (() of the length of the line 1±10%)*1/4, the center of the elliptical area is located on the first side of the square area, and the first side is the side perpendicular to the line and close to the thumb.
在一些实施例中,所述椭圆区域的中心在所述第一边上的位置根据所述正方形区域的边长确定。In some embodiments, the position of the center of the elliptical area on the first side is determined according to the side length of the square area.
在一些实施例中,所述椭圆区域的中心的纵坐标为所述正方形区域的边长的(1±10%)*4/5。In some embodiments, the ordinate of the center of the elliptical area is (1±10%)*4/5 of the side length of the square area.
在一些实施例中,掌纹识别模块106具体用于:确定切除所述重叠部分的手掌区域的特征向量分别与预先存储的多个掌纹图像的特征向量之间的余弦相似度;根据所述余弦相似度,确定所述切除所述重叠部分的手掌区域是否识别成功。In some embodiments, the palmprint recognition module 106 is specifically configured to: determine the cosine similarity between the feature vectors of the palm region where the overlapped portion is removed and the feature vectors of multiple prestored palmprint images; The cosine similarity determines whether the palm area where the overlap portion is cut is successfully recognized.
本申请提供的掌纹识别装置,掌纹识别模块在对手掌区域进行识别之前,区域切除模块将手掌区域与大拇指根部区域的重叠部分切除,然后掌纹识别模块才对切除重叠部分切除后的手掌区域进行掌纹识别。由于切除了大拇指根部区域,因此可以减少因大拇指形变对掌纹识别造成的干扰,能够提高掌纹识别的准确性,提高掌纹匹配度。In the palmprint recognition device provided by the present application, before the palmprint recognition module recognizes the palm area, the area cutting module cuts off the overlap between the palm area and the thumb root area, and then the palmprint recognition module cuts off the overlapped part. Recognize palm prints in the palm area. Since the root area of the thumb is removed, the interference caused by the deformation of the thumb on the palmprint recognition can be reduced, the accuracy of the palmprint recognition can be improved, and the palmprint matching degree can be improved.
在一些实施例中,提出了一种计算机设备,所述计算机设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现以下步骤:获取待识别的手部图像;根据预先训练的卷积神经网络模型,确定所述手部图像中的手掌区域;根据所述手掌区域的特征,确定所述手部图像中的大拇指根部区域;通过将所述手掌区域和所述大拇指根部区域进行区域比对,确定所述手掌区域和所述大拇指根部区域的重叠部分;将所述重叠部分从所述手掌区域中切除; 对切除所述重叠部分的手掌区域进行掌纹识别。在一些实施例中,所述处理器所执行的所述根据预先训练的卷积神经网络模型,确定所述手部图像中的手掌区域,包括:采用预先训练的卷积神经网络模型对所述手部图像进行识别,得到所述食指指根位置、所述小指指根位置和和除大拇指之外的任意一手指的指尖位置;所述卷积神经网络模型由包括若干张已标记出食指指根位置、小指指根位置和除大拇指之外的任意一手指的指尖位置的手部图像的训练数据集训练得到;根据所述食指指根位置、所述小指指根位置和所述指尖位置,确定所述手掌区域。在一些实施例中,所述手掌区域是一个以所述食指指根位置和所述小指指根位置之间的连线为一条边的正方形区域,且所述正方形区域的中心位于所述连线远离所述指尖位置的一侧。In some embodiments, a computer device is provided. The computer device includes a memory, a processor, and computer-readable instructions stored on the memory and executable on the processor, and the processor executes all The computer-readable instructions implement the following steps: obtain the hand image to be recognized; determine the palm area in the hand image according to the pre-trained convolutional neural network model; determine the palm area according to the characteristics of the palm area The thumb root area in the hand image; by comparing the palm area with the thumb root area, determine the overlap between the palm area and the thumb root area; and change the overlap from Cutting out the palm area; and performing palm print recognition on the palm area where the overlapping part is cut out. In some embodiments, the determining the palm area in the hand image according to a pre-trained convolutional neural network model executed by the processor includes: using a pre-trained convolutional neural network model to Recognizing the hand image, the position of the base of the index finger, the position of the base of the little finger, and the position of the fingertip of any finger other than the thumb are obtained; the convolutional neural network model is marked by including several The index finger root position, the little finger root position, and the fingertip position of any finger other than the thumb are trained on the training data set of hand images; according to the index finger root position, the little finger root position and the position The fingertip position determines the palm area. In some embodiments, the palm area is a square area with a line between the base of the index finger and the base of the little finger as one side, and the center of the square area is located on the line The side away from the fingertip position.
在一些实施例中,所述处理器所执行的确定所述手部图像中的大拇指根部区域的步骤包括:在所述手部图像中选取满足预设条件的椭圆区域,并将所述椭圆区域作为所述大拇指根部区域;其中,所述预设条件包括:所述椭圆区域的长轴的长度为所述连线的长度的(1±10%)*2/5,短轴的长度为所述连线的长度的(1±10%)*1/4,所述椭圆区域的中心位于所述正方形区域的第一边上,所述第一边为垂直于所述连线且靠近大拇指的一边。在一些实施例中,所述椭圆区域的中心在所述第一边上的位置根据所述正方形区域的边长确定。在一些实施例中,所述椭圆区域的中心的纵坐标为所述正方形区域的边长的(1±10%)*4/5。在一些实施例中,所述处理器所执行的对切除所述重叠部分的手掌区域进行掌纹识别的步骤包括:确定切除所述重叠部分的手掌区域的特征向量分别与预先存储的多个掌纹图像的特征向量之间的余弦相似度;根据所述余弦相似度,确定所述切除所述重叠部分的手掌区域是否识别成功。In some embodiments, the step of determining the root region of the thumb in the hand image performed by the processor includes: selecting an elliptical region that meets a preset condition in the hand image, and combining the ellipse The area is taken as the root area of the thumb; wherein the preset conditions include: the length of the long axis of the elliptical area is (1±10%)*2/5 of the length of the line, and the length of the short axis Is (1±10%)*1/4 of the length of the line, the center of the elliptical area is located on the first side of the square area, and the first side is perpendicular to the line and close to The side of the thumb. In some embodiments, the position of the center of the elliptical area on the first side is determined according to the side length of the square area. In some embodiments, the ordinate of the center of the elliptical area is (1±10%)*4/5 of the side length of the square area. In some embodiments, the step of recognizing palm prints on the palm area from which the overlapped portion is cut off by the processor includes: determining that the feature vector of the palm area from which the overlap portion is cut off is different from a plurality of pre-stored palms. The cosine similarity between the feature vectors of the pattern image; according to the cosine similarity, it is determined whether the palm area where the overlapped part is cut off is successfully recognized.
本申请提供的计算机设备的有益效果与上述掌纹识别方法和装置相同,这里不再赘述。The beneficial effects of the computer equipment provided in this application are the same as the palmprint recognition method and device described above, and will not be repeated here.
在一个实施例中,提出了一种存储有计算机可读指令的非易失性可读存储介质,该计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:获取待识别的手部图像;根据预先训练的卷积神经网络模型,确定所述手部图像中的手掌区域;根据所述手掌区域的特征,确定所述手部图像中的大拇指根部区域;通过将所述手掌区域和所述大拇指根部区域进行区域比对,确定所述手掌区域和所述大拇指根部区域的重叠部分;将所述重叠部分从所述手掌区域中切除;对切除所述重叠部分的手掌区域进行掌纹识别。在一些实施例中,一个或多个处理器执行的所述根据预先训练的卷积神经网络模型,确定所述手部图像中的手掌区域,包括:采用预先训练的卷积神经网络模型对所述手部图像进行识别,得到所述食指指根位置、所述小指指根位置和和除大拇指之外的任意一手指的指尖位置;所述卷积神经网络模型由包括若干张已标记出食指指根位置、小指指根位置和除大拇指之外的任意一手指的指尖位置的手部图像的训练数据集训练得到;根据所述食指指根位置、所述小指指根位置和所述指尖位置,确定所述手掌区域。在一些实施例中,所述手掌区域是一个以所述食指指根位置和所述小指指根位置之间的连线为一条边的正方形区域,且所述正方形区域的中心位于所述连线远离所述指尖位置的一侧。在一些实施例中,一个或多个处理器执行的步骤确定所述手部图像中的大拇指根部区域,包括:在所述手部图像中选取满足预设条件的椭圆区域,并将所述椭圆区域作为所述大拇指根部区域;其中,所述预设条件包括:所述椭圆区域的长轴的长度为所述连线的长度的(1±10%)*2/5,短轴的长度为所述连线的长度的(1±10%)*1/4,所述椭圆区域的中心位于所述正方形区域的第一边上,所述第一边为垂直于所述连线且靠近大拇指的一边。在一些实施例中,所述椭圆区域的中心在所述第一边上的位置根据所述正方形区域的边长确定。在一些实施例中,所述椭圆区域的中心的纵坐标为所述正方形区域的边长的(1±10%)*4/5。在一些实施例中,一个或多个处理器执行的步骤对切除所述重叠部分的手掌区域进行掌纹识别,包括:确定切除所述重叠部分的手掌区域的特征向量分别与预先存储的多个掌纹图像的特征向量之间的余弦相似度;根据所述余弦相似度,确定所述切除所述重叠部分的手掌区域是否识别成功。In one embodiment, a non-volatile readable storage medium storing computer readable instructions is provided. When the computer readable instructions are executed by one or more processors, the one or more processors execute the following Steps: Obtain the hand image to be recognized; determine the palm area in the hand image according to the pre-trained convolutional neural network model; determine the thumb root in the hand image according to the characteristics of the palm area Area; by comparing the palm area and the thumb root area to determine the overlap of the palm area and the thumb root area; cut the overlap from the palm area; The palm area of the overlapping part is cut out for palmprint recognition. In some embodiments, the determination of the palm area in the hand image based on the pre-trained convolutional neural network model executed by one or more processors includes: using the pre-trained convolutional neural network model to perform The hand image is identified to obtain the position of the base of the index finger, the position of the base of the little finger, and the position of the fingertip of any finger other than the thumb; the convolutional neural network model consists of a number of labeled The training data set of hand images of the position of the base of the index finger, the position of the base of the little finger, and the position of the fingertip of any finger other than the thumb is obtained by training; according to the position of the base of the index finger, the position of the base of the little finger, and The fingertip position determines the palm area. In some embodiments, the palm area is a square area with a line between the base of the index finger and the base of the little finger as one side, and the center of the square area is located on the line The side away from the fingertip position. In some embodiments, the step performed by one or more processors to determine the thumb root region in the hand image includes: selecting an elliptical region that meets a preset condition in the hand image, and combining the An elliptical area is used as the root area of the thumb; wherein the preset conditions include: the length of the long axis of the elliptical area is (1±10%)*2/5 of the length of the connecting line, and the short axis is The length is (1±10%)*1/4 of the length of the line, the center of the elliptical area is located on the first side of the square area, and the first side is perpendicular to the line and Near the side of the thumb. In some embodiments, the position of the center of the elliptical area on the first side is determined according to the side length of the square area. In some embodiments, the ordinate of the center of the elliptical area is (1±10%)*4/5 of the side length of the square area. In some embodiments, the steps performed by one or more processors to perform palmprint recognition on the palm region from which the overlapping part is cut off include: determining that the feature vector of the palm region from which the overlapping part is cut off is different from a plurality of pre-stored The cosine similarity between the feature vectors of the palmprint images; according to the cosine similarity, it is determined whether the palm area where the overlapped part is cut is successfully recognized.
本申请提供的非易失性可读存储介质的有益效果与上述掌纹识别方法和装置相同,这里不再赘述。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random Access Memory,RAM)等。The beneficial effects of the non-volatile readable storage medium provided in the present application are the same as those of the palmprint recognition method and device described above, and will not be repeated here. A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The computer program can be stored in a computer readable storage medium. When executed, it may include the processes of the above-mentioned method embodiments. Among them, the aforementioned storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, All should be considered as the scope of this specification. The above-mentioned embodiments only express several implementation manners of this application, and their descriptions are more specific and detailed, but they should not be construed as limiting the scope of this application. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can be made, and these all fall within the protection scope of this application. Therefore, the scope of protection of the patent of this application shall be subject to the appended claims.

Claims (20)

  1. 一种掌纹识别方法,所述方法包括:A palmprint recognition method, the method includes:
    获取待识别的手部图像;Obtain the hand image to be recognized;
    根据预先训练的卷积神经网络模型,确定所述手部图像中的手掌区域;Determining the palm area in the hand image according to the pre-trained convolutional neural network model;
    根据所述手掌区域的特征,确定所述手部图像中的大拇指根部区域;Determining the thumb root area in the hand image according to the characteristics of the palm area;
    通过将所述手掌区域和所述大拇指根部区域进行区域比对,确定所述手掌区域和所述大拇指根部区域的重叠部分;By performing an area comparison between the palm area and the root area of the thumb to determine the overlap portion of the palm area and the root area of the thumb;
    将所述重叠部分从所述手掌区域中切除;Cutting the overlapping part from the palm area;
    对切除所述重叠部分的手掌区域进行掌纹识别。The palmprint recognition is performed on the palm area where the overlapping part is cut off.
  2. 根据权利要求1所述的方法,所述根据预先训练的卷积神经网络模型,确定所述手部图像中的手掌区域,包括:采用预先训练的卷积神经网络模型对所述手部图像进行识别,得到所述食指指根位置、所述小指指根位置和和除大拇指之外的任意一手指的指尖位置;所述卷积神经网络模型由包括若干张已标记出食指指根位置、小指指根位置和除大拇指之外的任意一手指的指尖位置的手部图像的训练数据集训练得到;根据所述食指指根位置、所述小指指根位置和所述指尖位置,确定所述手掌区域。The method according to claim 1, wherein the determining the palm area in the hand image according to a pre-trained convolutional neural network model comprises: performing a pre-trained convolutional neural network model on the hand image Recognition, the position of the base of the index finger, the position of the base of the little finger, and the position of the fingertip of any finger other than the thumb are obtained; the convolutional neural network model includes a number of index finger root positions marked , The base of the little finger and the fingertip position of any finger other than the thumb are trained on the training data set of hand images; according to the base position of the index finger, the base position of the little finger and the position of the fingertip , Determine the palm area.
  3. 根据权利要求2所述的方法,所述手掌区域是一个以所述食指指根位置和所述小指指根位置之间的连线为一条边的正方形区域,且所述正方形区域的中心位于所述连线远离所述指尖位置的一侧。The method according to claim 2, wherein the palm area is a square area with a line between the base of the index finger and the base of the little finger as one side, and the center of the square area is located at the The connecting line is far away from the fingertip position.
  4. 根据权利要求3所述的方法,所述确定所述手部图像中的大拇指根部区域,包括:The method according to claim 3, the determining the thumb root region in the hand image comprises:
    在所述手部图像中选取满足预设条件的椭圆区域,并将所述椭圆区域作为所述大拇指根部区域;其中,所述预设条件包括:所述椭圆区域的长轴的长度为所述连线的长度的(1±10%)*2/5,短轴的长度为所述连线的长度的(1±10%)*1/4,所述椭圆区域的中心位于所述正方形区域的第一边上,所述第一边为垂直于所述连线且靠近大拇指的一边。In the hand image, an elliptical area that meets a preset condition is selected, and the elliptical area is used as the thumb root area; wherein, the preset condition includes: the length of the long axis of the elliptical area is The length of the line is (1±10%)*2/5, the length of the minor axis is (1±10%)*1/4 of the length of the line, and the center of the ellipse is located in the square On the first side of the area, the first side is the side perpendicular to the line and close to the thumb.
  5. 根据权利要求4所述的方法,所述椭圆区域的中心在所述第一边上的位置根据所述正方形区域的边长确定。The method according to claim 4, wherein the position of the center of the elliptical area on the first side is determined according to the side length of the square area.
  6. 根据权利要求4所述的方法,所述椭圆区域的中心的纵坐标为所述正方形区域的边长的(1±10%)*4/5。The method according to claim 4, wherein the ordinate of the center of the elliptical area is (1±10%)*4/5 of the side length of the square area.
  7. 根据权利要求1所述的方法,对切除所述重叠部分的手掌区域进行掌纹识别,包括:确定切除所述重叠部分的手掌区域的特征向量分别与预先存储的多个掌纹图像的特征向量之间的余弦相似度;根据所述余弦相似度,确定所述切除所述重叠部分的手掌区域是否识别成功。The method according to claim 1, performing palmprint recognition on the palm region where the overlapping part is cut out, comprising: determining the feature vector of the palm region where the overlapping part is cut out and the feature vector of a plurality of pre-stored palmprint images respectively The cosine similarity between the two; according to the cosine similarity, it is determined whether the palm area where the overlapping part is cut is successfully recognized.
  8. 一种掌纹识别装置,所述装置包括:A palmprint recognition device, the device comprising:
    图像获取模块,用于获取待识别的手部图像;The image acquisition module is used to acquire the hand image to be recognized;
    第一确定模块,用于根据预先训练的卷积神经网络模型,确定所述手部图像中的手掌区域;The first determining module is configured to determine the palm area in the hand image according to the pre-trained convolutional neural network model;
    第二确定模块,用于根据所述手掌区域的特征,确定所述手部图像中的大拇指根部区域;The second determining module is configured to determine the thumb root area in the hand image according to the characteristics of the palm area;
    第三确定模块,用于通过将所述手掌区域和所述大拇指根部区域进行区域比对,确定所述手掌区域和所述大拇指根部区域的重叠部分;A third determining module, configured to determine the overlapping part of the palm area and the thumb root area by comparing the palm area and the thumb root area;
    区域切除模块,用于将所述重叠部分从所述手掌区域中切除;A region cutting module for cutting the overlapping part from the palm region;
    掌纹识别模块,用于对切除所述重叠部分的手掌区域进行掌纹识别。The palmprint recognition module is used for recognizing palmprints in the palm area where the overlapping part is cut.
  9. 根据权利要求8所述的装置,所述第一确定模块包括:The apparatus according to claim 8, wherein the first determining module comprises:
    第一确定单元,用于采用预先训练的卷积神经网络模型对所述手部图像进行识别,得到所述食指指根位置、所述小指指根位置和和除大拇指之外的任意一手指的指尖位置;所述卷积神经网络模型由包括若干张已标记出食指指根位置、小指指根位置和除大拇指之外的任意一手指的指尖位置的手部图像的训练数据集训练得到;The first determining unit is used to recognize the hand image using a pre-trained convolutional neural network model to obtain the position of the base of the index finger, the position of the base of the little finger, and any finger other than the thumb The position of the fingertip; the convolutional neural network model consists of a training data set of hand images that have been marked with the position of the base of the index finger, the position of the base of the little finger, and the position of the fingertip of any finger except the thumb Trained
    第二确定单元,用于根据所述食指指根位置、所述小指指根位置和所述指尖位置,确定所述手掌区域。The second determining unit is configured to determine the palm area according to the position of the base of the index finger, the position of the base of the little finger, and the position of the fingertip.
  10. 根据权利要求9所述的装置,所述手掌区域是一个以所述食指指根位置和所述小指指根位置之间的连线为一条边的正方形区域,且所述正方形区域的中心位于所述连线远离所述指尖位置的一侧。The device according to claim 9, wherein the palm area is a square area with a line between the base of the index finger and the base of the little finger as a side, and the center of the square area is located at the The connecting line is far away from the fingertip position.
  11. 根据权利要求10所述的装置,所述第二确定模块还包括:The device according to claim 10, the second determining module further comprises:
    区域选取单元,用于在所述手部图像中选取满足预设条件的椭圆区域,并将所述椭圆区域作为所述大拇指根部区域;其中,所述预设条件包括:所述椭圆区域的长轴的长度为所述连线的长度的(1±10%)*2/5,短轴的长度为所述连线的长度的(1±10%)*1/4,所述椭圆区域的中心位于所述正方形区域的第一边上,所述第一边为垂直于所述连线且靠近大拇指的一边。An area selection unit, configured to select an elliptical area that meets a preset condition from the hand image, and use the elliptical area as the thumb root area; wherein the preset condition includes: The length of the major axis is (1±10%)*2/5 of the length of the line, and the length of the minor axis is (1±10%)*1/4 of the length of the line, the elliptical area The center of is located on the first side of the square area, and the first side is the side perpendicular to the line and close to the thumb.
  12. 根据权利要求11所述的装置,所述椭圆区域的中心在所述第一边上的位置根据所述正方形区域的边长确定。The device according to claim 11, wherein the position of the center of the elliptical area on the first side is determined according to the side length of the square area.
  13. 根据权利要求11所述的装置,所述椭圆区域的中心的纵坐标为所述正方形区域的边长的(1±10%) *4/5。The device according to claim 11, the ordinate of the center of the elliptical area is (1±10%)*4/5 of the side length of the square area.
  14. 根据权利要求8所述的装置,所述掌纹识别模块,具体用于确定切除所述重叠部分的手掌区域的特征向量分别与预先存储的多个掌纹图像的特征向量之间的余弦相似度;根据所述余弦相似度,确定所述切除所述重叠部分的手掌区域是否识别成功。8. The device according to claim 8, wherein the palmprint recognition module is specifically configured to determine the cosine similarity between the feature vectors of the palm region where the overlapped portion is cut off and the feature vectors of multiple prestored palmprint images. ; According to the cosine similarity, it is determined whether the recognition of the palm area where the overlapping part is cut off is successful.
  15. 一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行掌纹识别方法的步骤,包括:获取待识别的手部图像;根据预先训练的卷积神经网络模型,确定所述手部图像中的手掌区域;根据所述手掌区域的特征,确定所述手部图像中的大拇指根部区域;通过将所述手掌区域和所述大拇指根部区域进行区域比对,确定所述手掌区域和所述大拇指根部区域的重叠部分;将所述重叠部分从所述手掌区域中切除;对切除所述重叠部分的手掌区域进行掌纹识别。A computer device includes a memory and a processor, and the memory stores computer readable instructions, and when the computer readable instructions are executed by the processor, the processor executes the steps of the palmprint recognition method, including : Obtain the hand image to be recognized; determine the palm area in the hand image according to the pre-trained convolutional neural network model; determine the thumb root area in the hand image according to the characteristics of the palm area By comparing the area of the palm area and the root area of the thumb to determine the overlap portion of the palm area and the root area of the thumb; cutting the overlap portion from the palm area; Palm print recognition is performed on the palm area of the overlapping part.
  16. 根据权利要求15所述的计算机设备,所述计算机可读指令被所述处理器执行时,使得所述处理器执行所述根据预先训练的卷积神经网络模型,确定所述手部图像中的手掌区域,包括:采用预先训练的卷积神经网络模型对所述手部图像进行识别,得到所述食指指根位置、所述小指指根位置和和除大拇指之外的任意一手指的指尖位置;所述卷积神经网络模型由包括若干张已标记出食指指根位置、小指指根位置和除大拇指之外的任意一手指的指尖位置的手部图像的训练数据集训练得到;根据所述食指指根位置、所述小指指根位置和所述指尖位置,确定所述手掌区域。The computer device according to claim 15, when the computer-readable instructions are executed by the processor, the processor executes the pre-trained convolutional neural network model to determine the content in the hand image The palm area includes: recognizing the hand image using a pre-trained convolutional neural network model to obtain the position of the base of the index finger, the position of the base of the little finger, and the finger of any finger except the thumb Tip position; the convolutional neural network model is trained by a training dataset that includes a number of hand images that have marked the position of the base of the index finger, the position of the base of the little finger, and the position of the tip of any finger except the thumb ; Determine the palm area according to the position of the base of the index finger, the position of the base of the little finger and the position of the fingertip.
  17. 根据权利要求16所述的计算机设备,所述计算机可读指令被所述处理器执行以实现所述方法时使得所述手掌区域是一个以所述食指指根位置和所述小指指根位置之间的连线为一条边的正方形区域,且所述正方形区域的中心位于所述连线远离所述指尖位置的一侧。The computer device according to claim 16, wherein when the computer-readable instructions are executed by the processor to implement the method, the palm area is one between the position of the base of the index finger and the base of the little finger. The connecting line is a square area with one side, and the center of the square area is located on the side of the connecting line away from the fingertip position.
  18. 一种存储有计算机可读指令的非易失性可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行掌纹识别方法的步骤,包括:获取待识别的手部图像;根据预先训练的卷积神经网络模型,确定所述手部图像中的手掌区域;根据所述手掌区域的特征,确定所述手部图像中的大拇指根部区域;通过将所述手掌区域和所述大拇指根部区域进行区域比对,确定所述手掌区域和所述大拇指根部区域的重叠部分;将所述重叠部分从所述手掌区域中切除;对切除所述重叠部分的手掌区域进行掌纹识别。A non-volatile readable storage medium storing computer readable instructions. When the computer readable instructions are executed by one or more processors, the one or more processors execute the steps of the palmprint recognition method, including : Obtain the hand image to be recognized; determine the palm area in the hand image according to the pre-trained convolutional neural network model; determine the thumb root area in the hand image according to the characteristics of the palm area By comparing the area of the palm area and the root area of the thumb to determine the overlap portion of the palm area and the root area of the thumb; cutting the overlap portion from the palm area; Palm print recognition is performed on the palm area of the overlapping part.
  19. 根据权利要求18所述的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行所述根据预先训练的卷积神经网络模型,确定所述手部图像中的手掌区域,包括:采用预先训练的卷积神经网络模型对所述手部图像进行识别,得到所述食指指根位置、所述小指指根位置和和除大拇指之外的任意一手指的指尖位置;所述卷积神经网络模型由包括若干张已标记出食指指根位置、小指指根位置和除大拇指之外的任意一手指的指尖位置的手部图像的训练数据集训练得到;根据所述食指指根位置、所述小指指根位置和所述指尖位置,确定所述手掌区域。The storage medium of claim 18, when the computer-readable instructions are executed by one or more processors, the one or more processors execute the pre-trained convolutional neural network model to determine the hand The palm area in the image includes: recognizing the hand image using a pre-trained convolutional neural network model to obtain the position of the base of the index finger, the position of the base of the little finger, and any other than the thumb The position of the fingertip of a finger; the convolutional neural network model is trained by including several hand images that have marked the position of the base of the index finger, the position of the base of the little finger, and the position of the fingertip of any finger except the thumb The data set is obtained by training; the palm area is determined according to the position of the base of the index finger, the position of the base of the little finger, and the position of the fingertip.
  20. 根据权利要求19所述的存储介质,所述计算机可读指令被所述处理器执行以实现所述方法时使得所述手掌区域是一个以所述食指指根位置和所述小指指根位置之间的连线为一条边的正方形区域,且所述正方形区域的中心位于所述连线远离所述指尖位置的一侧。The storage medium according to claim 19, when the computer-readable instructions are executed by the processor to implement the method, the palm area is one between the position of the base of the index finger and the base of the little finger. The connecting line is a square area with one side, and the center of the square area is located on the side of the connecting line away from the fingertip position.
PCT/CN2019/118424 2019-02-20 2019-11-14 Palmprint recognition method and apparatus, computer device and storage medium WO2020168759A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910127150.1 2019-02-20
CN201910127150.1A CN110008824B (en) 2019-02-20 2019-02-20 Palmprint recognition method, palmprint recognition device, palmprint recognition computer device and palmprint recognition storage medium

Publications (1)

Publication Number Publication Date
WO2020168759A1 true WO2020168759A1 (en) 2020-08-27

Family

ID=67165915

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/118424 WO2020168759A1 (en) 2019-02-20 2019-11-14 Palmprint recognition method and apparatus, computer device and storage medium

Country Status (2)

Country Link
CN (1) CN110008824B (en)
WO (1) WO2020168759A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114783010A (en) * 2022-06-22 2022-07-22 北京圣点云信息技术有限公司 Extraction method of interest region of palm print image

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110008824B (en) * 2019-02-20 2023-09-22 平安科技(深圳)有限公司 Palmprint recognition method, palmprint recognition device, palmprint recognition computer device and palmprint recognition storage medium
CN110728232A (en) * 2019-10-10 2020-01-24 清华大学深圳国际研究生院 Hand region-of-interest acquisition method and hand pattern recognition method
CN112069928B (en) * 2020-08-19 2024-02-02 山西慧虎健康科技有限公司 Lifeline and midline fitting method for extracting hand target palmprint
CN112232332B (en) * 2020-12-17 2021-04-13 四川圣点世纪科技有限公司 Non-contact palm detection method based on video sequence
CN113705344A (en) * 2021-07-21 2021-11-26 西安交通大学 Palm print recognition method and device based on full palm, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130011022A1 (en) * 2011-07-08 2013-01-10 I Shou University Method and Computer Program Product for Extracting Feature Vectors from a Palm Image
CN104573615A (en) * 2013-10-24 2015-04-29 华为技术有限公司 Palm print acquisition method and device
CN108537203A (en) * 2018-04-22 2018-09-14 广州麦仑信息科技有限公司 A kind of palm key independent positioning method based on convolutional neural networks
CN110008824A (en) * 2019-02-20 2019-07-12 平安科技(深圳)有限公司 Palm grain identification method, device, computer equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2944602B2 (en) * 1998-01-14 1999-09-06 警察庁長官 Palm print impression registration / collation method and apparatus
CN102163282B (en) * 2011-05-05 2013-02-20 汉王科技股份有限公司 Method and device for acquiring interested area in palm print image
CN103198304B (en) * 2013-04-19 2017-03-08 吉林大学 A kind of palmmprint extracts recognition methods
CN107016323A (en) * 2016-01-28 2017-08-04 厦门中控生物识别信息技术有限公司 A kind of localization method and device of palm area-of-interest
CN109145791A (en) * 2018-08-09 2019-01-04 深圳大学 One kind being based on the contactless fingers and palms recognition methods in mobile terminal and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130011022A1 (en) * 2011-07-08 2013-01-10 I Shou University Method and Computer Program Product for Extracting Feature Vectors from a Palm Image
CN104573615A (en) * 2013-10-24 2015-04-29 华为技术有限公司 Palm print acquisition method and device
CN108537203A (en) * 2018-04-22 2018-09-14 广州麦仑信息科技有限公司 A kind of palm key independent positioning method based on convolutional neural networks
CN110008824A (en) * 2019-02-20 2019-07-12 平安科技(深圳)有限公司 Palm grain identification method, device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LIU, DIAN: "Research on Contactless Palmprint Image Enhancement and Image Recognition Algorithm", CHINESE MASTER’S THESES FULL-TEXT DATABASE, ELECTRONIC TECHNOLOGY & INFORMATION SCIENCE, no. 06, 15 June 2017 (2017-06-15), DOI: 20200212092823A *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114783010A (en) * 2022-06-22 2022-07-22 北京圣点云信息技术有限公司 Extraction method of interest region of palm print image
CN114783010B (en) * 2022-06-22 2022-09-30 北京圣点云信息技术有限公司 Extraction method of interest region of palm print image

Also Published As

Publication number Publication date
CN110008824A (en) 2019-07-12
CN110008824B (en) 2023-09-22

Similar Documents

Publication Publication Date Title
WO2020168759A1 (en) Palmprint recognition method and apparatus, computer device and storage medium
US8699763B2 (en) Biometric information processing device, biometric information processing method and computer-readable storage medium storing a biometric information processing program
US11188734B2 (en) Systems and methods for performing fingerprint based user authentication using imagery captured using mobile devices
US9298996B2 (en) Biometric authentication device and method
CN109829368B (en) Palm feature recognition method and device, computer equipment and storage medium
US11017210B2 (en) Image processing apparatus and method
US9418274B2 (en) Biometric authentication technique utilizing image data of both hands
WO2020253062A1 (en) Method and apparatus for detecting image border
KR20190094352A (en) System and method for performing fingerprint based user authentication using a captured image using a mobile device
JP2017533516A (en) Fingerprint authentication using stitching and cutting
US9070025B2 (en) Biometric information processing apparatus, biometric information processing method
US10740589B2 (en) Skin information processing method, skin information processing device, and non-transitory computer-readable medium
US10430678B2 (en) Biometric information processing device, biometric information processing method and non-transitory computer-readable recording medium
TWI437501B (en) Identity verification apparatus and method thereof based on biometric features
US20180089519A1 (en) Multi-modal user authentication
US10740590B2 (en) Skin information processing method, skin information processing device, and non-transitory computer-readable medium
CN110008825A (en) Palm grain identification method, device, computer equipment and storage medium
US10635799B2 (en) Biometric authentication apparatus, biometric authentication method, and non-transitory computer-readable storage medium for storing program for biometric authentication
JP2017126168A (en) Biometric authentication apparatus, biometric authentication method, and biometric authentication program
CN111222367A (en) Fingerprint identification method and device, storage medium and terminal
JP2005275605A (en) Personal identification device and method
Jhinn et al. Preliminary work on rotation-invariant algorithms for contactless palm vein biometrics
Mishra et al. Anchors Based Method for Fingertips Position Estimation from a Monocular RGB Image using Deep Neural Network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19916231

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS (EPO FORM 1205A DATED 12.10.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19916231

Country of ref document: EP

Kind code of ref document: A1