CN110619302A - Vein identification method and related product - Google Patents
Vein identification method and related product Download PDFInfo
- Publication number
- CN110619302A CN110619302A CN201910872535.0A CN201910872535A CN110619302A CN 110619302 A CN110619302 A CN 110619302A CN 201910872535 A CN201910872535 A CN 201910872535A CN 110619302 A CN110619302 A CN 110619302A
- Authority
- CN
- China
- Prior art keywords
- finger
- vein image
- vein
- target
- target finger
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/14—Vascular patterns
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Collating Specific Patterns (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
The embodiment of the application discloses vein identification method and related products, and application and electronic equipment, the electronic equipment comprises an imaging module and a vein identification module, the electronic equipment prestores vein image templates of a plurality of fingers, and the method comprises the following steps: acquiring finger parameters of a target finger through the imaging module; determining a vein image template of the target finger from vein image templates of the plurality of fingers according to the finger parameter of the target finger; acquiring vein image data of the target finger through the vein identification module; and carrying out vein identification according to the vein image template of the target finger and the vein image data of the target finger. By adopting the method and the device, the vein image template of the target finger can be determined from the vein image templates of the multiple fingers by utilizing the finger parameters, so that the data volume when the vein image data are matched with the vein image template is reduced, and the vein recognition rate can be further improved.
Description
Technical Field
The application relates to the technical field of electronic equipment, in particular to a vein identification method and a related product.
Background
Vein recognition technology has been increasingly applied to electronic devices, and the problem of how to improve the recognition efficiency of the existing vein recognition technology is still to be solved.
Disclosure of Invention
The embodiment of the application provides a vein identification method and a related product, and the efficiency of vein identification can be improved.
In a first aspect, an embodiment of the present application provides a vein identification method, which is applied to an electronic device, where the electronic device includes an imaging module and a vein identification module, and vein image templates of a plurality of fingers are prestored in the electronic device, and the method includes:
acquiring finger parameters of a target finger through the imaging module;
determining a vein image template of the target finger from vein image templates of the plurality of fingers according to the finger parameter of the target finger;
acquiring vein image data of the target finger through the vein identification module;
and carrying out vein identification according to the vein image template of the target finger and the vein image data of the target finger.
In a second aspect, an embodiment of the present application provides a function enabling method, which is applied to an electronic device, where vein image templates of a plurality of fingers are prestored in the electronic device, and a vein image template combination is formed by the vein image templates of at least one finger, where each vein image template combination corresponds to a function, and the method includes:
acquiring a first finger parameter of a first target finger; wherein the first target finger can be a plurality of fingers;
determining a vein image template combination of the first target finger from the vein image template combinations according to the first finger parameter;
acquiring first vein image data of the first target finger;
acquiring a matching value of the first vein image data and the vein image template combination;
and if the matching value is within a preset threshold value, starting a function corresponding to the current vein image template combination.
In a third aspect, an embodiment of the present application provides an electronic device, where vein image templates of multiple fingers are prestored, the apparatus includes:
the imaging unit is used for acquiring finger parameters of a target finger;
the vein identification module is used for acquiring vein image data of the target finger;
and the processor is used for determining a vein image template of the target finger from the vein image templates of the plurality of fingers according to the finger parameter of the target finger and performing vein identification according to the vein image template of the target finger and the vein image data of the target finger.
In a fourth aspect, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the method described in the first aspect or the second aspect of the present embodiment; the computer program comprises a terminal device.
In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored thereon, and the program is executed by a processor to perform the method described in the first aspect or the second aspect of the present embodiment.
According to the method and the device, the finger parameters of the target finger are obtained, and the vein image template of the target finger is obtained from the vein image templates of the multiple fingers according to the finger parameters; and then vein recognition is carried out according to the obtained vein image template and the vein image data of the target finger. Therefore, when vein recognition is carried out, the vein image data obtained by the target finger does not need to be compared with all vein image templates, and only the vein image data of the target finger needs to be compared with the vein image template of the target finger obtained according to the finger parameters of the target finger, so that the comparison data amount of the vein image data is reduced, and the vein recognition efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a vein recognition method according to an embodiment of the present application;
fig. 3 is a schematic diagram of a vein recognition method according to another embodiment of the present application;
fig. 4 is a schematic diagram of a vein recognition method according to another embodiment of the present application;
fig. 5 is a schematic diagram of a vein recognition method according to another embodiment of the present application;
FIG. 6 is a diagram illustrating a method for enabling functions according to an embodiment of the present application;
FIG. 7 is a diagram illustrating a method for enabling functions according to another embodiment of the present application;
fig. 8 is a schematic diagram of a function enabling method according to another embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The following describes embodiments of the present application in detail.
Vein recognition is one of biological recognition, and identification is performed mainly by using the structure of vein blood vessels. The vein recognition may be finger vein recognition or palm vein recognition. The principle of vein recognition is that vein blood vessels have different absorption characteristics to infrared light with specific wavelength between muscles and bones. When infrared light irradiates on a finger or a palm, hemoglobin in human blood can absorb the infrared light, so that the position with veins can be reflected dimly because the infrared light is absorbed; however, since the muscles and bones cannot absorb the infrared light, the infrared light can be reflected strongly. Therefore, the vein contrast image with dark light at the position with veins and strong light at the position without veins can be obtained.
As described above, the vein recognition method utilizes the absorption characteristics of infrared light by vein blood vessels among blood vessels, and the infrared light itself is permeable to air, so that a finger or a palm does not need to be in contact with the recognition apparatus when recognition is performed. Therefore, damage, abrasion, dryness or too much humidity of the surface of the finger or palm does not bring identification obstacle; the user also does not need to worry about the sanitary condition in the identification process.
The vein recognition is finger vein recognition, can be finger vein recognition or toe vein recognition, and can also be vein recognition formed by fingers and toes. For convenience of discussion, the present application takes finger vein recognition as an example, but does not constitute a limitation of the present application.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
The electronic device 100 according to the embodiment of the present disclosure may include various handheld devices (mobile phones, tablet computers), computing devices (desktop computers, laptop computers), vehicle-mounted devices, wearable devices (smart watches, smart bracelets, wireless headsets, augmented reality/virtual reality devices, smart glasses), or other processing devices connected to wireless modems, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like. This is not to be taken in any way limiting by the present application.
The electronic device 100 includes an imaging unit 110, a vein recognition module 130, and a processor 150.
The electronic device 100 has pre-stored therein vein image templates for one or more fingers.
When the user uses the electronic device 100, vein image data can be input for a function as a vein image template; in the using process, the electronic device calculates the matching value of the obtained vein image data and the vein image template, and starts the function if the matching value is within a preset threshold value.
Take unlocking the electronic device 100 as an example of a function that the user wants to realize by using the vein recognition.
Optionally, when the user enters vein image data, the vein image of one certain finger of the user can be selected as a vein image template for unlocking the electronic device 100. No limitation is made to the specific finger herein. For example, the user may select a vein image of the right index finger as the vein image template to unlock the electronic device 100. At this time, the electronic device 100 stores the vein image template of the finger input by the user according to the input of the vein image of one of the fingers by the user. In this case, the electronic apparatus 100 prestores a vein image template of a finger.
Optionally, when the user enters vein image data, the vein images of any two fingers of the user can be selected as the vein image template for unlocking the electronic device 100. No limitation is made to the specific finger herein.
For example, the user may select vein images of the left index finger and the right middle finger as vein image templates for unlocking the electronic device 100. At this time, the electronic device 100 stores the vein image templates of the fingers input by the user according to the input of the vein images of any two fingers by the user. In this case, the electronic apparatus 100 stores vein image templates of two fingers in advance.
Optionally, when the user enters vein image data, the vein image of any number of fingers of the user can be selected as a vein image template for unlocking the electronic device 100. No particular finger is defined herein.
For example, the user may select vein images of the left thumb, right index finger, and middle finger of the right hand as vein image templates for unlocking the electronic device 100. At this time, the electronic device 100 stores the vein image template of the finger input by the user according to the input of the vein image of any three fingers by the user. In this case, vein image templates of three fingers are prestored in the electronic apparatus 100.
In the process of vein recognition, the finger of the user for vein recognition is the target finger, and the vein recognition module 130 may be configured to obtain vein image data of the target finger. In some embodiments, a plurality of vein image templates may be stored in the electronic device, so that when matching is performed, the vein image data of the target finger needs to be matched with the vein image templates of the plurality of fingers one by one, and if a vein image template with a matching value within a preset range is found, the matching is considered to be passed, and vein identification is successful. In this process, the amount of data to be matched is large, and thus the efficiency of vein identification is low.
According to the vein identification method and device, the electronic equipment and the computer-readable storage medium, when vein image templates of multiple fingers are stored in the electronic equipment, the finger parameters of the target finger are obtained through the imaging module, the vein image template of the target finger is determined from the vein image templates of the multiple fingers according to the finger parameters, and vein identification is performed according to the vein image template and the obtained vein image data of the target finger, so that the data volume in the matching process is reduced, and the vein identification efficiency is improved.
Referring to fig. 1, fig. 1 illustrates a vein recognition method applicable to an electronic device, the method including: the finger parameters of the target finger are obtained through the imaging module 110.
The imaging module 110 may be a camera module. The camera module can be a front camera module, a rear camera module, a single camera module, a multi-camera module, a 3D structured light module or a ToF (Time of Flight) module and other modules capable of identifying the outline of the finger. The 3D structured light module and the ToF structured light module can both comprise infrared light emitters, infrared light receivers, visible light cameras, image processing chips and other modules, and the visible light cameras can be front-facing cameras.
In addition, the imaging module can also be the multiplexing of fingerprint identification module or vein identification module.
Since the physical parameters of each finger of the user are different, the target finger can be distinguished by the physical parameters. The physical parameters can be finger contour, preset finger name, finger shape, finger length, finger thickness, finger condyle edge curve, finger fingerprint information, finger vein image information, etc. The target finger may originate from the same user or from a different user. The imaging module 110 can acquire physical parameters of any finger of the user.
When the target finger of the user is in the image acquisition range of the imaging module, the imaging module can photograph the target finger of the user or identify the depth information of the finger so as to identify physical parameters such as the outline of the finger; or the finger parameter of the target finger is obtained by acquiring the fingerprint data of the finger of the user through the fingerprint identification module and acquiring the vein data of the user through the vein identification module.
After the imaging module 110 obtains the finger contour of the target finger, the finger name of the target finger can be determined according to the finger contour, for example, the target finger is the index finger of the right hand, the target finger is the middle finger of the right hand, the left thumb and the right thumb, and the finger name is used as the finger parameter of the target finger. So as to determine the vein image template of the target finger directly according to the matching degree of the label information and the finger name contained in the vein image templates. The label information included in the vein image templates will be referred to in the following discussion.
The vein recognition module 130 may be integrated below the display screen, or the vein recognition module may be disposed on the back of the electronic device housing. Specifically, vein identification module can include infrared lamp and vein image acquisition module, and the infrared lamp can launch the infrared light, and when the skin of infrared light irradiation human vein, the skin can be passed to the infrared light, and the vein can produce the reflection to form vein line image, thereby, accessible vein image acquisition module collection vein image.
The processor 150 may determine a vein image template for the target finger from the vein image templates for the plurality of fingers based on the finger parameters for the target finger.
The processor 150 may match the finger outline of the target finger obtained by the imaging module 110 with the vein image templates of a plurality of fingers one by one, so as to determine the vein image template of the target finger.
Compared with vein image data, the finger outline is a rough feature of the finger, so that the rough feature is firstly used for matching with vein image templates of multiple fingers, and the effect of quickly finding out the vein image template of the target finger from the multiple templates can be achieved due to the fact that the data size of the rough feature comparison is small.
Optionally, when the vein image templates of a plurality of fingers are pre-stored, corresponding label information may be marked for each template, where the label information is used to indicate the finger name of the finger.
For example, the label information is a template of the middle finger of the right hand or a template of the index finger and the thumb of the left hand. Or the label information is the template of the A finger, wherein the A finger is a middle finger with a right hand and the like. The embodiment of the present application does not limit the manner of tag information.
In this case, the processor 150 may also determine the vein image template of the target finger according to a matching condition between the finger name of the target finger acquired by the imaging module 110 and the finger names in the plurality of vein image template tag information.
When the vein image template of the target finger is determined by using the finger name, matching is performed only according to the finger name of the target finger acquired by the imaging module 110 and the label information of the plurality of vein image templates, and the finger name and the label information belong to more rough features than vein image data and finger outlines. The speed of determining the vein image template of the target finger from the vein image templates of a plurality of fingers can be remarkably improved.
After determining the vein image template of the target finger, the processor 150 performs vein recognition according to the vein image data acquired by the vein recognition module 130 and the vein image template of the target finger determined according to the parameters of the target finger acquired by the imaging module 110.
It can be seen that, in the electronic device described in the embodiment of the present application, the finger parameter of the target finger is determined by the imaging module, and the vein image template of the target finger is determined from the vein image templates of the plurality of fingers according to the finger parameter; and vein recognition is carried out according to the vein image template of the target finger, so that the vein image data only needs to be matched with one vein image template associated with the vein image data, the data volume of vein recognition is reduced, the time required by vein recognition is shortened, and the efficiency of vein recognition is improved.
Referring to fig. 2, fig. 2 is a schematic view of a vein recognition method according to an embodiment of the present disclosure, which may be applied to the electronic device shown in fig. 1, where the electronic device includes an imaging module and a vein recognition module, and the electronic device prestores vein image templates of a plurality of fingers. As shown in the figure, the vein identification method includes:
and S101, acquiring finger parameters of the target finger through the imaging module.
Wherein, as mentioned above, the finger parameter of the target finger may be the finger profile of the target finger. The finger contour can include various forms such as the shape of the finger, the length of the finger, the thickness of the finger, the curve of the edge of the finger condyle and the like.
In one possible example, the finger parameter of the target finger may also be a finger name of the target finger.
As shown in fig. 3, step S101 may further include:
s111, acquiring a finger outline of a target finger through the imaging module;
s131, determining the finger name of the target finger according to the finger contour of the target finger.
After the finger outline of the target finger is obtained, the name of the finger can be determined according to various forms of the shape, the length, the thickness and the like of the finger.
For example, the finger which is thick and short, 4-5 cm long, no obvious bend on the left side of the finger contour curve and obvious bend on the right side is the thumb of the right hand; the finger is thin and short, the length is 5-6 cm, the left side of the finger contour curve is not obviously bent, and the right side of the finger contour curve is obviously bent.
Or before step S111, the imaging module may determine whether the palm of the target finger is the left hand or the right hand, then step S111 is performed to obtain the finger contour of the target finger, and step S131 is performed to determine the finger name of the target finger in the palm of the left hand or the palm of the right hand according to the finger contour.
The purpose of setting the finger parameters of the target finger is to acquire characteristic information of the target finger adopted by the user for vein recognition, and the target finger of the user for vein recognition can be determined through the characteristic information. Therefore, the finger parameter of the target finger is not limited to be only the finger outline or the finger name in the embodiment of the application, as long as the target finger for vein recognition by the user can be determined.
In addition, the imaging module can be an electronic component additionally arranged for the electronic equipment in order to acquire the finger parameters of the target finger, and can also be multiplexing of the electronic components in the electronic equipment. This is not limited by the present application.
Optionally, the imaging module can include leading module, 3D structured light module, TOF module, fingerprint identification module etc. of making a video recording. In particular, the imaging module may also be a vein recognition module.
Referring to fig. 2, the vein identification method further includes:
s103, determining the vein image template of the target finger from the vein image templates of the multiple fingers according to the finger parameter of the target finger.
The number of the vein image templates of the determined target finger is less than that of the vein image templates of a plurality of fingers prestored in the electronic device.
For example, vein image templates of 5 fingers are prestored in the electronic device, and the number of vein image templates of the target finger determined according to the finger parameter of the target finger may be 1, 2, or 4. The number of the determined vein image templates of the target finger is smaller than the number of the vein image templates of the fingers prestored in the electronic equipment.
Besides, the number of the vein image templates of the determined target finger can be 0. For example, when the electronic device is stolen and a thief performs vein recognition with his finger, the number of the vein image templates of the determined target finger is 0 because the vein image templates of the thief do not exist in the vein image templates of the fingers of the electronic device. In this case, it can be directly determined that vein recognition does not pass.
As described above, the finger parameter of the target finger may be a finger contour or a finger name.
When the finger parameter of the target finger is the finger profile, the step S103 may further include the following steps:
s113, acquiring a plurality of matching values respectively corresponding to the finger outline of the target finger and the vein image templates of the plurality of fingers; and
and S133, if the matching value is within a preset threshold value, determining that the vein image template corresponding to the matching value is the vein image template of the target finger.
After the finger contour of the target finger is obtained, the finger contour can be matched with vein image templates of a plurality of fingers respectively, and a plurality of corresponding matching values can be obtained. Higher matching values represent higher degree of coincidence or similarity between the finger contour of the target finger and the finger contour in the vein image template.
Alternatively, the preset threshold may be 80% to 100%. If the matching value of the contour of the target finger and the vein image template of a certain finger is within a preset threshold value, the similarity of the contour of the target finger and the vein image template of the certain finger is high, and the vein image template can be determined to be the vein image template of the target finger.
The preset threshold value can be set autonomously according to the needs of a user, or can be set by a manufacturer before the electronic equipment leaves a factory. The range and the setting mode of the preset threshold value are not limited.
Optionally, when the finger parameter of the target finger is a finger name, and the tag information included in the vein image templates of the multiple fingers can be used to indicate the finger name of the finger, step S103 may further include:
and if the finger name in the label information is matched with the finger name of the target finger, determining that the vein image template corresponding to the label information is the vein image template of the target finger.
As described above, the present application does not limit the form of the tag information, and details are not described herein.
Referring to fig. 2, the vein identification method further includes:
s105, acquiring vein image data of the target finger through the vein recognition module; and
and S107, carrying out vein identification according to the vein image template of the target finger and the vein image data of the target finger.
Therefore, the finger parameters of the target finger are obtained through the imaging module, the vein image templates of the target finger are determined from the vein image templates of the fingers according to the finger parameters, the vein image templates of the fingers are rapidly screened by using rough characteristics, the number of the templates needing to be matched for the vein image data obtained by the vein identification module is reduced, the processing data amount of vein identification is reduced, and therefore the efficiency of vein identification can be improved.
Optionally, fig. 5 is a schematic diagram of a vein recognition method according to another embodiment of the present application.
In this embodiment, the step S101 of acquiring the finger parameter of the target finger through the imaging module, the step S103 of determining the vein image template of the target finger from the vein image templates of the multiple fingers according to the finger parameter of the target finger, and the step S105 of acquiring the vein image data of the target finger through the vein recognition module may be performed simultaneously.
Simultaneous means that at some point in time in the electronic device, the processor runs both steps simultaneously. However, the two steps are not necessarily performed from the same time.
For example, it is set that step S101 starts to operate from the T1 th time, step S103 starts to operate from the T2 th time, and ends up at the T3 th time. Then, step S105 may be started from time T1 at the same time as step S101, step S105 may be started from time T3, or may be started from any time T1 to T3. This is not limited by the present application.
Multiple steps can be processed in parallel at the same time through simultaneous operation of the steps, so that the time required by vein identification is shortened.
Fig. 6 is a schematic diagram of a function enabling method according to an embodiment of the present application. As shown in fig. 6, the function enabling method includes:
s201, acquiring a first finger parameter of a first target finger; wherein the first target finger can be a plurality of fingers;
the first finger parameter may be the number of fingers of the first target finger, the finger outline of the first target finger, or the finger name of the first target finger.
In the embodiment of the present application, the first finger parameter may be a finger outline of the first target finger or a finger name of the first target finger.
S203, determining a vein image template combination of the first target finger from the vein image template combination according to the first finger parameter;
s205, acquiring first vein image data of the first target finger;
s207, acquiring a matching value of the first vein image data and the vein image template combination;
and S209, if the matching value is within a preset threshold value, starting a function corresponding to the current vein image template combination.
The function related in the embodiment of the application may be an operation for selecting a specific application from a plurality of applications, for example, opening a music APP, opening a photo APP, or the like; or the operation may be specific to a specific function in an application, for example, starting music playing, hanging up a phone, starting a photo, and the like in a music APP of the electronic device; but also some shortcut operations such as copy, paste, screenshot, etc. For example, in an electronic device, functions may include power on, power off, unlock, copy, cut, paste, select, delete, close, undo, web search, translate, save, replace, create, turn on music, hang up, etc. The form of the function is not limited in the present application.
When vein image templates of a plurality of fingers are prestored in the electronic equipment, the vein image template of at least one finger can form a vein image template combination, and one function can be realized by combining a plurality of templates.
Taking the unlocking electronic device 100 as an example, when vein image templates of three fingers, namely a left thumb, a right index finger and a middle finger of a right hand, are pre-stored in the electronic device, the vein image templates of the three fingers alone, two by two or three together can be used as vein image templates for unlocking the electronic device.
For example, when a vein image template is combined to form a vein image template combination, unlocking the electronic device 100 may be implemented by the vein image of the left thumb of the user being the same as the vein image template combination of the left thumb pre-stored in the electronic device, the vein image of the right index finger of the right hand of the user being the same as the vein image template combination of the right index finger of the right hand pre-stored in the electronic device, or the vein image of the middle finger of the right hand of the user being the same as the vein image template combination of the middle finger of the right hand pre-stored in the electronic device.
When the two vein image templates are combined to form the vein image template combination, unlocking the electronic device 100 can be realized by that the vein images of the left thumb and the right index finger of the user are the same as the vein image template combination formed by the left thumb and the right index finger pre-stored in the electronic device, the vein images of the left thumb and the right middle finger of the user are the same as the vein image template combination formed by the left thumb and the right middle finger pre-stored in the electronic device, or the vein images of the right index finger and the right middle finger of the user are the same as the vein image template combination formed by the right index finger and the right middle finger pre-stored in the electronic device.
When the three vein image templates are combined to form the vein image template combination, unlocking the electronic device 100 may be achieved by that the vein images of the thumb, the index finger, and the middle finger of the left hand of the user are the same as the vein image template combination pre-stored in the electronic device and formed by the thumb, the index finger, and the middle finger of the right hand.
Optionally, when vein image templates of a plurality of fingers are pre-stored in the electronic device, the vein image templates of at least one finger may form a vein image template combination, and each vein image template combination corresponds to a different function.
For example, when vein image templates of three fingers, namely a left thumb, a right index finger and a middle finger of a right hand, are prestored in the electronic device, the vein image templates of the three fingers alone, in a two-two combination or in a three-two combination can be used as vein image template combinations for unlocking the electronic device, and each vein image template combination can correspond to different functions.
For example, a vein image template combination composed of a left thumb corresponds to an unlocking function of the electronic device, a vein image template combination composed of a right index finger corresponds to a shutdown function of the electronic device, and a vein image combination template composed of a right middle finger corresponds to a screenshot function of the electronic device; the vein image template combination consisting of the left thumb and the right index finger corresponds to the starting function of the electronic equipment, the vein image template combination consisting of the left thumb and the right middle finger corresponds to the music starting function of the electronic equipment, and the vein image template combination consisting of the right index finger and the right middle finger corresponds to the telephone hanging-up function of the electronic equipment; the vein template combination formed by the thumb of the left hand, the index finger of the right hand and the middle finger of the right hand corresponds to the photographing function of the electronic equipment. The application does not limit the specific fingers and the specific functions at all.
It should be noted that, in a plurality of vein image combinations composed of vein image templates of at least one finger, at least one combination may correspond to the same function, and another combination may correspond to another function. For example, a vein image template combination composed of the left thumb and a vein image template combination composed of the right index finger and the middle finger of the right hand correspond to the unlocking function of the electronic device; and the vein image template combination formed by the index finger of the right hand corresponds to the starting function of the electronic equipment.
The method is used for customizing the relationship among the vein image template, the vein image template combination and the function through the electronic equipment, and the relationship among the vein image template, the vein image template combination and the function can be stored in the electronic equipment in the form of a mapping table.
The vein image templates of a plurality of fingers are prestored in the electronic equipment, the vein image templates of at least one finger form a vein image combination, each vein image template combination corresponds to one function, the use of a user can be facilitated, and the user can start the functions by using a vein identification method.
However, since the vein image templates of a plurality of fingers are pre-stored in the electronic device, the vein image template of at least one finger can also form a plurality of vein image template combinations, and each vein template combination corresponds to one function. Therefore, when the user performs function activation through a vein recognition mode, a large amount of data comparison and matching are involved, the calculation amount is large, and the function activation is slow.
Therefore, through a great deal of research, the inventor screens out a vein image template possibly matched with vein image data of a target finger by acquiring a first finger parameter of the first target finger and determining a vein image template combination of the first target finger from the vein image templates of the plurality of fingers according to the first finger parameter, so that the data amount of matching the vein image data and the vein image template combination is reduced, and the starting speed of the corresponding function is improved.
For example, as described above, when vein image templates of three fingers, namely, the left thumb, the right index finger and the right middle finger, are pre-stored in the electronic device, a total of 7 vein image template combinations, namely, the left thumb, the right index finger, the right middle finger, the left thumb and the right index finger, the left thumb and the right middle finger, the right index finger and the right middle finger, and the left thumb and the right index finger and the right middle finger, can be formed, and can correspond to a maximum of 7 different functions.
Take the example where the user enables the function using the left thumb and right index finger as the first target fingers.
Optionally, when the first finger parameter is the number of fingers of the first target finger, three vein image template combinations of the first target finger can be determined from the 7 vein image template combinations by acquiring that the number of the first target fingers is two; reducing the number of templates from 7 to three reduces the amount of matching data for the first vein image data and vein image template combination.
When the first finger parameter is the finger outline of the first target finger or the finger name of the first target finger, the combination method of the vein image template is the same as the method for determining the vein image template in the vein identification method, and details are not repeated here.
It should be understood that the first finger parameter may also be the number of fingers of the first target finger and the finger outline of the first target finger or the number of fingers of the first target finger and the finger name of the first target finger.
The vein image template combination of the left thumb and the right index finger can be directly found from the 7 vein image template combinations by obtaining the first finger parameter of the first target finger, and then when the matching value of the first vein image data and the vein image template combination is within a preset threshold value, the function corresponding to the left thumb and the right index finger is started.
And if the vein image template combination of the first finger cannot be determined from the vein image template combination according to the acquired first finger parameter of the first target finger, not enabling any function.
According to the function enabling method, the vein image template combination and the function are bound, and the vein image template combination of the first target finger is determined from the vein image template combination through rapid comparison of the first finger parameter, so that the data volume of the first vein image data and the vein image template combination can be obviously reduced, and the function enabling speed is further improved.
Referring to fig. 7, in some embodiments, before step S201, the method for enabling functions further includes:
s301, selecting a function as a function to be bound;
s303, acquiring second vein image data of the second target finger;
s305, combining the second vein image data as a template to be bound;
s307, the function to be bound and the template to be bound are combined and bound.
The embodiment of the application provides a method for combining vein image templates and binding functions before the functions are enabled. The user selects a function as a function to be bound, for example, to unlock the electronic device. And acquiring second vein image data of a second target finger, namely indicating that the user wants to set the unlocking of the electronic equipment by the second target finger. And combining the acquired second vein image data as a template to be bound, and binding the unlocked electronic equipment with the template to be bound. A successful binding indicates that the user can then unlock the electronic device using the vein image data of the second target finger.
Referring to fig. 8, before the step of binding the function to be bound with the template combination to be bound, the function enabling method further includes:
s309, judging whether the template combination to be bound is bound with other functions except the function to be bound.
If not, binding the function to be bound with the template to be bound;
and if so, re-executing the step of acquiring the second vein image data of the second target finger.
Before the step of binding the function to be bound and the combination to be bound, whether the combination of the template to be bound is bound with other functions except the function to be bound is judged, so that the problem that multiple functions are bound by the same vein image template combination and conflict is caused among the multiple functions when a user uses vein recognition to start the functions can be avoided.
An embodiment of the present application further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method described in the first aspect or the second aspect of the present embodiment when executing the program; the computer program comprises a terminal device.
Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored thereon, and the program is executed by a processor to perform the method described in the first aspect or the second aspect of the present embodiment.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (14)
1. A vein recognition method is applied to electronic equipment, the electronic equipment comprises an imaging module and a vein recognition module, and vein image templates of a plurality of fingers are prestored in the electronic equipment, and the vein recognition method is characterized by comprising the following steps:
acquiring finger parameters of a target finger through the imaging module;
determining a vein image template of the target finger from vein image templates of the plurality of fingers according to the finger parameter of the target finger;
acquiring vein image data of the target finger through the vein identification module;
and carrying out vein identification according to the vein image template of the target finger and the vein image data of the target finger.
2. The method of claim 1, wherein the finger parameter of the target finger is a finger profile of the target finger;
the finger parameter of target finger is obtained through the imaging module, including:
and acquiring the finger outline of the target finger through the imaging module.
3. The method of claim 2, wherein the finger parameter of the target finger is a finger name of the target finger;
the finger parameter of target finger is obtained through the imaging module, and the method further comprises the following steps:
and determining the finger name of the target finger according to the finger contour of the target finger.
4. The method of claim 2, wherein determining the vein image template of the target finger from the vein image templates of the plurality of fingers according to the finger parameter of the target finger comprises:
acquiring a plurality of matching values respectively corresponding to the finger outline of the target finger and the vein image templates of the plurality of fingers;
and if the matching value is within a preset threshold value, determining that the vein image template corresponding to the matching value is the vein image template of the target finger.
5. The method according to claim 3, wherein the vein image templates of the plurality of fingers contain label information, and the label information is used for indicating finger names of the fingers;
the determining the vein image template of the target finger from the vein image templates of the plurality of fingers according to the finger parameter of the target finger further comprises:
and if the finger name in the label information is matched with the finger name of the target finger, determining that the vein image template corresponding to the label information is the vein image template of the target finger.
6. The method of claim 1, wherein the steps of obtaining the finger parameters of the target finger by the imaging module, determining the vein image template of the target finger from the vein image templates of the plurality of fingers according to the finger parameters of the target finger, and obtaining the vein image data of the target finger by the vein recognition module are performed simultaneously.
7. The method of any one of claims 1-6, wherein the imaging module comprises a front camera module, a 3D structured light module, a TOF module, or a vein recognition module.
8. A function enabling method is applied to an electronic device, the electronic device is prestored with vein image templates of a plurality of fingers, the vein image templates of at least one finger form vein image template combinations, and each vein image template combination corresponds to a function, and the method comprises the following steps:
acquiring a first finger parameter of a first target finger; wherein the first target finger can be a plurality of fingers;
determining a vein image template combination of the first target finger from the vein image template combinations according to the first finger parameter;
acquiring first vein image data of the first target finger;
acquiring a matching value of the first vein image data and the vein image template combination;
and if the matching value is within a preset threshold value, starting a function corresponding to the current vein image template combination.
9. The method of claim 8, further comprising:
selecting a function as a function to be bound;
acquiring second vein image data of a plurality of second target fingers;
combining the second vein image data as a template to be bound;
and binding the function to be bound and the template combination to be bound.
10. The method of claim 9, wherein prior to the step of binding the function to be bound with the template combination to be bound, the method further comprises:
judging whether the template combination to be bound is bound with other functions except the function to be bound;
if not, binding the function to be bound with the template to be bound;
and if so, re-executing the step of acquiring the second vein image data of the second target finger.
11. An electronic device having vein image templates of a plurality of fingers pre-stored therein, the apparatus comprising:
the imaging module is used for acquiring finger parameters of a target finger;
the vein identification module is used for acquiring vein image data of the target finger;
and the processor is used for determining a vein image template of the target finger from the vein image templates of the plurality of fingers according to the finger parameter of the target finger and performing vein identification according to the vein image template of the target finger and the vein image data of the target finger.
12. The electronic device of claim 11, wherein the imaging module comprises a front camera module, a 3D structured light module, a TOF module, or a vein recognition module.
13. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements a method as described in any one of claims 1 to 10;
the computer program comprises a terminal device.
14. A computer-readable storage medium, on which a computer program is stored which is executed by a processor for performing the method as claimed in any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910872535.0A CN110619302A (en) | 2019-09-16 | 2019-09-16 | Vein identification method and related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910872535.0A CN110619302A (en) | 2019-09-16 | 2019-09-16 | Vein identification method and related product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110619302A true CN110619302A (en) | 2019-12-27 |
Family
ID=68923336
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910872535.0A Pending CN110619302A (en) | 2019-09-16 | 2019-09-16 | Vein identification method and related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110619302A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112990160A (en) * | 2021-05-17 | 2021-06-18 | 北京圣点云信息技术有限公司 | Facial vein identification method and identification device based on photoacoustic imaging technology |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107403148A (en) * | 2017-07-14 | 2017-11-28 | 广东欧珀移动通信有限公司 | Iris identification method and related product |
CN108664859A (en) * | 2017-03-31 | 2018-10-16 | 上海云从企业发展有限公司 | Refer to vein identification method and system |
US20180357499A1 (en) * | 2015-11-24 | 2018-12-13 | Xiamen Zkteco Information Technology Co., Ltd. | Palm vein identification method and device |
CN110162954A (en) * | 2019-05-31 | 2019-08-23 | Oppo(重庆)智能科技有限公司 | Right management method and Related product |
-
2019
- 2019-09-16 CN CN201910872535.0A patent/CN110619302A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180357499A1 (en) * | 2015-11-24 | 2018-12-13 | Xiamen Zkteco Information Technology Co., Ltd. | Palm vein identification method and device |
CN108664859A (en) * | 2017-03-31 | 2018-10-16 | 上海云从企业发展有限公司 | Refer to vein identification method and system |
CN107403148A (en) * | 2017-07-14 | 2017-11-28 | 广东欧珀移动通信有限公司 | Iris identification method and related product |
CN110162954A (en) * | 2019-05-31 | 2019-08-23 | Oppo(重庆)智能科技有限公司 | Right management method and Related product |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112990160A (en) * | 2021-05-17 | 2021-06-18 | 北京圣点云信息技术有限公司 | Facial vein identification method and identification device based on photoacoustic imaging technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11048908B2 (en) | Fingerprint recognition method and related products | |
CN105760738B (en) | The method and terminal of a kind of unlocked by fingerprint | |
US11120114B2 (en) | Biological data detection method, biological data detection device | |
CN107527021B (en) | Biometric pattern opening method and related product | |
JP2015026228A (en) | Blood vessel image capturing apparatus and terminal | |
CN107330316B (en) | Unlocking processing method and related product | |
CN107358111B (en) | A kind of method for secret protection and mobile terminal | |
CN108875515A (en) | Face identification method, device, system, storage medium and capture machine | |
CN107578459A (en) | Expression is embedded in the method and device of candidates of input method | |
CN108711161A (en) | A kind of image partition method, image segmentation device and electronic equipment | |
CN107948506A (en) | Image processing method and device and electronic equipment | |
CN109040594A (en) | Photographic method and device | |
CN107454251B (en) | Unlocking control method and related product | |
US20190080119A1 (en) | Unlocking control methods and related products | |
WO2019011106A1 (en) | State control method and related product | |
US10831873B2 (en) | Method for enabling biometric recognition pattern and related products | |
CN107291238B (en) | Data processing method and device | |
CN107451543A (en) | Event-handling method and Related product | |
CN110619302A (en) | Vein identification method and related product | |
CN106303235A (en) | Photographing processing method and device | |
US10091436B2 (en) | Electronic device for processing image and method for controlling the same | |
CN110210394A (en) | Vein image acquisition method and Related product | |
CN107657221B (en) | Face information acquisition method and related equipment | |
CN109658328A (en) | From animal head ear processing method and the Related product of shooting the video | |
CN107463819B (en) | Unlocking processing method and related product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191227 |
|
RJ01 | Rejection of invention patent application after publication |