Identity identification method, device, terminal and storage medium
By preprocessing the initial and final images in palm vein recognition technology, the palm placement angle, skin color and foreign matter or light interference are removed, which improves the accuracy of identification of palm vein images and solves the problems of interference factors in the existing technology. question.
Patent Information
- Application Number
- CN202111241719.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-25
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2041-10-25
AI Technical Summary
In existing palm vein recognition technology, factors such as the placement angle of the palm, skin color, area, and interference from foreign objects or external lights lead to a decrease in recognition accuracy, making it difficult to effectively remove interference and affecting the accuracy of identity recognition.
By performing the first preprocessing before collecting the final palm vein image of the palm, adjusting the brightness of the initial palm vein image to remove interference such as placement angle and skin color; performing the second preprocessing after collecting the final palm vein image, extracting and processing foreign matter or external Abnormal feature points caused by lighting eliminate their impact on recognition.
It effectively improves the accuracy of identification through palm vein images, reduces identification errors caused by palm placement angle, skin color, foreign objects or external lighting, and improves the reliability of identification.
Smart Images

Figure CN114092974B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of human biometric identification, and in particular to an identity identification method, device, terminal and storage medium. Background Art
[0002] With the development of science and technology, people pay more and more attention to security, so the method of identity recognition has become one of the research focuses of technical personnel in this field.
[0003] Palm vein recognition is an emerging identity recognition method in recent years. It mainly uses palm veins to identify individuals and is an important supplement to existing human biometric recognition technology. Summary of the invention
[0004] One or more embodiments of the present specification provide an identity recognition method, device, terminal, and storage medium, which can realize identity recognition of a person to be tested.
[0005] One or more embodiments of this specification provide an identity recognition method, the method comprising:
[0006] performing a first preprocessing according to the brightness of the initial palm vein image of the palm of the subject to be tested before acquiring the final palm vein image of the palm of the subject to be tested; and / or
[0007] According to the palm print image of the palm of the subject to be tested, after acquiring the final palm vein image of the palm of the subject to be tested, performing a second preprocessing;
[0008] The identity of the person to be tested is identified according to the final palm vein image after preprocessing.
[0009] One or more embodiments of the present specification provide an identity recognition device, the device comprising:
[0010] A first preprocessing module is used to perform a first preprocessing according to the brightness of the initial palm vein image of the palm of the subject to be tested before acquiring the final palm vein image of the palm of the subject to be tested; and / or
[0011] A second preprocessing module, configured to perform a second preprocessing according to the palm print image of the palm of the subject to be tested after acquiring the final palm vein image of the palm of the subject to be tested;
[0012] The identification module is used to identify the identity of the subject according to the final palm vein image after preprocessing.
[0013] One or more embodiments of the present specification provide a terminal, the terminal including:
[0014] A camera module is used to collect palm vein images and / or palm print images of the subject's palm;
[0015] A fill light module, used for performing fill light when collecting the palm vein image and / or palm print image of the palm of the subject to be tested;
[0016] The main control module is used to execute the steps of the above method.
[0017] One or more embodiments of the present specification provide a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is suitable for being loaded by the processor and executing the steps of the above method.
[0018] One or more embodiments of the present specification provide a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the steps of the above method.
[0019] The beneficial effects brought by the technical solutions provided by one or more embodiments of this specification include at least:
[0020] One or more embodiments of the present specification provide an identity recognition method, which performs a first preprocessing before collecting the final palm vein image of the palm of the subject to be tested according to the brightness of the initial palm vein image of the palm of the subject to be tested; and / or performs a second preprocessing after collecting the final palm vein image of the palm of the subject to be tested according to the palm print image of the palm of the subject to be tested; and then identifies the identity of the subject to be tested according to the final palm vein image after preprocessing. Since the preprocessing operation is performed before collecting the final palm vein image of the palm of the subject to be tested, the interference caused by factors such as the placement angle, skin color or area of the palm of the subject to be tested can be removed; and the preprocessing operation is performed after collecting the final palm vein image of the palm of the subject to be tested, the interference caused by factors such as foreign objects in the palm of the subject to be tested or external lights can be removed. Then, the identity of the subject to be tested is identified according to the final palm vein image after removing the interference factors, which can effectively improve the accuracy of identity recognition through palm vein images. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate one or more embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of one or more embodiments of this specification. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0022] Figure 1 An architecture diagram of an identity recognition system provided as an exemplary embodiment of this specification;
[0023] Figure 2 A system interaction diagram of an identity recognition method provided by an exemplary embodiment of this specification;
[0024] Figure 3 A flowchart of an identity recognition method provided as an exemplary embodiment of this specification;
[0025] Figure 4 A schematic diagram of a palm vein image provided as an exemplary embodiment of this specification;
[0026] Figure 5 A flowchart of an identity recognition method provided as an exemplary embodiment of this specification;
[0027] Figure 6 A schematic diagram of a palm print image provided as an exemplary embodiment of this specification;
[0028] Figure 7 A flowchart of an identity recognition method provided as an exemplary embodiment of this specification;
[0029] Figure 8 A schematic diagram of an application scenario of an identity recognition method provided by an exemplary embodiment of this specification;
[0030] Fig. 9 A flowchart of an identity recognition method provided as an exemplary embodiment of this specification;
[0031] Fig.10 A structural schematic diagram of a fill light module provided by an exemplary embodiment of this specification;
[0032] Fig.11 A structural schematic diagram of a fill light module provided by an exemplary embodiment of this specification;
[0033] Fig.12 A structural schematic diagram of a fill light module provided by an exemplary embodiment of this specification;
[0034] Fig.13 A schematic diagram of the structure of an identity recognition device provided as an exemplary embodiment of this specification;
[0035] Fig.14 A schematic diagram of the structure of an identity recognition device provided as an exemplary embodiment of this specification;
[0036] Fig.15 A schematic diagram of the structure of an identity recognition device provided as an exemplary embodiment of this specification;
[0037] Fig.16A schematic diagram of the structure of a terminal is provided for an exemplary embodiment of this specification. DETAILED DESCRIPTION
[0038] In order to make the features and advantages of one or more embodiments of this specification more obvious and easy to understand, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on the embodiments in one or more embodiments of this specification, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of one or more embodiments of this specification.
[0039] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with one or more embodiments of this specification. Instead, they are only examples of devices and methods consistent with some aspects of one or more embodiments of this specification as detailed in the attached claims.
[0040] Figure 1 An architectural diagram of an identity recognition system provided as an exemplary embodiment of this specification.
[0041] like Figure 1 As shown, the system architecture may include at least a main control module 101 , a camera module 102 and a fill light module 103 which are arranged in the terminal 100 .
[0042] When the terminal 100 is hardware, it can be various electronic devices, including but not limited to smart watches, smart phones, tablet computers, laptop portable computers and desktop computers, etc. When the terminal 100 is software, it can be installed in the electronic devices listed above, which can be implemented as multiple software or software modules (for example: used to provide distributed services), or as a single software or software module, which is not specifically limited here.
[0043] The camera module 102 is used to collect the palm vein image and / or palm print image of the palm of the subject under the control of the main control module 101; the fill light module 103 is used to perform fill light when collecting the palm vein image and / or palm print image of the palm of the subject under the control of the main control module 101.
[0044] It should be understood that Figure 1 The number of terminals, main control modules, camera modules and fill light modules in the figure is only illustrative, and any number of terminals, main control modules, camera modules and fill light modules may be used according to implementation requirements.
[0045] See also Figure 2 , Figure 2 A system interaction diagram of an identity recognition method provided by an exemplary embodiment of this specification. It can be understood that in one or more embodiments of this specification, the execution subject can be a terminal, a main control module in the terminal, or a processor in the terminal, and can also be a related service for executing the identity recognition method in the terminal. For the convenience of description, the following takes the execution subject as the main control module in the terminal as an example, combined with Figure 1 and Figure 2 This paper introduces the system interaction process in an identity recognition method.
[0046] S202: The main control module performs a first preprocessing according to the brightness of the initial palm vein image of the palm of the subject to be tested before acquiring the final palm vein image of the palm of the subject to be tested. The brightness of the initial palm vein image of the palm of the subject to be tested and the final palm vein image of the palm of the subject to be tested can be obtained through data acquired by the camera module.
[0047] and / or
[0048] S204, the main control module performs a second preprocessing after acquiring the final palm vein image of the palm of the person to be tested according to the palm print image of the palm of the person to be tested. The palm print image of the palm of the person to be tested and the final palm vein image of the palm of the person to be tested can both be obtained through the data acquired by the camera module.
[0049] S206: The main control module recognizes the identity of the person to be tested according to the final palm vein image after preprocessing.
[0050] In an exemplary embodiment of the present specification, a first preprocessing is performed before collecting the final palm vein image of the palm of the subject to be tested according to the brightness of the initial palm vein image of the palm of the subject to be tested; and / or a second preprocessing is performed after collecting the final palm vein image of the palm of the subject to be tested according to the palm print image of the palm of the subject to be tested; and then the identity of the subject to be tested is identified according to the final palm vein image after the preprocessing. Since the preprocessing operation is performed before collecting the final palm vein image of the palm of the subject to be tested, the interference caused by factors such as the placement angle, skin color or area of the palm of the subject to be tested can be removed; and the preprocessing operation is performed after collecting the final palm vein image of the palm of the subject to be tested, the interference caused by factors such as foreign objects in the palm of the subject to be tested and external lights can be removed. Then, the identity of the subject to be tested is identified according to the final palm vein image after removing the interference factors, which can effectively improve the accuracy of identity recognition through palm vein images.
[0051] See also Figure 3 , Figure 3 The present invention is a flowchart of an identity recognition method provided as an exemplary embodiment of the present invention.
[0052] like Figure 3 As shown, the method includes:
[0053] S302: performing a first preprocessing according to the brightness of the initial palm vein image of the palm of the subject to be tested before acquiring the final palm vein image of the palm of the subject to be tested.
[0054] It can be understood that palm vein recognition uses an infrared light source to emit infrared light to illuminate the palm of the human body, and uses the strong absorption characteristics of hemoglobin in the blood to make the palm image after infrared light irradiation show darker vein patterns in the subcutaneous veins. The vein features can be used for identity recognition. The main feature of vein recognition is non-invasive image acquisition, and the vein features cannot be obtained under visible light, which has strong concealment and anti-counterfeiting properties. Therefore, vein recognition technology has a certain strong anti-counterfeiting ability, and also has a live verification function (only live palms have vein features).
[0055] See also Figure 4 , Figure 4 A schematic diagram of a palm vein image provided by an exemplary embodiment of this specification. Figure 4 As shown, the palm image after infrared light irradiation will show darker vein lines 401 at the subcutaneous veins. The vein features, namely the lines 401, can be used to identify the identity of the person to be tested.
[0056] However, in the process of using palm veins for identity recognition, there are some interference factors. For example, factors such as the angle of palm placement, skin color or area, etc., will make the brightness of the palm vein image collected after the palm is irradiated with infrared light not meet the recognition standard, resulting in errors or recognition failures in the palm vein image recognition process; for example, factors such as foreign matter in the palm (attachments, scars, etc. on the palm) or external lighting (for example, a spotlight containing infrared light) will make the palm vein image collected after the infrared light source emits infrared light to irradiate the palm. Abnormal feature points appear in the palm vein image, which will also cause errors or recognition failures in the palm vein image recognition process. In order to solve the above problems, one or more embodiments of this specification provide an identity recognition method.
[0057] In order to solve the interference caused by factors such as the placement angle of the palm, skin color or area in the palm vein image recognition process, one solution is that when the palm placement angle, skin color or area and other factors determine that the brightness of the palm vein image of the collected palm does not meet the brightness recognition standard, the brightness of the palm vein image of the subject's palm is adjusted through a first pre-processing, so that the brightness of the palm vein image of the collected palm does not meet the brightness recognition standard, and then the final palm vein image of the subject's palm is collected, so as to facilitate subsequent other processing based on the final palm vein image or identity recognition of the subject.
[0058] Specifically, after the palm of the person to be tested is detected to enter the recognition range, the palm vein image of the palm of the person to be tested can be first collected by the camera module in the terminal, and the palm vein image is used as the initial palm vein image. The method of detecting that the palm of the person to be tested enters the recognition range is not limited, and a reasonable method can be selected according to the device set in the terminal.
[0059] For example, when a distance sensor is provided in the terminal, and the distance sensor is provided near the camera module, and the direction of data transmission and reception of the distance sensor is consistent with the shooting direction of the camera in the camera module, then the distance sensor can continuously monitor the distance between the external object and the distance sensor, and the distance can also be considered as the distance between the external object and the camera module. If the distance sensor detects that the distance between the external object and the camera module is less than the preset distance threshold, it can be considered that the external object has entered the shooting range of the camera module, that is, it can be considered that the palm of the person to be tested has been detected to enter the recognition range.
[0060] For another example, when a light sensor is provided in the terminal, the light sensor can be used to monitor the brightness changes in the shooting direction of the camera module; or the camera in the camera module in the terminal can be used to directly monitor the brightness changes in the shooting direction of the camera module. The camera in the camera module can be a visible light camera or an infrared camera. When it is monitored that the brightness in the shooting direction of the camera module is less than a preset brightness threshold, it can be considered that the external object has entered the shooting range of the camera module, that is, it can be considered that the palm of the person being tested has been monitored to enter the recognition range.
[0061] After obtaining the initial palm vein image of the palm of the subject to be tested, the corresponding initial palm vein image brightness can be determined according to the initial palm vein image, and the brightness of the initial palm vein image is compared with a preset brightness recognition standard or brightness recognition condition. If the brightness of the initial palm vein image does not meet the preset brightness recognition standard or brightness recognition condition, it can be considered that it is caused by factors such as the placement angle of the palm, skin color or area.
[0062] At this time, the first preprocessing can be performed based on the initial palm vein image brightness of the collected initial palm vein image, so that the brightness of the initial palm vein image meets the preset brightness recognition standard or brightness recognition condition. The specific method of performing the first preprocessing on the brightness of the initial palm vein image may not be specifically limited, for example, it may be to adjust the light environment outside the camera module through a related device, or to adjust the shooting angle or shooting position of the camera module through a related device, or to notify the subject to be tested to change the palm position, angle, etc. through a related device.
[0063] When the brightness of the initial palm vein image meets the preset brightness recognition standard or brightness recognition condition, the state of the person to be tested and the state of the camera module can be kept unchanged, so that the camera module collects the current palm vein image of the palm of the person to be tested, and uses the current palm vein image as the final palm vein image of the palm of the person to be tested. Then the final palm vein image also meets the preset brightness recognition standard or brightness recognition condition.
[0064] S304: Identify the identity of the person to be tested based on the final palm vein image after preprocessing.
[0065] After the first preprocessing operation, the problem that the brightness of the palm vein image of the collected palm does not meet the brightness recognition standard or brightness recognition condition due to factors such as the placement angle of the palm, skin color or area has been solved, that is, the final palm vein image meets the preset brightness recognition standard or brightness recognition condition. At this time, the identity of the person to be tested can be directly identified based on the final palm vein image after the first preprocessing. If the identity of the person to be tested is successfully identified based on the final palm vein image, it means that the person to be tested is an authenticated preset user. If the identity of the person to be tested fails to be identified based on the final palm vein image, it means that the person to be tested is not an authenticated preset user.
[0066] In one embodiment of the present specification, a first preprocessing is performed before acquiring the final palm vein image of the palm of the subject to be tested according to the brightness of the initial palm vein image of the palm of the subject to be tested; and then the identity of the subject to be tested is identified according to the final palm vein image after the preprocessing. Since the preprocessing operation is performed before acquiring the final palm vein image of the palm of the subject to be tested, the interference caused by factors such as the placement angle, skin color or area of the palm of the subject to be tested can be removed. Therefore, the identity of the subject to be tested is identified according to the final palm vein image after removing the interference factors, which can effectively improve the accuracy of identity recognition through palm vein images.
[0067] See also Figure 5 , Figure 5 The present invention is a flowchart of an identity recognition method provided as an exemplary embodiment of the present invention.
[0068] like Figure 5 As shown, the method includes:
[0069] S502: performing a second preprocessing according to the palm print image of the subject's palm after acquiring the final palm vein image of the subject's palm.
[0070] Based on the analysis of the process of using palm veins for identity recognition in the above embodiments, it can be known that due to factors such as foreign matter in the palm (such as attachments and scars on the palm) or external lighting (especially spotlights containing infrared light), abnormal feature points will appear in the palm vein image collected after the palm is irradiated with infrared light, resulting in errors or recognition failures in the palm vein image recognition process. In order to solve the problem of interference caused by abnormal feature points in the palm vein image in the palm vein image recognition process, one solution is to perform a second preprocessing after collecting the palm vein image of the subject to be tested to extract abnormal feature points in the palm vein image, and process the abnormal feature points to eliminate the interference caused by the abnormal feature points in the palm vein image recognition process, and then identify the identity of the subject to be tested through the palm vein image after eliminating the abnormal feature points.
[0071] Specifically, after the palm of the person to be tested is detected to enter the recognition range, the palm vein image of the palm of the person to be tested can be first collected by the camera module in the terminal, and the palm vein image can be used as the final palm vein image. The method of detecting that the palm of the person to be tested enters the recognition range is not limited, and the description in the above embodiment can be referred to. In the actual scenario, a reasonable method can be selected according to the device set in the terminal.
[0072] See also Figure 6 , Figure 6 FIG. 1 is a schematic diagram of a palm print image provided by an exemplary embodiment of this specification. Figure 6 As shown, palm print 601 is the lines on the palm skin. Since the palm print image and the palm vein image are both images of the same palm of the subject to be tested, the difference is that the palm print image is collected based on the visible light irradiated on the palm, and the palm vein image is collected based on the infrared light irradiated on the palm. Foreign matter in the palm (such as attachments and scars on the palm) or external lighting (such as a spotlight containing infrared light) and other factors will affect the palm vein image collected by infrared light, but will not affect the palm print image collected by visible light.
[0073] Then, after obtaining the final vein image of the subject to be tested, in order to accurately obtain the abnormal feature points in the final vein image, a feasible implementation method is to collect the palm print image of the subject to be tested, extract the abnormal feature points in the palm print image caused by foreign matter in the palm (such as attachments, scars, etc. on the palm), and correspond the abnormal feature points to the palm vein image; the palm print image and the palm vein image of the subject to be tested can also be compared to extract the abnormal feature points in the palm vein image caused by external lighting (for example, a spotlight containing infrared light).
[0074] Since in the subsequent process of identifying the identity of the subject based on the final palm vein image, it is necessary to perform feature matching based on the palm vein features in the palm vein image, after determining the abnormal feature points in the palm vein image, the matching weights of the palm vein features corresponding to the abnormal feature points can be set to reduce the impact of the abnormal feature points on the matching results of the palm vein features in the palm vein image.
[0075] S504: Identify the identity of the person to be tested according to the final palm vein image after preprocessing.
[0076] After the second preprocessing operation, the problem of abnormal features appearing in the palm vein image of the palm collected after the palm is irradiated with infrared light due to factors such as foreign matter in the palm (such as attachments and scars on the palm) or external light (for example, a spotlight containing infrared light) has been solved. That is, the influence of abnormal feature points in the final palm vein image on palm vein recognition has been minimized. At this time, the identity of the person to be tested can be directly identified based on the final palm vein image after the second preprocessing. If the identity of the person to be tested is successfully identified based on the final palm vein image, it means that the person to be tested is an authenticated preset user. If the identity of the person to be tested fails to be identified based on the final palm vein image, it means that the person to be tested is not an authenticated preset user.
[0077] In one embodiment of the present specification, a second preprocessing is performed after the final palm vein image of the palm of the subject is acquired based on the palm print image of the subject; and then the identity of the subject is identified based on the final palm vein image after the preprocessing. Since the preprocessing operation is performed after the final palm vein image of the palm of the subject is acquired, interference caused by factors such as foreign matter in the palm of the subject or external lights can be removed. Therefore, the identity of the subject is identified based on the final palm vein image after the interference factors are removed, which can effectively improve the accuracy of identity identification through palm vein images.
[0078] See also Figure 7 , Figure 7 The present invention is a flowchart of an identity recognition method provided as an exemplary embodiment of the present invention.
[0079] like Figure 7 As shown, the method includes:
[0080] S702: Perform a first preprocessing according to the brightness of the initial palm vein image of the palm of the subject to be tested before acquiring the final palm vein image of the palm of the subject to be tested.
[0081] Based on the analysis of the brightness of the initial palm vein image of the palm of the subject to be tested in the above embodiment, it can be seen that the first preprocessing is performed before the final palm vein image of the palm of the subject to be tested is collected (please refer to the record in step S301 for details). After the first preprocessing operation, the problem that the brightness of the palm vein image of the collected palm does not meet the brightness recognition standard or brightness recognition condition due to factors such as the placement angle of the palm, skin color or area has been solved, that is, the final palm vein image meets the preset brightness recognition standard or brightness recognition condition.
[0082] S704: performing a second preprocessing according to the palm print image of the subject's palm after acquiring the final palm vein image of the subject's palm.
[0083] Then, after the first preprocessing operation, the final palm vein image of the palm of the subject to be tested can be collected. After the final vein image of the subject to be tested is obtained, it can be known from the analysis of the above embodiment (please refer to the record in step S501 for details) that due to factors such as foreign matter in the palm (such as attachments, scars, etc. on the palm) or external light (especially a spotlight containing infrared light), abnormal feature points will appear in the palm vein image of the collected palm after the palm is irradiated with infrared light, resulting in errors or recognition failures in the palm vein image recognition process. In order to solve the problem of abnormal feature points in the palm vein image of the palm causing interference in the palm vein image recognition process, a solution is to perform a second preprocessing after the final palm vein image of the subject to be tested is collected to extract abnormal feature points in the final palm vein image of the palm, and process the abnormal feature points to eliminate the interference caused by the abnormal feature points in the palm vein image recognition process, and then identify the identity of the subject to be tested through the final palm vein image after eliminating the abnormal feature points.
[0084] S706: Identify the identity of the person to be measured based on the final palm vein image after preprocessing.
[0085] After the first preprocessing operation, the problem that the brightness of the palm vein image of the collected palm does not meet the brightness recognition standard or brightness recognition condition due to factors such as the placement angle of the palm, skin color or area has been solved, that is, the final palm vein image meets the preset brightness recognition standard or brightness recognition condition; after the second preprocessing operation, the problem that abnormal features appear in the palm vein image of the collected palm after the palm is irradiated with infrared light due to factors such as foreign matter in the palm (such as attachments, scars, etc. on the palm) or external lights (for example, spotlights containing infrared light) has been solved, that is, the influence of abnormal feature points in the final palm vein image on palm vein recognition has been minimized. At this time, the identity of the person to be tested can be directly identified based on the final palm vein image after the second preprocessing. If the identity of the person to be tested is successfully identified based on the final palm vein image, it means that the person to be tested is a preset authenticated user. If the identity of the person to be tested fails based on the final palm vein image, it means that the person to be tested is not a preset authenticated user.
[0086] An embodiment of the present specification provides an identity recognition method, which performs a first preprocessing before collecting the final palm vein image of the palm of the subject to be tested according to the brightness of the initial palm vein image of the palm of the subject to be tested; and / or performs a second preprocessing after collecting the final palm vein image of the palm of the subject to be tested according to the palm print image of the palm of the subject to be tested; and then identifies the identity of the subject to be tested according to the final palm vein image after the preprocessing. Since the preprocessing operation is performed before collecting the final palm vein image of the palm of the subject to be tested, the interference caused by factors such as the placement angle, skin color or area of the palm of the subject to be tested can be removed; and the preprocessing operation is performed after collecting the final palm vein image of the palm of the subject to be tested, the interference caused by factors such as foreign objects in the palm of the subject to be tested or external lights can be removed. Then, the identity of the subject to be tested is identified according to the final palm vein image after removing the interference factors, which can effectively improve the accuracy of identity recognition through palm vein images.
[0087] See also Figure 8 , Figure 8 A schematic diagram of an application scenario of an identity recognition method provided by an exemplary embodiment of this specification.
[0088] It is understandable that an identity recognition method provided in one or more embodiments of this specification can be applied to identity recognition in community access control, enterprise attendance, home door locks, subways and buses, and various payment scenarios. Figure 8As shown, the terminal 800 can be used as an execution device of an identity recognition method provided by one or more embodiments of the present specification. The terminal 800 can be provided with a camera module 810, a fill light module 820 and a main control module. The camera module 810 is used to collect the palm vein image and / or palm print image of the palm of the person to be tested, and the fill light module 820 is used to perform fill light when collecting the palm vein image and / or palm print image of the palm of the person to be tested. Then, in the process of performing the identity recognition method, the main control module can perform a first The main control module may also perform a second preprocessing after acquiring the final palm vein image of the palm of the person to be tested, and then identify the identity of the person to be tested according to the final palm vein image after the preprocessing; the main control module may also perform a first preprocessing before acquiring the final palm vein image of the palm of the person to be tested, and then perform a second preprocessing after acquiring the final palm vein image of the palm of the person to be tested, and finally identify the identity of the person to be tested according to the final palm vein image after the preprocessing.
[0089] See also Fig. 9 , Fig. 9 The present invention is a flowchart of an identity recognition method provided as an exemplary embodiment of the present invention.
[0090] like Fig. 9 As shown, in the process of performing the first preprocessing according to the brightness of the initial palm vein image of the palm of the subject to be tested before acquiring the final palm vein image of the palm of the subject to be tested, the following steps may be specifically included:
[0091] S902: Acquire an initial palm vein image of the palm of the person to be tested, and determine the brightness of the initial palm vein image of the palm of the person to be tested according to the initial palm vein image.
[0092] In order to solve the interference caused by the palm placement angle, skin color or area and other interference factors in the palm vein image recognition process, when it is determined that the palm placement angle, skin color or area and other factors cause the brightness of the palm vein image of the collected palm to not meet the brightness recognition standard, the brightness of the palm vein image of the subject to be tested is adjusted through the first pre-processing, so that the brightness of the palm vein image of the collected palm does not meet the brightness recognition standard, and then the final palm vein image of the palm of the subject to be tested is collected, so as to facilitate subsequent other processing based on the final palm vein image or identity recognition of the subject to be tested.
[0093] Specifically, after the palm of the person to be tested is detected to enter the recognition range, the palm vein image of the palm of the person to be tested can be first collected by the camera module in the terminal, and the palm vein image is used as the initial palm vein image. The method of detecting that the palm of the person to be tested enters the recognition range is not limited, and a reasonable method can be selected according to the device set in the terminal.
[0094] After the initial palm vein image of the palm of the person to be tested is acquired, the initial palm vein image may be analyzed to determine the brightness of the initial palm vein image of the palm of the person to be tested as the initial palm vein image brightness.
[0095] S904: If the brightness of the initial palm vein image of the palm of the subject to be tested is not within the preset brightness threshold range, adjust the parameters of the fill light module and / or the parameters of the camera module until the brightness of the initial palm vein image of the palm of the subject to be tested is within the preset brightness threshold range.
[0096] After determining the brightness of the initial palm vein image corresponding to the initial palm vein image according to the initial palm vein image, the brightness of the initial palm vein image is compared with a preset brightness threshold range, wherein the preset brightness threshold range refers to the brightness range corresponding to the palm vein image when the accuracy of identity recognition through the palm vein image reaches a preset accuracy threshold, that is, identity recognition can be accurately performed through a palm vein image within the preset brightness threshold range.
[0097] Due to factors such as the placement angle of the palm, skin color or area, the brightness of the initial palm vein image collected after the palm is irradiated with infrared light may not be within the preset brightness threshold range. If the brightness of the initial palm vein image of the palm of the person to be tested is not within the preset brightness threshold range, the parameters of the fill light module are adjusted to change the light environment outside the camera module. The parameters of the camera module can also be changed to adjust the shooting angle or shooting position of the camera module. The person to be tested can also be notified through relevant devices to change the palm position, angle, etc. until the brightness of the initial palm vein image of the palm of the person to be tested is within the preset brightness threshold range.
[0098] Furthermore, if the brightness of the initial palm vein image of the palm of the subject to be tested is not within the preset brightness threshold range, it is necessary to determine what method can be used to quickly and accurately make the brightness of the initial palm vein image of the palm of the subject to be tested within the preset brightness threshold range. One solution is to determine a method for adjusting the brightness of the initial palm vein image of the palm of the subject to be tested according to the reason why the brightness of the initial palm vein image of the palm of the subject to be tested is not within the preset brightness threshold range.
[0099] When the palm plane of the palm is not parallel to the fill light module that emits infrared light due to the placement angle of the palm (for example, the palm is tilted), the distance between the fill light modules that emit infrared light in different areas of the palm will be uneven. The farther a certain area of the palm is from the fill light module for infrared light, the lower the brightness of the palm vein image of the area collected by the camera module. Conversely, the closer the distance of a certain area of the palm is to the fill light module for infrared light, the higher the brightness of the palm vein image of the area collected by the camera module. Therefore, due to the placement angle of the palm, the brightness of at least one area in the initial palm vein image may be outside the preset brightness threshold range.
[0100] When the skin color of the palm is white, after the infrared light emitted by the fill light module shines on the palm, the whiter palm will reflect most of the infrared light back to the camera module, resulting in a higher brightness of the palm vein image of the area collected by the camera module, and even overexposure may occur. Therefore, due to the skin color of the palm, it may also cause the brightness of at least one area in the initial palm vein image to be outside the preset brightness threshold range.
[0101] When the area of the palm is small (for example, a child's hand), after the infrared light emitted by the fill light module irradiates the palm, only a part of it may be able to irradiate on the palm, and most of the infrared light is irradiated outside the palm, which may also cause the brightness of at least one area in the initial palm vein image to be outside the preset brightness threshold range.
[0102] Through the above analysis of the reasons for the initial palm vein image brightness of the subject's palm not being within the preset brightness threshold range, it can be learned that if it is determined that the brightness of at least one area in the initial palm vein image is not within the preset brightness threshold range, and it is determined that the area of the subject's palm is equal to or greater than the preset palm area threshold, then it can be determined that the initial palm vein image brightness of the subject's palm is not within the preset brightness threshold range due to the placement angle of the palm or the color of the palm skin, wherein the area of the subject's palm can be extracted from the initial palm vein image, and the preset palm area threshold refers to the preset minimum palm area threshold. When the area of the subject's palm is less than the preset palm area threshold, the initial palm vein image brightness of the subject's palm will be not within the preset brightness threshold range. At this time, the lighting parameters of the fill light module can be adjusted to change the initial palm vein image brightness of the subject's palm until the initial palm vein image brightness of the subject's palm is within the preset brightness threshold range.
[0103] See also Fig.10 , Fig.10 The present invention is a schematic structural diagram of a fill light module provided by an exemplary embodiment of the present invention.
[0104] In the embodiment of the present specification, the camera module includes at least a second camera 100; an infrared filter is provided on the lens of the second camera 100, and the band range of the infrared filter is 800 to 1100 nm. While ensuring coverage of the characteristic wavelength of vein absorption, the band range is as narrow as possible, which can reduce ambient light interference and eliminate stray light. The second camera 100 is used to collect palm vein images of the palm of the person to be tested.
[0105] In one exemplary embodiment of the present specification, the focal length and depth of field of the second camera in the camera module can be set (for example, the focal distance is 10 to 15 cm, and the depth of field is approximately ±3 cm) to achieve a palm vein image of the palm of the person to be measured through the second camera in the camera module based on a non-contact design.
[0106] like Fig.10 As shown, in an exemplary embodiment of the present specification, the fill light module 1000 includes at least a second fill light module 1010, and the second fill light module 1010 includes at least one first infrared fill light lamp 1011, and the first infrared fill light lamp 1011 can be specifically an infrared light emitting diode, and the number of the first infrared fill light lamp 1011 may not be limited. For example, Fig.10 The number of the first infrared fill light lamps 1011 is 8, the second fill light module 1010 is set at a second preset position away from the second camera in the camera module, the second camera is an infrared light camera, and the second fill light module 1010 is used to fill light when the second camera collects the palm vein image of the palm of the subject to be tested. A light homogenizer is also provided on the light outlet of the fill light module, and the light homogenizer is used to ensure that the brightness of the palm vein image collected by the second camera is uniform.
[0107] The first infrared fill light 1011 can be composed of a single-wavelength infrared fill light or a dual-wavelength infrared fill light. For example, the first infrared fill light 1011 can be composed of light-emitting diodes with two wavelengths of 850nm and 940nm. 850nm and 940nm are the characteristic wavelengths of human hemoglobin. The use of these two wavelengths can improve the clarity of palm vein image collection. To ensure that palm vein collection is not affected by brightness unevenness, the light sources of the two wavelengths are evenly distributed in a circular or annular shape around the second camera. When placed, a single circle of circular dual-wavelengths can be arranged symmetrically at intervals, or a circular dual-wavelength arrangement of two or more circles can be used.
[0108] Since the fill light module includes at least the second fill light module 1010, the main control module determines whether the brightness of the initial palm vein image of the palm of the person to be tested is within a preset brightness threshold range based on the second fill light module 1010, and / or the main control module adjusts the lighting parameters of the second fill light module 1010 to change the brightness of the initial palm vein image of the palm of the person to be tested until the brightness of the initial palm vein image of the palm of the person to be tested is within the preset brightness threshold range.
[0109] See also Fig.11 , Fig.11 The present invention is a schematic structural diagram of a fill light module provided by an exemplary embodiment of the present invention.
[0110] like Fig.11 As shown, in an exemplary embodiment of the present specification, the fill light module 1000 further includes a third fill light module 1020, and the third fill light module 1020 includes at least one second infrared fill light lamp 1021, and the second infrared fill light lamp 1021 may be specifically an infrared light emitting diode, and the number of the second infrared fill light lamp 1021 may not be limited. Figure 8 The number of the second infrared fill light lamps 1021 is 4, and the third fill light module 1020 is arranged at a third preset position away from the second camera in the camera module.
[0111] The second infrared fill light 1021 can be composed of a single wavelength infrared fill light. For example, the second infrared fill light 1021 is 4 single wavelength 850nm infrared light emitting diodes, and its driving brightness is much smaller than the driving current of the first infrared fill light 1011 in the above-mentioned second fill light module, and the current of each second infrared fill light 1021 can be adjusted individually.
[0112] Since the driving current of the first infrared fill light 1011 in the second fill light module 1010 is relatively large, in order to save the electric energy consumed by the main control module when judging whether the brightness of the initial palm vein image of the palm of the person to be tested is within the preset brightness threshold range based on the second fill light module 1010, a feasible implementation method is to first illuminate the palm of the person to be tested by the second infrared fill light 1021 in the third fill light module 1020 with a smaller driving current, and then the camera module collects the initial palm vein image of the palm of the person to be tested based on the infrared light emitted by the second infrared fill light 1021, and the main control module judges whether the brightness of the initial palm vein image of the palm of the person to be tested is within the preset brightness threshold range, and if not, adjusts the lighting parameters of at least one second infrared fill light 1021 in the third fill light module 1020 to change the brightness of the initial palm vein image of the palm of the person to be tested until the brightness of the initial palm vein image of the palm of the person to be tested is within the preset brightness threshold range. Finally, the driving current of each second infrared fill light 1021 in the third fill light module 1020 is obtained, and the driving current of each first infrared fill light 1011 is adjusted according to the preset corresponding relationship between the driving current of each second infrared fill light 1021 and each first infrared fill light 1011, so that after the second infrared fill light 1021 irradiates the palm of the subject to be tested, the brightness of the initial palm vein image of the palm of the subject to be tested is also within the preset brightness threshold range. In one or more embodiments of the present specification, the brightness compensation of the palm position, tilt angle or palm skin color is achieved by adjusting the light source driving current to ensure the imaging quality of the palm vein.
[0113] If it is determined that the brightness of at least one area in the initial palm vein image is not within the preset brightness threshold range, and it is determined that the area of the palm of the subject to be tested is smaller than the preset palm area threshold, then it can be determined that the brightness of the initial palm vein image of the palm of the subject to be tested is not within the preset brightness threshold range due to the area of the palm. At this time, the camera parameters of the camera module (for example, the focal length of the camera) can be adjusted to change the brightness of the initial palm vein image of the palm of the subject to be tested; the distance parameters between the camera module and the palm of the subject to be tested can also be adjusted (for example, controlling the relevant device to raise and lower the camera module to adjust the distance between the camera module and the palm of the subject to be tested) to change the brightness of the initial palm vein image of the palm of the subject to be tested; sound, light or picture information can also be emitted through the relevant device to notify the subject to be tested to change the palm position, angle, etc., to change the brightness of the initial palm vein image of the palm of the subject to be tested until the brightness of the initial palm vein image of the palm of the subject to be tested is within the preset brightness threshold range.
[0114] S906: Acquire the current palm vein image of the palm of the person to be tested as the final palm vein image of the palm of the person to be tested.
[0115] After the brightness of the initial palm vein image of the palm of the person to be tested is within the preset brightness threshold range, the current state of the person to be tested and the camera module can be kept unchanged, so that the second camera in the camera module captures the current palm vein image of the palm of the person to be tested, and the current palm vein image is used as the final palm vein image of the palm of the person to be tested, then the brightness of the palm vein image in the final palm vein image is within the preset brightness threshold range.
[0116] like Fig. 9 As shown, according to the palm print image of the subject's palm, after acquiring the final palm vein image of the subject's palm, the second preprocessing may specifically include:
[0117] S908, obtaining a final palm vein image and a palm print image of the palm of the subject, and extracting a region of interest of the final palm vein image and a region of interest of the palm print image respectively.
[0118] It is understandable that after the first preprocessing, the current palm vein image of the palm of the person to be tested can be collected as the final palm vein image of the palm of the person to be tested, or the current palm vein image of the palm of the person to be tested can be directly collected as the final palm vein image of the palm of the person to be tested without the first preprocessing.
[0119] See also Fig.12 , Fig.12 The present invention is a schematic structural diagram of a fill light module provided by an exemplary embodiment of the present invention.
[0120] like Fig.12 As shown, in an exemplary embodiment of the present specification, the camera module may further include a first camera 200; a visible light filter is provided on the lens of the first camera 200, and the wavelength range of the visible light filter is 400-700nm, and the first camera 200 is used to collect the palm print image of the palm of the person to be tested. Optionally, the fill light module 1000 may further include a first fill light module 1030, and the first fill light module 1030 includes at least one visible light fill light 1031, and the first fill light module 1030 is provided at a first preset position away from the first camera 200. After the first fill light module 1030 is turned on, it is used to fill light when the first camera 200 collects the palm print image of the palm of the person to be tested. Then, after obtaining the final palm vein image of the person to be tested, the palm print image of the palm of the person to be tested can also be obtained through the first camera 200 in the camera module.
[0121] In one or more embodiments of the present specification, the focal length and depth of field of the first camera 200 in the camera module can be set (for example, the focal distance is 10 to 15 cm, the depth of field is approximately ±3 cm, and the focal length and depth of field of the first camera 200 can be the same as the focal length and depth of field of the second camera 100) to achieve a palm print image of the palm of the person to be measured through the first camera 200 in the camera module based on a non-contact design.
[0122] Palm prints are a general term for all the lines on the palm skin. Since both palm print images and palm vein images are images of the same palm of the subject, the difference is that palm print images are collected based on visible light irradiated on the palm, while palm vein images are collected based on infrared light irradiated on the palm. Foreign matter in the palm (such as attachments and scars on the palm) or external lighting (such as a spotlight containing infrared light) and other factors will affect the palm vein image collected by infrared light, but will not affect the palm print image collected by visible light.
[0123] Specifically, foreign matter in the palm (such as attachments, scars, etc. on the palm) can be illuminated by visible light, so the foreign matter in the palm (such as attachments, scars, etc. on the palm) can be collected in the palm print image of the palm; foreign matter in the palm (such as attachments, scars, etc. on the palm) may block infrared light, resulting in the palm veins near the foreign matter in the palm (such as attachments, scars, etc. on the palm) not receiving infrared light, thereby causing some palm vein features in the palm vein image of the palm to be lost.
[0124] Therefore, according to the above analysis, after obtaining the final palm vein image and palm print image of the palm of the subject, the region of interest of the final palm vein image and the region of interest of the palm print image can be extracted respectively. The region of interest can be considered as the area in the palm that contains the most palm print features and palm vein features. The region of interest of the final palm vein image and the region of interest of the palm print image can be the same area.
[0125] S910: extract a first abnormal feature point in the region of interest of the palm print image, and set a matching weight of a first palm vein feature corresponding to the first abnormal feature point in the final palm vein image as a first preset matching weight.
[0126] After extracting the region of interest of the final palm vein image and the region of interest of the palm print image, the foreign matter in the palm (such as attachments and scars on the palm) can be collected in the palm print image of the palm, and then the first abnormal feature point corresponding to the foreign matter in the palm (such as attachments and scars on the palm) in the region of interest of the palm print image can be extracted, wherein the first abnormal feature point in the region of interest of the palm print image can be achieved by contour extraction, canny edge extraction or morphological filtering.
[0127] After determining the first abnormal feature point in the region of interest of the palm print image, since the region of interest of the final palm vein image and the region of interest of the palm print image may be the same region, the pixel position corresponding to the first abnormal feature point in the region of interest of the palm print image may be determined according to the pixel position of the first abnormal feature point in the region of interest of the palm print image, and the palm vein feature of the pixel position corresponding to the first abnormal feature point in the region of interest of the final palm vein image is obtained, and the palm vein feature is determined as the first palm vein feature.
[0128] Since it is necessary to perform feature matching based on the features in the palm vein image in the subsequent process of identifying the identity of the subject according to the final palm vein image, after determining the abnormal feature point in the palm vein image, the matching weight of the first palm vein feature can be set, that is, the matching weight of the first palm vein feature corresponding to the first abnormal feature point in the final palm vein image is set to the first preset matching weight. The first preset matching weight can be set as needed. When the first preset matching weight is 0, it can be considered that the first palm vein feature is removed. By setting the first preset matching weight, the influence of the first palm vein feature on the matching result of the feature in the palm vein image can be reduced. Optionally, the first palm vein feature can also be directly removed to reduce the influence of the first palm vein feature on the matching result of the feature in the palm vein image.
[0129] like Fig. 9 As shown, according to the palm print image of the subject's palm, after acquiring the final palm vein image of the subject's palm, the second preprocessing may further specifically include:
[0130] S912, obtaining a final palm vein image and a palm print image of the palm of the subject, and extracting a region of interest of the final palm vein image and a region of interest of the palm print image respectively.
[0131] According to the analysis in the above embodiments, since the palm print image and the palm vein image are both images of the same palm of the subject to be tested, the difference between them is that the palm print image is collected based on the visible light irradiated on the palm, and the palm vein image is collected based on the infrared light irradiated on the palm. Foreign matter in the palm (such as attachments and scars on the palm) or external lighting (such as a spotlight containing infrared light) and other factors will affect the palm vein image collected by infrared light, but will not affect the palm print image collected by visible light.
[0132] Specifically, external light (for example, a spotlight containing infrared light) cannot be collected by the first camera in the camera module, that is, the visible light camera, but external light (for example, a spotlight containing infrared light) can be collected by the second camera in the camera module, that is, the infrared light camera. Therefore, when the palm vein image of the palm is collected by the infrared light camera, it is very likely that the external light (for example, the spotlight containing infrared light) will be collected into the palm vein image of the palm, so that the palm vein image of the palm will add feature points that do not belong to the palm vein, which will cause errors in identity recognition based on the palm vein image of the palm.
[0133] Therefore, according to the above analysis, after obtaining the final palm vein image and palm print image of the palm of the subject, the region of interest of the final palm vein image and the region of interest of the palm print image can be extracted respectively. The region of interest can be considered as the area in the palm that contains the most palm print features and palm vein features. The region of interest of the final palm vein image and the region of interest of the palm print image can be the same area.
[0134] S914. Extract a second abnormal feature point in the region of interest of the final palm vein image according to the region of interest of the palm print image, and set a matching weight of a second palm vein feature corresponding to the second abnormal feature point in the final palm vein image as a second preset matching weight.
[0135] After extracting the region of interest of the final palm vein image and the region of interest of the palm print image, since the external light (for example, a spotlight containing infrared light) cannot be collected by the first camera in the camera module, that is, the visible light camera, but the external light (for example, a spotlight containing infrared light) can be collected by the second camera in the camera module, that is, the infrared light camera, that is, the region of interest of the final palm vein image will have more abnormal feature points than the region of interest of the palm print image. In order to extract the abnormal feature points in the region of interest of the final palm vein image, the different feature points of the region of interest of the final palm vein image and the region of interest of the palm print image can be distinguished by a difference algorithm. The feature point is also the abnormal feature point in the region of interest of the final palm vein image that is more than the region of interest of the palm print image, and the abnormal feature point is used as the second abnormal feature point. After determining the second abnormal feature point, the palm vein feature of the pixel position corresponding to the second abnormal feature point in the region of interest of the final palm vein image can also be obtained, and the palm vein feature is determined as the second palm vein feature.
[0136] Since it is necessary to perform feature matching based on the features in the palm vein image in the subsequent process of identifying the identity of the subject according to the final palm vein image, after determining the abnormal feature point in the palm vein image, the matching weight of the second palm vein feature can be set, that is, the matching weight of the second palm vein feature corresponding to the second abnormal feature point in the final palm vein image is set to the second preset matching weight. The second preset matching weight can be set as needed. When the second preset matching weight is 0, it can be considered that the second palm vein feature is removed. By setting the second preset matching weight, the influence of the second palm vein feature on the matching result of the feature in the palm vein image can be reduced. Optionally, the first palm vein feature can also be directly removed to reduce the influence of the first palm vein feature on the matching result of the feature in the palm vein image.
[0137] Optionally, the above two methods of performing a second preprocessing based on the palm print image of the subject after acquiring the final palm vein image of the subject's palm can be executed separately or in combination. One or more embodiments of the present specification do not limit the execution order of the above second preprocessing methods.
[0138] like Fig. 9 As shown, the process of identifying the identity of the person to be tested according to the matching result may specifically include:
[0139] S916: Extract palm vein features from the final palm vein image after preprocessing.
[0140] In the identity recognition method, the final palm vein image has a certain directionality and can be regarded as a texture image. Therefore, when extracting the palm vein features of the final palm vein image, wavelet transform or convolutional neural network can be used. Among them, wavelet transform is to extract the distribution of features at different resolutions and directions. The extraction can be realized by using the three-scale Haar wavelet function. The feature vector of the final palm vein image n×n block is:
[0141]
[0142] Among them I m (x, y) is the gray value of the pixel, I M is the grayscale mean of the block, and the final feature vector is: V = [V1, V2, ... V n 2 ].
[0143] S918, matching the palm vein features with the palm vein features of the preset user in the database, and identifying the identity of the person to be tested according to the matching result.
[0144] Specifically, before the identity of the person to be tested is identified according to the matching results, a database can be pre-set, wherein the database includes the palm vein features of the preset user that are pre-collected and authenticated. Then, when the identity of the person to be tested is identified according to the matching results, the palm vein features in the final palm vein image of the person to be tested can be matched with the palm vein features of any preset user in the database. If the degree of match between the palm vein features and the palm vein features of any preset user in the database is greater than or equal to the first matching threshold, it is determined that the identity of the person to be tested is successfully identified, and the person to be tested is the authenticated preset user. If the degree of match between the palm vein features and the palm vein features of any preset user in the database is less than or equal to the second matching threshold, it is determined that the identity of the person to be tested fails, and the person to be tested is not the authenticated preset user. Among them, the first matching threshold and the second matching threshold can be set according to the needs of recognition accuracy, and the first matching threshold and the second matching threshold can be the same value or different values.
[0145] When the first matching degree threshold and the second matching degree threshold are not the same value, then the identification can also be performed in combination with the palm print image of the person to be tested. Specifically, at this time, the database also includes palm print features of pre-collected and authenticated preset users, and the identity of the person to be tested is identified according to the matching result, which also includes: if the matching degree of the palm vein feature and the palm vein feature of any preset user in the database is less than the first matching degree threshold and greater than the second matching degree threshold, then the palm print features in the palm print image of the palm of the person to be tested are extracted, and the palm print features are matched with the palm print features of the preset user in the database; if the matching degree of the palm print feature and the palm print feature of any preset user in the database is greater than or equal to the third matching degree threshold, and the preset user corresponding to the palm print feature and the preset user corresponding to the palm vein feature are the same user, then it is determined that the identity recognition of the person to be tested is successful, and the person to be tested is the authenticated preset user; if the matching degree of the palm print feature and the palm print feature of any preset user in the database is less than the third matching degree threshold, and / or the preset user corresponding to the palm print feature and the preset user corresponding to the palm vein feature are not the same user, then it is determined that the identity recognition of the person to be tested fails, and the person to be tested is not the authenticated preset user.
[0146] In one embodiment of the present specification, a discrimination method based on the fusion of two biometric features, palm print and palm vein, is proposed, which further improves the accuracy of identity recognition, and uses a dual camera module to alternately collect palm print and palm vein images under non-contact conditions and process and recognize them, effectively improving the recognition rate and anti-interference ability.
[0147] See also Fig.13 , Fig.13 The present invention is a schematic diagram of the structure of an identity recognition device provided as an exemplary embodiment of the present invention.
[0148] like Fig.13As shown, the identity recognition device 1300 includes:
[0149] The first preprocessing module 1310 is used to perform a first preprocessing according to the brightness of the initial palm vein image of the palm of the subject to be tested before acquiring the final palm vein image of the palm of the subject to be tested.
[0150] The identification module 1320 is used to identify the identity of the person to be tested according to the final palm vein image after preprocessing.
[0151] See also Fig.14 , Fig.14 The present invention is a schematic diagram of the structure of an identity recognition device provided as an exemplary embodiment of the present invention.
[0152] like Fig.14 As shown, the identity recognition device 1400 includes:
[0153] The second preprocessing module 1410 is used to perform a second preprocessing according to the palm print image of the palm of the subject to be tested after the final palm vein image of the palm of the subject to be tested is acquired.
[0154] The identification module 1420 is used to identify the identity of the person to be tested according to the final palm vein image after preprocessing.
[0155] See also Fig.15 , Fig.15 The present invention is a schematic diagram of the structure of an identity recognition device provided as an exemplary embodiment of the present invention.
[0156] like Fig.15 As shown, the identity recognition device 1500 includes:
[0157] The first preprocessing module 1510 is used to perform a first preprocessing according to the brightness of the initial palm vein image of the palm of the subject to be tested before acquiring the final palm vein image of the palm of the subject to be tested.
[0158] The second preprocessing module 1520 is used to perform a second preprocessing according to the palm print image of the palm of the subject to be tested after the final palm vein image of the palm of the subject to be tested is acquired.
[0159] The identification module 1530 is used to identify the identity of the person to be tested according to the final palm vein image after preprocessing.
[0160] In the above device, the first preprocessing module is also used to obtain an initial palm vein image of the palm of the person to be tested, and determine the brightness of the initial palm vein image of the palm of the person to be tested according to the initial palm vein image; if the brightness of the initial palm vein image of the palm of the person to be tested is not within a preset brightness threshold range, adjust the parameters of the fill light module and / or the parameters of the camera module until the brightness of the initial palm vein image of the palm of the person to be tested is within the preset brightness threshold range; and collect the current palm vein image of the palm of the person to be tested as the final palm vein image of the palm of the person to be tested.
[0161] Optionally, if the brightness of the initial palm vein image of the palm of the person to be tested is not within a preset brightness threshold range, the parameters of the fill light module and / or the parameters of the camera module are adjusted, including: if it is determined that the brightness of at least one area in the initial palm vein image is not within the preset brightness threshold range, and it is determined that the area of the palm of the person to be tested is equal to or greater than the preset palm area threshold, then the lighting parameters of the fill light module are adjusted to change the brightness of the initial palm vein image of the palm of the person to be tested.
[0162] Optionally, if the brightness of the initial palm vein image of the palm of the person to be tested is not within a preset brightness threshold range, the parameters of the fill light module and / or the parameters of the camera module are adjusted, including: if it is determined that the brightness of at least one area in the initial palm vein image is not within the preset brightness threshold range, and it is determined that the area of the palm of the person to be tested is smaller than the preset palm area threshold, then the camera parameters of the camera module and / or the distance parameters between the camera module and the palm of the person to be tested are adjusted to change the brightness of the initial palm vein image of the palm of the person to be tested.
[0163] In the above device, the second preprocessing module is also used to obtain the final palm vein image and palm print image of the palm of the person to be tested, and to extract the region of interest of the final palm vein image and the region of interest of the palm print image respectively; extract the first abnormal feature point in the region of interest of the palm print image, and set the matching weight of the first palm vein feature corresponding to the first abnormal feature point in the final palm vein image to the first preset matching weight.
[0164] In the above device, the second preprocessing module is also used to obtain the final palm vein image and palm print image of the palm of the person to be tested, and to extract the region of interest of the final palm vein image and the region of interest of the palm print image respectively; extract the second abnormal feature point in the region of interest of the final palm vein image according to the region of interest of the palm print image, and set the matching weight of the second palm vein feature corresponding to the second abnormal feature point in the final palm vein image to the second preset matching weight.
[0165] In the above device, the recognition module is also used to extract palm vein features in the final palm vein image after preprocessing; match the palm vein features with the palm vein features of the preset user in the database, and identify the identity of the person to be tested based on the matching results.
[0166] Among them, the identity of the person to be tested is identified according to the matching result, including: if the matching degree of the palm vein feature with the palm vein feature of any preset user in the database is greater than or equal to the first matching degree threshold, it is determined that the identity recognition of the person to be tested is successful; if the matching degree of the palm vein feature with the palm vein feature of any preset user in the database is less than or equal to the second matching degree threshold, it is determined that the identity recognition of the person to be tested has failed.
[0167] Among them, identifying the identity of the person to be tested according to the matching result also includes: if the matching degree between the palm vein feature and the palm vein feature of any preset user in the database is less than the first matching threshold and greater than the second matching threshold, extracting the palm print feature in the palm print image of the palm of the person to be tested; matching the palm print feature with the palm print feature of the preset user in the database; if the matching degree between the palm print feature and the palm print feature of any preset user in the database is greater than or equal to the third matching threshold, and the preset user corresponding to the palm print feature and the preset user corresponding to the palm vein feature are the same user, then determining that the identity recognition of the person to be tested is successful; if the matching degree between the palm print feature and the palm print feature of any preset user in the database is less than the third matching threshold, and / or the preset user corresponding to the palm print feature and the preset user corresponding to the palm vein feature are not the same user, then determining that the identity recognition of the person to be tested has failed.
[0168] In one embodiment of the present specification, an identity recognition device includes: a first preprocessing module, which is used to perform a first preprocessing before collecting the final palm vein image of the palm of the subject to be tested according to the brightness of the initial palm vein image of the palm of the subject to be tested; and / or a second preprocessing module, which is used to perform a second preprocessing after collecting the final palm vein image of the palm of the subject to be tested according to the palm print image of the palm of the subject to be tested; and a recognition module, which is used to recognize the identity of the subject to be tested according to the final palm vein image after the preprocessing. Since the preprocessing operation is performed before collecting the final palm vein image of the palm of the subject to be tested, the interference caused by factors such as the placement angle, skin color or area of the palm of the subject to be tested can be removed; and the preprocessing operation is performed after collecting the final palm vein image of the palm of the subject to be tested, the interference caused by factors such as foreign objects in the palm of the subject to be tested or external lights can be removed. Then, the identity of the subject to be tested can be recognized according to the final palm vein image after removing the interference factors, which can effectively improve the accuracy of identity recognition through palm vein images.
[0169] One or more embodiments of the present specification further provide a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the steps of any of the methods in the above embodiments.
[0170] One or more embodiments of the present specification also provide a terminal, which includes: a camera module for collecting palm vein images and / or palm print images of the palm of the person to be tested; a fill light module for performing fill light when collecting the palm vein images and / or palm print images of the palm of the person to be tested; and a main control module for executing the steps of any one of the methods in the above embodiments.
[0171] Optionally, the camera module includes at least a first camera and a second camera, wherein the first camera is a visible light camera and the second camera is an infrared light camera; a visible light filter is provided on the lens of the first camera, and the first camera is used to collect the palm print image of the palm of the person to be tested; an infrared light filter is provided on the lens of the second camera, and the second camera is used to collect the palm vein image of the palm of the person to be tested.
[0172] Optionally, the fill light module includes at least a first fill light module and a second fill light module, the first fill light module includes at least one visible light fill light, and the second fill light module includes at least one first infrared fill light; the first fill light module is arranged at a first preset position away from the first camera, and after the first fill light module is turned on, it is used to provide fill light when the first camera collects the palm print image of the palm of the person to be tested; the second fill light module is arranged at a second preset position away from the second camera, and after the second fill light module is turned on, it is used to provide fill light when the second camera collects the palm vein image of the palm of the person to be tested.
[0173] Optionally, the fill light module also includes a third fill light module, which includes at least one second infrared fill light; the third fill light module is arranged at a third preset position away from the second camera; the main control module determines whether the brightness of the initial palm vein image of the palm of the person to be tested is within a preset brightness threshold range based on the third fill light module, and / or the main control module adjusts the brightness of the initial palm vein image of the palm of the person to be tested to within a preset brightness threshold range based on the third fill light module.
[0174] For the detailed description of the camera module and fill light module in the terminal, please refer to the detailed records in the above steps, which will not be repeated here.
[0175] For further information, see Fig.16 , Fig.16 A schematic diagram of the structure of a terminal is provided as an exemplary embodiment of this specification. Fig.16As shown, the terminal 1600 may include: at least one processor 1601 , at least one network interface 1604 , a user interface 1603 , a memory 1605 , and at least one communication bus 1602 .
[0176] The communication bus 1602 is used to realize the connection and communication between these components.
[0177] The user interface 1603 may include a display screen (Display) and a camera (Camera), and the optional user interface 1603 may also include a standard wired interface and a wireless interface.
[0178] The network interface 1604 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0179] Among them, the processor 1601 may include one or more processing cores. The processor 1601 uses various interfaces and lines to connect various parts within the entire terminal 1600, and executes various functions and processes data of the terminal 1600 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1605, and calling data stored in the memory 1605. Optionally, the processor 1601 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 1601 can integrate one or more combinations of a processor (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1601, and it can be implemented separately through a chip.
[0180] Among them, the memory 1605 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 1605 includes a non-transitory computer-readable storage medium. The memory 1605 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 1605 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 1605 may also be optionally at least one storage device located away from the aforementioned processor 1601. As Fig.16 As shown, the memory 1605 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an identity recognition program.
[0181] exist Fig.16 In the terminal 1600 shown, the user interface 1603 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 1601 can be used to call the identity recognition program stored in the memory 1605 and specifically perform the following operations:
[0182] Performing a first preprocessing before acquiring a final palm vein image of the palm of the subject to be tested according to the brightness of the initial palm vein image of the palm of the subject to be tested; and / or
[0183] According to the palm print image of the palm of the subject to be tested, after acquiring the final palm vein image of the palm of the subject to be tested, performing a second preprocessing;
[0184] The identity of the person to be tested is identified based on the final palm vein image after preprocessing.
[0185] Optionally, according to the brightness of the initial palm vein image of the palm of the person to be tested, a first preprocessing is performed before the final palm vein image of the palm of the person to be tested is acquired, including: acquiring the initial palm vein image of the palm of the person to be tested, and determining the brightness of the initial palm vein image of the palm of the person to be tested according to the initial palm vein image; if the brightness of the initial palm vein image of the palm of the person to be tested is not within a preset brightness threshold range, adjusting the parameters of the fill light module and / or the parameters of the camera module until the brightness of the initial palm vein image of the palm of the person to be tested is within the preset brightness threshold range; and acquiring the current palm vein image of the palm of the person to be tested as the final palm vein image of the palm of the person to be tested.
[0186] Optionally, if the brightness of the initial palm vein image of the palm of the person to be tested is not within a preset brightness threshold range, the parameters of the fill light module and / or the parameters of the camera module are adjusted, including: if it is determined that the brightness of at least one area in the initial palm vein image is not within the preset brightness threshold range, and it is determined that the area of the palm of the person to be tested is equal to or greater than the preset palm area threshold, then the lighting parameters of the fill light module are adjusted to change the brightness of the initial palm vein image of the palm of the person to be tested.
[0187] Optionally, if the brightness of the initial palm vein image of the palm of the person to be tested is not within a preset brightness threshold range, the parameters of the fill light module and / or the parameters of the camera module are adjusted, including: if it is determined that the brightness of at least one area in the initial palm vein image is not within the preset brightness threshold range, and it is determined that the area of the palm of the person to be tested is smaller than the preset palm area threshold, then the camera parameters of the camera module and / or the distance parameters between the camera module and the palm of the person to be tested are adjusted to change the brightness of the initial palm vein image of the palm of the person to be tested.
[0188] Optionally, according to the palm print image of the palm of the person to be tested, a second preprocessing is performed after the final palm vein image of the palm of the person to be tested is acquired, including: obtaining the final palm vein image and the palm print image of the palm of the person to be tested, and extracting the region of interest of the final palm vein image and the region of interest of the palm print image respectively; extracting the first abnormal feature point in the region of interest of the palm print image, and setting the matching weight of the first palm vein feature corresponding to the first abnormal feature point in the final palm vein image to the first preset matching weight.
[0189] Optionally, based on the palm print image of the palm of the person to be tested, a second preprocessing is performed after the final palm vein image of the palm of the person to be tested is acquired, including: obtaining the final palm vein image and the palm print image of the palm of the person to be tested, and extracting the region of interest of the final palm vein image and the region of interest of the palm print image respectively; extracting the second abnormal feature point in the region of interest of the final palm vein image based on the region of interest of the palm print image, and setting the matching weight of the second palm vein feature corresponding to the second abnormal feature point in the final palm vein image to the second preset matching weight.
[0190] Optionally, the identity of the person to be tested is identified based on the final palm vein image after preprocessing, including: extracting palm vein features in the final palm vein image after preprocessing; matching the palm vein features with palm vein features of a preset user in a database, and identifying the identity of the person to be tested based on the matching result.
[0191] Optionally, the identity of the person to be tested is identified based on the matching result, including: if the degree of match between the palm vein feature and the palm vein feature of any preset user in the database is greater than or equal to a first matching degree threshold, then it is determined that the identity recognition of the person to be tested is successful; if the degree of match between the palm vein feature and the palm vein feature of any preset user in the database is less than or equal to a second matching degree threshold, then it is determined that the identity recognition of the person to be tested has failed.
[0192] Optionally, identifying the identity of the person to be tested based on the matching result also includes: if the matching degree between the palm vein feature and the palm vein feature of any preset user in the database is less than a first matching threshold and greater than a second matching threshold, extracting the palm print feature from the palm print image of the palm of the person to be tested; matching the palm print feature with the palm print feature of the preset user in the database; if the matching degree between the palm print feature and the palm print feature of any preset user in the database is greater than or equal to a third matching threshold, and the preset user corresponding to the palm print feature and the preset user corresponding to the palm vein feature are the same user, determining that the identity recognition of the person to be tested is successful; if the matching degree between the palm print feature and the palm print feature of any preset user in the database is less than the third matching threshold, and / or the preset user corresponding to the palm print feature and the preset user corresponding to the palm vein feature are not the same user, determining that the identity recognition of the person to be tested has failed.
[0193] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0194] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0195] In the several embodiments provided in one or more embodiments of this specification, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0196] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0197] In addition, each functional module in each of one or more embodiments of this specification may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0198] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of one or more embodiments of this specification, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of each method of one or more embodiments of this specification. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0199] It should be noted that, for the convenience of description, the aforementioned method embodiments are all described as a series of action combinations, but those skilled in the art should be aware that one or more embodiments of this specification are not limited by the described action sequence, because according to one or more embodiments of this specification, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by one or more embodiments of this specification.
[0200] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0201] The above is a description of an identity recognition method, device, terminal, and storage medium provided in one or more embodiments of this specification. For technicians in this field, according to the ideas of one or more embodiments of this specification, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on one or more embodiments of this specification.
Claims
1. An identity recognition method, the method comprising: According to the brightness of the initial palm vein image of the palm of the subject to be tested, performing a first preprocessing before acquiring the final palm vein image of the palm of the subject to be tested; and / or According to the palm print image of the palm of the subject to be tested, after acquiring the final palm vein image of the palm of the subject to be tested, performing a second preprocessing; Identifying the identity of the subject according to the final palm vein image after preprocessing; The first preprocessing is performed before acquiring the final palm vein image of the palm of the person to be tested according to the brightness of the initial palm vein image of the palm of the person to be tested, including: Acquire an initial palm vein image of the palm of the subject to be tested, and determine the brightness of the initial palm vein image of the palm of the subject to be tested according to the initial palm vein image; If the brightness of the initial palm vein image of the palm of the subject to be tested is not within the preset brightness threshold range, adjusting the parameters of the fill light module and / or the parameters of the camera module until the brightness of the initial palm vein image of the palm of the subject to be tested is within the preset brightness threshold range; Acquiring a current palm vein image of the palm of the subject to be tested as a final palm vein image of the palm of the subject to be tested; If the brightness of the initial palm vein image of the palm of the subject is not within a preset brightness threshold range, adjusting the parameters of the fill light module and / or the parameters of the camera module includes: If it is determined that the brightness of at least one area in the initial palm vein image is not within the preset brightness threshold range, and it is determined that the area of the palm of the person to be tested is equal to or greater than the preset palm area threshold, the lighting parameters of the fill light module are adjusted to change the brightness of the initial palm vein image of the palm of the person to be tested.
2. The method according to claim 1, wherein if the brightness of the initial palm vein image of the palm of the subject is not within a preset brightness threshold range, adjusting the parameters of the fill light module and / or the parameters of the camera module comprises: If it is determined that the brightness of at least one area in the initial palm vein image is not within the preset brightness threshold range, and it is determined that the area of the palm of the person to be tested is smaller than the preset palm area threshold, the camera parameters of the camera module and / or the distance parameters between the camera module and the palm of the person to be tested are adjusted to change the brightness of the initial palm vein image of the palm of the person to be tested.
3. The method according to claim 1, wherein the second preprocessing is performed after the final palm vein image of the palm of the subject is acquired based on the palm print image of the subject, comprising: Acquire a final palm vein image and a palm print image of the palm of the subject, and respectively extract a region of interest of the final palm vein image and a region of interest of the palm print image; A first abnormal feature point in the region of interest of the palm print image is extracted, and a matching weight of a first palm vein feature corresponding to the first abnormal feature point in the final palm vein image is set to a first preset matching weight to reduce the influence of the first palm vein feature on the matching result of the feature in the final palm vein image.
4. The method according to claim 1, wherein the second preprocessing is performed after the final palm vein image of the palm of the subject is acquired according to the palm print image of the subject, comprising: Acquiring a final palm vein image and a palm print image of the palm of the subject, and extracting a region of interest of the final palm vein image and a region of interest of the palm print image respectively; A second abnormal feature point in the region of interest of the final palm vein image is extracted according to the region of interest of the palm print image, and a matching weight of a second palm vein feature corresponding to the second abnormal feature point in the final palm vein image is set to a second preset matching weight to reduce the influence of the second palm vein feature on the matching result of the feature in the final palm vein image.
5. The method according to claim 1, wherein the identification of the subject according to the final palm vein image after preprocessing comprises: Extracting palm vein features from the final palm vein image after preprocessing; The palm vein feature is matched with the palm vein feature of a preset user in a database, and the identity of the person to be tested is identified according to the matching result.
6. The method according to claim 5, wherein the identifying the identity of the subject according to the matching result comprises: If the degree of matching between the palm vein feature and the palm vein feature of any preset user in the database is greater than or equal to a first matching degree threshold, it is determined that the identity recognition of the subject is successful; If the degree of matching between the palm vein feature and the palm vein feature of any preset user in the database is less than or equal to a second matching degree threshold, it is determined that the identity recognition of the person to be tested has failed.
7. The method according to claim 6, wherein the step of identifying the identity of the subject according to the matching result further comprises: If the palm vein feature matches the palm vein feature of any preset user in the database less than a first matching threshold and greater than a second matching threshold, extracting the palm print feature in the palm print image of the subject; Matching the palm print feature with the palm print feature of a preset user in the database; If the matching degree between the palm print feature and the palm print feature of any preset user in the database is greater than or equal to a third matching degree threshold, and the preset user corresponding to the palm print feature and the preset user corresponding to the palm vein feature are the same user, it is determined that the identity recognition of the subject is successful; If the matching degree between the palm print feature and the palm print feature of any preset user in the database is less than a third matching degree threshold, and / or the preset user corresponding to the palm print feature and the preset user corresponding to the palm vein feature are not the same user, it is determined that the identity recognition of the subject has failed.
8. An identity recognition device, comprising: A first preprocessing module, configured to perform a first preprocessing according to the brightness of the initial palm vein image of the palm of the subject to be tested before acquiring the final palm vein image of the palm of the subject to be tested; and / or A second preprocessing module, configured to perform a second preprocessing according to the palm print image of the palm of the subject to be tested after acquiring the final palm vein image of the palm of the subject to be tested; An identification module, used for identifying the identity of the subject according to the final palm vein image after preprocessing; Wherein, the first preprocessing module is specifically used for: Acquire an initial palm vein image of the palm of the subject to be tested, and determine the brightness of the initial palm vein image of the palm of the subject to be tested according to the initial palm vein image; If the brightness of the initial palm vein image of the palm of the subject to be tested is not within the preset brightness threshold range, adjusting the parameters of the fill light module and / or the parameters of the camera module until the brightness of the initial palm vein image of the palm of the subject to be tested is within the preset brightness threshold range; Acquiring a current palm vein image of the palm of the subject to be tested as a final palm vein image of the palm of the subject to be tested; If the brightness of the initial palm vein image of the palm of the subject is not within a preset brightness threshold, adjusting the parameters of the fill light module and / or the parameters of the camera module includes: If it is determined that the brightness of at least one area in the initial palm vein image is not within the preset brightness threshold range, and it is determined that the area of the palm of the person to be tested is equal to or greater than the preset palm area threshold, the lighting parameters of the fill light module are adjusted to change the brightness of the initial palm vein image of the palm of the person to be tested.
9. A terminal, comprising: A camera module is used to collect palm vein images and / or palm print images of the subject's palm; A fill light module, used for performing fill light when collecting the palm vein image and / or palm print image of the palm of the subject to be tested; A main control module, used to execute the steps of the method as claimed in any one of claims 1 to 7.
10. The terminal according to claim 9, wherein the camera module comprises at least a first camera and a second camera; A visible light filter is provided on the lens of the first camera, and the first camera is used to collect a palm print image of the palm of the person to be tested; An infrared filter is arranged on the lens of the second camera, and the second camera is used to collect the palm vein image of the palm of the person to be tested.
11. The terminal according to claim 10, wherein the fill light module comprises at least a first fill light module and a second fill light module, the first fill light module comprises at least one visible light fill light lamp, and the second fill light module comprises at least one first infrared fill light lamp; The first fill light module is disposed at a first preset position away from the first camera, and after being turned on, the first fill light module is used to provide fill light when the first camera collects a palm print image of the subject's palm; The second fill light module is disposed at a second preset position away from the second camera. After being turned on, the second fill light module is used to provide fill light when the second camera captures the palm vein image of the subject's palm.
12. The terminal according to claim 11, wherein the fill light module further comprises a third fill light module, and the third fill light module comprises at least one second infrared fill light; The third fill light module is arranged at a third preset position away from the second camera; The main control module determines whether the brightness of the initial palm vein image of the palm of the person to be tested is within a preset brightness threshold range based on the third fill light module, and / or the main control module adjusts the brightness of the initial palm vein image of the palm of the person to be tested to within the preset brightness threshold range based on the third fill light module.
13. A terminal comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 7 when executing the program.
14. A computer storage medium storing a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the steps of the method according to any one of claims 1 to 7.
15. A software product, comprising instructions for causing a computer device to execute the method steps as claimed in any one of claims 1 to 7.
