Term " first ", " second ", " the 3rd " in description and claims of this specification and above-mentioned accompanying drawing, "
Four " etc. (if present) is the object for distinguishing similar, without for describing specific order or precedence.Should manage
The data that solution is so used can be exchanged in the appropriate case, so that the embodiments described herein can be with except illustrating here
Or the order beyond the content of description is implemented.Additionally, term " comprising " and " having " and their any deformation, it is intended that
Covering is non-exclusive to be included, and for example, containing process, method, system, product or the equipment of series of steps or unit need not limit
In those steps or unit for clearly listing, but may include clearly not list or for these processes, method, product
Other intrinsic steps of product or equipment or unit.
A kind of palm detection method and equipment are embodiments provided, for accurately and efficiently judging live body hand
The palm.
Fig. 1 and Fig. 2 are the use schematic diagram of a scenario involved by a kind of palm detection method provided in an embodiment of the present invention.Its
In, Fig. 1 is side view, and Fig. 2 is the top view of the use scene shown in Fig. 1.Referring to Fig. 1 and Fig. 2, this includes palm using scene
Testing equipment 101 and palm 102.The palm testing equipment can detect whether the palm is live body palm, in the embodiment having,
The palm testing equipment can also include other functions, for example, the palm characteristic information of palm is identified.Wherein, palm
Characteristic information includes palmprint information and vena metacarpea information etc..
Existing hand identification equipment is simply simply identified to palm characteristic information, but palm characteristic information can
Can be forged by illegal user, so as to illegal user can use the palm characteristic information forged to successfully pass hand identification equipment
Identification.This generates potential safety hazard.Generally, the mode for forging palm characteristic information can be that palm feature letter is printed on paper
Breath, the photo for shooting palm characteristic information, manufacture palm model etc..To the palm characteristic information that these are forged, existing palm
It is to forge that identification equipment inspection is not measured, consequently, it is possible to identified pass through.
For example, as shown in Fig. 3, Fig. 4, Fig. 5, the schematic diagram of the palmprint image that Fig. 3 gets for image collecting device, Fig. 4
The schematic diagram of the vena metacarpea image got for image collecting device, the palmmprint and the palm that Fig. 5 gets for image collecting device is quiet
The schematic diagram of arteries and veins image.Wherein palmprint image includes palmprint information, and vena metacarpea image includes vena metacarpea information, palmmprint and vena metacarpea
Image includes palmprint information and vena metacarpea information.Palmprint information and vena metacarpea information are different palm characteristic informations.It is to be detected
Palm is either forged or live body, can cause image collecting device to get palm feature as shown in Figures 3 to 5
Frame, these palm characteristic information images can be used for carrying out the identification of palm characteristic information in hand identification equipment,
And may be identified by.
But, under light source irradiation, the spectrum of the light that light source sends is different, i.e., light source uses different light waves for live body palm
Duan Shi, because the light of different-waveband is different to the reflection case of live body palm, by image collecting device the live body hand can be collected
The different palm characteristic information of the palm.And the palm characteristic information forged then will not so do, non-living body palm is in different spectrum
Under irradiation, the palm characteristic information of the non-living body palm that image collecting device gets does not change.
Whether the palm testing equipment of the embodiment of the present invention make use of principles above, being live body to palm to be detected
Palm is detected.In the embodiment having, if the palm testing equipment is additionally provided with palm feature recognition function, can be in detection
It is the palm characteristic information that the palm to be detected is gathered after live body palm to go out palm to be detected, to carry out palm characteristic information
Identification.The detection for being live body palm is first made whether to palm to be detected, the palm characteristic information of forgery can be picked out, so as to carry
The accuracy rate of high follow-up palm characteristic information identification.
As shown in figure 1, the palm testing equipment includes the first light source 103, secondary light source 104, image collecting device 105.
In the embodiment having, the image collecting device 105 of the palm testing equipment includes camera lens 106 and optical filter 107, and the camera lens can
Image information is obtained by the optical filter.
The light that first light source 103 and secondary light source 104 send includes different optical bands, irradiates in different optical bands
Under, the palm characteristic information of the live body palm that palm testing equipment is got by image collecting device is different, non-living body palm
Under different optical band irradiations, the palm feature of the non-living body palm that palm testing equipment is got by image collecting device
Information is identical.
For example, the light that the first light source sends is blue wave band, when the light that secondary light source sends is near infrared light wave band, live body
Palm under the irradiation of the light source of blue wave band, the figure of the live body palm that palm testing equipment is got by image collecting device
Vena metacarpea information is not included as including palmprint information, such as palmprint image as shown in Figure 3.Live body palm is in near-infrared light waves
Under the irradiation of the light source of section, the image of the live body palm that palm testing equipment is got by image collecting device includes vena metacarpea
Information and include palmprint information, for example, vena metacarpea image as shown in Figure 4.Live body palm is in blue wave band and near infrared light
Under irradiating while the light source of wave band, the image of the live body palm that palm testing equipment is got by image collecting device includes
Vena metacarpea information and palmprint information, such as vena metacarpea as shown in Figure 5 and palmprint image.These vena metacarpea information and palmprint information
Belong to different palm characteristic informations.
If palm to be detected is the palm of non-living body, the light source irradiation of ineffective what optical band, image collector
The identical palm characteristic information for all getting non-living body palm is put, i.e., what palm characteristic information is included on non-living body palm,
Under the light source irradiation of different glistening light of waves sections, what image collecting device got is the palm characteristic information of non-living body palm.
The work that palm testing equipment passes through controllable first light source of circuit control device thereon and secondary light source, so as to
Different light source works patterns are produced, for example, is irradiated using the first light source and is not used secondary light source, uses secondary light source to irradiate
And do not use the first light source, while use the first light source and secondary light source irradiation etc. this several light source works pattern.Because different
The light source that light source works pattern is used includes different optical bands, and live body palm shines in the optical band of different light source works patterns
Penetrate down, the palm characteristic information of the live body palm that palm testing equipment is got by image collecting device is different, non-living body hand
Slap under the optical band irradiation of different light source works patterns, the non-live that palm testing equipment is got by image collecting device
The palm characteristic information of body palm is identical.
On palm testing equipment, in the first light source works pattern, palm to be detected is obtained by image collecting device
The first image;In secondary light source mode of operation, the second image of palm to be detected is obtained by image collecting device;So
Afterwards, according to the first image and the second image, judge whether palm to be detected is live body palm.What the first light source works pattern was used
The light source that light source and secondary light source mode of operation are used includes different optical bands, the first light source works pattern and secondary light source work
Operation mode can be one of light source works pattern as above.Because of the difference of glistening light of waves section, cause live body palm respectively in the first light source work
Under the light source of operation mode and the light source irradiation of secondary light source mode of operation, palm testing equipment is got by image collecting device
The different palm characteristic information of live body palm, non-living body palm is respectively in the light source and secondary light source work of the first light source works pattern
Under the light source irradiation of operation mode, palm testing equipment gets non-living body palm identical palm feature by image collecting device
Information.So, by the way that the light source works pattern including different glistening light of waves sections is used alternatingly, palm testing equipment passes through image collector
The different images for obtaining palm to be detected respectively are put, the different images are analyzed, you can show that whether palm to be detected is
Live body palm, so as to differentiation that is simple and efficiently realizing live body palm.
In the embodiment having, the optical filter that image collecting device includes can pass through the optical band and the second light of the first light source
The optical band in source.For example, the optical filter is the optical filter using segmentation plated film design of new processes, can make two different-wavebands
Light transmission.For example, optical filter can make the optical band that the first light source of palm testing equipment sends and the light that secondary light source sends
Wave band is passed through.Because the optical filter is that can arrange in pairs or groups the exposure parameter for regulating through special process process, ensureing first/
When secondary light source is started working, image acquiring sensor can collect clearly image.
For example, the light that the first light source sends is the blue-ray LED of blue wave band, and blue wave band can be the wave band near 470nm,
The light that secondary light source sends is the near-infrared LED of near infrared light wave band, and near infrared light wave band can be the wave band near 850nm.Phase
Ying Di, optical filter can pass through near infrared light wave band and blue wave band, and the spectral pattern of the optical filter is as shown in Figure 6.By Fig. 6
Understand, the optical filter of the employing segmentation plated film design of new processes can make the light transmission of two different-wavebands, and the two are different
The centre wavelength of the light of wave band is respectively 470nm and 850nm.
In the embodiment having, the palm testing equipment can also include indicator lamp 108, and in palm testing equipment hand is detected
During the palm, if the palm or detected object are not in suitable position, palm testing equipment is caused to pass through image collecting device
When obtaining less than image to be detected, palm detection means sends instruction by the indicator lamp 108.
It is to ensure image uniform that palm testing equipment obtained by image collecting device clearly in the embodiment having,
According to predetermined manner first light source and secondary light source can be laid out on palm testing equipment.For example, first light source
Can arrange around image collecting device respectively with secondary light source.As shown in Fig. 2 using circular layout rule respectively to blue light
LED and near-infrared LED are laid out on palm testing equipment, and blue-ray LED and near-infrared LED constitute concentric circles, IMAQ
Device is located at blue-ray LED and the inside of the concentric circles of near-infrared LED.So as to lamp ring of the palm testing equipment in the first light source irradiates
Under, clearly palmprint image can be obtained, and under the lamp ring irradiation of secondary light source, clearly vena metacarpea image can be obtained
In the embodiment having, palm testing equipment may include two different image collecting devices, an IMAQ
Device is corresponding with a light source, when the light source irradiates palm to be detected, obtains image;Another image collecting device is used for another
When light source irradiates palm to be detected, image is obtained.
In the embodiment having, the camera lens of image collecting device can use two optical filters, such as ir-cut, coordinate
Double optical-filter switchers just can change infrared fileter and full impregnated spectrum filter under different light source works patterns.
Fig. 7 is a kind of flow chart of the palm detection method according to an exemplary embodiment.Reality with reference to shown in Fig. 1
Environment schematic and the above are applied, the method is applied on palm testing equipment, the present invention is performed with palm testing equipment real
As a example by the angle of the method for applying example offer, referring to Fig. 7, method flow provided in an embodiment of the present invention includes:
Step 701:In the first light source works pattern, the first figure of palm to be detected is obtained by image collecting device
Picture;
Step 702:In secondary light source mode of operation, the second figure of palm to be detected is obtained by image collecting device
Picture;
Step 703:According to the first image and the second image, judge whether palm to be detected is live body palm;
Wherein, the light source that the light source and secondary light source mode of operation that the first light source works pattern is used is used includes different
Optical band,
Alternatively,
Live body palm respectively the first light source works pattern light source and secondary light source mode of operation light source irradiation under, hand
Palm testing equipment gets the different palm characteristic information of live body palm by image collecting device, and non-living body palm is respectively the
Under the light source of one light source works pattern and the light source irradiation of secondary light source mode of operation, palm testing equipment passes through image collector
Put and get non-living body palm identical palm characteristic information.
Alternatively,
First light source works pattern is to be irradiated using the first light source and do not use the secondary light source, secondary light source mode of operation to be
Irradiated using secondary light source and do not use the first light source, wherein, the light that the optical band and secondary light source that the first light source sends sends
Wave band is different,
According to the first image and the second image, judge whether palm to be detected is live body palm, including:
Do not include second feature information when the first image includes fisrt feature information, and the second image includes second feature
Information and not include fisrt feature information when, determine palm to be detected be live body palm;
Wherein, when being irradiated using the first light source and not using secondary light source, palm testing equipment passes through image collector
The fisrt feature information of live body palm that can get is put, and obtains the second feature information less than live body palm,
When being irradiated using secondary light source and not using the first light source, palm testing equipment can be obtained by image collecting device
Get the second feature information of live body palm, and obtain the fisrt feature information less than live body palm, fisrt feature information and the
Two characteristic informations are different palm characteristic informations.
Alternatively,
First light source works pattern is to be irradiated using the first light source and do not use the secondary light source, secondary light source mode of operation to be
Irradiated using the first light source and secondary light source simultaneously, wherein, the light wave that the optical band and secondary light source that the first light source sends sends
Duan Butong,
According to the first image and the second image, judge whether palm to be detected is live body palm, including:
Do not include second feature information when the first image includes fisrt feature information, and the second image includes second feature
When information and fisrt feature information, determine that palm to be detected is live body palm,
Wherein, when being irradiated using the first light source and not using secondary light source, palm testing equipment passes through image collector
The fisrt feature information of live body palm that can get is put, and obtains the second feature information less than live body palm;
When being irradiated using the first light source and secondary light source at the same time, palm testing equipment can be obtained by image collecting device
To the fisrt feature information and second feature information of live body palm, fisrt feature information and second feature information are different palms
Characteristic information.
Alternatively,
According to the first image and the second image, judge whether palm to be detected is live body palm, including:
The first image and the second image are contrasted, matching degree is obtained, matching degree is used to representing the first image and the second image
Similarity degree;
Judge matching degree whether less than pre-set threshold value;
If matching degree is less than pre-set threshold value, it is determined that palm to be detected is live body palm, otherwise determines that palm to be detected is
Non-living body palm.
Alternatively,
Light source works pattern include using the first light source irradiate and do not use secondary light source, use secondary light source irradiate and not
Using the first light source, while using the first light source and secondary light source irradiation, the first light source works pattern and secondary light source Working mould
Formula belongs to one of light source works pattern, and the first light source works pattern is different from secondary light source mode of operation.
Alternatively, light source includes sending the light source of blue wave band and sends the light source of near infrared light wave band, the first light source and
Secondary light source belongs to one of light source,
Wherein, under the irradiation of the light source of blue wave band, palm testing equipment is obtained live body palm by image collecting device
The image of the live body palm got includes palmprint information and does not include vena metacarpea information;
Under the irradiation of the light source of near infrared light wave band, palm testing equipment is obtained live body palm by image collecting device
The image of the live body palm for arriving includes vena metacarpea information and does not include palmprint information;
Live body palm blue wave band light source and near infrared light wave band light source while irradiation under, palm testing equipment
The image of the live body palm got by image collecting device includes vena metacarpea information and palmprint information;
Palmprint information and vena metacarpea information belong to different palm characteristic informations.
Alternatively, method also includes:
Judge position of the palm to be detected relative to palm testing equipment whether in image-acquisition area;
If palm to be detected relative to palm testing equipment position in image-acquisition area, perform in the first light source work
Under operation mode, the first image of palm to be detected is obtained by image collecting device, and under secondary light source mode of operation, passed through
The step of image collecting device obtains the second image of palm to be detected;
If palm to be detected relative to palm testing equipment position not in image-acquisition area, send information.
Alternatively,
Image collecting device includes optical filter, and optical filter can pass through the optical band of the first light source and the light wave of secondary light source
Section.
In sum, on palm testing equipment, in the first light source works pattern, obtained by image collecting device and treated
First image of detection palm;In secondary light source mode of operation, by image collecting device the second of palm to be detected is obtained
Image;Then, according to the first image and the second image, judge whether palm to be detected is live body palm.First light source works mould
The light source that the light source and secondary light source mode of operation that formula is used is used includes different optical bands, because of the difference of glistening light of waves section, causes
Respectively under the light source of the first light source works pattern and the light source irradiation of secondary light source mode of operation, palm detection sets live body palm
Standby to get the different palm characteristic information of live body palm by image collecting device, non-living body palm is respectively in the first light source work
Under the light source of operation mode and the light source irradiation of secondary light source mode of operation, palm testing equipment gets the different figure of live body palm
As information.So, by the way that the light source works pattern including different glistening light of waves sections is used alternatingly, palm testing equipment passes through IMAQ
Device obtains respectively the different images of palm to be detected, and the different images are analyzed, you can whether draw palm to be detected
It is live body palm, so as to differentiation that is simple and efficiently realizing live body palm.
Fig. 8 is a kind of flow chart of the palm detection method according to an exemplary embodiment.Reality with reference to shown in Fig. 1
Environment schematic and the above are applied, the method is applied on palm testing equipment, the present invention is performed with palm testing equipment real
As a example by the angle of the method for applying example offer, referring to Fig. 8, method flow provided in an embodiment of the present invention includes:
Step 801:Judge position of the palm to be detected relative to palm testing equipment whether in image-acquisition area;If treating
Detection palm relative to palm testing equipment position in image-acquisition area, then execution step 803 and step 804;
Palm testing equipment detect examined object positioned at the palm testing equipment image-acquisition area when, or
When palm testing equipment opens live body palm detection work, palm testing equipment is carried out before image acquisition to the examined object
Judgement.For example, palm testing equipment judges whether palm to be detected obtains relative to the position of palm testing equipment in image
Region;If palm to be detected relative to palm testing equipment position in image-acquisition area, perform in the first light source works
Under pattern, the first image of palm to be detected is obtained by image collecting device, and under secondary light source mode of operation, by figure
The step of the second image of palm to be detected being obtained as harvester.If palm to be detected is relative to the position of palm testing equipment
Not in image-acquisition area, then execution step 802.
Position of the palm to be detected relative to palm testing equipment is specifically detected whether in the mode of image-acquisition area,
The embodiment of the present invention is not especially limited to this, for example, can be, palm testing equipment is visited by image analysis technology and distance
Survey complex technique to judge the position of palm to be detected.
Wherein, the palm testing equipment to performing the embodiment of the present invention refers to above-mentioned use scene parts to palm detection
The description of equipment.
Step 802:Send information.
Palm testing equipment judges position of the palm to be detected relative to palm testing equipment not in image-acquisition area
When, palm testing equipment can not get the image beneficial to analysis of palm to be detected by image collecting device thereon, from
And palm testing equipment issues the user with information.
Wherein, specifically sending the mode of information can be, carry out voice message, for example, issue the user with voice
" ask for an interview palm be placed in image obtain in area ", or indicated by the indicator lamp that is arranged on palm testing equipment, for example, when treating
Detection palm relative to palm testing equipment position not in image-acquisition area, open instruction flick of lamp.Obtain by setting
The first light source and/or secondary light source on palm testing equipment are put, palm testing equipment can also send information, for example
When palm to be detected relative to palm testing equipment position not in image-acquisition area when, the first light source and/or secondary light source
Do not start work, when palm to be detected relative to palm testing equipment position in image-acquisition area when, the first light source and/or
Secondary light source is started working.
It is appreciated that in the embodiment that the present invention has, step 802 can not be included, or step 801 and step are not included
Rapid 802.
Step 803:In the first light source works pattern, the first figure of palm to be detected is obtained by image collecting device
Picture;
Palm testing equipment obtains the first of palm to be detected in the first light source works pattern by image collecting device
Image.
Step 804:In secondary light source mode of operation, the second figure of palm to be detected is obtained by image collecting device
Picture;
Palm testing equipment obtains the second of palm to be detected in secondary light source mode of operation by image collecting device
Image.
Wherein, the light source that the light source and secondary light source mode of operation that the first light source works pattern is used is used includes different
Optical band, the first light source works pattern and secondary light source mode of operation belong to different light source works patterns.
With reference to above-mentioned use scene parts, the palm inspection testing equipment can be provided with multiple light sources, wherein different light sources are sent out
The light for going out includes different optical bands, and the optical band of preferred difference light source is not overlapped.In an embodiment of the present invention, the palm
Testing equipment can be provided with two light sources for sending Different lightwave section, i.e. palm testing equipment and be provided with the first light source and secondary light source,
Wherein, the optical band that the first light source sends is different with the optical band that secondary light source sends.Palm testing equipment is by electricity thereon
The switch of controllable first light source of road control module and secondary light source, so as to produce different light source works patterns, for example, uses
First light source irradiate and do not use secondary light source, use secondary light source irradiate and do not use the first light source, while using the first light
Source and secondary light source irradiate these three light source works patterns.First light source works pattern and secondary light source mode of operation belong to this
One of several light source works patterns, and the first light source works pattern and secondary light source mode of operation are different light sources
Mode of operation.
Palm testing equipment is used alternatingly different light source works patterns, to be irradiated to palm to be detected, palm inspection
Measurement equipment obtains respectively the image of palm to be detected under different light source works patterns, to be made whether being live body palm
Detection.By step 803 and step 804, that is, palm testing equipment is realized under different light source works patterns, obtain respectively
The image of palm to be detected.
Wherein, the execution sequence embodiment of the present invention of step 803 and step 804 is not especially limited.
Step 805:According to the first image and the second image, judge whether palm to be detected is live body palm;
Palm testing equipment obtains the different image of palm to be detected under different light source works patterns.
Because live body palm irradiates respectively in the light source of the first light source works pattern and the light source of secondary light source mode of operation
Under, palm testing equipment gets the different palm characteristic information of live body palm, non-living body palm point by image collecting device
Not under the light source of the first light source works pattern and the light source irradiation of secondary light source mode of operation, palm testing equipment passes through image
Harvester gets non-living body palm identical palm characteristic information.
So as to, palm testing equipment can judge whether palm to be detected is living according on the first image and the second image
Body palm.
Wherein, according to the first image and the second image, judge that whether palm to be detected is the concrete grammar tool of live body palm
Have various, the embodiment of the present invention is not specifically limited to this, two concrete grammars are enumerated below to illustrate:
First, the palm characteristic information of the image for obtaining is compared with preset palm characteristic information
Under different light source works patterns, palm testing equipment obtains respectively image, and palm testing equipment is advance
Foundation has the corresponding relation of light source works pattern and palm characteristic information.Determined and light during acquisition image according to the corresponding relation
The corresponding palm characteristic information of source mode of operation, then using the palm characteristic information and the palm characteristic information of image of the determination
It is compared, judges whether the palm characteristic information for being same type, after so judging the first image and the second image, according to sentences
Disconnected result can determine whether whether palm to be detected is live body palm.
Below, i.e., the first determination methods is described under specific light source works pattern.
1st, a kind of combination of different light source works patterns
First light source works pattern is that secondary light source is irradiated and do not used using the first light source,
Secondary light source mode of operation is that the first light source is irradiated and do not used using secondary light source,
Wherein, the optical band that the first light source sends is different with the optical band that secondary light source sends,
Wherein, when being irradiated using the first light source and not using secondary light source, palm testing equipment passes through image collector
The fisrt feature information of live body palm that can get is put, and obtains the second feature information less than live body palm,
When being irradiated using secondary light source and not using the first light source, palm testing equipment can be obtained by image collecting device
Get the second feature information of live body palm, and obtain the fisrt feature information less than live body palm, fisrt feature information and the
Two characteristic informations are different palm characteristic informations.
So as to light source works pattern as shown in Table 1 and palm characteristic information can be pre-build on palm testing equipment
Corresponding relation.
Table one:
If palm to be detected is non-living body palm, under the first and second light source works patterns, palm testing equipment is obtained
Get same palm characteristic information.I.e. under the first and second light source works patterns, or all getting non-living body palm
Fisrt feature information, and obtain the second feature information less than non-living body palm;All obtain less than non-living body palm
One characteristic information, and get the second feature information of non-living body palm;All get the first of non-living body palm simultaneously
Feature is believed and second feature information.
Palm testing equipment respectively under first, second light source works pattern, leads to when detecting to palm to be identified
The image collecting device crossed thereon obtains first, second image of palm to be detected, such as above-mentioned step 803 and step 804.Its
In, to step 803 and the execution sequence of step 804, the embodiment of the present invention is not especially limited, as long as can realize being used alternatingly not
Same light source works pattern.Under the first light source works pattern, after obtaining the first image, palm testing equipment can determine whether the
Whether include fisrt feature information on one image and do not include second feature information.
Specific image palm characteristic information determination methods, Ke Yishi:Palm testing equipment is according to the light source for pre-building
The corresponding relation of mode of operation and palm characteristic information, it is determined that palm characteristic information corresponding with the first light source works pattern is bag
Include fisrt feature information and do not include second feature information;Palm testing equipment is obtained after the first image, and the first image is carried out
The identification of palm characteristic information, to determine which palm characteristic information the first image includes, is identified result.Then judge
Whether the recognition result is to include fisrt feature information and do not include second feature information.
Similar, under secondary light source mode of operation, after obtaining the second image, palm testing equipment is judged on the second image
Whether include second feature information and do not include fisrt feature information.
Specific determination methods are similar to the above-mentioned determination methods to the first image, and palm testing equipment is according to pre-building
The corresponding relation of light source works pattern and palm characteristic information, it is determined that palm characteristic information corresponding with secondary light source mode of operation
It is to include second feature information and do not include fisrt feature information;Palm testing equipment is obtained after the second image, to the second image
The identification of palm characteristic information is carried out, to determine which palm characteristic information the second image includes, result is identified.Then
Judge whether the recognition result is to include second feature information and do not include fisrt feature information.
Wherein, the embodiment of the present invention is to judging whether do not include second feature including fisrt feature information on the first image
The step of information, and judge holding for the step of whether including second feature information on the second image and do not include fisrt feature information
Row order is not especially limited.When the two judge step all to be, then judge that palm to be detected is live body palm.
That is, according to the first image and the second image, judge whether palm to be detected is live body palm, including:
Do not include second feature information when the first image includes fisrt feature information, and the second image includes second feature
Information and not include fisrt feature information when, determine palm to be detected be live body palm.
2nd, another kind of combination of different light source works patterns
First light source works pattern is to be irradiated using the first light source and do not use the secondary light source, secondary light source mode of operation to be
Irradiated using the first light source and secondary light source simultaneously,
Wherein, the optical band that the first light source sends is different with the optical band that secondary light source sends,
Wherein, when being irradiated using the first light source and not using secondary light source, palm testing equipment passes through image collector
The fisrt feature information of live body palm that can get is put, and obtains the second feature information less than live body palm;
When being irradiated using the first light source and secondary light source at the same time, palm testing equipment can be obtained by image collecting device
To the fisrt feature information and second feature information of live body palm, fisrt feature information and second feature information are different palms
Characteristic information.
Can pre-build that light source works pattern as shown in Table 2 is right with palm characteristic information on palm testing equipment
Should be related to.
Table two
If palm to be detected is non-living body palm, under the first and second light source works patterns, palm testing equipment is obtained
Get same palm characteristic information.I.e. under the first and second light source works patterns, or all getting non-living body palm
Fisrt feature information, and obtain the second feature information less than non-living body palm;All obtain less than non-living body palm
One characteristic information, and get the second feature information of non-living body palm;All get the first of non-living body palm simultaneously
Feature is believed and second feature information.
Similar above-mentioned determination methods, palm testing equipment can judge that the first image includes that first is special according to the corresponding relation
Reference ceases and does not include second feature information, and, palm testing equipment can judge that the second image includes according to the corresponding relation
Second feature information and fisrt feature information.Specific determination methods, refer to above-mentioned image palm characteristic information judgement side
Method.
Wherein, the embodiment of the present invention does not include second feature information to judging the first image to include fisrt feature information
Step, and judge that the execution sequence of the step of the second image includes second feature information and fisrt feature information does not make concrete limit
It is fixed.When the two judge step all to be, then judge that palm to be detected is live body palm.
That is, according to the first image and the second image, judge whether palm to be detected is live body palm, including:
Do not include second feature information when the first image includes fisrt feature information, and the second image includes second feature
When information and fisrt feature information, determine that palm to be detected is live body palm,
The concrete setting form of the first light source and secondary light source has various ways, hereafter i.e. with light source include send indigo plant
The light source of optical band is described in detail with the light source for sending near infrared light wave band to the embodiment of the present invention.
When light source includes sending the light source of blue wave band and sending the light source of near infrared light wave band, the first light source and second
Light source belongs to one of light source.Can be that for the light source of blue wave band, secondary light source is near infrared light wave band to the first light source
Light source, or, the first light source near infrared light wave band light source and the light source of the blue wave band of secondary light source.
Accordingly, light source works pattern includes opening the light source irradiation of blue wave band, and closes the light of near infrared light wave band
Source;The light source irradiation of near infrared light wave band is opened, and closes the light source of blue wave band;Open simultaneously using near infrared light wave band
The light source of light source and blue wave band irradiates these three light source works patterns, the first light source works pattern and secondary light source mode of operation
Belong to one of these three light source works patterns, and the first light source works pattern is different with secondary light source mode of operation.
Wherein, under the irradiation of the light source of blue wave band, palm testing equipment is obtained live body palm by image collecting device
The image of the live body palm got includes palmprint information and does not include vena metacarpea information;
Under the irradiation of the light source of near infrared light wave band, palm testing equipment is obtained live body palm by image collecting device
The image of the live body palm for arriving includes vena metacarpea information and does not include palmprint information;
Live body palm blue wave band light source and near infrared light wave band light source while irradiation under, palm testing equipment
The image of the live body palm got by image collecting device includes vena metacarpea information and palmprint information;
Palmprint information and vena metacarpea information belong to different palm characteristic informations.
Wherein, in embodiments of the present invention, including palmprint information and be not referred to as palmmprint figure including the image of vena metacarpea information
Picture, including vena metacarpea information and be not referred to as vena metacarpea image including the image of palmprint information, including vena metacarpea information and palmmprint letter
The image of breath is referred to as palmmprint and vena metacarpea image.
If palm to be detected is non-living body palm, under three kinds of above-mentioned light source works patterns, palm testing equipment is obtained
Get the same palm characteristic information of non-living body palm.I.e. under the first light source works pattern or secondary light source mode of operation
Under, or palm testing equipment all gets the palmprint image of non-living body palm;The palm for all getting non-living body palm is quiet
Arteries and veins image;The palmmprint and vena metacarpea image of non-living body palm are all got simultaneously.I.e. under the first light source works pattern and
Under secondary light source mode of operation, the image of the non-living body palm that palm testing equipment gets is believed including identical palm feature
Breath.
It is hereby understood that include sending the light source of blue wave band in light source and send the light source of near infrared light wave band, and first
When light source and secondary light source belong to one of both light sources, the feelings of the palm characteristic information that palm testing equipment is detected
Condition includes:A palmprint images, B vena metacarpea images, C palmmprints and vena metacarpea image.
If palm to be detected is non-living body palm, the palm for such as printing, the palm characteristic information of its related palm for printing
It is a kind of generally in three of the above (A, B, C) situation, and change the species of the palm characteristic information that light source works situation is detected
Will not change.
If palm to be detected is live body palm, the biological characteristic of related palm has three of the above (A, B, C) situation, and changes
The palm characteristic information that light source works situation is detected also can be changed accordingly.
As shown in Table 3, table three shows several situations of the palm characteristic information that non-living body palm includes, and not
During with light source works, the palm characteristic information that palm testing equipment is detected to non-living body palm and live body palm.
Table three
It can be seen from the corresponding relation of the live body palm in table three and the above-mentioned description to live body palm detection case, can
According to the working condition of different light sources in palm testing equipment the preset palm characteristic information for detection, that is, pre-build light
The corresponding relation of source mode of operation and palm characteristic information type, as shown in Table 4.
Table four
That is, when circuit control device controls the light source works of blue wave band, system intialization palm characteristic information is to include
Palmprint information and include vena metacarpea information;When circuit control device control near-infrared light source is started working, system intialization hand
Palm characteristic information is to include vena metacarpea information and including palmprint information;When circuit control device control blue wave band light source and
The light source of near infrared light wave band works simultaneously when, system intialization palm characteristic information is to include vena metacarpea information and palmprint information.
So as under first, second light source works pattern, palm testing equipment determines according to the corresponding relation of table four
One/secondary light source mode of operation palm characteristic information.After palm characteristic information on the first image/the second image is identified,
It is compared with the palm characteristic information determined according to the corresponding relation using the palm characteristic information for identifying.Judgement is identified
Palm characteristic information whether be consistent with the palm characteristic information determined according to corresponding relation.
Wherein, palm testing equipment recognizes that the method for the palm characteristic information on the first image/the second image can be, in advance
Multiple palmprint images, vena metacarpea image, and palmmprint and vena metacarpea image are first obtained, variety classes figure is determined by statistical analysis
The information rule of picture.Identification module is generated according to statistical law, the identification module is provided with palm testing equipment.In hand
The palm testing equipment get after the first image/the second image, palm testing equipment can by the identification module to the first image/
Second image is identified, and determines the palm characteristic information on the first image/the second image.
As shown in Table 5, table five shows under different light source works patterns that the default palm feature of palm testing equipment is believed
Breath, and palm testing equipment, when obtaining the image of non-living body palm or live body palm, these images are believed with preset palm feature
The situation about whether matching of breath.
Table five
As shown in the above, in different light source works patterns of change, palm testing equipment passes through image collecting device
The palm characteristic information for getting live body palm also changes accordingly, and this corresponding variation relation can be by shown in table six.
Table six
So as to, under the first light source works pattern and under secondary light source mode of operation, palm testing equipment get the
When the change of the palm characteristic information on one image and the second image meets the situation shown in table six, it may be determined that palm to be detected is
Live body palm, is otherwise non-living body palm.
That is, under first, second light source works pattern, palm testing equipment according to the corresponding relation of table four, determine first/
Secondary light source mode of operation palm characteristic information.After palm characteristic information on the first image/the second image is identified, according to
The palm characteristic information for identifying is compared with the palm characteristic information determined according to corresponding relation.If the palm of the first image
Characteristic information and corresponding preset palm characteristic information match, and the palm characteristic information of the second image and corresponding preset hand
The palm characteristic information match, then palm testing equipment judges that palm to be detected is live body palm, otherwise judge palm to be detected as
Non-living body palm.
So as to specific operative scenario can be with as described below.
1) it is the light source using blue wave band and when not using the light source of near infrared light wave band in the first light source works pattern,
Corresponding relation according to table four, preset palm characteristic information corresponding with the first light source works pattern is to include that palmmprint is believed
Cease and do not include vena metacarpea information.
Under the first light source works pattern, palm testing equipment is obtained after the first image of palm to be detected, palm detection
Equipment detects the palm characteristic information of the first image, and by the palm characteristic information of the first image and preset palm characteristic information
Match somebody with somebody, that is, judge whether the first image includes palmprint information and do not include vena metacarpea information.
It is the light source using near infrared light wave band and when not using the light source of blue wave band in secondary light source mode of operation, root
According to the corresponding relation shown in table four, preset palm characteristic information corresponding with secondary light source mode of operation is to include that vena metacarpea is believed
Cease and do not include palmprint information.
Under secondary light source mode of operation, palm testing equipment is obtained after the second image of palm to be detected, palm detection
Equipment detects the palm characteristic information of the second image, and by the palm characteristic information of the second image and preset palm characteristic information
Match somebody with somebody, that is, judge whether the second image includes vena metacarpea information and do not include palmprint information.
When the first image include palmprint information and include vena metacarpea information, and the second image include vena metacarpea information and not
During including palmprint information, palm testing equipment determines that palm to be detected is live body palm, otherwise determines that palm to be detected is
Non-living body palm.
2) it is the light source using blue wave band and when not using the light source of near infrared light wave band in the first light source works pattern,
Corresponding relation according to table four, preset palm characteristic information corresponding with the first light source works pattern is to include that palmmprint is believed
Cease and do not include vena metacarpea information.
Under the first light source works pattern, palm testing equipment is obtained after the first image of palm to be detected, palm detection
Equipment detects the palm characteristic information of the first image, and by the palm characteristic information of the first image and preset palm characteristic information
Match somebody with somebody, that is, judge whether the first image includes palmprint information and do not include vena metacarpea information.
In the light source that secondary light source mode of operation is the light source and blue wave band for using near infrared light wave band simultaneously, according to
Corresponding relation shown in table four, preset palm characteristic information corresponding with secondary light source mode of operation is to include vena metacarpea information
And palmprint information.
Under secondary light source mode of operation, palm testing equipment is obtained after the second image of palm to be detected, palm detection
Equipment detects the palm characteristic information of the second image, and by the palm characteristic information of the second image and preset palm characteristic information
Match somebody with somebody, that is, judge whether the second image includes vena metacarpea information and palmprint information.
Do not include vena metacarpea information when the first image includes palmprint information, and the second image includes vena metacarpea information and the palm
During line information, palm testing equipment determines that palm to be detected is live body palm, otherwise determines that palm to be detected is non-living body palm.
3) it is the light source using near infrared light wave band and when not using the light source of blue wave band in the first light source works pattern,
Corresponding relation according to table four, preset palm characteristic information corresponding with the first light source works pattern is to include vena metacarpea
Information and include palmprint information.
Under the first light source works pattern, palm testing equipment is obtained after the first image of palm to be detected, palm detection
Equipment detects the palm characteristic information of the first image, and by the palm characteristic information of the first image and preset palm characteristic information
Match somebody with somebody, that is, judge whether the first image includes vena metacarpea information and do not include palmprint information.
In the light source that secondary light source mode of operation is the light source and blue wave band for using near infrared light wave band simultaneously, according to
Corresponding relation shown in table four, preset palm characteristic information corresponding with secondary light source mode of operation is to include vena metacarpea information
And palmprint information.
Under secondary light source mode of operation, palm testing equipment is obtained after the second image of palm to be detected, palm detection
Equipment detects the palm characteristic information of the second image, and by the palm characteristic information of the second image and preset palm characteristic information
Match somebody with somebody, that is, judge whether the second image includes vena metacarpea information and palmprint information.
Do not include palmprint information when the first image includes vena metacarpea information, and the second image includes vena metacarpea information and the palm
During line information, palm testing equipment determines that palm to be detected is live body palm, otherwise determines that palm to be detected is non-living body palm.
According to three above-mentioned concrete scenes it is known that above-mentioned fisrt feature information and second feature information belongs to the palm
One of venous information and palmprint information, and fisrt feature information and second feature information differs.First light source and
Two light sources belong to one of the light source of infrared band and the light source of blue wave band, and the first light source is different with secondary light source.According to
The work relationship of the first light source and secondary light source, can obtain three kinds of light source works patterns, the first light source works pattern and secondary light source
Mode of operation belongs to one of these three light source works patterns, and the first light source works pattern and secondary light source mode of operation are difference
Light source works pattern.
Specifically:
1st, when the first light source is the light source that sends blue wave band, and secondary light source is the light source for sending near infrared light wave band
When, now, first, second light source works pattern includes two kinds of situations:
1.1) the first light source works pattern is to open the light source irradiation of blue wave band, and closes the light of near infrared light wave band
Source;Secondary light source mode of operation is to open the light source irradiation of near infrared light wave band, and closes the light source of blue wave band.
1.2) the first light source works pattern is to open the light source irradiation of blue wave band, and closes the light of near infrared light wave band
Source;Secondary light source mode of operation is the light source irradiation of the light source and near infrared light wave band for opening blue wave band simultaneously.
2nd, when the first light source is the light source that sends near infrared light wave band, and secondary light source is the light source for sending blue wave band
When, now first, second light source works pattern includes two kinds of situations:
2.1) the first light source works pattern is the light source using near infrared light wave band, and does not use the light source of blue wave band;
And secondary light source mode of operation is that the light source of near infrared light wave band is irradiated and do not used using the light source of blue wave band,
2.2) the first light source works pattern is the light source irradiation for opening near infrared light wave band and the light for not using blue wave band
Source;Secondary light source mode of operation is to open the light source irradiation of the light source and blue wave band for using near infrared light wave band simultaneously.
In order to preferably illustrate to the embodiment of the present invention, name a specific example and the embodiment of the present invention is retouched
State.
As depicted in figs. 1 and 2, palm testing equipment is provided with the first light source and secondary light source, wherein the first light source is blue light
The light source of wave band, secondary light source is the light source of infrared band.Light source works pattern preset on palm testing equipment is first to hold
Row the first light source works pattern performs again secondary light source mode of operation, wherein the first light source works pattern is to open blue wave band
Light source irradiates, and closes the light source of near infrared light wave band.Palm testing equipment pre-builds the first light source works pattern and first
The corresponding relation of preset palm characteristic information, the first preset palm characteristic information is to include palmprint information and do not include vena metacarpea
Information;
Secondary light source mode of operation is to open the light source irradiation of near infrared light wave band, and closes the light source of blue wave band, hand
Palm testing equipment pre-builds the corresponding relation of secondary light source mode of operation and the second preset palm characteristic information, and this is second preset
Palm characteristic information is to include vena metacarpea information and do not include palmprint information.So as to first use the first light source in palm testing equipment
Mode of operation, when reusing secondary light source mode of operation, the change of preset palm characteristic information is turned to from the first preset palm spy
Reference breath is changed into the second preset palm characteristic information.
As shown in figure 1, when user carries out palm detection, palm testing equipment starts the first light source works pattern, passes through
Image collecting device obtains the first image of current palm to be detected, and then palm testing equipment uses secondary light source mode of operation
The first light source works pattern is substituted, the second image of palm to be detected is obtained by image collecting device.Palm testing equipment point
The palm characteristic information of the first image and the second image is not detected, if the palm characteristic information of the first image and the first preset palm
Such as characteristic information is consistent, i.e. the first image includes palmprint information and do not include vena metacarpea information, palmmprint figure as shown in Figure 3
Picture;And second the palm characteristic information of image be consistent with the second preset palm characteristic information, i.e. the second image includes vena metacarpea
Information and include palmprint information, such as vena metacarpea image as shown in Figure 4, then palm testing equipment judge the palm to be detected
For live body palm, otherwise judge the palm to be detected as non-living body palm.
Wherein, if palm to be detected is the palm characteristic information printed on the scraps of paper, palm testing equipment obtain the
After one image and the second image, the palm characteristic information of the first figure may be inconsistent with the first preset palm characteristic information,
And/or second the palm characteristic information of image may be inconsistent with the second preset palm characteristic information, for example:First image bag
Include palmprint information and do not include vena metacarpea information, and the second image includes palmprint information and does not include vena metacarpea information;Or, the
One image includes vena metacarpea information and does not include palmprint information, and the second image slices include vena metacarpea information and do not believe including palmmprint
Breath;Or first image slices include vena metacarpea information and palmprint information, and the second image includes vena metacarpea information and palmprint information.
Said method is after the identification of the image type that carries out palm characteristic information of the palm to be detected to obtaining, according to
Preset palm characteristic information is compared, and judges whether to be consistent, so as to judge whether palm to be detected is live body palm.It is following
Method is directly to carry out similarity degree comparison to the first image and the second image, so as to judge whether palm to be detected is live body hand
The palm.
2nd, similarity degree comparison is carried out using the first image and the second image
To step 804, step 805 " according to the first image and the second image, judges palm to be detected to execution step 801
Whether be live body palm " concrete grammar can perform as follows:
Step A1:The first image and the second image are contrasted, matching degree is obtained.
Matching degree is used to represent the similarity degree of the first image and the second image;
Because the light source that the light source and secondary light source mode of operation that the first light source works pattern is used is used includes different
Optical band, live body palm respectively the first light source works pattern light source and secondary light source mode of operation light source irradiation under, hand
Palm testing equipment gets the different palm characteristic information of live body palm by image collecting device, and non-living body palm is respectively the
Under the light source of one light source works pattern and the light source irradiation of secondary light source mode of operation, palm testing equipment passes through image collector
Put and get non-living body palm identical palm characteristic information.So, under different light source works patterns, palm testing equipment is obtained
First image and the second image of the live body palm for taking is different, the palm characteristic information that the first image and the second image include
Differ.Under different light source works patterns, first image and the second image of the non-living body palm that palm testing equipment is obtained
It is identical, the palm characteristic information that the first image and the second image include is identical.
So as to according to the first image and the similarity degree of the second image, you can judge whether palm to be detected is live body hand
The palm.
Step A2:Judge matching degree whether less than pre-set threshold value.
Matching degree is used to represent the similarity degree of the first image and the second image that the pre-set threshold value to be according to test statistics data
Obtain.For example, under the first light source works pattern and secondary light source mode of operation, obtain and multigroup belong to the of same live body palm
After one image and the second image, it is compared with multigroup the first image and the second image for belonging to same live body palm, and is obtained
After taking multigroup the first image and the second image for belonging to same non-living body palm, multigroup the of same non-living body palm is belonged to this
One image and the second image are compared, and according to these comparative results the pre-set threshold value is obtained.
If the similarity of two images is more than the pre-set threshold value, you can think that the similarity of this two images is larger, from
And it is believed that this two images belong to the palm of forgery.Otherwise it is assumed that two images belong to live body palm.
Step A3:If matching degree is less than pre-set threshold value, it is determined that palm to be detected is live body palm, is otherwise determined to be detected
Palm is non-living body palm.
If the similarity of first image and the second image is more than the pre-set threshold value, you can think the similar of this two images
Degree is larger, so as to it is believed that this two images belong to non-living body palm.If matching degree is less than pre-set threshold value, it is determined that hand to be detected
Slap as live body palm.
For example, include irradiating using the first light source and not using secondary light source, use secondary light source in light source works pattern
Irradiation and do not use the first light source, while when using the first light source and secondary light source to irradiate, the first light source works pattern and second
Light source works pattern belongs to one of these light source works patterns, the first light source works pattern and secondary light source mode of operation
It is different.
Alternatively, light source includes sending the light source of blue wave band and sends the light source of near infrared light wave band, the first light source and
Secondary light source belongs to one of light source,
Wherein, under the irradiation of the light source of blue wave band, palm testing equipment is obtained live body palm by image collecting device
The image of the live body palm got includes palmprint information and does not include vena metacarpea information;
Under the irradiation of the light source of near infrared light wave band, palm testing equipment is obtained live body palm by image collecting device
The image of the live body palm for arriving includes vena metacarpea information and does not include palmprint information;
Live body palm blue wave band light source and near infrared light wave band light source while irradiation under, palm testing equipment
The image of the live body palm got by image collecting device includes vena metacarpea information and palmprint information;
Palmprint information and vena metacarpea information belong to different palm characteristic informations.
If palm to be detected is non-living body palm, under three kinds of above-mentioned light source works patterns, palm testing equipment is obtained
Get the same palm characteristic information of non-living body palm.I.e. under the first light source works pattern or secondary light source mode of operation
Under, or palm testing equipment all gets the palmprint information of non-living body palm, and obtain the vena metacarpea less than non-living body palm
Information;The palmprint information less than non-living body palm is all obtained, and gets the vena metacarpea information of non-living body palm;All
The palmprint image and vena metacarpea information of non-living body palm are got simultaneously.With secondary light source work i.e. under the first light source works pattern
Under operation mode, the image of the non-living body palm that palm testing equipment gets includes identical palm characteristic information.
Include sending the light source of blue wave band in light source and send the light source of near infrared light wave band, and the first light source and second
When light source belongs to one of both light sources, the situation of the palm characteristic information that palm testing equipment is detected includes:A is slapped
Print image, B vena metacarpea images, C palmprint images and vena metacarpea image.
If palm to be detected is non-living body palm, the palm for such as printing, the palm characteristic information of its related palm for printing
It is a kind of generally in three of the above (A, B, C) situation, and change the species of the palm characteristic information that light source works situation is detected
Will not change.I.e. under the first light source works pattern and under secondary light source mode of operation, palm testing equipment gets
The palm characteristic information that the image of non-living body palm includes is identical, for example, the palmprint image all shown in Fig. 3, or be all Fig. 4
Shown vena metacarpea image, or be all palmmprint as shown in Figure 5 and vena metacarpea image, without getting Fig. 3 to Fig. 5 in
The two of which of image.
If palm to be detected is live body palm, the biological characteristic of related palm has three of the above (A, B, C) situation, and changes
The palm characteristic information that light source works situation is detected also can be changed accordingly.
As shown in above-mentioned table three, table three shows several situations of the palm characteristic information that non-living body palm includes, and
In different light source works, the palm characteristic information that palm testing equipment is detected to non-living body palm and live body palm.
Such that it is able to learn, the first light source works pattern and secondary light source mode of operation is used alternatingly in palm testing equipment
Under, palm testing equipment is obtained respectively after first image and the second image of live body palm by image collecting device thereon,
Such as step 803 and step 804.First image and the second image are different because of the palm characteristic information for including thereon, the first image and
The similarity degree of the second image is relatively low.The first light source works pattern and secondary light source Working mould is used alternatingly in palm testing equipment
Under formula, palm testing equipment obtains respectively first image and the second figure of non-living body palm by image collecting device thereon
Picture, first image and the second image are identical because of the palm characteristic information for including thereon, so as to the first image and the second image
Similarity degree is higher.In order to distinguish the height of similarity, live body palm and non-living body palm can be examined using palm testing equipment
Test is tested, and statistical results, and the matching degree for obtaining a pre-set threshold value, the first image and the second image is more than the default valve
Value, then judge that the similarity of the first image and the second image is higher, determines the first image and the hand to be detected belonging to the second image
Slap as non-living body palm, conversely, being defined as live body palm.
The method that second of the image of use first and the second image carry out similarity degree comparison, without the need for setting to palm detection
Standby the first image for obtaining and the second image carry out the identification of palm characteristic information, as long as directly comparing the first image and the second figure
The similarity of picture, such comparative approach can improve the detection efficiency of the palm detection method of the embodiment of the present invention, and letter
The algorithm on palm testing equipment is changed.
It is appreciated that the embodiment of the present invention is that the first light source works pattern and second is used alternatingly by palm testing equipment
Light source works pattern is illustrated, and in the embodiment having, palm testing equipment can use various light sources mode of operation, example
Such as, according to the first light source and the work relationship of secondary light source, three kinds of light source works patterns can be obtained, palm testing equipment can be alternately
Using these three light source works patterns.
In sum, on palm testing equipment, in the first light source works pattern, obtained by image collecting device and treated
First image of detection palm;In secondary light source mode of operation, by image collecting device the second of palm to be detected is obtained
Image;Then, according to the first image and the second image, judge whether palm to be detected is live body palm.First light source works mould
The light source that the light source and secondary light source mode of operation that formula is used is used includes different optical bands, because of the difference of glistening light of waves section, causes
Respectively under the light source of the first light source works pattern and the light source irradiation of secondary light source mode of operation, palm detection sets live body palm
Standby to get the different palm characteristic information of live body palm by image collecting device, non-living body palm is respectively in the first light source work
Under the light source of operation mode and the light source irradiation of secondary light source mode of operation, palm testing equipment is got by image collecting device
Non-living body palm identical palm characteristic information.So, by the way that the light source works pattern including different glistening light of waves sections, hand is used alternatingly
Palm testing equipment obtains respectively the different images of palm to be detected by image collecting device, and the different images are analyzed,
Can show whether palm to be detected is live body palm, so as to differentiation that is simple and efficiently realizing live body palm.
Fig. 9 is a kind of structural representation of the palm testing equipment according to an exemplary embodiment.The palm detection
In the palm detection method of the executable above-described embodiment of equipment, palm testing equipment includes image collecting device, referring to Fig. 9, this
The palm testing equipment that inventive embodiments are provided includes:
Image acquisition unit 901, in the first light source works pattern, by image collecting device hand to be detected being obtained
First image of the palm;
Image acquisition unit 901, is additionally operable to, in secondary light source mode of operation, obtain to be detected by image collecting device
Second image of palm;
Judging unit 903, for according to the first image and the second image, judging whether palm to be detected is live body palm;
Wherein, the light source that the light source and secondary light source mode of operation that the first light source works pattern is used is used includes different
Optical band.
Alternatively,
Live body palm respectively the first light source works pattern light source and secondary light source mode of operation light source irradiation under, hand
Palm testing equipment gets the different palm characteristic information of live body palm by image collecting device, and non-living body palm is respectively the
Under the light source of one light source works pattern and the light source irradiation of secondary light source mode of operation, palm testing equipment passes through image collector
Put and get non-living body palm identical palm characteristic information.
Alternatively,
First light source works pattern is to be irradiated using the first light source and do not use the secondary light source, secondary light source mode of operation to be
Irradiated using secondary light source and do not use the first light source, wherein, the light that the optical band and secondary light source that the first light source sends sends
Wave band is different,
Judging unit 903, is additionally operable to not include second feature information when the first image includes fisrt feature information, and the
When two images include second feature information and do not include fisrt feature information, determine that palm to be detected is live body palm;
Wherein, when being irradiated using the first light source and not using secondary light source, palm testing equipment passes through image collector
The fisrt feature information of live body palm that can get is put, and obtains the second feature information less than live body palm,
When being irradiated using secondary light source and not using the first light source, palm testing equipment can be obtained by image collecting device
Get the second feature information of live body palm, and obtain the fisrt feature information less than live body palm, fisrt feature information and the
Two characteristic informations are different palm characteristic informations.
Alternatively,
First light source works pattern is to be irradiated using the first light source and do not use the secondary light source, secondary light source mode of operation to be
Irradiated using the first light source and secondary light source simultaneously, wherein, the light wave that the optical band and secondary light source that the first light source sends sends
Duan Butong,
Judging unit 903, is additionally operable to not include second feature information when the first image includes fisrt feature information, and the
When two images include second feature information and fisrt feature information, determine that palm to be detected is live body palm,
Wherein, when being irradiated using the first light source and not using secondary light source, palm testing equipment passes through image collector
The fisrt feature information of live body palm that can get is put, and obtains the second feature information less than live body palm;
When being irradiated using the first light source and secondary light source at the same time, palm testing equipment can be obtained by image collecting device
To the fisrt feature information and second feature information of live body palm, fisrt feature information and second feature information are different palms
Characteristic information.
Alternatively,
Judging unit 903, including:
Contrast module 904, for contrasting the first image and the second image, obtains matching degree, and matching degree is used to represent first
The similarity degree of image and the second image;
Judge module 905, for judging matching degree whether less than pre-set threshold value;
Determining module 906, if being less than pre-set threshold value for matching degree, it is determined that palm to be detected is live body palm, otherwise
Determine that palm to be detected is non-living body palm.
Alternatively,
Light source works pattern include using the first light source irradiate and do not use secondary light source, use secondary light source irradiate and not
Using the first light source, while using the first light source and secondary light source irradiation, the first light source works pattern and secondary light source Working mould
Formula belongs to one of light source works pattern, and the first light source works pattern is different from secondary light source mode of operation.
Alternatively, light source includes sending the light source of blue wave band and sends the light source of near infrared light wave band, the first light source and
Secondary light source belongs to one of the light source,
Wherein, under the irradiation of the light source of blue wave band, palm testing equipment is obtained live body palm by image collecting device
The image of the live body palm got includes palmprint information and does not include vena metacarpea information;
Under the irradiation of the light source of near infrared light wave band, palm testing equipment is obtained live body palm by image collecting device
The image of the live body palm for arriving includes vena metacarpea information and does not include palmprint information;
Live body palm blue wave band light source and near infrared light wave band light source while irradiation under, palm testing equipment
The image of the live body palm got by image collecting device includes vena metacarpea information and palmprint information;
Palmprint information and vena metacarpea information belong to different palm characteristic informations.
Alternatively, the equipment also includes:
Region decision unit 902, for judging position of the palm to be detected relative to palm testing equipment whether in image
Obtain region;
If palm to be detected relative to palm testing equipment position in image-acquisition area, image acquisition unit 901
Perform under the first light source works pattern, the first image of palm to be detected is obtained by image collecting device, and image is obtained
Unit 901 under secondary light source mode of operation, the step of obtain the second image of palm to be detected by image collecting device;
If palm to be detected relative to palm testing equipment position not in image-acquisition area, send information.
Alternatively
Image collecting device includes optical filter, and optical filter can pass through the optical band of the first light source and the light wave of secondary light source
Section.
In sum, on palm testing equipment, image acquisition unit 901 in the first light source works pattern, by figure
As harvester obtains the first image of palm to be detected;Image acquisition unit 901 in secondary light source mode of operation, by figure
As harvester obtains the second image of palm to be detected;Then, judging unit 903 is sentenced according to the first image and the second image
Whether the palm to be detected that breaks is live body palm.What the light source and secondary light source mode of operation that the first light source works pattern is used was used
Light source includes different optical bands, because of the difference of glistening light of waves section, causes live body palm respectively in the light source of the first light source works pattern
Under the light source irradiation of secondary light source mode of operation, palm testing equipment gets the different image information of live body palm.So,
By the way that the light source works pattern including different glistening light of waves sections is used alternatingly, palm testing equipment is obtained respectively by image collecting device
The different images are analyzed by the different images of palm to be detected, you can show whether palm to be detected is live body palm, from
And differentiation that is simple and efficiently realizing live body palm.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematic, for example, the unit
Divide, only a kind of division of logic function can have other dividing mode, such as multiple units or component when actually realizing
Can with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or
The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit
Close or communicate to connect, can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can according to the actual needs be selected to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used
When, during a computer read/write memory medium can be stored in.Based on such understanding, technical scheme is substantially
The part for contributing to prior art in other words or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And aforesaid storage medium includes:USB flash disk, portable hard drive, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above, above example only to illustrate technical scheme, rather than a limitation;Although with reference to front
State embodiment to be described in detail the present invention, it will be understood by those within the art that:It still can be to front
State the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic;And these
Modification is replaced, and does not make the spirit and scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution.