CN111898455B - Vein image matching method and device - Google Patents
Vein image matching method and device Download PDFInfo
- Publication number
- CN111898455B CN111898455B CN202010633396.9A CN202010633396A CN111898455B CN 111898455 B CN111898455 B CN 111898455B CN 202010633396 A CN202010633396 A CN 202010633396A CN 111898455 B CN111898455 B CN 111898455B
- Authority
- CN
- China
- Prior art keywords
- vein image
- vein
- angle
- matching
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 210000003462 vein Anatomy 0.000 title claims abstract description 567
- 238000000034 method Methods 0.000 title claims abstract description 83
- 230000015654 memory Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 abstract description 29
- 238000010586 diagram Methods 0.000 description 12
- 230000005540 biological transmission Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 230000009191 jumping Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000035515 penetration Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000013598 vector Substances 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/14—Vascular patterns
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Bioinformatics & Computational Biology (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
- Collating Specific Patterns (AREA)
Abstract
The application relates to a matching method and a device of vein images, wherein the method comprises the following steps: matching the first vein image with a target vein image to obtain a first vein feature matching result, wherein the first vein image is a vein image of an object to be verified, which is acquired at a first angle, and the target vein image is a pre-stored vein image of the target object; under the condition that the first vein feature matching result is used for indicating that the first vein image is inconsistent with the target vein image in matching, matching a second vein image with the target vein image to obtain a second vein feature matching result, wherein the second vein image is a vein image of the object to be verified, which is obtained by acquiring the second vein image at a second angle, and the second angle is obtained by rotating from the first angle; and determining whether the target object comprises an object to be verified or not according to the second vein feature matching result. The method and the device solve the technical problem that the probability of misidentification is higher in the process of carrying out vein identification on the image.
Description
Technical Field
The present application relates to the field of computers, and in particular, to a method and an apparatus for matching vein images.
Background
In the biometric identification technology, the current vein identification mode is to obtain vein line images by using infrared penetration and store the vein line images in a data form, and then to compare and verify the current collected data with the stored data during subsequent verification. However, in this method, the quality of the captured image is often affected by the position deviation between the recognition device and the object, so that the correct vein fingerprint is misjudged or misjudged, and the probability of the misrecognition in the vein recognition process is very high.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The application provides a vein image matching method and device, which are used for at least solving the technical problem that in the related art, the probability of misidentification is high in the process of carrying out vein identification on an image.
According to an aspect of the embodiments of the present application, there is provided a vein image matching method, including:
matching the first vein image with a target vein image to obtain a first vein feature matching result, wherein the first vein image is a vein image of an object to be verified, which is acquired at a first angle, and the target vein image is a pre-stored vein image of the target object;
under the condition that the first vein feature matching result is used for indicating that the first vein image is not matched with the target vein image, matching a second vein image with the target vein image to obtain a second vein feature matching result, wherein the second vein image is a vein image of the object to be verified, which is obtained by obtaining a second angle, and the second angle is obtained by rotating from the first angle;
and determining whether the target object comprises the object to be verified according to the second vein feature matching result.
Optionally, matching the second vein image with the target vein image to obtain a second vein feature matching result includes:
matching the second vein image with the target vein image to obtain a first matching degree;
determining that the second vein feature matching result is used for indicating that the second vein image is matched with the target vein image in a consistent manner when the first matching degree reaches a first threshold value;
determining that the second vein feature matching result is used for indicating that the second vein image is not matched with the target vein image in a consistent manner under the condition that the first matching degree does not reach the first threshold value.
Optionally, matching the second vein image with the target vein image to obtain a first matching degree includes:
rotating a first degree number along a first direction by taking the first angle as a starting point to obtain an initial first current angle, and repeatedly executing the following steps until the first matching degree is obtained:
acquiring a first current vein image of the object to be verified from the first current angle;
matching the first current vein image with the target vein image to obtain a first current matching degree;
determining the first current matching degree as the first matching degree when the first current matching degree reaches the first threshold value, or the first current matching degree does not reach the first threshold value but the degree difference value between the first current angle and the first angle reaches a second degree;
and under the condition that the first current matching degree does not reach the first threshold value and the degree difference value between the first current angle and the first angle does not reach the second degree, rotating the first degree along the first direction by taking the first current angle as a starting point to obtain the next first current angle.
Optionally, the rotating the first number of degrees in the first direction by taking the first current angle as a starting point to obtain a next first current angle includes:
determining whether the first current matching degree is greater than a last first current matching degree;
when the first current matching degree is not larger than the last first current matching degree, determining the first current matching degree as the first matching degree, or rotating along a second direction by taking the first angle as a starting point to obtain the first matching degree, wherein the second direction is opposite to the first direction;
and under the condition that the first current matching degree is greater than the last first current matching degree, rotating the first degree number along the first direction by taking the first current angle as a starting point to obtain the next first current angle.
Optionally, the obtaining the first matching degree by rotating in the second direction with the first angle as a starting point includes:
rotating a third degree along the second direction by taking the first angle as a starting point to obtain an initial second current angle, and repeatedly executing the following steps until the first matching degree is obtained:
acquiring a second current vein image of the object to be verified from the second current angle;
matching the second current vein image with the target vein image to obtain a second current matching degree;
determining the second current matching degree as the first matching degree when the second current matching degree reaches the first threshold value, or the second current matching degree does not reach the first threshold value but the degree difference value between the second current angle and the first angle reaches a fourth degree;
determining whether the second current matching degree is greater than a last second current matching degree or not under the condition that the second current matching degree does not reach the first threshold value and the degree difference value between the second current angle and the first angle does not reach the fourth degree;
determining the second current matching degree as the first matching degree under the condition that the second current matching degree is not larger than the last second current matching degree;
and under the condition that the second current matching degree is greater than the last second current matching degree, rotating the second degree number along the second direction by taking the second current angle as a starting point to obtain a next second current angle.
Optionally, matching the first vein image with the target vein image to obtain a first vein feature matching result includes:
identifying a first vein feature of the first vein image;
and matching the first vein feature with a pre-stored target vein feature to obtain a first vein feature matching result, wherein the target vein feature is identified from the target vein image.
Optionally, before matching the first vein feature with a target vein feature of the target vein image, the method further comprises:
acquiring the target vein image of the target object at a first angle;
identifying the target vein features corresponding to the target vein images;
storing the target object and the target vein feature with corresponding relation.
Optionally, determining whether the target object includes the object to be verified according to the second vein feature matching result includes:
determining that the target object comprises the object to be verified under the condition that the second vein feature matching result is used for indicating that the second vein image is matched with the target vein image in a consistent manner;
and determining that the target object does not comprise the object to be verified under the condition that the second vein feature matching result is used for indicating that the second vein image is not matched with the target vein image in a consistent manner.
Optionally, after matching the first vein image with the target vein image to obtain a first vein feature matching result, the method further includes:
under the condition that the matching degree between the first vein image and the target vein image does not reach a second threshold value, determining that the target object does not comprise the object to be verified;
determining that the target object comprises the object to be verified under the condition that the matching degree between the first vein image and the target vein image reaches a third threshold value;
determining that the first vein feature matching result is used for indicating that the first vein image is not matched with the target vein image if the matching degree between the first vein image and the target vein image falls between the second threshold and the third threshold.
According to another aspect of the embodiments of the present application, there is also provided a matching apparatus for vein images, including:
the vein authentication device comprises a first matching module, a second matching module and a third matching module, wherein the first matching module is used for matching a first vein image with a target vein image to obtain a first vein feature matching result, the first vein image is a vein image of an object to be authenticated, the vein image is acquired at a first angle, and the target vein image is a pre-stored vein image of the target object;
a second matching module, configured to, when the first vein feature matching result is used to indicate that the first vein image and the target vein image are not matched in a consistent manner, match a second vein image with the target vein image to obtain a second vein feature matching result, where the second vein image is a vein image of the object to be authenticated, which is obtained at a second angle, and the second angle is obtained by rotating from the first angle;
and the determining module is used for determining whether the target object comprises the object to be verified according to the second vein feature matching result.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program which, when executed, performs the above-described method.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method described above through the computer program.
In the embodiment of the application, a first vein image is matched with a target vein image to obtain a first vein feature matching result, wherein the first vein image is a vein image of an object to be verified, which is acquired at a first angle, and the target vein image is a pre-stored vein image of the target object; under the condition that the first vein feature matching result is used for indicating that the first vein image is not matched with the target vein image, matching a second vein image with the target vein image to obtain a second vein feature matching result, wherein the second vein image is a vein image of the object to be verified, which is obtained by obtaining the second vein image at a second angle, and the second angle is obtained by rotating from the first angle; and determining whether the target object comprises an object to be verified according to the second vein feature matching result. In the vein image matching process, if the first vein image of the to-be-verified object acquired at the first angle is inconsistent with the matched target vein image, the to-be-verified object is rotated to the second angle to acquire the second vein image, the second vein image is matched with the target vein image to acquire a new matching result, whether the target object corresponding to the target vein image comprises the to-be-verified object or not is determined by using the new matching result, different vein images are acquired through the rotation angle to be matched, the influence on the identification result due to the fact that the vein image quality does not meet the identification requirement due to the deviation between the identification angle and the placement angle of the to-be-detected object is avoided, the possibility of misjudgment and misjudgment is effectively reduced, the technical effect of reducing the probability of misidentification in the vein identification process of the image is achieved, and the technical problem that the probability of misidentification in the vein identification process of the image is high in the related technology is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive labor.
Fig. 1 is a schematic diagram of a hardware environment of a matching method of vein images according to an embodiment of the present application;
FIG. 2 is a flow chart of an alternative vein image matching method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an alternative vein image acquisition device according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an alternative vein feature matching process according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a method for finger vein identification according to an alternative embodiment of the present application;
FIG. 6 is a schematic diagram of an alternative vein image matching apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of embodiments of the present application, an embodiment of a method of matching of vein images is provided.
Alternatively, in the present embodiment, the matching method of the vein image described above may be applied to a hardware environment constituted by the terminal 101 and the server 103 as shown in fig. 1. As shown in fig. 1, a server 103 is connected to a terminal 101 through a network, which may be used to provide services (such as game services, application services, etc.) for the terminal or a client installed on the terminal, and a database may be provided on the server or separately from the server for providing data storage services for the server 103, and the network includes but is not limited to: the terminal 101 is not limited to a PC, a mobile phone, a tablet computer, and the like. The matching method of the vein image according to the embodiment of the present application may be executed by the server 103, the terminal 101, or both the server 103 and the terminal 101. The terminal 101 may perform the matching method of the vein image according to the embodiment of the present application by a client installed thereon.
Fig. 2 is a flowchart of an alternative vein image matching method according to an embodiment of the present application, and as shown in fig. 2, the method may include the following steps:
step S202, a first vein image is matched with a target vein image to obtain a first vein feature matching result, wherein the first vein image is a vein image of an object to be verified, which is acquired at a first angle, and the target vein image is a pre-stored vein image of the target object;
step S204, under the condition that the first vein feature matching result is used for indicating that the first vein image is not matched with the target vein image, matching a second vein image with the target vein image to obtain a second vein feature matching result, wherein the second vein image is the vein image of the object to be verified, which is obtained by obtaining the second vein image at a second angle, and the second angle is obtained by rotating from the first angle;
step S206, determining whether the target object comprises the object to be verified according to the second vein feature matching result;
through the steps S202 to S206, in the process of matching the vein images, if the first vein image of the object to be verified acquired at the first angle is not matched with the matched target vein image, the second vein image is acquired by rotating to the second angle, the second vein image is matched with the target vein image to obtain a new matching result, whether the target object corresponding to the target vein image includes the object to be verified is determined by using the new matching result, and different vein images are acquired through the rotation angle for matching, so that the influence on the recognition result due to the fact that the vein image quality does not meet the recognition requirement due to the deviation between the recognition angle and the placement angle of the object to be verified is avoided, the possibility of erroneous judgment and erroneous judgment is effectively reduced, the technical effect of reducing the probability of erroneous recognition in the process of performing vein recognition on the image is realized, and the technical problem of high probability of erroneous recognition in the process of performing vein recognition on the image in the related art is solved.
In the technical solution provided in step S202, the object to be verified and the target object may include but are not limited to a person, an animal, and the like, which can acquire the vein image.
Alternatively, in the present embodiment, the above-described target vein image and the vein image of the subject to be authenticated may be not limited to include only a finger vein image, a palm vein image, a face vein image, a leg vein image, and the like.
Optionally, in this embodiment, the first vein feature matching result may be, but is not limited to, used to indicate whether the first vein image matches the target vein image.
Alternatively, in the present embodiment, the target vein image may be, but is not limited to, a vein image of a target object that is acquired and stored in advance.
Alternatively, in the present embodiment, the target vein image may be stored in, but not limited to, FLASH (FLASH memory).
Optionally, in this embodiment, the first angle may be, but is not limited to, an initial angle for acquiring a vein image of the object to be authenticated, which may be an angle of a lens of the acquisition device with respect to the object to be authenticated, such as: the first angle may be, but is not limited to, an angle at which a central axis of a lens of the capturing apparatus is perpendicular to the object to be detected. Fig. 3 is a schematic diagram of an optional vein image acquisition device according to an embodiment of the present application, and as shown in fig. 3, the vein image acquisition device may include, but is not limited to, a step motor and a camera, and the step motor is controlled to control rotation of the camera, so that an angle between a central axis of a lens of the camera and an object to be detected may be taken as a first angle.
In the technical solution provided in step S204, if the first vein image and the target vein image are not matched in a consistent manner, the second vein image obtained from the second angle is used to match the target vein image again, so as to obtain a second vein feature matching result. The second vein feature matching result is a matching result that can determine whether the object to be authenticated is in the target object.
Optionally, in this embodiment, the second angle is obtained by rotating from the first angle, and the process of rotating may be, but is not limited to, one or more times, that is, vein image matching may be performed multiple times through multiple rotation angles until a matching result is obtained that can determine whether the object to be verified is in the target object.
Optionally, in this embodiment, the angle of each rotation may be, but is not limited to, a fixed degree (e.g., 5 °,7 °,10 °, etc.), or may also be, but is not limited to, a different degree, and the different degree may be changed according to a preset rule (e.g., first adjusting 10 °, then decreasing by 1 ° each time, etc.), or may also be a degree adaptively adjusted according to a last matching result.
Alternatively, in this embodiment, in the process of performing vein image matching through multiple rotations, the display quality of the vein image may also be improved by adjusting the illumination angle (the intensity of infrared rays illuminating the vein).
In the technical solution provided in step S206, it may be determined, but not limited to, that the target object includes the object to be verified according to the second vein feature matching result, or that the target object does not include the object to be verified.
As an alternative embodiment, matching the second vein image with the target vein image to obtain the second vein feature matching result includes:
s11, matching the second vein image with the target vein image to obtain a first matching degree;
s12, determining that the second vein feature matching result is used for indicating that the second vein image is matched with the target vein image in a consistent manner under the condition that the first matching degree reaches a first threshold value;
s13, under the condition that the first matching degree does not reach the first threshold value, determining that the second vein feature matching result is used for indicating that the second vein image is inconsistent with the target vein image in matching.
Alternatively, in the present embodiment, it may be determined, but is not limited to, whether the second vein feature matching result is used to indicate that the second vein image matches the target vein image according to a relationship between the first matching degree between the second vein image and the target vein image and the first threshold.
Optionally, in this embodiment, the first threshold may be, but is not limited to, a matching degree that can determine that the second vein image matches the target vein image. The first threshold may be set according to requirements, such as: the first threshold may be, but is not limited to, set at 100%,98%,95%,85%, etc.
As an alternative embodiment, matching the second vein image with the target vein image to obtain a first matching degree includes:
s21, rotating a first degree along a first direction by taking the first angle as a starting point to obtain an initial first current angle, and repeatedly executing the following steps until the first matching degree is obtained:
s211, acquiring a first current vein image of the object to be verified from the first current angle;
s212, matching the first current vein image with the target vein image to obtain a first current matching degree;
s213, determining the first current matching degree as the first matching degree when the first current matching degree reaches the first threshold, or when the first current matching degree does not reach the first threshold but a degree difference between the first current angle and the first angle reaches a second degree;
s214, under the condition that the first current matching degree does not reach the first threshold value and the degree difference value between the first current angle and the first angle does not reach the second degree, the first current angle is used as a starting point to rotate the first degree along the first direction to obtain the next first current angle.
Optionally, in this embodiment, the first direction may be, but is not limited to, a direction along a vein of the target object.
Optionally, in this embodiment, the first degree may be, but is not limited to, a fixed degree (for example, 5 °,7 °,10 °, etc.), and may also be, but is not limited to, a different degree per rotation.
Optionally, in this embodiment, the second degree may be, but is not limited to, a set maximum degree of rotation, and when the total angle of rotation reaches the second degree, the currently obtained matching degree is considered as the first matching degree that allows the loop to jump out of the loop process. The second degree may be, but is not limited to, set according to the requirement, for example, the second degree may be, but is not limited to, 45 °, and so on.
Optionally, in this embodiment, rotation of the acquisition angle and matching of the acquired image are performed multiple times through a loop process, and a first matching degree used for determining information indicated by the second vein feature matching result is obtained until the matching result or the rotation angle meets a condition of jumping out of the loop process.
As an alternative embodiment, the step of rotating the first number of degrees in the first direction by taking the first current angle as a starting point to obtain a next first current angle includes:
s31, determining whether the first current matching degree is greater than the last first current matching degree;
s32, determining the first current matching degree as the first matching degree under the condition that the first current matching degree is not larger than the last first current matching degree, or rotating along a second direction by taking the first angle as a starting point to obtain the first matching degree, wherein the second direction is opposite to the first direction;
and S33, under the condition that the first current matching degree is greater than the last first current matching degree, rotating the first degree number along the first direction by taking the first current angle as a starting point to obtain the next first current angle.
Alternatively, in the present embodiment, if the degree of matching is not increased but decreased in the course of the angular rotation, the process of rotating in the first direction may be stopped and the rotation in the second direction opposite to the first direction may be stopped.
As an alternative embodiment, the obtaining the first matching degree by rotating in the second direction with the first angle as a starting point includes:
s41, rotating a third degree along the second direction by taking the first angle as a starting point to obtain an initial second current angle, and repeatedly executing the following steps until the first matching degree is obtained:
s411, acquiring a second current vein image of the object to be verified from the second current angle;
s412, matching the second current vein image with the target vein image to obtain a second current matching degree;
s413, when the second current matching degree reaches the first threshold, or when the second current matching degree does not reach the first threshold but a degree difference between the second current angle and the first angle reaches a fourth degree, determining the second current matching degree as the first matching degree;
s414, determining whether the second current matching degree is greater than a previous second current matching degree when the second current matching degree does not reach the first threshold and a degree difference between the second current angle and the first angle does not reach the fourth degree;
s415, determining the second current matching degree as the first matching degree when the second current matching degree is not greater than a previous second current matching degree;
and S416, under the condition that the second current matching degree is greater than the last second current matching degree, rotating the second degree number along the second direction by taking the second current angle as a starting point to obtain a next second current angle.
Optionally, in this embodiment, during the rotation in the second direction, the rotation may be, but is not limited to, performed every time according to a third degree, and the third degree may be, but is not limited to, a preset angle, such as: the third degree may be, but is not limited to, 5 °,7 °, and so forth. The third degree may be the same as or different from the first degree.
Alternatively, in this embodiment, the second degree may be, but is not limited to, a set maximum degree of rotation in the opposite direction, and when the total angle of rotation in the second direction reaches the second degree, the currently obtained matching degree is considered as the first matching degree that allows the loop to jump out. The second degree may be, but is not limited to, set according to the requirement, for example, the second degree may be, but is not limited to, 45 °, and so on. The fourth degree may be the same as or different from the second degree.
Optionally, in this embodiment, in the process of rotationally acquiring the vein image along the second direction, the vein image may be matched for multiple times until the first matching degree for determining the information indicated by the second vein feature matching result is obtained after the matching result or the rotation angle satisfies the condition of jumping out of the loop process.
As an alternative embodiment, matching the first vein image with the target vein image to obtain the first vein feature matching result includes:
s51, identifying a first vein feature of the first vein image;
and S52, matching the first vein feature with a pre-stored target vein feature to obtain a first vein feature matching result, wherein the target vein feature is identified from the target vein image.
Alternatively, in the present embodiment, the matching process between the vein images may be, but is not limited to, implemented by matching the vein features extracted from the vein images. The first vein feature of the identified first vein image may be, but is not limited to being, stored in binary form. Fig. 4 is a schematic diagram of an alternative matching process of vein features according to an embodiment of the present application, and as shown in fig. 4, the matching process of the target vein image feature value (i.e., the entry value) and the vein feature (i.e., the matching value) of the vein image of the object to be authenticated is implemented by comparing binary data of the two.
As an alternative embodiment, before matching the first vein feature with the target vein feature of the target vein image, the method further includes:
s61, acquiring the target vein image of the target object at a first angle;
s62, identifying the target vein features corresponding to the target vein image;
s63, storing the target object and the target vein feature with the corresponding relation.
Alternatively, in the present embodiment, the target vein feature may be, but is not limited to, identified in advance from the target vein image of the target object, and the target object is represented by the target vein feature. The stored target vein features may be, but are not limited to, feature vectors, or binary data of the target vein features, or the like.
As an alternative embodiment, determining whether the target object includes the object to be verified according to the second vein feature matching result includes:
s71, determining that the target object comprises the object to be verified under the condition that the second vein feature matching result is used for indicating that the second vein image is matched with the target vein image;
s72, determining that the target object does not comprise the object to be verified under the condition that the second vein feature matching result is used for indicating that the second vein image is not matched with the target vein image in a consistent manner.
Optionally, in this embodiment, it may be, but is not limited to, determined that the target object includes the object to be verified according to the second vein feature matching result, or that the target object does not include the object to be verified. And if the second vein feature matching result is used for indicating that the second vein image is matched with the target vein image in a consistent manner, determining that the target object comprises the object to be verified. And if the second vein feature matching result is used for indicating that the second vein image is not matched with the target vein image in a consistent manner, determining that the target object does not comprise the object to be verified.
As an alternative embodiment, after matching the first vein image with the target vein image to obtain a first vein feature matching result, the method further includes:
s81, under the condition that the matching degree between the first vein image and the target vein image does not reach a second threshold value, determining that the target object does not comprise the object to be verified;
s82, determining that the target object comprises the object to be verified under the condition that the matching degree between the first vein image and the target vein image reaches a third threshold value;
s83, when the matching degree between the first vein image and the target vein image falls between the second threshold and the third threshold, determining that the first vein feature matching result is used for indicating that the first vein image and the target vein image are not matched in a consistent manner.
Optionally, in this embodiment, the second threshold and the third threshold are preset values used to determine a matching relationship between the object to be verified and the target object, the second threshold may be, but is not limited to, 40%, 50%, and the like, and the third threshold may be, but is not limited to, 80%, 90%, and the like. And if the matching degree between the first vein image and the target vein image does not reach a second threshold value, directly determining that the target object does not comprise the object to be verified. And if the matching degree between the first vein image and the target vein image reaches a third threshold value, directly determining that the target object comprises the object to be verified. And if the matching degree between the first vein image and the target vein image falls between the second threshold and the third threshold, matching the vein images again until whether the target object comprises the object to be verified can be determined.
The application also provides an optional embodiment, which provides a finger vein recognition method for automatically adjusting the camera based on finger vein recognition. Fig. 5 is a schematic diagram of a finger vein recognition method according to an alternative embodiment of the present application, as shown in fig. 5, the method comprising the steps of:
step S502, the camera acquires a target finger vein image of a target finger, identifies a characteristic value of the target finger vein image in a binary data form, and stores the identified characteristic value in FLASH.
In this alternative embodiment, the initial and each acquisition completed camera position defaults back to a direction perpendicular to the finger placement position.
Step S504, the camera acquires a finger vein image of a finger to be verified, identifies a characteristic value of the finger vein image to be verified in a binary data form, and matches the characteristic value with a target finger vein image stored in the FLASH to obtain a matching result.
In this alternative embodiment, the method for identifying the finger vein image feature value to be verified may be, but is not limited to, the way of IC processing.
Step S506, comparing the matching result with a set threshold, and judging that the identification is successful when the matching result reaches 100% of a set third threshold; when the matching result is less than 50% of the set second threshold, the identification failure can be judged; if the matching result is greater than or equal to 50% and less than 100%, it is determined that the current finger vein image to be verified may belong to the target finger, and step S508 may be executed.
Step S508, using a default starting position (which may be a position where a central axis of the camera is perpendicular to a finger plane) of the camera as a starting point, controlling the camera to rotate in one direction along the finger by using the stepping motor, where the rotation angle is a last angle (a) for obtaining the finger vein image n ) Adding 5 degrees to obtain a first current vein image of the finger to be verified, and obtaining an included angle (namely A) between the position of the rotated camera and the initial position n+1 -A1) is greater than 45 °, a match is determined to be failed,when the included angle between the position of the rotated camera and the initial position is smaller than or equal to 45 degrees, matching the first current vein image with the target vein image to obtain a first current matching degree S n+1 。
Step S510, determining a first current matching degree S n+1 And whether the recognition rate reaches 100% or not, and if the recognition rate reaches 100%, determining that the recognition is successful. If not, the first current matching degree S is judged n+1 Comparing with the matching degree (Sn) obtained by the last matching, and if the first current matching degree S n+1 If the matching degree is greater than or equal to the matching degree obtained by the last matching, the step S508 is repeatedly executed, otherwise, the step S512 is executed.
In step S512, the camera rotates from the default starting position to the other direction along the finger, and the rotation angle is increased by 5 ° every time (i.e. A1-5n = a) n-1 ) When the camera is rotated, the included angle between the position of the camera and the initial position (namely A) n-1 -A1) is greater than 45 °, the match is judged to be failed. When the included angle between the position of the rotated camera and the initial position is less than or equal to 45 degrees, matching a second current vein image acquired from the angle with a target vein image to obtain a second current matching degree S n-1 。
Step S514, determining a second current matching degree S n-1 And whether the recognition rate reaches 100% or not, and if the recognition rate reaches 100%, determining that the recognition is successful. If not, the second current matching degree S is judged n-1 Comparing with the matching degree (Sn) obtained by the last matching, and if the second current matching degree S n-1 If the matching degree is greater than or equal to the matching degree obtained by the last matching, the step S512 is repeatedly executed, otherwise, the identification is determined to be failed.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
According to another aspect of the embodiments of the present application, there is also provided a vein image matching apparatus for implementing the vein image matching method. Fig. 6 is a schematic diagram of an alternative vein image matching apparatus according to an embodiment of the present application, and as shown in fig. 6, the apparatus may include:
the first matching module 62 is configured to match a first vein image with a target vein image to obtain a first vein feature matching result, where the first vein image is a vein image of an object to be verified acquired at a first angle, and the target vein image is a pre-stored vein image of the target object;
a second matching module 64, configured to, when the first vein feature matching result is used to indicate that the first vein image and the target vein image are not matched in a consistent manner, match a second vein image with the target vein image to obtain a second vein feature matching result, where the second vein image is a vein image of the object to be authenticated, which is obtained at a second angle, and the second angle is obtained by rotating from the first angle;
a first determining module 66, configured to determine whether the target object includes the object to be verified according to the second vein feature matching result.
It should be noted that the first matching module 62 in this embodiment may be configured to execute step S202 in this embodiment, the second matching module 64 in this embodiment may be configured to execute step S204 in this embodiment, and the determining module 66 in this embodiment may be configured to execute step S206 in this embodiment.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules described above as a part of the apparatus may operate in a hardware environment as shown in fig. 1, and may be implemented by software or hardware.
Through the module, in the process of vein image matching, if the first vein image of the to-be-verified object acquired at the first angle is not matched with the matched target vein image, the to-be-verified object is rotated to the second angle to acquire the second vein image, the second vein image is matched with the target vein image to acquire a new matching result, whether the target object corresponding to the target vein image comprises the to-be-verified object is determined by using the new matching result, different vein images are acquired through the rotation angle for matching, the influence on the identification result due to the fact that the vein image quality does not meet the identification requirement due to the deviation of the identification angle and the placement angle of the to-be-verified object is avoided, the possibility of misjudgment and misjudgment is effectively reduced, the technical effect of reducing the probability of misidentification in the process of vein identification on the image is achieved, and the technical problem that the probability of misidentification in the process of vein identification on the image in the related technology is high is solved.
As an alternative embodiment, the second matching module comprises:
the first matching unit is used for matching the second vein image with the target vein image to obtain a first matching degree;
a first determining unit, configured to determine that the second vein feature matching result is used to indicate that the second vein image matches the target vein image consistently, if the first matching degree reaches a first threshold;
a second determining unit, configured to determine that the second vein feature matching result is used to indicate that the second vein image and the target vein image are not matched in a consistent manner if the first matching degree does not reach the first threshold.
As an alternative embodiment, the first matching unit is configured to:
rotating a first degree number along a first direction by taking the first angle as a starting point to obtain an initial first current angle, and repeatedly executing the following steps until the first matching degree is obtained:
acquiring a first current vein image of the object to be verified from the first current angle;
matching the first current vein image with the target vein image to obtain a first current matching degree;
determining the first current matching degree as the first matching degree when the first current matching degree reaches the first threshold value, or the first current matching degree does not reach the first threshold value but the degree difference value between the first current angle and the first angle reaches a second degree;
and under the condition that the first current matching degree does not reach the first threshold value and the degree difference value between the first current angle and the first angle does not reach the second degree, rotating the first degree along the first direction by taking the first current angle as a starting point to obtain the next first current angle.
As an alternative embodiment, the first matching unit is configured to:
determining whether the first current matching degree is greater than a last first current matching degree;
when the first current matching degree is not larger than the last first current matching degree, determining the first current matching degree as the first matching degree, or rotating along a second direction by taking the first angle as a starting point to obtain the first matching degree, wherein the second direction is opposite to the first direction;
and under the condition that the first current matching degree is greater than the last first current matching degree, rotating the first degree number along the first direction by taking the first current angle as a starting point to obtain the next first current angle.
As an alternative embodiment, the first matching unit is configured to:
rotating a third degree along the second direction by taking the first angle as a starting point to obtain an initial second current angle, and repeatedly executing the following steps until the first matching degree is obtained:
acquiring a second current vein image of the object to be verified from the second current angle;
matching the second current vein image with the target vein image to obtain a second current matching degree;
when the second current matching degree reaches the first threshold value, or the second current matching degree does not reach the first threshold value but the degree difference value between the second current angle and the first angle reaches a fourth degree, determining the second current matching degree as the first matching degree;
determining whether the second current matching degree is greater than a last second current matching degree or not under the condition that the second current matching degree does not reach the first threshold value and the degree difference value between the second current angle and the first angle does not reach the fourth degree;
determining the second current matching degree as the first matching degree under the condition that the second current matching degree is not larger than the last second current matching degree;
and under the condition that the second current matching degree is greater than the last second current matching degree, rotating the second degree number along the second direction by taking the second current angle as a starting point to obtain a next second current angle.
As an alternative embodiment, the first matching module comprises:
an identification unit for identifying a first vein feature of the first vein image;
and the second matching unit is used for matching the first vein feature with a pre-stored target vein feature to obtain a first vein feature matching result, wherein the target vein feature is identified from the target vein image.
As an alternative embodiment, the apparatus further comprises:
an acquisition module to acquire the target vein image of the target subject at a first angle prior to matching the first vein feature with a target vein feature of the target vein image;
the identification module is used for identifying the target vein features corresponding to the target vein images;
and the storage module is used for storing the target object and the target vein characteristics with the corresponding relation.
As an alternative embodiment, the determining module includes:
a third determining unit, configured to determine that the target object includes the object to be verified, if the second vein feature matching result indicates that the second vein image matches the target vein image;
a fourth determining unit, configured to determine that the target object does not include the object to be verified if the second vein feature matching result indicates that the second vein image and the target vein image are not matched in a consistent manner.
As an alternative embodiment, the apparatus further comprises:
the second determining module is used for determining that the target object does not comprise the object to be verified under the condition that the matching degree between the first vein image and the target vein image does not reach a second threshold value after the first vein image and the target vein image are matched to obtain a first vein feature matching result;
a third determining module, configured to determine that the target object includes the object to be verified when a matching degree between the first vein image and the target vein image reaches a third threshold;
a fourth determining module, configured to determine that the first vein feature matching result is used to indicate that the first vein image and the target vein image are not matched consistently if the matching degree between the first vein image and the target vein image falls between the second threshold and the third threshold.
It should be noted that the modules described above are the same as examples and application scenarios realized by corresponding steps, but are not limited to what is disclosed in the foregoing embodiments. It should be noted that the modules described above as a part of the apparatus may be operated in a hardware environment as shown in fig. 1, and may be implemented by software, or may be implemented by hardware, where the hardware environment includes a network environment.
According to another aspect of the embodiment of the present application, there is also provided a server or a terminal for implementing the matching method of vein images.
Fig. 7 is a block diagram of a terminal according to an embodiment of the present application, where as shown in fig. 7, the terminal may include: one or more processors 701 (only one of which is shown), a memory 703, and a transmission means 705. As shown in fig. 7, the terminal may further include an input/output device 707.
The memory 703 may be used to store software programs and modules, such as program instructions/modules corresponding to the vein image matching method and apparatus in the embodiment of the present application, and the processor 701 executes various functional applications and data processing by running the software programs and modules stored in the memory 703, that is, implements the vein image matching method described above. The memory 703 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory 703 may further include memory located remotely from the processor 701, which may be connected to the terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 705 is used for receiving or transmitting data via a network, and may also be used for data transmission between a processor and a memory. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 705 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device 705 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The memory 703 is used, among other things, for storing application programs.
The processor 701 may call the application program stored in the memory 703 through the transmission means 705 to perform the following steps:
matching the first vein image with a target vein image to obtain a first vein feature matching result, wherein the first vein image is a vein image of an object to be verified, which is acquired at a first angle, and the target vein image is a pre-stored vein image of the target object;
under the condition that the first vein feature matching result is used for indicating that the first vein image is not matched with the target vein image, matching a second vein image with the target vein image to obtain a second vein feature matching result, wherein the second vein image is a vein image of the object to be verified, which is obtained by obtaining a second angle, and the second angle is obtained by rotating from the first angle;
and determining whether the target object comprises the object to be verified according to the second vein feature matching result.
By adopting the embodiment of the application, a scheme for matching the vein image is provided. In the process of vein image matching, if a first vein image of an object to be verified acquired at a first angle is inconsistent with a matched target vein image, the vein image is rotated to a second angle to acquire a second vein image, the second vein image is matched with the target vein image to acquire a new matching result, whether the target object corresponding to the target vein image comprises the object to be verified is determined by using the new matching result, different vein images are acquired through a rotation angle for matching, the influence on the recognition result caused by the fact that the vein image quality does not meet the recognition requirement due to the deviation of the recognition angle and the placement angle of the object to be detected is avoided, the possibility of misjudgment and misjudgment is effectively reduced, the technical effect of reducing the probability of misidentification in the process of vein recognition of the image is achieved, and the technical problem that the probability of misidentification in the process of vein recognition of the image in the related technology is high is solved.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
It can be understood by those skilled in the art that the structure shown in fig. 7 is only an illustration, and the terminal may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a Mobile Internet Device (MID), a PAD, etc. Fig. 7 is a diagram illustrating a structure of the electronic device. For example, the terminal may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 7, or have a different configuration than shown in FIG. 7.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
Embodiments of the present application also provide a storage medium. Alternatively, in the present embodiment, the storage medium described above may be used to execute a program code of a matching method of vein images.
Optionally, in this embodiment, the storage medium may be located on at least one of a plurality of network devices in a network shown in the embodiment.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
matching the first vein image with a target vein image to obtain a first vein feature matching result, wherein the first vein image is a vein image of an object to be verified, which is acquired at a first angle, and the target vein image is a pre-stored vein image of the target object;
under the condition that the first vein feature matching result is used for indicating that the first vein image is inconsistent with the target vein image in matching, matching a second vein image with the target vein image to obtain a second vein feature matching result, wherein the second vein image is a vein image of the object to be verified, which is obtained by obtaining the second vein image at a second angle, and the second angle is obtained by rotating from the first angle;
and determining whether the target object comprises the object to be verified according to the second vein feature matching result.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the advantages and disadvantages of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including instructions for causing one or more computer devices (which may be personal computers, servers, network devices, or the like) to execute all or part of the steps of the method described in the embodiments of the present application.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.
Claims (11)
1. A method of matching vein images, comprising:
matching the first vein image with a target vein image to obtain a first vein feature matching result, wherein the first vein image is a vein image of an object to be verified, which is acquired at a first angle, and the target vein image is a pre-stored vein image of the target object;
under the condition that the first vein feature matching result is used for indicating that the first vein image is not matched with the target vein image, matching a second vein image with the target vein image to obtain a second vein feature matching result, wherein the second vein image is a vein image of the object to be verified, which is obtained by obtaining a second angle, and the second angle is obtained by rotating from the first angle; the second vein image is a vein image of the subject to be authenticated, which is acquired at a second angle, the second angle being obtained by rotating from the first angle, and the method includes: performing fixed degree rotation once from the first angle to obtain a second angle, obtaining a second vein image according to the second angle, matching the second vein image with the target vein image, and performing fixed degree rotation once again from the first angle to obtain a new second angle when the second vein image cannot be matched with the target vein image so as to judge whether the object to be verified is a matching result in the target object;
determining whether the target object comprises the object to be verified according to the second vein feature matching result;
after matching the first vein image with the target vein image to obtain a first vein feature matching result, the method further includes:
under the condition that the matching degree between the first vein image and the target vein image does not reach a second threshold value, determining that the target object does not comprise the object to be verified;
determining that the target object comprises the object to be verified under the condition that the matching degree between the first vein image and the target vein image reaches a third threshold value;
determining that the first vein feature matching result is used for indicating that the first vein image is not matched with the target vein image in the case that the matching degree between the first vein image and the target vein image falls between the second threshold and the third threshold.
2. The method of claim 1, wherein matching a second vein image with the target vein image, and obtaining a second vein feature matching result comprises:
matching the second vein image with the target vein image to obtain a first matching degree;
determining that the second vein feature matching result is used for indicating that the second vein image is matched with the target vein image in a consistent manner when the first matching degree reaches a first threshold value;
determining that the second vein feature matching result is used for indicating that the second vein image is not matched with the target vein image in a consistent manner under the condition that the first matching degree does not reach the first threshold value.
3. The method of claim 2, wherein matching the second vein image with the target vein image to obtain a first degree of match comprises:
rotating a first degree number along a first direction by taking the first angle as a starting point to obtain an initial first current angle, and repeatedly executing the following steps until the first matching degree is obtained:
acquiring a first current vein image of the object to be verified from the first current angle;
matching the first current vein image with the target vein image to obtain a first current matching degree;
determining the first current matching degree as the first matching degree when the first current matching degree reaches the first threshold value, or the first current matching degree does not reach the first threshold value but the degree difference value between the first current angle and the first angle reaches a second degree;
and under the condition that the first current matching degree does not reach the first threshold value and the degree difference value between the first current angle and the first angle does not reach the second degree, rotating the first degree along the first direction by taking the first current angle as a starting point to obtain the next first current angle.
4. The method of claim 3, wherein rotating the first number of degrees in the first direction starting from the first current angle to obtain a next first current angle comprises:
determining whether the first current matching degree is greater than a last first current matching degree;
when the first current matching degree is not larger than the last first current matching degree, determining the first current matching degree as the first matching degree, or rotating along a second direction by taking the first angle as a starting point to obtain the first matching degree, wherein the second direction is opposite to the first direction;
and under the condition that the first current matching degree is greater than the last first current matching degree, rotating the first degree number along the first direction by taking the first current angle as a starting point to obtain the next first current angle.
5. The method of claim 4, wherein rotating in a second direction starting from the first angle to obtain the first degree of match comprises:
rotating a third degree along the second direction by taking the first angle as a starting point to obtain an initial second current angle, and repeatedly executing the following steps until the first matching degree is obtained:
acquiring a second current vein image of the object to be verified from the second current angle;
matching the second current vein image with the target vein image to obtain a second current matching degree;
determining the second current matching degree as the first matching degree when the second current matching degree reaches the first threshold value, or the second current matching degree does not reach the first threshold value but the degree difference value between the second current angle and the first angle reaches a fourth degree;
determining whether the second current matching degree is greater than a last second current matching degree or not under the condition that the second current matching degree does not reach the first threshold value and the degree difference value between the second current angle and the first angle does not reach the fourth degree;
determining the second current matching degree as the first matching degree under the condition that the second current matching degree is not larger than the last second current matching degree;
and under the condition that the second current matching degree is greater than the last second current matching degree, rotating the second degree number along the second direction by taking the second current angle as a starting point to obtain a next second current angle.
6. The method of claim 1, wherein matching the first vein image with the target vein image to obtain the first vein feature matching result comprises:
identifying a first vein feature of the first vein image;
and matching the first vein feature with a pre-stored target vein feature to obtain a first vein feature matching result, wherein the target vein feature is identified from the target vein image.
7. The method of claim 6, wherein prior to matching the first vein feature with a target vein feature of the target vein image, the method further comprises:
acquiring the target vein image of the target object at a first angle;
identifying the target vein features corresponding to the target vein images;
storing the target object and the target vein feature with corresponding relation.
8. The method of claim 1, wherein determining whether the target object comprises the object to be verified according to the second vein feature matching result comprises:
determining that the target object comprises the object to be verified under the condition that the second vein feature matching result is used for indicating that the second vein image is matched with the target vein image in a consistent manner;
determining that the target object does not include the object to be verified if the second vein feature matching result indicates that the second vein image is not matched with the target vein image.
9. A matching apparatus for vein images, comprising:
the first matching module is used for matching a first vein image with a target vein image to obtain a first vein feature matching result, wherein the first vein image is a vein image of an object to be verified, which is acquired at a first angle, and the target vein image is a pre-stored vein image of the target object;
a second matching module, configured to, when the first vein feature matching result is used to indicate that the first vein image and the target vein image are not matched consistently, match a second vein image with the target vein image to obtain a second vein feature matching result, where the second vein image is a vein image of the object to be authenticated, the vein image being acquired at a second angle, and the second angle being obtained by rotating from the first angle; the second vein image is a vein image of the subject to be authenticated, which is acquired at a second angle, the second angle being obtained by rotating from the first angle, and the method includes: performing fixed degree rotation once from the first angle to obtain a second angle, obtaining a second vein image according to the second angle, matching the second vein image with the target vein image, and performing fixed degree rotation once again from the first angle to obtain a new second angle when the second vein image cannot be matched with the target vein image so as to judge whether the object to be verified is in the matching result of the target object;
a determining module, configured to determine whether the target object includes the object to be verified according to the second vein feature matching result;
after the first vein image is matched with the target vein image to obtain a first vein feature matching result, the first matching module is further configured to:
under the condition that the matching degree between the first vein image and the target vein image does not reach a second threshold value, determining that the target object does not comprise the object to be verified;
determining that the target object comprises the object to be verified under the condition that the matching degree between the first vein image and the target vein image reaches a third threshold value;
determining that the first vein feature matching result is used for indicating that the first vein image is not matched with the target vein image in the case that the matching degree between the first vein image and the target vein image falls between the second threshold and the third threshold.
10. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program when executed performs the method of any of the preceding claims 1 to 8.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the method of any of the preceding claims 1 to 8 by means of the computer program.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010633396.9A CN111898455B (en) | 2020-07-02 | 2020-07-02 | Vein image matching method and device |
PCT/CN2020/140648 WO2022001046A1 (en) | 2020-07-02 | 2020-12-29 | Method and apparatus for matching vein images |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010633396.9A CN111898455B (en) | 2020-07-02 | 2020-07-02 | Vein image matching method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111898455A CN111898455A (en) | 2020-11-06 |
CN111898455B true CN111898455B (en) | 2023-04-07 |
Family
ID=73191481
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010633396.9A Active CN111898455B (en) | 2020-07-02 | 2020-07-02 | Vein image matching method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111898455B (en) |
WO (1) | WO2022001046A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111898455B (en) * | 2020-07-02 | 2023-04-07 | 珠海格力电器股份有限公司 | Vein image matching method and device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103996038A (en) * | 2014-05-01 | 2014-08-20 | 朱毅 | Method for adjusting tilt angle of finger vein recognition image |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4344986B2 (en) * | 2002-05-13 | 2009-10-14 | ソニー株式会社 | Authentication method and authentication apparatus |
CN104866828A (en) * | 2015-05-20 | 2015-08-26 | 广州日滨科技发展有限公司 | Finger vein identification method, apparatus and vein authentication terminal device |
CN107766776A (en) * | 2016-08-17 | 2018-03-06 | 广州广电运通金融电子股份有限公司 | A kind of finger vein identification method and device |
JP7230337B2 (en) * | 2018-04-02 | 2023-03-01 | 富士通株式会社 | Biological image processing device, biological image processing method, and biological image processing program |
CN108960187A (en) * | 2018-07-20 | 2018-12-07 | 珠海格力电器股份有限公司 | Permission determination method and device |
CN110175594B (en) * | 2019-05-31 | 2021-07-30 | Oppo广东移动通信有限公司 | Vein identification method and related product |
CN111898455B (en) * | 2020-07-02 | 2023-04-07 | 珠海格力电器股份有限公司 | Vein image matching method and device |
-
2020
- 2020-07-02 CN CN202010633396.9A patent/CN111898455B/en active Active
- 2020-12-29 WO PCT/CN2020/140648 patent/WO2022001046A1/en active Application Filing
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103996038A (en) * | 2014-05-01 | 2014-08-20 | 朱毅 | Method for adjusting tilt angle of finger vein recognition image |
Also Published As
Publication number | Publication date |
---|---|
CN111898455A (en) | 2020-11-06 |
WO2022001046A1 (en) | 2022-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108491805B (en) | Identity authentication method and device | |
US10650259B2 (en) | Human face recognition method and recognition system based on lip movement information and voice information | |
CN107491674B (en) | Method and device for user authentication based on characteristic information | |
CN108449321B (en) | Login method, server and client | |
CN110691085B (en) | Login method, login device, password management system and computer readable medium | |
US10740597B2 (en) | Method and apparatus for acquiring information | |
CN108154031B (en) | Method, device, storage medium and electronic device for identifying disguised application | |
CN110378249B (en) | Text image inclination angle recognition method, device and equipment | |
CN108280422B (en) | Method and device for recognizing human face | |
CN107622246B (en) | Face recognition method and related product | |
EP3617993B1 (en) | Collation device, collation method and collation program | |
CN112668629A (en) | Intelligent warehousing method, system, equipment and storage medium based on picture identification | |
CN108369603A (en) | Substance detection process method, apparatus and detection device | |
CN111898455B (en) | Vein image matching method and device | |
CN114612986A (en) | Detection method, detection device, electronic equipment and storage medium | |
CN107992816B (en) | Photographing search method and device, electronic equipment and computer readable storage medium | |
CN105407069A (en) | Living body authentication method and device, client equipment, and server | |
WO2016127449A1 (en) | Instruction processing method, device and terminal | |
JP2018169776A (en) | Authentication device, authentication method, and program | |
CN114821845B (en) | Card punching method and device | |
CN110765819A (en) | Photo classification method, equipment, computer readable medium and system | |
CN115359575A (en) | Identity recognition method and device and computer equipment | |
CN114266723A (en) | Image processing method, image processing device, storage medium and computer terminal | |
CN113411355A (en) | Internet-based application registration method and related device | |
US20200120091A1 (en) | Online verification method and system for verifying the identity of a subject |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |