WO2018072099A1 - Palm detection method and device - Google Patents

Palm detection method and device Download PDF

Info

Publication number
WO2018072099A1
WO2018072099A1 PCT/CN2016/102443 CN2016102443W WO2018072099A1 WO 2018072099 A1 WO2018072099 A1 WO 2018072099A1 CN 2016102443 W CN2016102443 W CN 2016102443W WO 2018072099 A1 WO2018072099 A1 WO 2018072099A1
Authority
WO
WIPO (PCT)
Prior art keywords
palm
light source
image
feature information
living
Prior art date
Application number
PCT/CN2016/102443
Other languages
French (fr)
Chinese (zh)
Inventor
李治农
仲崇亮
刘宝璐
王辉能
Original Assignee
厦门中控智慧信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 厦门中控智慧信息技术有限公司 filed Critical 厦门中控智慧信息技术有限公司
Priority to CN201680001141.2A priority Critical patent/CN106663201A/en
Priority to PCT/CN2016/102443 priority patent/WO2018072099A1/en
Publication of WO2018072099A1 publication Critical patent/WO2018072099A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/40Spoof detection, e.g. liveness detection
    • G06V40/45Detection of the body part being alive

Definitions

  • the invention relates to the field of biometric anti-counterfeiting, and in particular to a palm detecting method and device.
  • the biometric information on the palm can be used to identify the user.
  • the biometrics on the palm can be forged, for example, using an image including palm vein and palmprint information to be forged as a living palm.
  • the palm recognition device may recognize that the image is not a living palm, and thus the palm recognition is recognized. This creates a security risk.
  • the method of judging whether it is a living palm is generally obtained according to a pre-established living palm statistical rule, and whether the acquired palm image is obtained according to the living palm.
  • this often results in efficiency due to the complex effects of the algorithm, and the accuracy is not high.
  • Embodiments of the present invention provide a palm detecting method and apparatus for accurately and efficiently determining a living body palm.
  • the embodiment of the present invention provides the following technical solutions:
  • a palm detecting method the method being applied to a palm detecting device, the method comprising:
  • the first light source working mode acquiring a first image of the palm to be detected by the image capturing device
  • the light source used by the first light source working mode and the light source used by the second light source working mode comprise different optical bands.
  • the embodiment of the present invention further provides the following technical solutions:
  • a palm detecting device comprising an image capturing device, the palm detecting Equipment includes:
  • An image acquisition unit configured to acquire, by the image acquisition device, the first image of the palm to be detected when the first light source operates in a mode
  • the image acquisition unit is further configured to acquire, by the image acquisition device, the second image of the palm to be detected when the second light source operates in a mode;
  • a determining unit configured to determine, according to the first image and the second image, whether the palm to be detected is a living palm
  • the light source used by the first light source working mode and the light source used by the second light source working mode comprise different optical bands
  • the living palms are respectively illuminated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device acquires different palm feature information of the living body palm through the image collecting device, and the non-living palms are respectively at the first When the light source of the light source working mode and the light source of the second light source operating mode are illuminated, the palm detecting device acquires the same palm feature information of the non-living palm through the image capturing device.
  • the first image of the palm to be detected is acquired by the image capturing device in the working mode of the first light source on the palm detecting device; and the image capturing device is obtained by the image capturing device in the working mode of the second light source A second image of the palm to be detected; and then, based on the first image and the second image, determining whether the palm to be detected is a living palm.
  • the light source used in the first light source working mode and the light source used in the second light source working mode include different light bands, and the light source of the living body palm is respectively irradiated in the working mode of the first light source and the light source in the working mode of the second light source due to different wave sections.
  • the palm detecting device acquires different image information of the living palm.
  • the palm detecting device respectively acquires different images of the palm to be detected through the image capturing device, and analyzes the different images to obtain whether the palm to be detected is a living palm, thereby The discrimination of the living palm is realized easily and efficiently.
  • FIG. 1 is a schematic diagram of a usage scenario involved in a palm detecting method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of another angle of the schematic diagram of the usage scenario shown in FIG. 1;
  • FIG. 3 is a schematic diagram of a palm print image acquired by a palm detecting device in the usage scene shown in FIG. 1 by an image capturing device;
  • FIG. 4 is a schematic diagram of a palm vein image acquired by an image detecting device by a palm detecting device in the use scenario shown in FIG. 1;
  • FIG. 5 is a schematic diagram of palm prints and palm vein images acquired by the palm detecting device in the use scene shown in FIG. 1 by the image capturing device;
  • FIG. 6 is a schematic diagram showing a spectral characteristic curve of a filter of a palm detecting device in the use scenario shown in FIG. 1;
  • FIG. 7 is a flowchart of a method for detecting a palm according to another embodiment of the present invention.
  • FIG. 8 is a flowchart of a method for detecting a palm according to another embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a palm detecting device according to another embodiment of the present invention.
  • Embodiments of the present invention provide a palm detecting method and apparatus for accurately and efficiently determining a living body palm.
  • FIG. 1 and FIG. 2 are schematic diagrams of usage scenarios involved in a palm detecting method according to an embodiment of the present invention.
  • 1 is a side view
  • FIG. 2 is a plan view of the use scene shown in FIG. 1.
  • the usage scenario includes a palm detecting device 101 and a palm 102.
  • the palm detecting device can detect whether the palm is a living palm.
  • the palm detecting device can further include other functions, such as palm hand feature information recognition.
  • the palm feature information includes palm print information and palm vein information.
  • the existing palm recognition device simply recognizes the palm feature information, but the palm feature information may be forged by the unlawful user, so that the unscrupulous user can successfully use the forged palm feature information to successfully recognize the device through the palm. This creates a security risk.
  • the method of forging the palm feature information may be printing palm feature information on the paper, photographing the palm feature information, manufacturing a palm model, and the like. For these forged palm feature information, the existing palm recognition device cannot detect that it is forged and thus may be identified.
  • FIG. 3 is a schematic diagram of a palmprint image acquired by the image acquisition device
  • FIG. 4 is a schematic diagram of a palm vein image acquired by the image acquisition device
  • FIG. 5 is an image acquisition device.
  • the palm print image includes palm print information
  • the palm vein image includes palm vein information, palm print, and palm vein image including palm print information and palm vein information. Palm print information and palm vein information are different palm feature information.
  • the image capturing device can acquire the palm feature information images as shown in FIG. 3 to FIG. 5, and the palm feature information images can also be used for palm features in the palm recognition device. Identification of information and possible identification.
  • the spectrum of the light emitted by the light source is different, that is, when the light source uses different light bands, the light of different wavelengths is different from the reflection of the living body palm, and the living body palm can be collected by the image collecting device.
  • Different palm characteristics information does not.
  • the non-living palm does not change the palm feature information of the non-living palm obtained by the image acquisition device under different spectral illumination.
  • the palm detecting device of the embodiment of the present invention utilizes the above principle to detect whether the palm to be detected is a living palm.
  • the palm detecting device further has a palm feature recognition function, after detecting that the palm to be detected is a living palm, the palm of the palm to be detected is collected. The information is collected to identify the palm feature information. Whether the palm of the test is first detected is the detection of the living palm, and the forged palm feature information can be identified, thereby improving the accuracy of the subsequent palm feature information recognition.
  • the palm detecting device includes a first light source 103, a second light source 104, and an image capturing device 105.
  • the image capture device 105 of the palm detecting device includes a lens 106 and a filter 107 through which image information can be acquired.
  • the light emitted by the first light source 103 and the second light source 104 includes different optical wavelength bands. Under different illumination of the optical wavelength band, the palm feature information of the living palm obtained by the palm detecting device through the image capturing device is different, and the non-living palm is different. Under the illumination of the light band, the palm feature information of the non-living palm obtained by the palm detecting device through the image collecting device is the same.
  • the image of the living palm obtained by the palm detecting device through the image capturing device is irradiated by the light source of the living body palm in the blue light band.
  • the palmprint information is included without the palm vein information, such as the palmprint image as shown in FIG.
  • the image of the living body palm acquired by the palm detecting device through the image capturing device includes palm vein information without including palmprint information, for example, a palm vein image as shown in FIG.
  • the image of the living body palm obtained by the palm detecting device through the image capturing device includes palm vein information and palm print information, for example, the palm vein and the figure shown in FIG. Palm print image. These palm vein information and palmprint information belong to different palm characteristics information.
  • the image acquisition device acquires the same palm feature information of the non-living palm regardless of the light source of the light band, that is, what the palm feature information is included in the non-living palm, in different Under the illumination of the light source of the wave section, the image acquisition device acquires the palm feature information of the non-living palm.
  • the palm detecting device can control the operation of the first light source and the second light source through the circuit control device thereon, thereby generating different light source working modes, for example, using the first light source to illuminate without using the second light source, and using the second light source and The light source operating modes are not used without using the first light source while using the first light source and the second light source.
  • the light source used in different light source working modes includes different light bands, and the palm of the living body is illuminated by the light band of different light source working modes, and the palm detecting device passes the image.
  • the palm feature information of the living palm obtained by the collecting device is different. When the non-living palm is illuminated by the light band of different light source working modes, the palm feature information of the non-living palm obtained by the palm detecting device through the image collecting device is the same.
  • the palm detecting device On the palm detecting device, in the first light source working mode, the first image of the palm to be detected is acquired by the image capturing device; and in the second light source working mode, the second image of the palm to be detected is acquired by the image capturing device; According to the first image and the second image, it is determined whether the palm to be detected is a living palm.
  • the light source used by the first light source operating mode and the light source used by the second light source operating mode include different optical bands, and the first light source operating mode and the second light source operating mode may be one of the light source operating modes as described above.
  • the living body palms are respectively illuminated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device acquires different palm feature information of the living palm through the image collecting device, and the non-living palms respectively Under the illumination of the light source of the first light source working mode and the light source of the second light source working mode, the palm detecting device acquires the same palm feature information of the non-living palm through the image capturing device.
  • the palm detecting device respectively acquires different images of the palm to be detected through the image capturing device, and analyzes the different images to obtain whether the palm to be detected is a living palm, thereby The discrimination of the living palm is realized easily and efficiently.
  • the image capture device includes a filter that is permeable to the optical band of the first source and the optical band of the second source.
  • the filter is a filter designed using a new process of segment coating to allow light from two different wavelength bands to pass through.
  • the filter can transmit a band of light emitted by the first source of the palm detecting device and a band of light emitted by the second source. Since the filter is specially processed, it can be matched with the adjusted exposure parameters to ensure that the image acquisition sensor can acquire a clear image when the first/second light source starts working.
  • the light emitted by the first light source is a blue light blue light LED
  • the blue light band can be a band near 470 nm
  • the light emitted by the second light source is a near-infrared LED in the near-infrared light band
  • the near-infrared light band can be a band near 850 nm.
  • the filter can transmit through the near-infrared band and the blue band, and the spectral characteristic curve of the filter is as shown in FIG. 6. It can be seen from FIG. 6 that the filter designed by the new process of segment coating can transmit light of two different wavelength bands, and the center wavelengths of the light of the two different bands are 470 nm and 850 nm, respectively.
  • the palm detecting device may further include an indicator light 108.
  • the palm detecting device detects the palm, if the palm or the detected object is not in the proper position, the palm detecting device acquires through the image capturing device. When the image to be detected is reached, the palm detecting device gives an indication by the indicator light 108.
  • the first light source and the second light source may be laid out on the palm detecting device according to a preset manner.
  • the first light source and the second light source can be disposed around the image capture device, respectively.
  • the blue LED and the near-infrared LED are respectively arranged on the palm detecting device by using a circular layout rule, and the blue LED and the near-infrared LED constitute a concentric circle, and the image capturing device is disposed on the blue LED and the near-infrared LED.
  • the palm detecting device may include two different image capturing devices, one image capturing device corresponding to a light source, and the image is acquired when the light source illuminates the palm to be detected; the other image capturing device is used for another An image is acquired when a light source illuminates the palm to be detected.
  • the lens of the image capture device can use two filters, such as ir-cut, and the dual filter switch can convert the infrared filter and the full transmission spectrum in different light source operating modes. Filter.
  • FIG. 7 is a flowchart of a palm detecting method according to an exemplary embodiment.
  • the method provided by the embodiment of the present invention is taken as an example of the implementation environment diagram and the foregoing content shown in FIG. 1 , which is applied to the palm detecting device, and the method of the palm detecting device is used to perform the method provided by the embodiment of the present invention.
  • the process includes:
  • Step 701 Acquire a first image of the palm to be detected by the image capturing device in the first light source working mode
  • Step 702 Acquire a second image of the palm to be detected by the image capturing device in the second light source working mode
  • Step 703 Determine, according to the first image and the second image, whether the palm to be detected is a living palm;
  • the light source used in the first light source working mode and the light source used in the second light source working mode include Different light bands
  • the living palms are respectively illuminated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device acquires different palm feature information of the living body palm through the image capturing device, and the non-living palms are respectively in the working mode of the first light source. Under the illumination of the light source and the light source of the second light source working mode, the palm detecting device acquires the same palm feature information of the non-living palm through the image capturing device.
  • the first light source operates in a mode that uses the first light source and does not use the second light source
  • the second light source operates in a mode that uses the second light source and does not use the first light source, wherein the first light source emits a light band and the second light source emits Different light bands
  • Determining whether the palm to be detected is a living palm according to the first image and the second image comprises:
  • Determining that the palm to be detected is a living palm when the first image includes the first feature information and does not include the second feature information, and the second image includes the second feature information without including the first feature information;
  • the palm detecting device can acquire the first feature information of the living palm through the image capturing device, and can obtain the second feature information of the living palm.
  • the palm detecting device can acquire the second feature information of the living palm through the image capturing device, and can obtain the first feature information of the living palm, the first feature information and the first feature information.
  • the two feature information is different palm feature information.
  • the first light source operates in a mode that uses the first light source and does not use the second light source
  • the second light source operates in a mode in which the first light source and the second light source are simultaneously illuminated, wherein the light band emitted by the first light source and the second light source emit Different light bands
  • Determining whether the palm to be detected is a living palm according to the first image and the second image comprises:
  • the first image includes the first feature information and does not include the second feature information
  • the second image includes the second feature information and the first feature information
  • the palm detecting device can acquire the first feature information of the living palm through the image capturing device, and can not obtain the second feature of the living palm. information;
  • the palm detecting device can acquire the first feature information and the second feature information of the living body palm through the image capturing device, and the first feature information and the second feature information are different palm features. information.
  • Determining whether the palm to be detected is a living palm according to the first image and the second image comprises:
  • the matching degree is less than the preset threshold, it is determined that the palm to be detected is a living palm, otherwise it is determined that the palm to be detected is a non-living palm.
  • the light source operating mode includes illuminating with the first light source and not using the second light source, illuminating with the second light source and not using the first light source, and simultaneously irradiating with the first light source and the second light source, the first light source working mode and the second light source working mode It belongs to one of the working modes of the light source, and the working mode of the first light source is different from the working mode of the second light source.
  • the light source comprises a light source emitting a blue light band and a light source emitting a near-infrared light band, and the first light source and the second light source are one of the light sources.
  • the image of the living palm obtained by the palm detecting device through the image capturing device includes the palmprint information and does not include the palm vein information under the illumination of the light source of the living body palm;
  • the image of the living body palm obtained by the palm detecting device through the image collecting device includes palm vein information without including palm print information;
  • the image of the living body palm obtained by the palm detecting device through the image collecting device includes the palm vein information and the palm print information;
  • the palm print information and the palm vein information belong to different palm feature information.
  • the method further includes:
  • the position of the palm to be detected relative to the palm detecting device is in the image capturing area, performing the first image in the first light source working mode, acquiring the first image of the palm to be detected by the image capturing device, and passing the image in the second light source working mode Obtaining, by the collecting device, a second image of the palm to be detected;
  • the image capture device includes a filter that is permeable to the optical band of the first source and the optical band of the second source.
  • the palm detecting device in the first light source working mode, the first image of the palm to be detected is acquired by the image capturing device; and in the second light source working mode, the image of the palm to be detected is acquired by the image capturing device. Second image; then, according to the first image and the second image, it is determined whether the palm to be detected is a living palm.
  • the light source used in the first light source working mode and the light source used in the second light source working mode include different light bands, and the light source of the living body palm is respectively irradiated in the working mode of the first light source and the light source in the working mode of the second light source due to different wave sections.
  • the palm detecting device acquires different palm feature information of the living body palm through the image capturing device, and the non-living palm is respectively irradiated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device acquires different living palms. Image information.
  • the palm detecting device respectively acquires different images of the palm to be detected through the image capturing device, and analyzes the different images to obtain whether the palm to be detected is a living palm, thereby The discrimination of the living palm is realized easily and efficiently.
  • FIG. 8 is a flowchart of a palm detecting method according to an exemplary embodiment.
  • the method provided by the embodiment of the present invention is taken as an example of the implementation environment diagram and the foregoing content shown in FIG. 1 , which is applied to the palm detecting device, and the method of the palm detecting device is used to perform the method provided by the embodiment of the present invention.
  • the process includes:
  • Step 801 Determine whether the position of the palm to be detected relative to the palm detecting device is in the image capturing area; if the position of the palm to be detected relative to the palm detecting device is in the image capturing area, step 803 and step 804 are performed;
  • the palm detecting device detects that the object to be detected is located in an image acquisition area of the palm detecting device
  • the palm detecting device determines the image before the object to be detected. For example, the palm detecting device determines whether the position of the palm to be detected relative to the palm detecting device is in the image capturing region; if the position of the palm to be detected relative to the palm detecting device is in the image capturing region, performing the image in the first light source working mode
  • the acquiring device acquires the first image of the palm to be detected, and the step of acquiring the second image of the palm to be detected by the image capturing device in the second light source working mode. If the position of the palm to be detected relative to the palm detecting device is not in the image capturing area, step 802 is performed.
  • the method for detecting whether the position of the palm to be detected relative to the palm detecting device is in the image capturing area is not specifically limited in the embodiment of the present invention.
  • the palm detecting device may detect the palm by image analysis technology and distance detecting composite technology. The position is judged.
  • Step 802 Send a prompt message.
  • the palm detecting device determines that the position of the palm to be detected relative to the palm detecting device is not in the image capturing region, the palm detecting device cannot acquire the image for analysis of the palm to be detected through the image capturing device thereon, so that the palm detecting device sends the image to the user. Prompt message.
  • the specific manner of issuing the prompt information may be: performing a voice prompt, for example, sending a voice to the user “please see the palm placed in the image acquisition area”, or by indicating an indicator light set on the palm detecting device, for example, when When the position of the palm to be detected relative to the palm detecting device is not in the image capturing area, the turn-on indicator flashes.
  • the palm detecting device may also issue prompt information, for example, when the position of the palm to be detected relative to the palm detecting device is not in the image capturing region, the first light source and / or the second light source does not start working, the first light source and / or the second light source start to work when the position of the palm to be detected relative to the palm detecting device is in the image capturing area.
  • step 802 may not be included, or step 801 and step 802 may not be included.
  • Step 803 Acquire a first image of the palm to be detected by the image capturing device in the first light source working mode
  • the palm detecting device When the palm detecting device is in the first light source working mode, the first image of the palm to be detected is acquired by the image capturing device.
  • Step 804 Acquire a second image of the palm to be detected by the image capturing device in the second light source working mode
  • the palm detecting device When the palm detecting device is in the second light source working mode, the second image of the palm to be detected is acquired by the image capturing device.
  • the light source used in the first light source working mode and the light source used in the second light source working mode comprise different light bands, and the first light source working mode and the second light source working mode belong to different light source working modes.
  • the palm inspection device may be provided with a plurality of light sources, wherein the light emitted by the different light sources includes different light bands, and preferably the light bands of different light sources do not overlap.
  • the palm detecting device may be provided with two light sources emitting different optical bands, that is, the palm detecting device is provided with a first light source and a second light source, wherein the light band emitted by the first light source and the second light source The light source emits a different band of light.
  • the palm detecting device can control the switches of the first light source and the second light source through the circuit control module thereon, thereby generating different light source working modes, for example, using the first light source to illuminate without using the second light source, and using the second light source and The three light source operating modes are illuminated without using the first light source while using the first light source and the second light source.
  • the first light source working mode and the second light source working mode belong to one of the light source working modes, and the first light source working mode and the second light source working mode are different light source working modes.
  • the palm detecting device alternately uses different light source working modes to illuminate the palm to be detected, and the palm detecting device respectively acquires images of the palm to be detected under different light source working modes to perform detection of whether or not the living palm is detected. Through steps 803 and 804, the palm detecting device obtains images of the palm to be detected in different light source working modes.
  • the execution sequence of the step 803 and the step 804 is not specifically limited in the embodiment of the present invention.
  • Step 805 Determine, according to the first image and the second image, whether the palm to be detected is a living palm;
  • the palm detecting device acquires different images of the palm to be detected in different light source working modes.
  • the palm detecting device acquires different palm feature letters of the living body palm through the image collecting device.
  • the non-living palms are respectively illuminated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device acquires the same palm feature information of the non-living palm through the image collecting device.
  • the palm detecting device can determine whether the palm to be detected is a living palm according to the first image and the second image.
  • the specific method for determining whether the palm to be detected is a living body or not according to the first image and the second image has a plurality of specific methods, which are not specifically limited in the embodiment of the present invention. Two specific methods are exemplified below:
  • the palm feature information of the acquired image is compared with the preset palm feature information.
  • the palm detecting device In different light source working modes, the palm detecting device respectively acquires an image, and the palm detecting device pre-establishes a corresponding relationship between the light source working mode and the palm feature information. Determining, according to the correspondence, the palm feature information corresponding to the working mode of the light source when the image is acquired, and then using the determined palm feature information to compare with the palm feature information of the image to determine whether it is the same type of palm feature information, and the first image After the second image is thus judged, it can be determined according to the judgment result whether the palm to be detected is a living palm.
  • the first light source operates in a mode in which the first light source is used and the second light source is not used.
  • the second light source operates in a mode in which the second light source is used and the first light source is not used.
  • the light band emitted by the first light source and the light band emitted by the second light source are different
  • the palm detecting device can acquire the first feature information of the living palm through the image capturing device, and can obtain the second feature information of the living palm.
  • the palm detecting device can acquire the second feature information of the living palm through the image capturing device, and can obtain the first feature information of the living palm, the first feature information and the first feature information.
  • the two feature information is different palm feature information.
  • the palm detecting device acquires the same palm feature information in the first and second light source operating modes. That is, in the first and second light source working modes, the first feature information of the non-living palm is acquired, and the second feature information of the non-living palm is not obtained; or the first feature of the non-living palm is not obtained.
  • the information acquires the second feature information of the non-living palm; or both the first feature letter and the second feature information of the non-living palm are acquired at the same time.
  • the palm detecting device detects the palm to be recognized
  • the first and second images of the palm to be detected are acquired by the image capturing device on the first and second light source working modes, respectively, as in step 803 and step 804 above.
  • the execution sequence of the step 803 and the step 804 is not limited in the embodiment of the present invention, as long as different light source operation modes can be alternately used.
  • the palm detecting device may determine whether the first feature information is included on the first image without including the second feature information.
  • the method for determining the palm feature information of the image may be: the palm detecting device determines that the palm feature information corresponding to the working mode of the first light source includes the first feature information according to the correspondence between the working mode of the light source and the palm feature information.
  • the second feature information is included; after the palm detecting device acquires the first image, the palm image feature information is recognized on the first image to determine which palm feature information is included in the first image, and the recognition result is obtained. It is then determined whether the recognition result includes the first feature information and does not include the second feature information.
  • the palm detecting device determines whether the second feature information is included on the second image without including the first feature information.
  • the specific judging method is similar to the foregoing method for judging the first image, and the palm detecting device determines, according to the correspondence between the pre-established working mode of the light source and the palm feature information, that the palm feature information corresponding to the working mode of the second light source includes the second feature information. Without including the first feature information; palm detection device After acquiring the second image, the second image is identified by the palm feature information to determine which palm feature information is included in the second image, and the recognition result is obtained. It is then determined whether the recognition result is to include the second feature information without including the first feature information.
  • the step of determining whether the first feature information is included on the first image without including the second feature information, and determining whether the second feature information includes the second feature information and not including the first feature information is performed by the embodiment of the present invention.
  • the order of execution is not specifically limited. When both of the judging steps are YES, it is determined that the palm to be detected is a living palm.
  • determining whether the palm to be detected is a living palm according to the first image and the second image includes:
  • the palm to be detected is a living palm.
  • the first light source operates in a mode in which the first light source is used and the second light source is not used, and the second light source operates in a mode in which the first light source and the second light source are simultaneously used.
  • the light band emitted by the first light source and the light band emitted by the second light source are different
  • the palm detecting device can acquire the first feature information of the living palm through the image capturing device, and can obtain the second feature information of the living palm;
  • the palm detecting device can acquire the first feature information and the second feature information of the living body palm through the image capturing device, and the first feature information and the second feature information are different palm features. information.
  • the correspondence between the light source working mode and the palm feature information as shown in Table 2 can be pre-established on the palm detecting device.
  • the palm detecting device acquires the same palm feature information in the first and second light source operating modes. That is, in the first and second light source working modes, the first feature information of the non-living palm is acquired, and the second feature information of the non-living palm is not obtained; or the first feature of the non-living palm is not obtained.
  • the information acquires the second feature information of the non-living palm; or both the first feature letter and the second feature information of the non-living palm are acquired at the same time.
  • the palm detecting device may determine that the first image includes the first feature information and not the second feature information according to the correspondence, and the palm detecting device may determine, according to the correspondence, that the second image includes the second feature information. And first feature information.
  • the specific determination method reference may be made to the image palm feature information determination method described above.
  • the embodiment of the present invention does not specifically limit the step of determining that the first image includes the first feature information and not the second feature information, and the step of determining that the second image includes the second feature information and the first feature information.
  • both of the judging steps are YES, it is determined that the palm to be detected is a living palm.
  • determining whether the palm to be detected is a living palm according to the first image and the second image includes:
  • the first image includes the first feature information and does not include the second feature information
  • the second image includes the second feature information and the first feature information
  • the specific arrangement of the first light source and the second light source has various modes.
  • the embodiment of the present invention will be described in detail with the light source including a light source emitting a blue light band and a light source emitting a near-infrared light band.
  • the first light source and the second light source belong to one of the light sources when the light source includes a light source that emits a blue light band and a light source that emits a near-infrared light band.
  • the first light source may be a light source of a blue light band and the second light source may be a light source of a near-infrared light band, or the first light source may be a light source of a near-infrared light band and a light source of a blue light band of the second light source.
  • the working mode of the light source comprises turning on the light source of the blue light band and turning off the light source in the near-infrared light band; turning on the light source in the near-infrared light band, and turning off the light source in the blue light band; simultaneously turning on the light source and the blue light using the near-infrared light band
  • the light source of the band illuminates the three light source working modes, and the first light source working mode and the second light source working mode belong to one of the three light source working modes, and the first light source working mode and the second light source working mode are different.
  • the image of the living palm obtained by the palm detecting device through the image capturing device includes the palmprint information and does not include the palm vein information under the illumination of the light source of the living body palm;
  • the image of the living body palm obtained by the palm detecting device through the image collecting device includes palm vein information without including palm print information;
  • the image of the living body palm obtained by the palm detecting device through the image collecting device includes the palm vein information and the palm print information;
  • the palm print information and the palm vein information belong to different palm feature information.
  • an image including palm print information and not including palm vein information is called a palm print image
  • an image including palm vein information and not including palm print information is called a palm vein image, including palm vein information and
  • the image of the palm print information is called the palm print and the palm vein image.
  • the palm detecting device acquires the same palm feature information of the non-living palm. That is, in the first light source working mode or the second light source working mode, the palm detecting device either acquires the palm print image of the non-living palm; or both acquires the palm vein image of the non-living palm; or both acquire the non-living body at the same time. Palm palm and palm vein images of the palm. That is, in the first light source operation mode and the second light source operation mode, the image of the non-living palm acquired by the palm detecting device includes the same palm feature information.
  • the case of the palm feature information detected by the palm detecting device includes : A palm print image, B palm vein image, C palm print and palm vein image.
  • the palm hand information of the relevant palm printed is generally one of the above three (A, B, C) conditions, and the palm characteristics detected when the light source is replaced. The type of information does not change.
  • the biometric characteristics of the relevant palm have the above three (A, B, C) conditions, and the palm feature information detected by the replacement of the light source will also undergo corresponding changes.
  • Table 3 shows several situations of the palm feature information included in the non-living palm, and the palm feature information detected by the palm detecting device on the non-living palm and the living palm when the different light sources are working.
  • the palm feature information for detecting can be preset in the palm detecting device according to the working condition of different light sources, that is, the light source working mode is established in advance.
  • the type of palm feature information as shown in Table 4.
  • the system presets the palm feature information to include the palm print information and does not include the palm vein information; when the circuit control device controls the near infrared light source to start working, the system presets the palm feature information.
  • the system presets the palm feature information to include palm vein information and palm print information.
  • the palm detecting device determines the first/second light source working mode palm feature information according to the correspondence relationship of Table 4. After the palm feature information on the first image/second image is recognized, the recognized palm feature information is compared with the palm feature information determined according to the correspondence. It is judged whether the recognized palm feature information matches the palm feature information determined according to the correspondence relationship.
  • the method for the palm detecting device to recognize the palm feature information on the first image/second image may be: acquiring a plurality of palmprint images, palm vein images, palm prints and palm vein images in advance, and determining different kinds of images by statistical analysis. The law of information.
  • the identification module is generated according to the statistical rule, and the identification module is set on the palm detection device. After the palm detecting device acquires the first image/second image, the palm detecting device can identify the first image/second image through the identifying module, and determine palm feature information on the first image/second image.
  • Table 5 shows the palm feature information preset by the palm detecting device in different light source working modes, and the image and preset palm feature information when the palm detecting device acquires the image of the non-living palm or the living palm. The case of matching or not.
  • the to-be-detected may be determined.
  • the palm of the hand is the palm of the living body, otherwise it is the non-living palm.
  • the palm detecting device determines the first/second light source working mode palm feature information according to the correspondence relationship of Table 4. After the palm feature information on the first image/second image is recognized, the palm feature information is compared with the palm feature information determined according to the correspondence relationship. If the palm feature information of the first image matches the corresponding preset palm feature information, and the palm feature information of the second image matches the corresponding preset palm feature information, the palm detecting device determines that the palm to be detected is a living palm. Otherwise, it is determined that the palm to be detected is a non-living palm.
  • the preset palm feature information corresponding to the first light source working mode is included Palmprint information does not include palm vein information.
  • the palm detecting device detects the palm feature information of the first image, and matches the palm feature information of the first image with the preset palm feature information. That is, it is determined whether the first image includes palm print information and does not include palm vein information.
  • the preset palm feature information corresponding to the second light source working mode includes a palm vein. Information does not include palm print information.
  • the palm detecting device detects the palm feature information of the second image, and matches the palm feature information of the second image with the preset palm feature information. That is, it is determined whether the second image includes palm vein information and does not include palm print information.
  • the palm detecting device determines that the palm to be detected is the living palm, otherwise determines that the palm to be detected is not Living palms.
  • the working mode of the first light source is a light source using a blue light band and a light source of a near-infrared light band is not used, according to the correspondence relationship shown in Table 4, the preset palm feature information corresponding to the working mode of the first light source is included Palmprint information does not include palm vein information.
  • the palm detecting device In the first light source working mode, after the palm detecting device acquires the first image of the palm to be detected, the hand The palm detecting device detects the palm feature information of the first image, and matches the palm feature information of the first image with the preset palm feature information, that is, determines whether the first image includes palm print information and does not include palm vein information.
  • the preset palm feature information corresponding to the working mode of the second light source includes the information of the palm vein. And palm print information.
  • the palm detecting device detects the palm feature information of the second image, and matches the palm feature information of the second image with the preset palm feature information. That is, it is determined whether the second image includes palm vein information and palm print information.
  • the palm detecting device determines that the palm to be detected is a living palm, otherwise determines that the palm to be detected is a non-living palm.
  • the preset palm feature information corresponding to the first light source working mode is included Palm vein information does not include palmprint information.
  • the palm detecting device detects the palm feature information of the first image, and matches the palm feature information of the first image with the preset palm feature information. That is, it is determined whether the first image includes palm vein information and does not include palm print information.
  • the preset palm feature information corresponding to the working mode of the second light source includes the information of the palm vein. And palm print information.
  • the palm detecting device detects the palm feature information of the second image, and matches the palm feature information of the second image with the preset palm feature information. That is, it is determined whether the second image includes palm vein information and palm print information.
  • the palm detecting device determines that the palm to be detected is a living palm, otherwise determines that the palm to be detected is a non-living palm.
  • the first feature information and the second feature information are one of palm vein information and palmprint information, and the first feature information and the second feature information are different.
  • the first light source and the second light source belong to one of a light source in the infrared light band and a light source in the blue light band, and the first light source and the second light source are different.
  • three light source working modes are available, and the first light source working mode and the second light source working mode belong to one of the three light source working modes, and the first light source working mode and the second The light source operating mode is a different light source operating mode.
  • the first and second light source working modes include two cases:
  • the working mode of the first light source is to turn on the light source of the blue light band and turn off the light source of the near-infrared light band; the working mode of the second light source is to turn on the light source of the near-infrared light band, and turn off the light source of the blue light band.
  • the working mode of the first light source is to turn on the light source of the blue light band and turn off the light source of the near-infrared light band; the working mode of the second light source is to simultaneously turn on the light source of the blue light band and the light source of the near-infrared light band.
  • the first and second light source working modes include two situations:
  • the first light source operates in a light source using a near-infrared light source and does not use a light source in the blue light band; and the second light source operates in a light source that uses a blue light source and does not use a near-infrared light source.
  • the working mode of the first light source is to turn on the light source of the near-infrared light band and not to use the light source of the blue light band; the working mode of the second light source is to simultaneously turn on the light source using the near-infrared light band and the light source of the blue light band.
  • the palm detecting device is provided with a first light source and a second light source, wherein the first light source is a light source of a blue light band, and the second light source is a light source of an infrared light band.
  • the working mode of the light source preset on the palm detecting device is to execute the first light source working mode and then execute the second light source working mode, wherein the first The working mode of the light source is to turn on the light source of the blue light band and turn off the light source of the near infrared light band.
  • the palm detecting device pre-establishes a correspondence between the first light source working mode and the first preset palm feature information, where the first preset palm feature information includes palm print information and does not include palm vein information;
  • the working mode of the second light source is to turn on the light source of the near-infrared light band, and turn off the light source of the blue light band, and the palm detecting device pre-establishes a correspondence relationship between the working mode of the second light source and the feature information of the second preset palm, the second preset palm
  • the feature information includes palm vein information and does not include palm print information. Therefore, when the palm detecting device first uses the first light source working mode, and then uses the second light source working mode, the preset palm feature information changes from the first preset palm feature information to the second preset palm feature information.
  • the palm detecting device activates the first light source working mode, acquires the first image of the current palm to be detected through the image capturing device, and then the palm detecting device uses the second light source working mode to replace the first image.
  • the second image of the palm to be detected is acquired by the image capturing device.
  • the palm detecting device detects the palm feature information of the first image and the second image respectively, if the palm feature information of the first image matches the first preset palm feature information, that is, the first image includes palm print information and does not include palm vein information. For example, the palmprint image as shown in FIG.
  • the palm detecting device determines that the palm to be detected is a living palm, otherwise it is determined that the palm to be detected is a non-living palm.
  • the palm feature information of the first graphic may not match the first preset palm feature information.
  • the palm feature information of the second image may not coincide with the second preset palm feature information, for example, the first image includes palm print information and does not include palm vein information, and the second image includes palm print information instead of Including the palm vein information; or, the first image includes palm vein information without palm print information, and the second image includes palm vein information without palm print information; or the first image includes palm vein information and palm print information And the second image includes palm vein information and palm print information.
  • the above method is to identify the type of the palm feature information of the acquired image of the palm to be detected, and then compare and judge according to the preset palm feature information to determine whether the match is performed, thereby determining whether the palm to be detected is a living palm.
  • the method described below is to directly compare the first image and the second image to determine whether the palm to be detected is a living palm.
  • step 801 to step 804 the specific method of determining whether the palm to be detected is a living palm according to the first image and the second image may be performed as follows:
  • Step A1 Comparing the first image and the second image to obtain a matching degree.
  • the degree of matching is used to indicate the degree of similarity between the first image and the second image
  • the living palm is respectively illuminated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device
  • the palm-shaped feature information of the living body palm is acquired by the image capturing device, and the non-living palms are respectively illuminated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device acquires the same non-living palm through the image capturing device. Palm feature information.
  • the first image and the second image of the living body palm acquired by the palm detecting device are different, and the palm image feature information included in the first image and the second image is different.
  • the first image and the second image of the non-living palm acquired by the palm detecting device are the same, and the first image and the second image include the same palm feature information.
  • the palm to be detected is a living palm.
  • Step A2 Determine whether the matching degree is less than a preset threshold.
  • the degree of matching is used to indicate the degree of similarity between the first image and the second image
  • the preset threshold is obtained based on experimental statistics. For example, in the first light source working mode and the second light source working mode, after acquiring a plurality of sets of the first image and the second image belonging to the same living body palm, comparing the first image and the second image belonging to the same living body palm And obtaining a plurality of sets of the first image and the second image belonging to the same non-living palm, comparing the first image and the second image belonging to the same non-living palm, and obtaining the preset threshold according to the comparison results .
  • the similarity of the two images is greater than the preset threshold, the similarity of the two images is considered to be large, so that the two images are considered to belong to the forged palm. Otherwise, the two images are considered to belong to the living palm.
  • Step A3 If the matching degree is less than the preset threshold, it is determined that the palm to be detected is a living palm, otherwise it is determined that the palm to be detected is a non-living palm.
  • the similarity between the first image and the second image is greater than the preset threshold, the similarity of the two images is considered to be large, so that the two images are considered to belong to the non-living palm. If the matching degree is less than the preset threshold, it is determined that the palm to be detected is a living palm.
  • the first light source operating mode includes irradiating with the first light source and not using the second light source, irradiating with the second light source, and not using the first light source while irradiating with the first light source and the second light source
  • the first light source operating mode and the first light source The two light source working modes belong to one of the working modes of the light sources, and the first light source working mode is different from the second light source working mode.
  • the light source comprises a light source emitting a blue light band and a light source emitting a near-infrared light band, and the first light source and the second light source are one of the light sources.
  • the image of the living palm obtained by the palm detecting device through the image capturing device includes the palmprint information and does not include the palm vein information under the illumination of the light source of the living body palm;
  • the image of the living body palm obtained by the palm detecting device through the image collecting device includes palm vein information without including palm print information;
  • the image of the living body palm obtained by the palm detecting device through the image collecting device includes the palm vein information and the palm print information;
  • the palm print information and the palm vein information belong to different palm feature information.
  • the palm detecting device acquires the same palm feature information of the non-living palm. That is, in the first light source working mode or the second light source working mode, the palm detecting device obtains the palm print information of the non-living palm, and does not obtain the palm vein information of the non-living palm; or the non-living body is not obtained.
  • the palmprint information of the palm, and the palm vein information of the non-living palm is obtained; or both the palmprint image and the palm vein information of the non-living palm are acquired at the same time. That is, in the first light source operation mode and the second light source operation mode, the image of the non-living palm acquired by the palm detecting device includes the same palm feature information.
  • the case of the palm feature information detected by the palm detecting device comprises: A palm Pattern image, B palm vein image, C palm print image, and palm vein image.
  • the palm to be detected is a non-living palm, such as a printed palm
  • the palm of the palm of the hand is printed.
  • the sign information is generally one of the above three (A, B, C) situations, and the type of palm feature information detected by the replacement of the light source does not change. That is, in the first light source working mode and the second light source working mode, the image of the non-living palm obtained by the palm detecting device includes the same palm feature information, for example, the palmprint image shown in FIG. 3, or both
  • the palm vein images shown in Fig. 4, or both are palmprint and palm vein images as shown in Fig. 5, and two of the images in Figs. 3 to 5 are not acquired.
  • the biometric characteristics of the relevant palm have the above three (A, B, C) conditions, and the palm feature information detected by the replacement of the light source will also undergo corresponding changes.
  • Table 3 shows several situations of palm feature information included in the non-living palm, and palm feature information detected by the palm detecting device on the non-living palm and the living palm when the different light sources are working.
  • the palm detecting device when the palm detecting device alternately uses the first light source working mode and the second light source working mode, the palm detecting device acquires the first image and the second image of the living body palm respectively through the image capturing device thereon, as steps 803 and step 804.
  • the first image and the second image are different in degree of similarity between the first image and the second image due to the difference in palm feature information included thereon.
  • the palm detecting device When the palm detecting device alternately uses the first light source working mode and the second light source working mode, the palm detecting device respectively acquires the first image and the second image of the non-living palm through the image capturing device thereon, the first image and the second image
  • the image is identical because the palm feature information included thereon is the same, so that the first image and the second image are similar to each other.
  • the palm test device can be used to test the living palm and the non-living palm, and the test result is statistically obtained to obtain a preset threshold, and the matching degree of the first image and the second image is greater than the preset threshold. And determining that the similarity between the first image and the second image is high, determining that the palm to be detected to which the first image and the second image belong is a non-living palm, and vice versa, determining the living palm.
  • the second method for comparing the similarity degree using the first image and the second image does not require the first image and the second image acquired by the palm detecting device to identify the palm feature information, as long as the first image and the second image are directly compared.
  • the similarity of the images is sufficient.
  • Such a comparison method can improve the detection efficiency of the palm detecting method of the embodiment of the present invention and simplify the algorithm on the palm detecting device.
  • the embodiment of the present invention is described by using the first light source working mode and the second light source working mode alternately by the palm detecting device.
  • the palm detecting device can be used more.
  • the light source working mode for example, according to the working relationship of the first light source and the second light source, three light source working modes are available, and the palm detecting device can alternately use the three light source working modes.
  • the palm detecting device in the first light source working mode, the first image of the palm to be detected is acquired by the image capturing device; and in the second light source working mode, the image of the palm to be detected is acquired by the image capturing device. Second image; then, according to the first image and the second image, it is determined whether the palm to be detected is a living palm.
  • the light source used in the first light source working mode and the light source used in the second light source working mode include different light bands, and the light source of the living body palm is respectively irradiated in the working mode of the first light source and the light source in the working mode of the second light source due to different wave sections.
  • the palm detecting device acquires different palm feature information of the living body palm through the image capturing device, and the non-living palm is respectively irradiated by the light source of the first light source working mode and the second light source working mode, and the palm detecting device is acquired by the image collecting device.
  • the palm detecting device respectively acquires different images of the palm to be detected through the image capturing device, and analyzes the different images to obtain whether the palm to be detected is a living palm, thereby The discrimination of the living palm is realized easily and efficiently.
  • FIG. 9 is a schematic structural diagram of a palm detecting device according to an exemplary embodiment.
  • the palm detecting device can perform the palm detecting method of the above embodiment, and the palm detecting device includes an image capturing device.
  • the palm detecting device provided by the embodiment of the present invention includes:
  • the image obtaining unit 901 is configured to acquire, by the image capturing device, the first image of the palm to be detected when the first light source operates in the mode;
  • the image acquisition unit 901 is further configured to acquire, by the image acquisition device, the second image of the palm to be detected when the second light source operates in the mode;
  • the determining unit 903 is configured to determine, according to the first image and the second image, whether the palm to be detected is a living palm;
  • the light source used by the first light source working mode and the light source used by the second light source working mode comprise different optical bands.
  • the living palm is respectively illuminated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device acquires different palm feature information of the living palm through the image collecting device.
  • the non-living palms are respectively illuminated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device acquires the same palm feature information of the non-living palm through the image collecting device.
  • the first light source operates in a mode that uses the first light source and does not use the second light source
  • the second light source operates in a mode that uses the second light source and does not use the first light source, wherein the first light source emits a light band and the second light source emits Different light bands
  • the determining unit 903 is further configured to: when the first image includes the first feature information and not the second feature information, and the second image includes the second feature information and does not include the first feature information, determine that the palm to be detected is a living palm;
  • the palm detecting device can acquire the first feature information of the living palm through the image capturing device, and can obtain the second feature information of the living palm.
  • the palm detecting device can acquire the second feature information of the living palm through the image capturing device, and can obtain the first feature information of the living palm, the first feature information and the first feature information.
  • the two feature information is different palm feature information.
  • the first light source operates in a mode that uses the first light source and does not use the second light source
  • the second light source operates in a mode in which the first light source and the second light source are simultaneously illuminated, wherein the light band emitted by the first light source and the second light source emit Different light bands
  • the determining unit 903 is further configured to: when the first image includes the first feature information and not the second feature information, and the second image includes the second feature information and the first feature information, determine that the palm to be detected is a living palm,
  • the palm detecting device can acquire the first feature information of the living palm through the image capturing device, and can obtain the second feature information of the living palm;
  • the palm detecting device can acquire the first feature information and the second feature information of the living body palm through the image capturing device, and the first feature information and the second feature information are different palm features. information.
  • the determining unit 903 includes:
  • the comparison module 904 is configured to compare the first image and the second image to obtain a matching degree, where the matching degree is used to indicate the degree of similarity between the first image and the second image;
  • the determining module 905 is configured to determine whether the matching degree is less than a preset threshold
  • the determining module 906 is configured to determine that the palm to be detected is a living palm if the matching degree is less than the preset threshold, and otherwise determine that the palm to be detected is a non-living palm.
  • the light source operating mode includes illuminating with the first light source and not using the second light source, illuminating with the second light source and not using the first light source, and simultaneously irradiating with the first light source and the second light source, the first light source working mode and the second light source working mode It belongs to one of the working modes of the light source, and the working mode of the first light source is different from the working mode of the second light source.
  • the light source comprises a light source emitting a blue light band and a light source emitting a near-infrared light band, and the first light source and the second light source belong to one of the light sources.
  • the image of the living palm obtained by the palm detecting device through the image capturing device includes the palmprint information and does not include the palm vein information under the illumination of the light source of the living body palm;
  • the image of the living body palm obtained by the palm detecting device through the image collecting device includes palm vein information without including palm print information;
  • the image of the living body palm obtained by the palm detecting device through the image collecting device includes the palm vein information and the palm print information;
  • the palm print information and the palm vein information belong to different palm feature information.
  • the device further includes:
  • the area determining unit 902 is configured to determine whether the position of the palm to be detected relative to the palm detecting device is in the image acquiring area;
  • the image acquiring unit 901 performs the first image of the palm to be detected by the image capturing device in the first light source working mode, and the image acquiring unit 901 is in the first In the working mode of the two light sources, the image acquisition device acquires a step of detecting a second image of the palm;
  • the image capture device includes a filter that is permeable to the optical band of the first source and the optical band of the second source.
  • the image acquiring unit 901 acquires the first image of the palm to be detected by the image capturing device in the first light source working mode; the image acquiring unit 901 passes the image in the second light source working mode.
  • the acquiring device acquires a second image of the palm to be detected; then, the determining unit 903 determines whether the palm to be detected is a living palm according to the first image and the second image.
  • the light source used in the first light source working mode and the light source used in the second light source working mode include different light bands, and the light source of the living body palm is respectively irradiated in the working mode of the first light source and the light source in the working mode of the second light source due to different wave sections.
  • the palm detecting device acquires different image information of the living palm.
  • the palm detecting device respectively acquires different images of the palm to be detected through the image capturing device, and analyzes the different images to obtain whether the palm to be detected is a living palm, thereby The discrimination of the living palm is realized easily and efficiently.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, may be located in one place, or It can also be distributed to multiple network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

Disclosed in the embodiments of the present invention are a palm detection method and device, used for accurately and highly effectively determining a living-body palm. The embodiments of the present invention are used for a palm detection device, and said method comprises: in a first light-source operating mode, acquiring a first image of a to-be-detected palm by means of an image acquisition apparatus; in a second light-source operating mode, acquiring a second image of a to-be-detected palm by means of the image acquisition apparatus; according to the first image and the second image, determining whether the to-be-detected palm is a living-body palm; the light source used in the first light-source operating mode and the light source used in the second light-source operating mode comprising different light wave bands. Thus by means of alternately using light-source operating modes comprising different light wave bands, the palm detection device acquires different images of the to-be-detected palm by means of the image acquisition apparatus and analyzes the different images; it is thus possible to determine whether the to-be-detected palm is a living-body palm, thereby simply and highly effectively reaching a determination of a living-body palm.

Description

一种手掌检测方法和设备Palm detection method and device 技术领域Technical field
本发明涉及生物特征防伪领域,尤其涉及一种手掌检测方法和设备。The invention relates to the field of biometric anti-counterfeiting, and in particular to a palm detecting method and device.
背景技术Background technique
因手掌具有生物特征信息,例如掌静脉信息和掌纹信息,利用手掌上的这些生物特征信息可对用户进行身份识别。Since the palm has biometric information, such as palm vein information and palmprint information, the biometric information on the palm can be used to identify the user.
手掌上的生物特征可以进行伪造,例如使用包括掌静脉和掌纹信息的图像伪造为活体手掌,此时,手掌识别设备可能因为不能判断出该图像不是活体手掌,从而进行的手掌识别识别通过,这会产生安全风险。The biometrics on the palm can be forged, for example, using an image including palm vein and palmprint information to be forged as a living palm. At this time, the palm recognition device may recognize that the image is not a living palm, and thus the palm recognition is recognized. This creates a security risk.
现有技术中,在手掌信息识别前,判断是否是活体手掌的方法通常是根据预先建立的活体手掌统计规则,通过算法分析获取到的手掌图像是否是根据活体手掌得到的。但是这样往往因算法的复杂影响判断效率,并且准确率也不高。In the prior art, before the palm information is recognized, the method of judging whether it is a living palm is generally obtained according to a pre-established living palm statistical rule, and whether the acquired palm image is obtained according to the living palm. However, this often results in efficiency due to the complex effects of the algorithm, and the accuracy is not high.
发明内容Summary of the invention
本发明实施例提供了一种手掌检测方法和设备,用于准确高效地判断出活体手掌。Embodiments of the present invention provide a palm detecting method and apparatus for accurately and efficiently determining a living body palm.
为了解决上述技术问题,本发明实施例提供了以下技术方案:In order to solve the above technical problem, the embodiment of the present invention provides the following technical solutions:
一种手掌检测方法,所述方法应用于手掌检测设备,所述方法包括:A palm detecting method, the method being applied to a palm detecting device, the method comprising:
在第一光源工作模式时,通过图像采集装置获取待检测手掌的第一图像;In the first light source working mode, acquiring a first image of the palm to be detected by the image capturing device;
在第二光源工作模式时,通过所述图像采集装置获取所述待检测手掌的第二图像;Acquiring, by the image acquisition device, the second image of the palm to be detected;
根据所述第一图像和所述第二图像,判断所述待检测手掌是否为活体手掌;Determining, according to the first image and the second image, whether the palm to be detected is a living palm;
其中,所述第一光源工作模式使用的光源和所述第二光源工作模式使用的光源包括不同的光波段。Wherein, the light source used by the first light source working mode and the light source used by the second light source working mode comprise different optical bands.
为了解决上述技术问题,本发明实施例还提供了以下技术方案:In order to solve the above technical problem, the embodiment of the present invention further provides the following technical solutions:
一种手掌检测设备,所述手掌检测设备包括图像采集装置,所述手掌检测 设备包括:A palm detecting device, the palm detecting device comprising an image capturing device, the palm detecting Equipment includes:
图像获取单元,用于在第一光源工作模式时,通过图像采集装置获取待检测手掌的第一图像;An image acquisition unit, configured to acquire, by the image acquisition device, the first image of the palm to be detected when the first light source operates in a mode;
图像获取单元,还用于在第二光源工作模式时,通过所述图像采集装置获取所述待检测手掌的第二图像;The image acquisition unit is further configured to acquire, by the image acquisition device, the second image of the palm to be detected when the second light source operates in a mode;
判断单元,用于根据所述第一图像和所述第二图像,判断所述待检测手掌是否为活体手掌;a determining unit, configured to determine, according to the first image and the second image, whether the palm to be detected is a living palm;
其中,所述第一光源工作模式使用的光源和所述第二光源工作模式使用的光源包括不同的光波段,Wherein the light source used by the first light source working mode and the light source used by the second light source working mode comprise different optical bands,
活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,所述手掌检测设备通过所述图像采集装置获取到活体手掌不同的手掌特征信息,非活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,所述手掌检测设备通过所述图像采集装置获取到非活体手掌相同的手掌特征信息。The living palms are respectively illuminated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device acquires different palm feature information of the living body palm through the image collecting device, and the non-living palms are respectively at the first When the light source of the light source working mode and the light source of the second light source operating mode are illuminated, the palm detecting device acquires the same palm feature information of the non-living palm through the image capturing device.
本发明实施例提供的技术方案中,在手掌检测设备上,在第一光源工作模式时,通过图像采集装置获取待检测手掌的第一图像;在第二光源工作模式时,通过图像采集装置获取待检测手掌的第二图像;然后,根据第一图像和第二图像,判断待检测手掌是否为活体手掌。第一光源工作模式使用的光源和第二光源工作模式使用的光源包括不同的光波段,因波光段的不同,导致活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,手掌检测设备获取到活体手掌不同的图像信息。这样,通过交替使用包括不同波光段的光源工作模式,手掌检测设备通过图像采集装置分别获取待检测手掌的不同图像,对该不同图像进行分析,即可得出待检测手掌是否是活体手掌,从而简易且高效地实现了活体手掌的判别。In the technical solution provided by the embodiment of the present invention, the first image of the palm to be detected is acquired by the image capturing device in the working mode of the first light source on the palm detecting device; and the image capturing device is obtained by the image capturing device in the working mode of the second light source A second image of the palm to be detected; and then, based on the first image and the second image, determining whether the palm to be detected is a living palm. The light source used in the first light source working mode and the light source used in the second light source working mode include different light bands, and the light source of the living body palm is respectively irradiated in the working mode of the first light source and the light source in the working mode of the second light source due to different wave sections. Next, the palm detecting device acquires different image information of the living palm. In this way, by alternately using the light source working modes including different wave segments, the palm detecting device respectively acquires different images of the palm to be detected through the image capturing device, and analyzes the different images to obtain whether the palm to be detected is a living palm, thereby The discrimination of the living palm is realized easily and efficiently.
附图说明DRAWINGS
图1为本发明一实施例提供的一种手掌检测方法所涉及的使用场景示意图;1 is a schematic diagram of a usage scenario involved in a palm detecting method according to an embodiment of the present invention;
图2为图1所示使用场景示意图的另一角度的示意图; 2 is a schematic diagram of another angle of the schematic diagram of the usage scenario shown in FIG. 1;
图3为图1所示使用场景中的手掌检测设备通过图像采集装置获取到的掌纹图像的示意图;3 is a schematic diagram of a palm print image acquired by a palm detecting device in the usage scene shown in FIG. 1 by an image capturing device;
图4为图1所示使用场景中的手掌检测设备通过图像采集装置获取到的掌静脉图像的示意图;4 is a schematic diagram of a palm vein image acquired by an image detecting device by a palm detecting device in the use scenario shown in FIG. 1;
图5为图1所示使用场景中的手掌检测设备通过图像采集装置获取到的掌纹和掌静脉图像的示意图;5 is a schematic diagram of palm prints and palm vein images acquired by the palm detecting device in the use scene shown in FIG. 1 by the image capturing device;
图6为图1所示使用场景中的手掌检测设备的滤光片的光谱特性曲线示意图;6 is a schematic diagram showing a spectral characteristic curve of a filter of a palm detecting device in the use scenario shown in FIG. 1;
图7为本发明另一实施例提供的一种手掌检测方法的流程图;FIG. 7 is a flowchart of a method for detecting a palm according to another embodiment of the present invention;
图8为本发明另一实施例提供的一种手掌检测方法的流程图;FIG. 8 is a flowchart of a method for detecting a palm according to another embodiment of the present invention;
图9为本发明另一实施例提供的一种手掌检测设备的结构示意图。FIG. 9 is a schematic structural diagram of a palm detecting device according to another embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if present) in the specification and claims of the present invention and the above figures are used to distinguish similar objects without having to use To describe a specific order or order. It is to be understood that the data so used may be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than what is illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
本发明实施例提供了一种手掌检测方法和设备,用于准确高效地判断出活体手掌。 Embodiments of the present invention provide a palm detecting method and apparatus for accurately and efficiently determining a living body palm.
图1和图2为本发明实施例提供的一种手掌检测方法所涉及的使用场景示意图。其中,图1是侧视图,图2是图1所示的使用场景的俯视图。参见图1和图2,该使用场景包括手掌检测设备101和手掌102。该手掌检测设备可检测该手掌是否是活体手掌,在有的实施例中,该手掌检测设备还可以包括其它的功能,例如对手掌的手掌特征信息进行识别。其中,手掌特征信息包括掌纹信息和掌静脉信息等。FIG. 1 and FIG. 2 are schematic diagrams of usage scenarios involved in a palm detecting method according to an embodiment of the present invention. 1 is a side view, and FIG. 2 is a plan view of the use scene shown in FIG. 1. Referring to Figures 1 and 2, the usage scenario includes a palm detecting device 101 and a palm 102. The palm detecting device can detect whether the palm is a living palm. In some embodiments, the palm detecting device can further include other functions, such as palm hand feature information recognition. The palm feature information includes palm print information and palm vein information.
现有的手掌识别设备只是简单地对手掌特征信息进行识别,但是手掌特征信息可能被不法用户伪造,从而不法用户可以使用伪造的手掌特征信息成功通过手掌识别设备的识别。这产生了安全隐患。通常,伪造手掌特征信息的方式可以是在纸上打印手掌特征信息、拍摄手掌特征信息的照片、制造手掌模型等。对这些伪造的手掌特征信息,现有的手掌识别设备检测不出是伪造的,从而可能被识别通过。The existing palm recognition device simply recognizes the palm feature information, but the palm feature information may be forged by the unlawful user, so that the unscrupulous user can successfully use the forged palm feature information to successfully recognize the device through the palm. This creates a security risk. Generally, the method of forging the palm feature information may be printing palm feature information on the paper, photographing the palm feature information, manufacturing a palm model, and the like. For these forged palm feature information, the existing palm recognition device cannot detect that it is forged and thus may be identified.
例如,如图3、图4、图5所示,图3为图像采集装置获取到的掌纹图像的示意图,图4为图像采集装置获取到的掌静脉图像的示意图,图5为图像采集装置获取到的掌纹和掌静脉图像的示意图。其中掌纹图像包括掌纹信息,掌静脉图像包括掌静脉信息、掌纹和掌静脉图像包括掌纹信息和掌静脉信息。掌纹信息和掌静脉信息是不同的手掌特征信息。待检测手掌无论是伪造的还是活体的,都能使得图像采集装置获取到如图3至图5所示的手掌特征信息图像,这些手掌特征信息图像还能用于在手掌识别设备中进行手掌特征信息的识别,并可能识别通过。For example, as shown in FIG. 3, FIG. 4 and FIG. 5, FIG. 3 is a schematic diagram of a palmprint image acquired by the image acquisition device, FIG. 4 is a schematic diagram of a palm vein image acquired by the image acquisition device, and FIG. 5 is an image acquisition device. A schematic representation of the palmprint and palm vein images obtained. The palm print image includes palm print information, and the palm vein image includes palm vein information, palm print, and palm vein image including palm print information and palm vein information. Palm print information and palm vein information are different palm feature information. Whether the palm to be detected is forged or in vivo, the image capturing device can acquire the palm feature information images as shown in FIG. 3 to FIG. 5, and the palm feature information images can also be used for palm features in the palm recognition device. Identification of information and possible identification.
但是,活体手掌在光源照射下,光源发出的光的光谱不同,即光源使用不同的光波段时,因不同波段的光对活体手掌的反射情况不同,通过图像采集装置可采集到该活体手掌的不同的手掌特征信息。而伪造的手掌特征信息则不会这样,非活体手掌在不同的光谱照射下,图像采集装置获取到的该非活体手掌的手掌特征信息不发生变化。However, when the living body is illuminated by the light source, the spectrum of the light emitted by the light source is different, that is, when the light source uses different light bands, the light of different wavelengths is different from the reflection of the living body palm, and the living body palm can be collected by the image collecting device. Different palm characteristics information. The forged palm feature information does not. The non-living palm does not change the palm feature information of the non-living palm obtained by the image acquisition device under different spectral illumination.
本发明实施例的手掌检测设备即利用了以上原理,以对待检测的手掌是否是活体手掌进行检测。在有的实施例中,若该手掌检测设备还设有手掌特征识别功能,则可在检测出待检测手掌是活体手掌后,采集该待检测手掌的手掌特 征信息,以进行手掌特征信息的识别。对待检测手掌先进行是否是活体手掌的检测,可辨识出伪造的手掌特征信息,从而提高后续的手掌特征信息识别的准确率。The palm detecting device of the embodiment of the present invention utilizes the above principle to detect whether the palm to be detected is a living palm. In some embodiments, if the palm detecting device further has a palm feature recognition function, after detecting that the palm to be detected is a living palm, the palm of the palm to be detected is collected. The information is collected to identify the palm feature information. Whether the palm of the test is first detected is the detection of the living palm, and the forged palm feature information can be identified, thereby improving the accuracy of the subsequent palm feature information recognition.
如图1所示,该手掌检测设备包括第一光源103、第二光源104、图像采集装置105。在有的实施例中,该手掌检测设备的图像采集装置105包括镜头106和滤光片107,该镜头可通过该滤光片获取图像信息。As shown in FIG. 1, the palm detecting device includes a first light source 103, a second light source 104, and an image capturing device 105. In some embodiments, the image capture device 105 of the palm detecting device includes a lens 106 and a filter 107 through which image information can be acquired.
第一光源103和第二光源104发出的光包括不同的光波段,在不同的光波段照射下,手掌检测设备通过图像采集装置获取到的活体手掌的手掌特征信息不同,非活体手掌在不同的光波段照射下,手掌检测设备通过图像采集装置获取到的非活体手掌的手掌特征信息相同。The light emitted by the first light source 103 and the second light source 104 includes different optical wavelength bands. Under different illumination of the optical wavelength band, the palm feature information of the living palm obtained by the palm detecting device through the image capturing device is different, and the non-living palm is different. Under the illumination of the light band, the palm feature information of the non-living palm obtained by the palm detecting device through the image collecting device is the same.
例如,第一光源发出的光为蓝光波段,第二光源发出的光为近红外光波段时,活体手掌在蓝光波段的光源的照射下,手掌检测设备通过图像采集装置获取到的活体手掌的图像包括掌纹信息而不包括掌静脉信息,例如如图3所示的掌纹图像。活体手掌在近红外光波段的光源的照射下,手掌检测设备通过图像采集装置获取到的活体手掌的图像包括掌静脉信息而不包括掌纹信息,例如,如图4所示的掌静脉图像。活体手掌在蓝光波段和近红外光波段的光源的同时照射下,手掌检测设备通过图像采集装置获取到的活体手掌的图像包括掌静脉信息和掌纹信息,例如如图5所示的掌静脉和掌纹图像。这些掌静脉信息和掌纹信息属于不同的手掌特征信息。For example, when the light emitted by the first light source is a blue light band, and the light emitted by the second light source is a near-infrared light band, the image of the living palm obtained by the palm detecting device through the image capturing device is irradiated by the light source of the living body palm in the blue light band. The palmprint information is included without the palm vein information, such as the palmprint image as shown in FIG. Under the illumination of the light source of the living body palm in the near-infrared light band, the image of the living body palm acquired by the palm detecting device through the image capturing device includes palm vein information without including palmprint information, for example, a palm vein image as shown in FIG. When the living palm is illuminated by the light source of the blue light band and the near-infrared light band, the image of the living body palm obtained by the palm detecting device through the image capturing device includes palm vein information and palm print information, for example, the palm vein and the figure shown in FIG. Palm print image. These palm vein information and palmprint information belong to different palm characteristics information.
若待检测的手掌是非活体的手掌,则不管用什么光波段的光源照射,图像采集装置都获取到非活体手掌的相同的手掌特征信息,即非活体手掌上包括什么手掌特征信息,在不同的波光段的光源照射下,图像采集装置获取到的是非活体手掌的该手掌特征信息。If the palm to be detected is a non-living palm, the image acquisition device acquires the same palm feature information of the non-living palm regardless of the light source of the light band, that is, what the palm feature information is included in the non-living palm, in different Under the illumination of the light source of the wave section, the image acquisition device acquires the palm feature information of the non-living palm.
手掌检测设备通过其上的电路控制装置可控制第一光源和第二光源的工作,从而产生不同的光源工作模式,例如,使用第一光源照射且不使用第二光源、使用第二光源照射且不使用第一光源、同时使用第一光源和第二光源照射等这几种光源工作模式。因不同的光源工作模式使用的光源包括不同的光波段,活体手掌在不同的光源工作模式的光波段照射下,手掌检测设备通过图像 采集装置获取到的活体手掌的手掌特征信息不同,非活体手掌在不同的光源工作模式的光波段照射下,手掌检测设备通过图像采集装置获取到的非活体手掌的手掌特征信息相同。The palm detecting device can control the operation of the first light source and the second light source through the circuit control device thereon, thereby generating different light source working modes, for example, using the first light source to illuminate without using the second light source, and using the second light source and The light source operating modes are not used without using the first light source while using the first light source and the second light source. The light source used in different light source working modes includes different light bands, and the palm of the living body is illuminated by the light band of different light source working modes, and the palm detecting device passes the image. The palm feature information of the living palm obtained by the collecting device is different. When the non-living palm is illuminated by the light band of different light source working modes, the palm feature information of the non-living palm obtained by the palm detecting device through the image collecting device is the same.
在手掌检测设备上,在第一光源工作模式时,通过图像采集装置获取待检测手掌的第一图像;在第二光源工作模式时,通过图像采集装置获取待检测手掌的第二图像;然后,根据第一图像和第二图像,判断待检测手掌是否为活体手掌。第一光源工作模式使用的光源和第二光源工作模式使用的光源包括不同的光波段,第一光源工作模式和第二光源工作模式可为如上的光源工作模式之一。因波光段的不同,导致活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,手掌检测设备通过图像采集装置获取到活体手掌不同的手掌特征信息,非活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,手掌检测设备通过图像采集装置获取到非活体手掌相同的手掌特征信息。这样,通过交替使用包括不同波光段的光源工作模式,手掌检测设备通过图像采集装置分别获取待检测手掌的不同图像,对该不同图像进行分析,即可得出待检测手掌是否是活体手掌,从而简易且高效地实现了活体手掌的判别。On the palm detecting device, in the first light source working mode, the first image of the palm to be detected is acquired by the image capturing device; and in the second light source working mode, the second image of the palm to be detected is acquired by the image capturing device; According to the first image and the second image, it is determined whether the palm to be detected is a living palm. The light source used by the first light source operating mode and the light source used by the second light source operating mode include different optical bands, and the first light source operating mode and the second light source operating mode may be one of the light source operating modes as described above. Due to the difference of the wave sections, the living body palms are respectively illuminated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device acquires different palm feature information of the living palm through the image collecting device, and the non-living palms respectively Under the illumination of the light source of the first light source working mode and the light source of the second light source working mode, the palm detecting device acquires the same palm feature information of the non-living palm through the image capturing device. In this way, by alternately using the light source working modes including different wave segments, the palm detecting device respectively acquires different images of the palm to be detected through the image capturing device, and analyzes the different images to obtain whether the palm to be detected is a living palm, thereby The discrimination of the living palm is realized easily and efficiently.
在有的实施例中,图像采集装置包括的滤光片能透过第一光源的光波段和第二光源的光波段。例如,该滤光片为采用分段镀膜新工艺设计的滤光片,可以使两个不同波段的光透过。例如,滤光片可以使手掌检测设备的第一光源发出的光波段和第二光源发出的光波段透过。由于该滤光片是经过特殊工艺处理的,可搭配调节好的曝光参数,以保证第一/第二光源开始工作时,图像采集传感器可以采集到清晰的图像。In some embodiments, the image capture device includes a filter that is permeable to the optical band of the first source and the optical band of the second source. For example, the filter is a filter designed using a new process of segment coating to allow light from two different wavelength bands to pass through. For example, the filter can transmit a band of light emitted by the first source of the palm detecting device and a band of light emitted by the second source. Since the filter is specially processed, it can be matched with the adjusted exposure parameters to ensure that the image acquisition sensor can acquire a clear image when the first/second light source starts working.
例如,第一光源发出的光为蓝光波段的蓝光LED,蓝光波段可为470nm附近的波段,第二光源发出的光为近红外光波段的近红外LED,近红外光波段可为850nm附近的波段。相应地,滤光片可透过近红外光波段和蓝光波段,该滤光片的光谱特性曲线如图6所示。由图6可知,该采用分段镀膜新工艺设计的该滤光片可以使两个不同波段的光透过,这两个不同波段的光的中心波长分别为470nm和850nm。 For example, the light emitted by the first light source is a blue light blue light LED, the blue light band can be a band near 470 nm, the light emitted by the second light source is a near-infrared LED in the near-infrared light band, and the near-infrared light band can be a band near 850 nm. . Correspondingly, the filter can transmit through the near-infrared band and the blue band, and the spectral characteristic curve of the filter is as shown in FIG. 6. It can be seen from FIG. 6 that the filter designed by the new process of segment coating can transmit light of two different wavelength bands, and the center wavelengths of the light of the two different bands are 470 nm and 850 nm, respectively.
在有的实施例中,该手掌检测设备还可以包括指示灯108,在手掌检测设备检测手掌时,若该手掌或被探测的物体没处于合适的位置,导致手掌检测设备通过图像采集装置获取不到待检测的图像时,手掌检测装置通过该指示灯108发出指示。In some embodiments, the palm detecting device may further include an indicator light 108. When the palm detecting device detects the palm, if the palm or the detected object is not in the proper position, the palm detecting device acquires through the image capturing device. When the image to be detected is reached, the palm detecting device gives an indication by the indicator light 108.
在有的实施例中,为保证手掌检测设备通过图像采集装置获取的图像均匀清晰,可根据预设方式在手掌检测设备上对该第一光源和第二光源进行布局。例如,该第一光源和第二光源可分别环绕图像采集装置设置。如图2所示,采用圆形的布局规律分别对蓝光LED和近红外LED在手掌检测设备上进行布局,蓝光LED和近红外LED构成同心圆,图像采集装置设于蓝光LED和近红外LED的同心圆的内部。从而手掌检测设备在第一光源的灯圈照射下,可以得到清晰的掌纹图像,以及在第二光源的灯圈照射下,可以得到清晰的掌静脉图像In some embodiments, in order to ensure that the image acquired by the palm detecting device through the image capturing device is uniform and clear, the first light source and the second light source may be laid out on the palm detecting device according to a preset manner. For example, the first light source and the second light source can be disposed around the image capture device, respectively. As shown in FIG. 2, the blue LED and the near-infrared LED are respectively arranged on the palm detecting device by using a circular layout rule, and the blue LED and the near-infrared LED constitute a concentric circle, and the image capturing device is disposed on the blue LED and the near-infrared LED. The interior of the concentric circle. Therefore, the palm detecting device can obtain a clear palm print image under the illumination of the first light source, and a clear palm vein image can be obtained under the illumination of the second light source.
在有的实施例中,手掌检测设备可包括两个不同的图像采集装置,一个图像采集装置与一光源对应,在该光源照射待检测手掌时,获取图像;另一图像采集装置用于在另一光源照射待检测手掌时,获取图像。In some embodiments, the palm detecting device may include two different image capturing devices, one image capturing device corresponding to a light source, and the image is acquired when the light source illuminates the palm to be detected; the other image capturing device is used for another An image is acquired when a light source illuminates the palm to be detected.
在有的实施例中,图像采集装置的镜头可以使用两个滤光片,比如说ir-cut,配合双滤光片切换器就可以在不同光源工作模式下转换红外滤光片和全透光谱滤镜。In some embodiments, the lens of the image capture device can use two filters, such as ir-cut, and the dual filter switch can convert the infrared filter and the full transmission spectrum in different light source operating modes. Filter.
图7是根据一示例性实施例示出的一种手掌检测方法的流程图。结合图1所示的实施环境示意图和上述内容,该方法应用于手掌检测设备上,以手掌检测设备执行本发明实施例提供的方法的角度为例,参见图7,本发明实施例提供的方法流程包括:FIG. 7 is a flowchart of a palm detecting method according to an exemplary embodiment. With reference to FIG. 7, the method provided by the embodiment of the present invention is taken as an example of the implementation environment diagram and the foregoing content shown in FIG. 1 , which is applied to the palm detecting device, and the method of the palm detecting device is used to perform the method provided by the embodiment of the present invention. The process includes:
步骤701:在第一光源工作模式时,通过图像采集装置获取待检测手掌的第一图像;Step 701: Acquire a first image of the palm to be detected by the image capturing device in the first light source working mode;
步骤702:在第二光源工作模式时,通过图像采集装置获取待检测手掌的第二图像;Step 702: Acquire a second image of the palm to be detected by the image capturing device in the second light source working mode;
步骤703:根据第一图像和第二图像,判断待检测手掌是否为活体手掌;Step 703: Determine, according to the first image and the second image, whether the palm to be detected is a living palm;
其中,第一光源工作模式使用的光源和第二光源工作模式使用的光源包括 不同的光波段,Wherein, the light source used in the first light source working mode and the light source used in the second light source working mode include Different light bands,
可选地,Optionally,
活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,手掌检测设备通过图像采集装置获取到活体手掌不同的手掌特征信息,非活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,手掌检测设备通过图像采集装置获取到非活体手掌相同的手掌特征信息。The living palms are respectively illuminated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device acquires different palm feature information of the living body palm through the image capturing device, and the non-living palms are respectively in the working mode of the first light source. Under the illumination of the light source and the light source of the second light source working mode, the palm detecting device acquires the same palm feature information of the non-living palm through the image capturing device.
可选地,Optionally,
第一光源工作模式为使用第一光源照射且不使用第二光源,第二光源工作模式为使用第二光源照射且不使用第一光源,其中,第一光源发出的光波段和第二光源发出的光波段不同,The first light source operates in a mode that uses the first light source and does not use the second light source, and the second light source operates in a mode that uses the second light source and does not use the first light source, wherein the first light source emits a light band and the second light source emits Different light bands,
根据第一图像和第二图像,判断待检测手掌是否为活体手掌,包括:Determining whether the palm to be detected is a living palm according to the first image and the second image comprises:
当第一图像包括第一特征信息而不包括第二特征信息,且第二图像包括第二特征信息而不包括第一特征信息时,确定待检测手掌为活体手掌;Determining that the palm to be detected is a living palm when the first image includes the first feature information and does not include the second feature information, and the second image includes the second feature information without including the first feature information;
其中,在使用第一光源照射且不使用第二光源时,手掌检测设备通过图像采集装置能获取到活体手掌的第一特征信息,而获取不到活体手掌的第二特征信息,Wherein, when the first light source is used and the second light source is not used, the palm detecting device can acquire the first feature information of the living palm through the image capturing device, and can obtain the second feature information of the living palm.
在使用第二光源照射且不使用第一光源时,手掌检测设备通过图像采集装置能获取到活体手掌的第二特征信息,而获取不到活体手掌的第一特征信息,第一特征信息和第二特征信息为不同的手掌特征信息。When the second light source is used and the first light source is not used, the palm detecting device can acquire the second feature information of the living palm through the image capturing device, and can obtain the first feature information of the living palm, the first feature information and the first feature information. The two feature information is different palm feature information.
可选地,Optionally,
第一光源工作模式为使用第一光源照射且不使用第二光源,第二光源工作模式为同时使用第一光源和第二光源照射,其中,第一光源发出的光波段和第二光源发出的光波段不同,The first light source operates in a mode that uses the first light source and does not use the second light source, and the second light source operates in a mode in which the first light source and the second light source are simultaneously illuminated, wherein the light band emitted by the first light source and the second light source emit Different light bands,
根据第一图像和第二图像,判断待检测手掌是否为活体手掌,包括:Determining whether the palm to be detected is a living palm according to the first image and the second image comprises:
当第一图像包括第一特征信息而不包括第二特征信息,且第二图像包括第二特征信息和第一特征信息时,确定待检测手掌为活体手掌,When the first image includes the first feature information and does not include the second feature information, and the second image includes the second feature information and the first feature information, determining that the palm to be detected is a living palm,
其中,在使用第一光源照射且不使用第二光源时,手掌检测设备通过图像采集装置能获取到活体手掌的第一特征信息,而获取不到活体手掌的第二特征 信息;Wherein, when the first light source is used and the second light source is not used, the palm detecting device can acquire the first feature information of the living palm through the image capturing device, and can not obtain the second feature of the living palm. information;
在同时使用第一光源和第二光源照射时,手掌检测设备通过图像采集装置能获取到活体手掌的第一特征信息和第二特征信息,第一特征信息和第二特征信息为不同的手掌特征信息。When the first light source and the second light source are simultaneously irradiated, the palm detecting device can acquire the first feature information and the second feature information of the living body palm through the image capturing device, and the first feature information and the second feature information are different palm features. information.
可选地,Optionally,
根据第一图像和第二图像,判断待检测手掌是否为活体手掌,包括:Determining whether the palm to be detected is a living palm according to the first image and the second image comprises:
对比第一图像和第二图像,得到匹配度,匹配度用于表示第一图像和第二图像的相似程度;Comparing the first image and the second image to obtain a matching degree, wherein the matching degree is used to indicate the degree of similarity between the first image and the second image;
判断匹配度是否小于预设阀值;Determine whether the matching degree is less than a preset threshold;
若匹配度小于预设阀值,则确定待检测手掌为活体手掌,否则确定待检测手掌为非活体手掌。If the matching degree is less than the preset threshold, it is determined that the palm to be detected is a living palm, otherwise it is determined that the palm to be detected is a non-living palm.
可选地,Optionally,
光源工作模式包括使用第一光源照射且不使用第二光源、使用第二光源照射且不使用第一光源、同时使用第一光源和第二光源照射,第一光源工作模式和第二光源工作模式属于光源工作模式的其中之一,第一光源工作模式与第二光源工作模式不同。The light source operating mode includes illuminating with the first light source and not using the second light source, illuminating with the second light source and not using the first light source, and simultaneously irradiating with the first light source and the second light source, the first light source working mode and the second light source working mode It belongs to one of the working modes of the light source, and the working mode of the first light source is different from the working mode of the second light source.
可选地,光源包括发出蓝光波段的光源和发出近红外光波段的光源,第一光源和第二光源属于光源的其中之一,Optionally, the light source comprises a light source emitting a blue light band and a light source emitting a near-infrared light band, and the first light source and the second light source are one of the light sources.
其中,活体手掌在蓝光波段的光源的照射下,手掌检测设备通过图像采集装置获取到的活体手掌的图像包括掌纹信息而不包括掌静脉信息;Wherein, the image of the living palm obtained by the palm detecting device through the image capturing device includes the palmprint information and does not include the palm vein information under the illumination of the light source of the living body palm;
活体手掌在近红外光波段的光源的照射下,手掌检测设备通过图像采集装置获取到的活体手掌的图像包括掌静脉信息而不包括掌纹信息;Under the illumination of the light source of the living body palm in the near-infrared light band, the image of the living body palm obtained by the palm detecting device through the image collecting device includes palm vein information without including palm print information;
活体手掌在蓝光波段的光源和近红外光波段的光源的同时照射下,手掌检测设备通过图像采集装置获取到的活体手掌的图像包括掌静脉信息和掌纹信息;When the living body palm is illuminated by the light source of the blue light band and the light source of the near-infrared light band, the image of the living body palm obtained by the palm detecting device through the image collecting device includes the palm vein information and the palm print information;
掌纹信息和掌静脉信息属于不同的手掌特征信息。The palm print information and the palm vein information belong to different palm feature information.
可选地,方法还包括:Optionally, the method further includes:
判断待检测手掌相对于手掌检测设备的位置是否在图像获取区域; Determining whether the position of the palm to be detected relative to the palm detecting device is in the image capturing area;
若待检测手掌相对于手掌检测设备的位置在图像获取区域,则执行在第一光源工作模式下,通过图像采集装置获取待检测手掌的第一图像,和在第二光源工作模式下,通过图像采集装置获取待检测手掌的第二图像的步骤;If the position of the palm to be detected relative to the palm detecting device is in the image capturing area, performing the first image in the first light source working mode, acquiring the first image of the palm to be detected by the image capturing device, and passing the image in the second light source working mode Obtaining, by the collecting device, a second image of the palm to be detected;
若待检测手掌相对于手掌检测设备的位置不在图像获取区域,则发出提示信息。If the position of the palm to be detected relative to the palm detecting device is not in the image capturing area, a prompt message is issued.
可选地,Optionally,
图像采集装置包括滤光片,滤光片能透过第一光源的光波段和第二光源的光波段。The image capture device includes a filter that is permeable to the optical band of the first source and the optical band of the second source.
综上所述,在手掌检测设备上,在第一光源工作模式时,通过图像采集装置获取待检测手掌的第一图像;在第二光源工作模式时,通过图像采集装置获取待检测手掌的第二图像;然后,根据第一图像和第二图像,判断待检测手掌是否为活体手掌。第一光源工作模式使用的光源和第二光源工作模式使用的光源包括不同的光波段,因波光段的不同,导致活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,手掌检测设备通过图像采集装置获取到活体手掌不同的手掌特征信息,非活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,手掌检测设备获取到活体手掌不同的图像信息。这样,通过交替使用包括不同波光段的光源工作模式,手掌检测设备通过图像采集装置分别获取待检测手掌的不同图像,对该不同图像进行分析,即可得出待检测手掌是否是活体手掌,从而简易且高效地实现了活体手掌的判别。In summary, on the palm detecting device, in the first light source working mode, the first image of the palm to be detected is acquired by the image capturing device; and in the second light source working mode, the image of the palm to be detected is acquired by the image capturing device. Second image; then, according to the first image and the second image, it is determined whether the palm to be detected is a living palm. The light source used in the first light source working mode and the light source used in the second light source working mode include different light bands, and the light source of the living body palm is respectively irradiated in the working mode of the first light source and the light source in the working mode of the second light source due to different wave sections. Next, the palm detecting device acquires different palm feature information of the living body palm through the image capturing device, and the non-living palm is respectively irradiated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device acquires different living palms. Image information. In this way, by alternately using the light source working modes including different wave segments, the palm detecting device respectively acquires different images of the palm to be detected through the image capturing device, and analyzes the different images to obtain whether the palm to be detected is a living palm, thereby The discrimination of the living palm is realized easily and efficiently.
图8是根据一示例性实施例示出的一种手掌检测方法的流程图。结合图1所示的实施环境示意图和上述内容,该方法应用于手掌检测设备上,以手掌检测设备执行本发明实施例提供的方法的角度为例,参见图8,本发明实施例提供的方法流程包括:FIG. 8 is a flowchart of a palm detecting method according to an exemplary embodiment. With reference to FIG. 8, the method provided by the embodiment of the present invention is taken as an example of the implementation environment diagram and the foregoing content shown in FIG. 1 , which is applied to the palm detecting device, and the method of the palm detecting device is used to perform the method provided by the embodiment of the present invention. The process includes:
步骤801:判断待检测手掌相对于手掌检测设备的位置是否在图像获取区域;若待检测手掌相对于手掌检测设备的位置在图像获取区域,则执行步骤803和步骤804;Step 801: Determine whether the position of the palm to be detected relative to the palm detecting device is in the image capturing area; if the position of the palm to be detected relative to the palm detecting device is in the image capturing area, step 803 and step 804 are performed;
手掌检测设备检测到有待检测物体位于该手掌检测设备的图像获取区域 时,或者在手掌检测设备开启活体手掌检测工作时,手掌检测设备对该待检测物体进行图像获取前的判断。例如,手掌检测设备判断待检测手掌相对于手掌检测设备的位置是否在图像获取区域;若待检测手掌相对于手掌检测设备的位置在图像获取区域,则执行在第一光源工作模式下,通过图像采集装置获取待检测手掌的第一图像,和在第二光源工作模式下,通过图像采集装置获取待检测手掌的第二图像的步骤。若待检测手掌相对于手掌检测设备的位置不在图像获取区域,则执行步骤802。The palm detecting device detects that the object to be detected is located in an image acquisition area of the palm detecting device When the palm detecting device starts the living palm detecting work, the palm detecting device determines the image before the object to be detected. For example, the palm detecting device determines whether the position of the palm to be detected relative to the palm detecting device is in the image capturing region; if the position of the palm to be detected relative to the palm detecting device is in the image capturing region, performing the image in the first light source working mode The acquiring device acquires the first image of the palm to be detected, and the step of acquiring the second image of the palm to be detected by the image capturing device in the second light source working mode. If the position of the palm to be detected relative to the palm detecting device is not in the image capturing area, step 802 is performed.
具体的检测待检测手掌相对于手掌检测设备的位置是否在图像获取区域的方式,本发明实施例对此不作具体限定,例如可以是,手掌检测设备通过图像分析技术及距离探测复合技术对待检测手掌的位置进行判断。The method for detecting whether the position of the palm to be detected relative to the palm detecting device is in the image capturing area is not specifically limited in the embodiment of the present invention. For example, the palm detecting device may detect the palm by image analysis technology and distance detecting composite technology. The position is judged.
其中,对执行本发明实施例的手掌检测设备可参考上述使用场景部分对手掌检测设备的描述。For the palm detecting device that performs the embodiment of the present invention, reference may be made to the description of the palm-using detecting device in the above-mentioned use scenario portion.
步骤802:发出提示信息。Step 802: Send a prompt message.
手掌检测设备判断出待检测手掌相对于手掌检测设备的位置不在图像获取区域时,手掌检测设备不能通过其上的图像采集装置获取到待检测手掌的利于分析的图像,从而手掌检测设备向用户发出提示信息。When the palm detecting device determines that the position of the palm to be detected relative to the palm detecting device is not in the image capturing region, the palm detecting device cannot acquire the image for analysis of the palm to be detected through the image capturing device thereon, so that the palm detecting device sends the image to the user. Prompt message.
其中,具体的发出提示信息的方式可以是,进行语音提示,例如,向用户发出语音“请见手掌置于图像获取区内”,或者通过设置在手掌检测设备上的指示灯指示,例如,当待检测手掌相对于手掌检测设备的位置不在图像获取区域时,开启指示灯闪光。获取通过设置在手掌检测设备上的第一光源和/或第二光源,手掌检测设备也可以发出提示信息,例如当待检测手掌相对于手掌检测设备的位置不在图像获取区域时,第一光源和/或第二光源不启动工作,当待检测手掌相对于手掌检测设备的位置在图像获取区域时,第一光源和/或第二光源开始工作。The specific manner of issuing the prompt information may be: performing a voice prompt, for example, sending a voice to the user “please see the palm placed in the image acquisition area”, or by indicating an indicator light set on the palm detecting device, for example, when When the position of the palm to be detected relative to the palm detecting device is not in the image capturing area, the turn-on indicator flashes. Acquiring the first light source and/or the second light source disposed on the palm detecting device, the palm detecting device may also issue prompt information, for example, when the position of the palm to be detected relative to the palm detecting device is not in the image capturing region, the first light source and / or the second light source does not start working, the first light source and / or the second light source start to work when the position of the palm to be detected relative to the palm detecting device is in the image capturing area.
可以理解,在本发明有的实施例中,可以不包括步骤802,或者不包括步骤801和步骤802。It can be understood that in some embodiments of the present invention, step 802 may not be included, or step 801 and step 802 may not be included.
步骤803:在第一光源工作模式时,通过图像采集装置获取待检测手掌的第一图像; Step 803: Acquire a first image of the palm to be detected by the image capturing device in the first light source working mode;
手掌检测设备在第一光源工作模式时,通过图像采集装置获取待检测手掌的第一图像。When the palm detecting device is in the first light source working mode, the first image of the palm to be detected is acquired by the image capturing device.
步骤804:在第二光源工作模式时,通过图像采集装置获取待检测手掌的第二图像;Step 804: Acquire a second image of the palm to be detected by the image capturing device in the second light source working mode;
手掌检测设备在第二光源工作模式时,通过图像采集装置获取待检测手掌的第二图像。When the palm detecting device is in the second light source working mode, the second image of the palm to be detected is acquired by the image capturing device.
其中,第一光源工作模式使用的光源和第二光源工作模式使用的光源包括不同的光波段,第一光源工作模式和第二光源工作模式属于不同的光源工作模式。The light source used in the first light source working mode and the light source used in the second light source working mode comprise different light bands, and the first light source working mode and the second light source working mode belong to different light source working modes.
参考上述的使用场景部分,该手掌检检测设备可设有多个光源,其中不同光源发出的光包括不同的光波段,优选不同光源的光波段没有交叠。在本发明的实施例中,该手掌检测设备可设有两个发出不同光波段的光源,即手掌检测设备设有第一光源和第二光源,其中,第一光源发出的光波段和第二光源发出的光波段不同。手掌检测设备通过其上的电路控制模块可控制第一光源和第二光源的开关,从而产生不同的光源工作模式,例如,使用第一光源照射且不使用第二光源、使用第二光源照射且不使用第一光源、同时使用第一光源和第二光源照射这三种光源工作模式。第一光源工作模式和第二光源工作模式即属于这几种光源工作模式的其中之一,并且第一光源工作模式和第二光源工作模式为不同的光源工作模式。Referring to the above-mentioned use scene portion, the palm inspection device may be provided with a plurality of light sources, wherein the light emitted by the different light sources includes different light bands, and preferably the light bands of different light sources do not overlap. In an embodiment of the present invention, the palm detecting device may be provided with two light sources emitting different optical bands, that is, the palm detecting device is provided with a first light source and a second light source, wherein the light band emitted by the first light source and the second light source The light source emits a different band of light. The palm detecting device can control the switches of the first light source and the second light source through the circuit control module thereon, thereby generating different light source working modes, for example, using the first light source to illuminate without using the second light source, and using the second light source and The three light source operating modes are illuminated without using the first light source while using the first light source and the second light source. The first light source working mode and the second light source working mode belong to one of the light source working modes, and the first light source working mode and the second light source working mode are different light source working modes.
手掌检测设备交替使用不同的光源工作模式,以对待检测手掌进行照射,手掌检测设备在不同的光源工作模式下,分别获取待检测手掌的图像,以进行是否是活体手掌的检测。通过步骤803和步骤804,即实现了手掌检测设备在不同的光源工作模式下,分别获取待检测手掌的图像。The palm detecting device alternately uses different light source working modes to illuminate the palm to be detected, and the palm detecting device respectively acquires images of the palm to be detected under different light source working modes to perform detection of whether or not the living palm is detected. Through steps 803 and 804, the palm detecting device obtains images of the palm to be detected in different light source working modes.
其中,对步骤803和步骤804的执行顺序本发明实施例不作具体限定。The execution sequence of the step 803 and the step 804 is not specifically limited in the embodiment of the present invention.
步骤805:根据第一图像和第二图像,判断待检测手掌是否为活体手掌;Step 805: Determine, according to the first image and the second image, whether the palm to be detected is a living palm;
手掌检测设备在不同的光源工作模式下,获取待检测手掌的不同的图像。The palm detecting device acquires different images of the palm to be detected in different light source working modes.
因为,活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,手掌检测设备通过图像采集装置获取到活体手掌不同的手掌特征信 息,非活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,手掌检测设备通过图像采集装置获取到非活体手掌相同的手掌特征信息。Because the living body palm is respectively illuminated by the light source of the first light source working mode and the light source of the second light source working mode, the palm detecting device acquires different palm feature letters of the living body palm through the image collecting device. The non-living palms are respectively illuminated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device acquires the same palm feature information of the non-living palm through the image collecting device.
从而,手掌检测设备即可根据第一图像上和第二图像,判断待检测手掌是否为活体手掌。Therefore, the palm detecting device can determine whether the palm to be detected is a living palm according to the first image and the second image.
其中,根据第一图像和第二图像,判断待检测手掌是否为活体手掌的具体方法具有多种,本发明实施例对此不做具体限定,下面举出两个具体方法以作具体说明:The specific method for determining whether the palm to be detected is a living body or not according to the first image and the second image has a plurality of specific methods, which are not specifically limited in the embodiment of the present invention. Two specific methods are exemplified below:
一、获取的图像的手掌特征信息与预置的手掌特征信息进行比较First, the palm feature information of the acquired image is compared with the preset palm feature information.
在不同的光源工作模式下,手掌检测设备分别获取图像,并且手掌检测设备预先建立有光源工作模式与手掌特征信息的对应关系。根据该对应关系确定与获取图像时的光源工作模式对应的手掌特征信息,然后使用该确定的手掌特征信息与图像的手掌特征信息进行比较,判断是否是同类型的手掌特征信息,对第一图像和第二图像如此判断后,根据判断结果即可判断待检测手掌是否为活体手掌。In different light source working modes, the palm detecting device respectively acquires an image, and the palm detecting device pre-establishes a corresponding relationship between the light source working mode and the palm feature information. Determining, according to the correspondence, the palm feature information corresponding to the working mode of the light source when the image is acquired, and then using the determined palm feature information to compare with the palm feature information of the image to determine whether it is the same type of palm feature information, and the first image After the second image is thus judged, it can be determined according to the judgment result whether the palm to be detected is a living palm.
下面,即在具体的光源工作模式下对第一种判断方法进行描述。Next, the first determination method will be described in a specific light source operation mode.
1、不同光源工作模式的一种组合方式1. A combination of different light source working modes
第一光源工作模式为使用第一光源照射且不使用第二光源,The first light source operates in a mode in which the first light source is used and the second light source is not used.
第二光源工作模式为使用第二光源照射且不使用第一光源,The second light source operates in a mode in which the second light source is used and the first light source is not used.
其中,第一光源发出的光波段和第二光源发出的光波段不同,Wherein the light band emitted by the first light source and the light band emitted by the second light source are different,
其中,在使用第一光源照射且不使用第二光源时,手掌检测设备通过图像采集装置能获取到活体手掌的第一特征信息,而获取不到活体手掌的第二特征信息,Wherein, when the first light source is used and the second light source is not used, the palm detecting device can acquire the first feature information of the living palm through the image capturing device, and can obtain the second feature information of the living palm.
在使用第二光源照射且不使用第一光源时,手掌检测设备通过图像采集装置能获取到活体手掌的第二特征信息,而获取不到活体手掌的第一特征信息,第一特征信息和第二特征信息为不同的手掌特征信息。When the second light source is used and the first light source is not used, the palm detecting device can acquire the second feature information of the living palm through the image capturing device, and can obtain the first feature information of the living palm, the first feature information and the first feature information. The two feature information is different palm feature information.
从而,可在手掌检测设备上预先建立如表一所示的光源工作模式与手掌特征信息的对应关系。 Therefore, the correspondence between the light source working mode and the palm feature information as shown in Table 1 can be pre-established on the palm detecting device.
表一:Table I:
Figure PCTCN2016102443-appb-000001
Figure PCTCN2016102443-appb-000001
若待检测手掌为非活体手掌,则在第一和第二光源工作模式下,手掌检测设备获取到同样的手掌特征信息。即在第一和第二光源工作模式下,要么都获取到非活体手掌的第一特征信息,而获取不到非活体手掌的第二特征信息;要么都获取不到非活体手掌的第一特征信息,而获取到非活体手掌的第二特征信息;要么都同时获取到非活体手掌的第一特征信和第二特征信息。If the palm to be detected is a non-living palm, the palm detecting device acquires the same palm feature information in the first and second light source operating modes. That is, in the first and second light source working modes, the first feature information of the non-living palm is acquired, and the second feature information of the non-living palm is not obtained; or the first feature of the non-living palm is not obtained. The information acquires the second feature information of the non-living palm; or both the first feature letter and the second feature information of the non-living palm are acquired at the same time.
手掌检测设备在对待识别手掌进行检测时,分别在第一、第二光源工作模式下,通过其上的图像采集装置获取待检测手掌的第一、第二图像,如上述步骤803和步骤804。其中,对步骤803和步骤804的执行顺序,本发明实施例不作具体限定,只要能实现交替使用不同的光源工作模式即可。在第一光源工作模式下,获取第一图像后,手掌检测设备可判断第一图像上是否包括第一特征信息而不包括第二特征信息。When the palm detecting device detects the palm to be recognized, the first and second images of the palm to be detected are acquired by the image capturing device on the first and second light source working modes, respectively, as in step 803 and step 804 above. The execution sequence of the step 803 and the step 804 is not limited in the embodiment of the present invention, as long as different light source operation modes can be alternately used. In the first light source working mode, after acquiring the first image, the palm detecting device may determine whether the first feature information is included on the first image without including the second feature information.
具体的图像手掌特征信息判断方法,可以是:手掌检测设备根据预先建立的光源工作模式与手掌特征信息的对应关系,确定与第一光源工作模式对应的手掌特征信息为包括第一特征信息而不包括第二特征信息;手掌检测设备获取第一图像后,对第一图像进行手掌特征信息的识别,以确定第一图像包括哪一些手掌特征信息,得到识别结果。然后判断该识别结果是否为包括第一特征信息而不包括第二特征信息。The method for determining the palm feature information of the image may be: the palm detecting device determines that the palm feature information corresponding to the working mode of the first light source includes the first feature information according to the correspondence between the working mode of the light source and the palm feature information. The second feature information is included; after the palm detecting device acquires the first image, the palm image feature information is recognized on the first image to determine which palm feature information is included in the first image, and the recognition result is obtained. It is then determined whether the recognition result includes the first feature information and does not include the second feature information.
类似的,在第二光源工作模式下,获取第二图像后,手掌检测设备判断第二图像上是否包括第二特征信息而不包括第一特征信息。Similarly, in the second light source working mode, after acquiring the second image, the palm detecting device determines whether the second feature information is included on the second image without including the first feature information.
具体的判断方法类似上述对第一图像的判断方法,手掌检测设备根据预先建立的光源工作模式与手掌特征信息的对应关系,确定与第二光源工作模式对应的手掌特征信息为包括第二特征信息而不包括第一特征信息;手掌检测设备 获取第二图像后,对第二图像进行手掌特征信息的识别,以确定第二图像包括哪一些手掌特征信息,得到识别结果。然后判断该识别结果是否为包括第二特征信息而不包括第一特征信息。The specific judging method is similar to the foregoing method for judging the first image, and the palm detecting device determines, according to the correspondence between the pre-established working mode of the light source and the palm feature information, that the palm feature information corresponding to the working mode of the second light source includes the second feature information. Without including the first feature information; palm detection device After acquiring the second image, the second image is identified by the palm feature information to determine which palm feature information is included in the second image, and the recognition result is obtained. It is then determined whether the recognition result is to include the second feature information without including the first feature information.
其中,本发明实施例对判断第一图像上是否包括第一特征信息而不包括第二特征信息的步骤,和判断第二图像上是否包括第二特征信息而不包括第一特征信息的步骤的执行顺序不作具体限定。当这两个判断步骤都为是时,则判定待检测手掌为活体手掌。The step of determining whether the first feature information is included on the first image without including the second feature information, and determining whether the second feature information includes the second feature information and not including the first feature information is performed by the embodiment of the present invention. The order of execution is not specifically limited. When both of the judging steps are YES, it is determined that the palm to be detected is a living palm.
即,根据第一图像和第二图像,判断待检测手掌是否为活体手掌,包括:That is, determining whether the palm to be detected is a living palm according to the first image and the second image includes:
当第一图像包括第一特征信息而不包括第二特征信息,且第二图像包括第二特征信息而不包括第一特征信息时,确定待检测手掌为活体手掌。When the first image includes the first feature information and does not include the second feature information, and the second image includes the second feature information without including the first feature information, it is determined that the palm to be detected is a living palm.
2、不同光源工作模式的另一种组合方式2. Another combination of different light source working modes
第一光源工作模式为使用第一光源照射且不使用第二光源,第二光源工作模式为同时使用第一光源和第二光源照射,The first light source operates in a mode in which the first light source is used and the second light source is not used, and the second light source operates in a mode in which the first light source and the second light source are simultaneously used.
其中,第一光源发出的光波段和第二光源发出的光波段不同,Wherein the light band emitted by the first light source and the light band emitted by the second light source are different,
其中,在使用第一光源照射且不使用第二光源时,手掌检测设备通过图像采集装置能获取到活体手掌的第一特征信息,而获取不到活体手掌的第二特征信息;Wherein, when the first light source is used and the second light source is not used, the palm detecting device can acquire the first feature information of the living palm through the image capturing device, and can obtain the second feature information of the living palm;
在同时使用第一光源和第二光源照射时,手掌检测设备通过图像采集装置能获取到活体手掌的第一特征信息和第二特征信息,第一特征信息和第二特征信息为不同的手掌特征信息。When the first light source and the second light source are simultaneously irradiated, the palm detecting device can acquire the first feature information and the second feature information of the living body palm through the image capturing device, and the first feature information and the second feature information are different palm features. information.
可在手掌检测设备上预先建立如表二所示的光源工作模式与手掌特征信息的对应关系。The correspondence between the light source working mode and the palm feature information as shown in Table 2 can be pre-established on the palm detecting device.
表二Table II
Figure PCTCN2016102443-appb-000002
Figure PCTCN2016102443-appb-000002
若待检测手掌为非活体手掌,则在第一和第二光源工作模式下,手掌检测设备获取到同样的手掌特征信息。即在第一和第二光源工作模式下,要么都获取到非活体手掌的第一特征信息,而获取不到非活体手掌的第二特征信息;要么都获取不到非活体手掌的第一特征信息,而获取到非活体手掌的第二特征信息;要么都同时获取到非活体手掌的第一特征信和第二特征信息。If the palm to be detected is a non-living palm, the palm detecting device acquires the same palm feature information in the first and second light source operating modes. That is, in the first and second light source working modes, the first feature information of the non-living palm is acquired, and the second feature information of the non-living palm is not obtained; or the first feature of the non-living palm is not obtained. The information acquires the second feature information of the non-living palm; or both the first feature letter and the second feature information of the non-living palm are acquired at the same time.
类似上述的判断方法,手掌检测设备可根据该对应关系判断第一图像包括第一特征信息而不包括第二特征信息,以及,手掌检测设备可根据该对应关系判断第二图像包括第二特征信息和第一特征信息。具体的判断方法,可参考上述的图像手掌特征信息判断方法。The palm detecting device may determine that the first image includes the first feature information and not the second feature information according to the correspondence, and the palm detecting device may determine, according to the correspondence, that the second image includes the second feature information. And first feature information. For the specific determination method, reference may be made to the image palm feature information determination method described above.
其中,本发明实施例对判断第一图像包括第一特征信息而不包括第二特征信息的步骤,和判断第二图像包括第二特征信息和第一特征信息的步骤的执行顺序不作具体限定。当这两个判断步骤都为是时,则判定待检测手掌为活体手掌。The embodiment of the present invention does not specifically limit the step of determining that the first image includes the first feature information and not the second feature information, and the step of determining that the second image includes the second feature information and the first feature information. When both of the judging steps are YES, it is determined that the palm to be detected is a living palm.
即,根据第一图像和第二图像,判断待检测手掌是否为活体手掌,包括:That is, determining whether the palm to be detected is a living palm according to the first image and the second image includes:
当第一图像包括第一特征信息而不包括第二特征信息,且第二图像包括第二特征信息和第一特征信息时,确定待检测手掌为活体手掌,When the first image includes the first feature information and does not include the second feature information, and the second image includes the second feature information and the first feature information, determining that the palm to be detected is a living palm,
第一光源和第二光源的具体设置形式具有多种方式,下文即以在光源包括发出蓝光波段的光源和发出近红外光波段的光源对本发明实施例进行详细说明。The specific arrangement of the first light source and the second light source has various modes. Hereinafter, the embodiment of the present invention will be described in detail with the light source including a light source emitting a blue light band and a light source emitting a near-infrared light band.
在光源包括发出蓝光波段的光源和发出近红外光波段的光源时,第一光源和第二光源属于光源的其中之一。可以是第一光源为蓝光波段的光源而第二光源为近红外光波段的光源,或者,第一光源为近红外光波段的光源而第二光源的蓝光波段的光源。The first light source and the second light source belong to one of the light sources when the light source includes a light source that emits a blue light band and a light source that emits a near-infrared light band. The first light source may be a light source of a blue light band and the second light source may be a light source of a near-infrared light band, or the first light source may be a light source of a near-infrared light band and a light source of a blue light band of the second light source.
相应的,光源工作模式包括开启蓝光波段的光源照射,且关闭近红外光波段的光源;开启近红外光波段的光源照射,且关闭蓝光波段的光源;同时开启使用近红外光波段的光源和蓝光波段的光源照射这三种光源工作模式,第一光源工作模式和第二光源工作模式属于这三种光源工作模式的其中之一,并且第一光源工作模式和第二光源工作模式不同。 Correspondingly, the working mode of the light source comprises turning on the light source of the blue light band and turning off the light source in the near-infrared light band; turning on the light source in the near-infrared light band, and turning off the light source in the blue light band; simultaneously turning on the light source and the blue light using the near-infrared light band The light source of the band illuminates the three light source working modes, and the first light source working mode and the second light source working mode belong to one of the three light source working modes, and the first light source working mode and the second light source working mode are different.
其中,活体手掌在蓝光波段的光源的照射下,手掌检测设备通过图像采集装置获取到的活体手掌的图像包括掌纹信息而不包括掌静脉信息;Wherein, the image of the living palm obtained by the palm detecting device through the image capturing device includes the palmprint information and does not include the palm vein information under the illumination of the light source of the living body palm;
活体手掌在近红外光波段的光源的照射下,手掌检测设备通过图像采集装置获取到的活体手掌的图像包括掌静脉信息而不包括掌纹信息;Under the illumination of the light source of the living body palm in the near-infrared light band, the image of the living body palm obtained by the palm detecting device through the image collecting device includes palm vein information without including palm print information;
活体手掌在蓝光波段的光源和近红外光波段的光源的同时照射下,手掌检测设备通过图像采集装置获取到的活体手掌的图像包括掌静脉信息和掌纹信息;When the living body palm is illuminated by the light source of the blue light band and the light source of the near-infrared light band, the image of the living body palm obtained by the palm detecting device through the image collecting device includes the palm vein information and the palm print information;
掌纹信息和掌静脉信息属于不同的手掌特征信息。The palm print information and the palm vein information belong to different palm feature information.
其中,在本发明实施例中,包括掌纹信息而不包括掌静脉信息的图像称为掌纹图像,包括掌静脉信息而不包括掌纹信息的图像称为掌静脉图像,包括掌静脉信息和掌纹信息的图像称为掌纹和掌静脉图像。In the embodiment of the present invention, an image including palm print information and not including palm vein information is called a palm print image, and an image including palm vein information and not including palm print information is called a palm vein image, including palm vein information and The image of the palm print information is called the palm print and the palm vein image.
若待检测手掌为非活体手掌,则在上述的三种光源工作模式下,手掌检测设备获取到非活体手掌的同样的手掌特征信息。即在第一光源工作模式下或第二光源工作模式下,手掌检测设备要么都获取到非活体手掌的掌纹图像;要么都获取到非活体手掌的掌静脉图像;要么都同时获取到非活体手掌的掌纹和掌静脉图像。即在第一光源工作模式下和第二光源工作模式下,手掌检测设备获取到的非活体手掌的图像包括相同的手掌特征信息。If the palm to be detected is a non-living palm, in the above three light source working modes, the palm detecting device acquires the same palm feature information of the non-living palm. That is, in the first light source working mode or the second light source working mode, the palm detecting device either acquires the palm print image of the non-living palm; or both acquires the palm vein image of the non-living palm; or both acquire the non-living body at the same time. Palm palm and palm vein images of the palm. That is, in the first light source operation mode and the second light source operation mode, the image of the non-living palm acquired by the palm detecting device includes the same palm feature information.
从而可知,在光源包括发出蓝光波段的光源和发出近红外光波段的光源,而第一光源和第二光源属于这两种光源的其中之一时,手掌检测设备检测到的手掌特征信息的情况包括:A掌纹图像、B掌静脉图像、C掌纹和掌静脉图像。Therefore, when the light source includes a light source emitting a blue light band and a light source emitting a near-infrared light band, and the first light source and the second light source belong to one of the two light sources, the case of the palm feature information detected by the palm detecting device includes : A palm print image, B palm vein image, C palm print and palm vein image.
若待检测手掌为非活体手掌,如打印的手掌,其打印的相关手掌的手掌特征信息一般为以上三种(A、B、C)情况中一种,且更换光源工作情况检测到的手掌特征信息的种类不会发生变化。If the palm to be detected is a non-living palm, such as a printed palm, the palm hand information of the relevant palm printed is generally one of the above three (A, B, C) conditions, and the palm characteristics detected when the light source is replaced. The type of information does not change.
若待检测手掌为活体手掌,相关手掌的生物特征有以上三种(A、B、C)情况,且更换光源工作情况检测到的手掌特征信息也会进行相应的变化。If the palm to be detected is the living palm, the biometric characteristics of the relevant palm have the above three (A, B, C) conditions, and the palm feature information detected by the replacement of the light source will also undergo corresponding changes.
如表三所示,表三示出了非活体手掌包括的手掌特征信息的几种情形,以及在不同光源工作时,手掌检测设备对非活体手掌和活体手掌检测到的手掌特征信息。 As shown in Table 3, Table 3 shows several situations of the palm feature information included in the non-living palm, and the palm feature information detected by the palm detecting device on the non-living palm and the living palm when the different light sources are working.
表三Table 3
Figure PCTCN2016102443-appb-000003
Figure PCTCN2016102443-appb-000003
根据表三中的活体手掌的对应关系和上述的对活体手掌检测情况的描述可知,可根据不同光源的工作情况在手掌检测设备中预置用于检测的手掌特征信息,即预先建立光源工作模式和手掌特征信息类型的对应关系,如表四所示。According to the corresponding relationship between the living palms in Table 3 and the above description of the detection of the living body palm, it can be known that the palm feature information for detecting can be preset in the palm detecting device according to the working condition of different light sources, that is, the light source working mode is established in advance. Correspondence with the type of palm feature information, as shown in Table 4.
表四Table 4
Figure PCTCN2016102443-appb-000004
Figure PCTCN2016102443-appb-000004
Figure PCTCN2016102443-appb-000005
Figure PCTCN2016102443-appb-000005
即,当电路控制装置控制蓝光波段的光源工作时,系统预置手掌特征信息为包括掌纹信息且不包括掌静脉信息;当电路控制装置控制近红外光源开始工作时,系统预置手掌特征信息为包括掌静脉信息且不包括掌纹信息;当电路控制装置控制蓝光波段的光源和近红外光波段的光源同时工作时,系统预置手掌特征信息为包括掌静脉信息和掌纹信息。That is, when the circuit control device controls the operation of the light source in the blue light band, the system presets the palm feature information to include the palm print information and does not include the palm vein information; when the circuit control device controls the near infrared light source to start working, the system presets the palm feature information. In order to include palm vein information and not including palmprint information; when the circuit control device controls the light source of the blue light band and the light source of the near infrared light band to work simultaneously, the system presets the palm feature information to include palm vein information and palm print information.
从而在第一、第二光源工作模式下,手掌检测设备根据表四的对应关系,确定第一/第二光源工作模式手掌特征信息。在识别出第一图像/第二图像上的手掌特征信息后,使用识别出的手掌特征信息与根据该对应关系确定的手掌特征信息进行比较。判断识别出的手掌特征信息与根据对应关系确定的手掌特征信息是否相符。Therefore, in the first and second light source working modes, the palm detecting device determines the first/second light source working mode palm feature information according to the correspondence relationship of Table 4. After the palm feature information on the first image/second image is recognized, the recognized palm feature information is compared with the palm feature information determined according to the correspondence. It is judged whether the recognized palm feature information matches the palm feature information determined according to the correspondence relationship.
其中,手掌检测设备识别第一图像/第二图像上的手掌特征信息的方法可以是,预先获取多张掌纹图像、掌静脉图像,以及掌纹和掌静脉图像,通过统计分析确定不同种类图像的信息规律。根据统计规律生成识别模块,在手掌检测设备上即设置有该识别模块。在手掌检测设备获取到第一图像/第二图像后,手掌检测设备即可通过该识别模块对第一图像/第二图像进行识别,确定出第一图像/第二图像上的手掌特征信息。The method for the palm detecting device to recognize the palm feature information on the first image/second image may be: acquiring a plurality of palmprint images, palm vein images, palm prints and palm vein images in advance, and determining different kinds of images by statistical analysis. The law of information. The identification module is generated according to the statistical rule, and the identification module is set on the palm detection device. After the palm detecting device acquires the first image/second image, the palm detecting device can identify the first image/second image through the identifying module, and determine palm feature information on the first image/second image.
如表五所示,表五示出了不同光源工作模式下,手掌检测设备预设的手掌特征信息,以及手掌检测设备获取非活体手掌或活体手掌的图像时,这些图像与预置手掌特征信息的匹配与否的情况。As shown in Table 5, Table 5 shows the palm feature information preset by the palm detecting device in different light source working modes, and the image and preset palm feature information when the palm detecting device acquires the image of the non-living palm or the living palm. The case of matching or not.
表五Table 5
Figure PCTCN2016102443-appb-000006
Figure PCTCN2016102443-appb-000006
Figure PCTCN2016102443-appb-000007
Figure PCTCN2016102443-appb-000007
由上述内容可知,在不同光源工作模式变化时,手掌检测设备通过图像采集装置获取到活体手掌的手掌特征信息也相应的变化,这种对应的变化关系可由表六所示。It can be seen from the above that when the working modes of different light sources change, the palm detecting information acquired by the palm detecting device through the image collecting device also changes correspondingly, and the corresponding change relationship can be shown in Table 6.
表六Table 6
Figure PCTCN2016102443-appb-000008
Figure PCTCN2016102443-appb-000008
从而,在第一光源工作模式下和第二光源工作模式下,手掌检测设备获取到的第一图像和第二图像上的手掌特征信息的变化符合表六所示的情况时,可确定待检测手掌为活体手掌,否则为非活体手掌。 Therefore, in the first light source working mode and the second light source working mode, when the change of the palm feature information acquired on the first image and the second image obtained by the palm detecting device conforms to the situation shown in Table 6, the to-be-detected may be determined. The palm of the hand is the palm of the living body, otherwise it is the non-living palm.
即,在第一、第二光源工作模式下,手掌检测设备根据表四的对应关系,确定第一/第二光源工作模式手掌特征信息。在识别出第一图像/第二图像上的手掌特征信息后,根据识别出的手掌特征信息与根据对应关系确定的手掌特征信息进行比较。若第一图像的手掌特征信息和对应的预置手掌特征信息相匹配,且第二图像的手掌特征信息和对应的预置手掌特征信息相匹配,则手掌检测设备判定待检测手掌为活体手掌,否则判定待检测手掌为非活体手掌。That is, in the first and second light source operation modes, the palm detecting device determines the first/second light source working mode palm feature information according to the correspondence relationship of Table 4. After the palm feature information on the first image/second image is recognized, the palm feature information is compared with the palm feature information determined according to the correspondence relationship. If the palm feature information of the first image matches the corresponding preset palm feature information, and the palm feature information of the second image matches the corresponding preset palm feature information, the palm detecting device determines that the palm to be detected is a living palm. Otherwise, it is determined that the palm to be detected is a non-living palm.
从而具体的工作场景可以如下所述。Therefore, the specific work scenario can be as follows.
1)在第一光源工作模式为使用蓝光波段的光源且不使用近红外光波段的光源时,根据表四所示的对应关系,与第一光源工作模式对应的预置的手掌特征信息为包括掌纹信息而不包括掌静脉信息。1) When the first light source working mode is a light source using a blue light band and a light source of a near-infrared light band is not used, according to the correspondence relationship shown in Table 4, the preset palm feature information corresponding to the first light source working mode is included Palmprint information does not include palm vein information.
在第一光源工作模式下,手掌检测设备获取待检测手掌的第一图像后,手掌检测设备检测第一图像的手掌特征信息,并将第一图像的手掌特征信息与预置手掌特征信息匹配,即判断第一图像是否包括掌纹信息而不包括掌静脉信息。In the first light source working mode, after the palm detecting device acquires the first image of the palm to be detected, the palm detecting device detects the palm feature information of the first image, and matches the palm feature information of the first image with the preset palm feature information. That is, it is determined whether the first image includes palm print information and does not include palm vein information.
在第二光源工作模式为使用近红外光波段的光源且不使用蓝光波段的光源时,根据表四所示的对应关系,与第二光源工作模式对应的预置的手掌特征信息为包括掌静脉信息而不包括掌纹信息。When the working mode of the second light source is a light source using a near-infrared light band and a light source of a blue light band is not used, according to the correspondence relationship shown in Table 4, the preset palm feature information corresponding to the second light source working mode includes a palm vein. Information does not include palm print information.
在第二光源工作模式下,手掌检测设备获取待检测手掌的第二图像后,手掌检测设备检测第二图像的手掌特征信息,并将第二图像的手掌特征信息与预置手掌特征信息匹配,即判断第二图像是否包括掌静脉信息而不包括掌纹信息。In the second light source working mode, after the palm detecting device acquires the second image of the palm to be detected, the palm detecting device detects the palm feature information of the second image, and matches the palm feature information of the second image with the preset palm feature information. That is, it is determined whether the second image includes palm vein information and does not include palm print information.
当第一图像包括掌纹信息而不包括掌静脉信息,且第二图像包括掌静脉信息而不包括掌纹信息时,手掌检测设备确定确定待检测手掌为活体手掌,否则确定待检测手掌为非活体手掌。When the first image includes palm print information and does not include palm vein information, and the second image includes palm vein information without including palm print information, the palm detecting device determines that the palm to be detected is the living palm, otherwise determines that the palm to be detected is not Living palms.
2)在第一光源工作模式为使用蓝光波段的光源且不使用近红外光波段的光源时,根据表四所示的对应关系,与第一光源工作模式对应的预置的手掌特征信息为包括掌纹信息而不包括掌静脉信息。2) When the working mode of the first light source is a light source using a blue light band and a light source of a near-infrared light band is not used, according to the correspondence relationship shown in Table 4, the preset palm feature information corresponding to the working mode of the first light source is included Palmprint information does not include palm vein information.
在第一光源工作模式下,手掌检测设备获取待检测手掌的第一图像后,手 掌检测设备检测第一图像的手掌特征信息,并将第一图像的手掌特征信息与预置手掌特征信息匹配,即判断第一图像是否包括掌纹信息而不包括掌静脉信息。In the first light source working mode, after the palm detecting device acquires the first image of the palm to be detected, the hand The palm detecting device detects the palm feature information of the first image, and matches the palm feature information of the first image with the preset palm feature information, that is, determines whether the first image includes palm print information and does not include palm vein information.
在第二光源工作模式为同时使用近红外光波段的光源和蓝光波段的光源时,根据表四所示的对应关系,与第二光源工作模式对应的预置的手掌特征信息为包括掌静脉信息和掌纹信息。When the working mode of the second light source is to simultaneously use the light source of the near-infrared light band and the light source of the blue light band, according to the correspondence relationship shown in Table 4, the preset palm feature information corresponding to the working mode of the second light source includes the information of the palm vein. And palm print information.
在第二光源工作模式下,手掌检测设备获取待检测手掌的第二图像后,手掌检测设备检测第二图像的手掌特征信息,并将第二图像的手掌特征信息与预置手掌特征信息匹配,即判断第二图像是否包括掌静脉信息和掌纹信息。In the second light source working mode, after the palm detecting device acquires the second image of the palm to be detected, the palm detecting device detects the palm feature information of the second image, and matches the palm feature information of the second image with the preset palm feature information. That is, it is determined whether the second image includes palm vein information and palm print information.
当第一图像包括掌纹信息而不包括掌静脉信息,且第二图像包括掌静脉信息和掌纹信息时,手掌检测设备确定待检测手掌为活体手掌,否则确定待检测手掌为非活体手掌。When the first image includes palm print information and does not include palm vein information, and the second image includes palm vein information and palm print information, the palm detecting device determines that the palm to be detected is a living palm, otherwise determines that the palm to be detected is a non-living palm.
3)在第一光源工作模式为使用近红外光波段的光源且不使用蓝光波段的光源时,根据表四所示的对应关系,与第一光源工作模式对应的预置的手掌特征信息为包括掌静脉信息而不包括掌纹信息。3) When the first light source working mode is a light source using a near-infrared light band and a light source of a blue light band is not used, according to the correspondence relationship shown in Table 4, the preset palm feature information corresponding to the first light source working mode is included Palm vein information does not include palmprint information.
在第一光源工作模式下,手掌检测设备获取待检测手掌的第一图像后,手掌检测设备检测第一图像的手掌特征信息,并将第一图像的手掌特征信息与预置手掌特征信息匹配,即判断第一图像是否包括掌静脉信息而不包括掌纹信息。In the first light source working mode, after the palm detecting device acquires the first image of the palm to be detected, the palm detecting device detects the palm feature information of the first image, and matches the palm feature information of the first image with the preset palm feature information. That is, it is determined whether the first image includes palm vein information and does not include palm print information.
在第二光源工作模式为同时使用近红外光波段的光源和蓝光波段的光源时,根据表四所示的对应关系,与第二光源工作模式对应的预置的手掌特征信息为包括掌静脉信息和掌纹信息。When the working mode of the second light source is to simultaneously use the light source of the near-infrared light band and the light source of the blue light band, according to the correspondence relationship shown in Table 4, the preset palm feature information corresponding to the working mode of the second light source includes the information of the palm vein. And palm print information.
在第二光源工作模式下,手掌检测设备获取待检测手掌的第二图像后,手掌检测设备检测第二图像的手掌特征信息,并将第二图像的手掌特征信息与预置手掌特征信息匹配,即判断第二图像是否包括掌静脉信息和掌纹信息。In the second light source working mode, after the palm detecting device acquires the second image of the palm to be detected, the palm detecting device detects the palm feature information of the second image, and matches the palm feature information of the second image with the preset palm feature information. That is, it is determined whether the second image includes palm vein information and palm print information.
当第一图像包括掌静脉信息而不包括掌纹信息,且第二图像包括掌静脉信息和掌纹信息时,手掌检测设备确定待检测手掌为活体手掌,否则确定待检测手掌为非活体手掌。 When the first image includes palm vein information and does not include palm print information, and the second image includes palm vein information and palm print information, the palm detecting device determines that the palm to be detected is a living palm, otherwise determines that the palm to be detected is a non-living palm.
根据上述的三个具体场景可以得知,上述的第一特征信息和第二特征信息属于掌静脉信息和掌纹信息的其中之一,且第一特征信息和第二特征信息不相同。第一光源和第二光源属于红外光波段的光源和蓝光波段的光源之一,且第一光源和第二光源不同。根据第一光源和第二光源的工作关系,可得三种光源工作模式,第一光源工作模式和第二光源工作模式属于这三种光源工作模式之一,且第一光源工作模式和第二光源工作模式为不同的光源工作模式。According to the above three specific scenarios, the first feature information and the second feature information are one of palm vein information and palmprint information, and the first feature information and the second feature information are different. The first light source and the second light source belong to one of a light source in the infrared light band and a light source in the blue light band, and the first light source and the second light source are different. According to the working relationship between the first light source and the second light source, three light source working modes are available, and the first light source working mode and the second light source working mode belong to one of the three light source working modes, and the first light source working mode and the second The light source operating mode is a different light source operating mode.
具体来说:Specifically:
1、当第一光源为发出蓝光波段的光源,而第二光源为发出近红外光波段的光源时,此时,第一、第二光源工作模式包括两种情形:1. When the first light source is a light source emitting a blue light band, and the second light source is a light source emitting a near-infrared light band, at this time, the first and second light source working modes include two cases:
1.1)第一光源工作模式为开启蓝光波段的光源照射,且关闭近红外光波段的光源;第二光源工作模式为开启近红外光波段的光源照射,且关闭蓝光波段的光源。1.1) The working mode of the first light source is to turn on the light source of the blue light band and turn off the light source of the near-infrared light band; the working mode of the second light source is to turn on the light source of the near-infrared light band, and turn off the light source of the blue light band.
1.2)第一光源工作模式为开启蓝光波段的光源照射,且关闭近红外光波段的光源;第二光源工作模式为同时开启蓝光波段的光源和近红外光波段的光源照射。1.2) The working mode of the first light source is to turn on the light source of the blue light band and turn off the light source of the near-infrared light band; the working mode of the second light source is to simultaneously turn on the light source of the blue light band and the light source of the near-infrared light band.
2、当第一光源为发出近红外光波段的光源,而第二光源为发出蓝光波段的光源时,此时第一、第二光源工作模式包括两种情形:2. When the first light source is a light source emitting a near-infrared light band, and the second light source is a light source emitting a blue light band, the first and second light source working modes include two situations:
2.1)第一光源工作模式为使用近红外光波段的光源,且不使用蓝光波段的光源;而第二光源工作模式为使用蓝光波段的光源照射且不使用近红外光波段的光源,2.1) The first light source operates in a light source using a near-infrared light source and does not use a light source in the blue light band; and the second light source operates in a light source that uses a blue light source and does not use a near-infrared light source.
2.2)第一光源工作模式为开启近红外光波段的光源照射且不使用蓝光波段的光源;第二光源工作模式为同时开启使用近红外光波段的光源和蓝光波段的光源照射。2.2) The working mode of the first light source is to turn on the light source of the near-infrared light band and not to use the light source of the blue light band; the working mode of the second light source is to simultaneously turn on the light source using the near-infrared light band and the light source of the blue light band.
为了更好地对本发明实施例进行说明,下面举一具体例子对本发明实施例进行描述。In order to better explain the embodiments of the present invention, the embodiments of the present invention are described below by way of specific examples.
如图1和图2所示,手掌检测设备设有第一光源和第二光源,其中第一光源为蓝光波段的光源,第二光源为红外光波段的光源。手掌检测设备上预置的光源工作模式为先执行第一光源工作模式再执行第二光源工作模式,其中第一 光源工作模式为开启蓝光波段的光源照射,且关闭近红外光波段的光源。手掌检测设备预先建立第一光源工作模式与第一预置手掌特征信息的对应关系,该第一预置手掌特征信息为包括掌纹信息而不包括掌静脉信息;As shown in FIG. 1 and FIG. 2, the palm detecting device is provided with a first light source and a second light source, wherein the first light source is a light source of a blue light band, and the second light source is a light source of an infrared light band. The working mode of the light source preset on the palm detecting device is to execute the first light source working mode and then execute the second light source working mode, wherein the first The working mode of the light source is to turn on the light source of the blue light band and turn off the light source of the near infrared light band. The palm detecting device pre-establishes a correspondence between the first light source working mode and the first preset palm feature information, where the first preset palm feature information includes palm print information and does not include palm vein information;
第二光源工作模式为开启近红外光波段的光源照射,且关闭蓝光波段的光源,手掌检测设备预先建立第二光源工作模式与第二预置手掌特征信息的对应关系,该第二预置手掌特征信息为包括掌静脉信息而不包括掌纹信息。从而在手掌检测设备先使用第一光源工作模式,再使用第二光源工作模式时,预置的手掌特征信息的变化为从第一预置手掌特征信息变为第二预置手掌特征信息。The working mode of the second light source is to turn on the light source of the near-infrared light band, and turn off the light source of the blue light band, and the palm detecting device pre-establishes a correspondence relationship between the working mode of the second light source and the feature information of the second preset palm, the second preset palm The feature information includes palm vein information and does not include palm print information. Therefore, when the palm detecting device first uses the first light source working mode, and then uses the second light source working mode, the preset palm feature information changes from the first preset palm feature information to the second preset palm feature information.
如图1所示,在用户进行手掌检测时,手掌检测设备启动第一光源工作模式,通过图像采集装置获取当前待检测手掌的第一图像,然后手掌检测设备使用第二光源工作模式替代第一光源工作模式,通过图像采集装置获取待检测手掌的第二图像。手掌检测设备分别检测第一图像和第二图像的手掌特征信息,若第一图像的手掌特征信息与第一预置手掌特征信息相符合,即第一图像包括掌纹信息而不包括掌静脉信息,例如如图3所示的掌纹图像;且第二图像的手掌特征信息与第二预置手掌特征信息相符合,即第二图像包括掌静脉信息而不包括掌纹信息,例如如图4所示的掌静脉图像,则手掌检测设备判定该待检测手掌为活体手掌,否则判定该待检测手掌为非活体手掌。As shown in FIG. 1 , when the user performs palm detection, the palm detecting device activates the first light source working mode, acquires the first image of the current palm to be detected through the image capturing device, and then the palm detecting device uses the second light source working mode to replace the first image. In the light source working mode, the second image of the palm to be detected is acquired by the image capturing device. The palm detecting device detects the palm feature information of the first image and the second image respectively, if the palm feature information of the first image matches the first preset palm feature information, that is, the first image includes palm print information and does not include palm vein information. For example, the palmprint image as shown in FIG. 3; and the palm feature information of the second image is consistent with the second preset palm feature information, that is, the second image includes palm vein information without including palmprint information, for example, as shown in FIG. In the palm vein image shown, the palm detecting device determines that the palm to be detected is a living palm, otherwise it is determined that the palm to be detected is a non-living palm.
其中,若待检测手掌为在纸片上打印的手掌特征信息时,手掌检测设备获取的第一图像和第二图像后,第一图形的手掌特征信息可能与第一预置手掌特征信息不相符合,和/或第二图像的手掌特征信息可能与第二预置手掌特征信息不相符合,例如:第一图像包括掌纹信息而不包括掌静脉信息,且第二图像包括掌纹信息而不包括掌静脉信息;或者,第一图像包括掌静脉信息而不包括掌纹信息,且第二图像像包括掌静脉信息而不包括掌纹信息;或者第一图像像包括掌静脉信息和掌纹信息,且第二图像包括掌静脉信息和掌纹信息。Wherein, if the palm to be detected is the palm feature information printed on the paper sheet, after the first image and the second image acquired by the palm detecting device, the palm feature information of the first graphic may not match the first preset palm feature information. And/or the palm feature information of the second image may not coincide with the second preset palm feature information, for example, the first image includes palm print information and does not include palm vein information, and the second image includes palm print information instead of Including the palm vein information; or, the first image includes palm vein information without palm print information, and the second image includes palm vein information without palm print information; or the first image includes palm vein information and palm print information And the second image includes palm vein information and palm print information.
上述方法是对获取的待检测手掌的图像进行手掌特征信息的类型的识别后,根据预置的手掌特征信息进行比较,判断是否相符,从而判断待检测手掌是否是活体手掌。下述方法是对第一图像和第二图像直接进行相似程度比较,从而判断待检测手掌是否是活体手掌。 The above method is to identify the type of the palm feature information of the acquired image of the palm to be detected, and then compare and judge according to the preset palm feature information to determine whether the match is performed, thereby determining whether the palm to be detected is a living palm. The method described below is to directly compare the first image and the second image to determine whether the palm to be detected is a living palm.
二、使用第一图像和第二图像进行相似程度比较Second, using the first image and the second image for similarity comparison
执行步骤801至步骤804后,步骤805“根据第一图像和第二图像,判断待检测手掌是否为活体手掌”的具体方法可以按照如下方式执行:After performing step 801 to step 804, the specific method of determining whether the palm to be detected is a living palm according to the first image and the second image may be performed as follows:
步骤A1:对比第一图像和第二图像,得到匹配度。Step A1: Comparing the first image and the second image to obtain a matching degree.
匹配度用于表示第一图像和第二图像的相似程度;The degree of matching is used to indicate the degree of similarity between the first image and the second image;
因为,第一光源工作模式使用的光源和第二光源工作模式使用的光源包括不同的光波段,活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,手掌检测设备通过图像采集装置获取到活体手掌不同的手掌特征信息,非活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,手掌检测设备通过图像采集装置获取到非活体手掌相同的手掌特征信息。所以,在不同光源工作模式下,手掌检测设备获取的活体手掌的第一图像和第二图像是不同的,第一图像和第二图像包括的手掌特征信息不相同。在不同光源工作模式下,手掌检测设备获取的非活体手掌的第一图像和第二图像是相同的,第一图像和第二图像包括的手掌特征信息相同。Because the light source used in the first light source working mode and the light source used in the second light source working mode comprise different light bands, the living palm is respectively illuminated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device The palm-shaped feature information of the living body palm is acquired by the image capturing device, and the non-living palms are respectively illuminated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device acquires the same non-living palm through the image capturing device. Palm feature information. Therefore, in different light source working modes, the first image and the second image of the living body palm acquired by the palm detecting device are different, and the palm image feature information included in the first image and the second image is different. In different light source working modes, the first image and the second image of the non-living palm acquired by the palm detecting device are the same, and the first image and the second image include the same palm feature information.
从而,根据第一图像和第二图像的相似程度,即可判断待检测手掌是否是活体手掌。Thus, based on the degree of similarity between the first image and the second image, it can be determined whether the palm to be detected is a living palm.
步骤A2:判断匹配度是否小于预设阀值。Step A2: Determine whether the matching degree is less than a preset threshold.
匹配度用于表示第一图像和第二图像的相似程度,该预设阀值根据试验统计数据得到。例如,在第一光源工作模式和第二光源工作模式下,获取多组属于同一活体手掌的第一图像和第二图像后,用多组属于同一活体手掌的第一图像和第二图像进行比较,以及获取多组属于同一非活体手掌的第一图像和第二图像后,用该多组属于同一非活体手掌的第一图像和第二图像进行比较,根据这些比较结果得到该预设阀值。The degree of matching is used to indicate the degree of similarity between the first image and the second image, and the preset threshold is obtained based on experimental statistics. For example, in the first light source working mode and the second light source working mode, after acquiring a plurality of sets of the first image and the second image belonging to the same living body palm, comparing the first image and the second image belonging to the same living body palm And obtaining a plurality of sets of the first image and the second image belonging to the same non-living palm, comparing the first image and the second image belonging to the same non-living palm, and obtaining the preset threshold according to the comparison results .
若该两张图像的相似度大于该预设阀值,即可认为这两张图像的相似度较大,从而可认为这两张图像属于伪造的手掌。否则,认为该两张图像属于活体手掌。If the similarity of the two images is greater than the preset threshold, the similarity of the two images is considered to be large, so that the two images are considered to belong to the forged palm. Otherwise, the two images are considered to belong to the living palm.
步骤A3:若匹配度小于预设阀值,则确定待检测手掌为活体手掌,否则确定待检测手掌为非活体手掌。 Step A3: If the matching degree is less than the preset threshold, it is determined that the palm to be detected is a living palm, otherwise it is determined that the palm to be detected is a non-living palm.
若该第一图像和第二图像的相似度大于该预设阀值,即可认为这两张图像的相似度较大,从而可认为这两张图像属于非活体手掌。若匹配度小于预设阀值,则确定待检测手掌为活体手掌。If the similarity between the first image and the second image is greater than the preset threshold, the similarity of the two images is considered to be large, so that the two images are considered to belong to the non-living palm. If the matching degree is less than the preset threshold, it is determined that the palm to be detected is a living palm.
例如,在光源工作模式包括使用第一光源照射且不使用第二光源、使用第二光源照射且不使用第一光源、同时使用第一光源和第二光源照射时,第一光源工作模式和第二光源工作模式属于这些光源工作模式的其中之一,第一光源工作模式与第二光源工作模式不同。For example, when the light source operation mode includes irradiating with the first light source and not using the second light source, irradiating with the second light source, and not using the first light source while irradiating with the first light source and the second light source, the first light source operating mode and the first light source The two light source working modes belong to one of the working modes of the light sources, and the first light source working mode is different from the second light source working mode.
可选地,光源包括发出蓝光波段的光源和发出近红外光波段的光源,第一光源和第二光源属于光源的其中之一,Optionally, the light source comprises a light source emitting a blue light band and a light source emitting a near-infrared light band, and the first light source and the second light source are one of the light sources.
其中,活体手掌在蓝光波段的光源的照射下,手掌检测设备通过图像采集装置获取到的活体手掌的图像包括掌纹信息而不包括掌静脉信息;Wherein, the image of the living palm obtained by the palm detecting device through the image capturing device includes the palmprint information and does not include the palm vein information under the illumination of the light source of the living body palm;
活体手掌在近红外光波段的光源的照射下,手掌检测设备通过图像采集装置获取到的活体手掌的图像包括掌静脉信息而不包括掌纹信息;Under the illumination of the light source of the living body palm in the near-infrared light band, the image of the living body palm obtained by the palm detecting device through the image collecting device includes palm vein information without including palm print information;
活体手掌在蓝光波段的光源和近红外光波段的光源的同时照射下,手掌检测设备通过图像采集装置获取到的活体手掌的图像包括掌静脉信息和掌纹信息;When the living body palm is illuminated by the light source of the blue light band and the light source of the near-infrared light band, the image of the living body palm obtained by the palm detecting device through the image collecting device includes the palm vein information and the palm print information;
掌纹信息和掌静脉信息属于不同的手掌特征信息。The palm print information and the palm vein information belong to different palm feature information.
若待检测手掌为非活体手掌,则在上述的三种光源工作模式下,手掌检测设备获取到非活体手掌的同样的手掌特征信息。即在第一光源工作模式下或第二光源工作模式下,手掌检测设备要么都获取到非活体手掌的掌纹信息,而获取不到非活体手掌的掌静脉信息;要么都获取不到非活体手掌的掌纹信息,而获取到非活体手掌的掌静脉信息;要么都同时获取到非活体手掌的掌纹图像和掌静脉信息。即在第一光源工作模式下和第二光源工作模式下,手掌检测设备获取到的非活体手掌的图像包括相同的手掌特征信息。If the palm to be detected is a non-living palm, in the above three light source working modes, the palm detecting device acquires the same palm feature information of the non-living palm. That is, in the first light source working mode or the second light source working mode, the palm detecting device obtains the palm print information of the non-living palm, and does not obtain the palm vein information of the non-living palm; or the non-living body is not obtained. The palmprint information of the palm, and the palm vein information of the non-living palm is obtained; or both the palmprint image and the palm vein information of the non-living palm are acquired at the same time. That is, in the first light source operation mode and the second light source operation mode, the image of the non-living palm acquired by the palm detecting device includes the same palm feature information.
在光源包括发出蓝光波段的光源和发出近红外光波段的光源,而第一光源和第二光源属于这两种光源的其中之一时,手掌检测设备检测到的手掌特征信息的情况包括:A掌纹图像、B掌静脉图像、C掌纹图像和掌静脉图像。Where the light source comprises a light source emitting a blue light band and a light source emitting a near-infrared light band, and the first light source and the second light source belong to one of the two light sources, the case of the palm feature information detected by the palm detecting device comprises: A palm Pattern image, B palm vein image, C palm print image, and palm vein image.
若待检测手掌为非活体手掌,如打印的手掌,其打印的相关手掌的手掌特 征信息一般为以上三种(A、B、C)情况中一种,且更换光源工作情况检测到的手掌特征信息的种类不会发生变化。即在第一光源工作模式下和第二光源工作模式下,手掌检测设备获取到的非活体手掌的图像包括的手掌特征信息相同,例如,都为图3所示的掌纹图像,或者都为图4所示的掌静脉图像,或者都为如图5所示的掌纹和掌静脉图像,而不会获取到图3至图5中的图像的其中两种。If the palm to be detected is a non-living palm, such as a printed palm, the palm of the palm of the hand is printed. The sign information is generally one of the above three (A, B, C) situations, and the type of palm feature information detected by the replacement of the light source does not change. That is, in the first light source working mode and the second light source working mode, the image of the non-living palm obtained by the palm detecting device includes the same palm feature information, for example, the palmprint image shown in FIG. 3, or both The palm vein images shown in Fig. 4, or both are palmprint and palm vein images as shown in Fig. 5, and two of the images in Figs. 3 to 5 are not acquired.
若待检测手掌为活体手掌,相关手掌的生物特征有以上三种(A、B、C)情况,且更换光源工作情况检测到的手掌特征信息也会进行相应的变化。If the palm to be detected is the living palm, the biometric characteristics of the relevant palm have the above three (A, B, C) conditions, and the palm feature information detected by the replacement of the light source will also undergo corresponding changes.
如上述表三所示,表三示出了非活体手掌包括的手掌特征信息的几种情形,以及在不同光源工作时,手掌检测设备对非活体手掌和活体手掌检测到的手掌特征信息。As shown in Table 3 above, Table 3 shows several situations of palm feature information included in the non-living palm, and palm feature information detected by the palm detecting device on the non-living palm and the living palm when the different light sources are working.
从而可以得知,在手掌检测设备交替使用第一光源工作模式和第二光源工作模式下,手掌检测设备通过其上的图像采集装置分别获取活体手掌的第一图像和第二图像后,如步骤803和步骤804。第一图像和第二图像因其上包括的手掌特征信息不同,第一图像和第二图像的相似程度较低。在手掌检测设备交替使用第一光源工作模式和第二光源工作模式下,手掌检测设备通过其上的图像采集装置分别获取非活体手掌的第一图像和第二图像,该第一图像和第二图像因其上包括的手掌特征信息相同,从而第一图像和第二图像的相似程度较高。为了区别相似度的高低,可使用手掌检测设备对活体手掌和非活体手掌检测试验,并统计试验结果,得到一预设阀值,第一图像和第二图像的匹配度大于该预设阀值,则判定第一图像和第二图像的相似度较高,确定第一图像和第二图像所属的待检测手掌为非活体手掌,反之,确定为活体手掌。Therefore, it can be known that, when the palm detecting device alternately uses the first light source working mode and the second light source working mode, the palm detecting device acquires the first image and the second image of the living body palm respectively through the image capturing device thereon, as steps 803 and step 804. The first image and the second image are different in degree of similarity between the first image and the second image due to the difference in palm feature information included thereon. When the palm detecting device alternately uses the first light source working mode and the second light source working mode, the palm detecting device respectively acquires the first image and the second image of the non-living palm through the image capturing device thereon, the first image and the second image The image is identical because the palm feature information included thereon is the same, so that the first image and the second image are similar to each other. In order to distinguish the level of similarity, the palm test device can be used to test the living palm and the non-living palm, and the test result is statistically obtained to obtain a preset threshold, and the matching degree of the first image and the second image is greater than the preset threshold. And determining that the similarity between the first image and the second image is high, determining that the palm to be detected to which the first image and the second image belong is a non-living palm, and vice versa, determining the living palm.
第二种的使用第一图像和第二图像进行相似程度比较的方法,无需对手掌检测设备获取的第一图像和第二图像进行手掌特征信息的识别,只要直接比对第一图像和第二图像的相似度即可,这样的比较方法,可提高本发明实施例的手掌检测方法的检测效率,并简化了手掌检测设备上的算法。The second method for comparing the similarity degree using the first image and the second image does not require the first image and the second image acquired by the palm detecting device to identify the palm feature information, as long as the first image and the second image are directly compared. The similarity of the images is sufficient. Such a comparison method can improve the detection efficiency of the palm detecting method of the embodiment of the present invention and simplify the algorithm on the palm detecting device.
可以理解,本发明实施例是通过手掌检测设备交替使用第一光源工作模式和第二光源工作模式进行说明的,在有的实施例中,手掌检测设备可以使用多 种光源工作模式,例如,根据第一光源和第二光源的工作关系,可得三种光源工作模式,手掌检测设备可以交替使用这三种光源工作模式。It can be understood that the embodiment of the present invention is described by using the first light source working mode and the second light source working mode alternately by the palm detecting device. In some embodiments, the palm detecting device can be used more. The light source working mode, for example, according to the working relationship of the first light source and the second light source, three light source working modes are available, and the palm detecting device can alternately use the three light source working modes.
综上所述,在手掌检测设备上,在第一光源工作模式时,通过图像采集装置获取待检测手掌的第一图像;在第二光源工作模式时,通过图像采集装置获取待检测手掌的第二图像;然后,根据第一图像和第二图像,判断待检测手掌是否为活体手掌。第一光源工作模式使用的光源和第二光源工作模式使用的光源包括不同的光波段,因波光段的不同,导致活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,手掌检测设备通过图像采集装置获取到活体手掌不同的手掌特征信息,非活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,手掌检测设备通过图像采集装置获取到非活体手掌相同的手掌特征信息。这样,通过交替使用包括不同波光段的光源工作模式,手掌检测设备通过图像采集装置分别获取待检测手掌的不同图像,对该不同图像进行分析,即可得出待检测手掌是否是活体手掌,从而简易且高效地实现了活体手掌的判别。In summary, on the palm detecting device, in the first light source working mode, the first image of the palm to be detected is acquired by the image capturing device; and in the second light source working mode, the image of the palm to be detected is acquired by the image capturing device. Second image; then, according to the first image and the second image, it is determined whether the palm to be detected is a living palm. The light source used in the first light source working mode and the light source used in the second light source working mode include different light bands, and the light source of the living body palm is respectively irradiated in the working mode of the first light source and the light source in the working mode of the second light source due to different wave sections. Next, the palm detecting device acquires different palm feature information of the living body palm through the image capturing device, and the non-living palm is respectively irradiated by the light source of the first light source working mode and the second light source working mode, and the palm detecting device is acquired by the image collecting device. The same palm feature information to the non-living palm. In this way, by alternately using the light source working modes including different wave segments, the palm detecting device respectively acquires different images of the palm to be detected through the image capturing device, and analyzes the different images to obtain whether the palm to be detected is a living palm, thereby The discrimination of the living palm is realized easily and efficiently.
图9是根据一示例性实施例示出的一种手掌检测设备的结构示意图。该手掌检测设备可执行上述实施例的手掌检测方法上,手掌检测设备包括图像采集装置,参见图9,本发明实施例提供的手掌检测设备包括:FIG. 9 is a schematic structural diagram of a palm detecting device according to an exemplary embodiment. The palm detecting device can perform the palm detecting method of the above embodiment, and the palm detecting device includes an image capturing device. Referring to FIG. 9, the palm detecting device provided by the embodiment of the present invention includes:
图像获取单元901,用于在第一光源工作模式时,通过图像采集装置获取待检测手掌的第一图像;The image obtaining unit 901 is configured to acquire, by the image capturing device, the first image of the palm to be detected when the first light source operates in the mode;
图像获取单元901,还用于在第二光源工作模式时,通过图像采集装置获取待检测手掌的第二图像;The image acquisition unit 901 is further configured to acquire, by the image acquisition device, the second image of the palm to be detected when the second light source operates in the mode;
判断单元903,用于根据第一图像和第二图像,判断待检测手掌是否为活体手掌;The determining unit 903 is configured to determine, according to the first image and the second image, whether the palm to be detected is a living palm;
其中,第一光源工作模式使用的光源和第二光源工作模式使用的光源包括不同的光波段。Wherein, the light source used by the first light source working mode and the light source used by the second light source working mode comprise different optical bands.
可选地,Optionally,
活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,手掌检测设备通过图像采集装置获取到活体手掌不同的手掌特征信息, 非活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,手掌检测设备通过图像采集装置获取到非活体手掌相同的手掌特征信息。The living palm is respectively illuminated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device acquires different palm feature information of the living palm through the image collecting device. The non-living palms are respectively illuminated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device acquires the same palm feature information of the non-living palm through the image collecting device.
可选地,Optionally,
第一光源工作模式为使用第一光源照射且不使用第二光源,第二光源工作模式为使用第二光源照射且不使用第一光源,其中,第一光源发出的光波段和第二光源发出的光波段不同,The first light source operates in a mode that uses the first light source and does not use the second light source, and the second light source operates in a mode that uses the second light source and does not use the first light source, wherein the first light source emits a light band and the second light source emits Different light bands,
判断单元903,还用于当第一图像包括第一特征信息而不包括第二特征信息,且第二图像包括第二特征信息而不包括第一特征信息时,确定待检测手掌为活体手掌;The determining unit 903 is further configured to: when the first image includes the first feature information and not the second feature information, and the second image includes the second feature information and does not include the first feature information, determine that the palm to be detected is a living palm;
其中,在使用第一光源照射且不使用第二光源时,手掌检测设备通过图像采集装置能获取到活体手掌的第一特征信息,而获取不到活体手掌的第二特征信息,Wherein, when the first light source is used and the second light source is not used, the palm detecting device can acquire the first feature information of the living palm through the image capturing device, and can obtain the second feature information of the living palm.
在使用第二光源照射且不使用第一光源时,手掌检测设备通过图像采集装置能获取到活体手掌的第二特征信息,而获取不到活体手掌的第一特征信息,第一特征信息和第二特征信息为不同的手掌特征信息。When the second light source is used and the first light source is not used, the palm detecting device can acquire the second feature information of the living palm through the image capturing device, and can obtain the first feature information of the living palm, the first feature information and the first feature information. The two feature information is different palm feature information.
可选地,Optionally,
第一光源工作模式为使用第一光源照射且不使用第二光源,第二光源工作模式为同时使用第一光源和第二光源照射,其中,第一光源发出的光波段和第二光源发出的光波段不同,The first light source operates in a mode that uses the first light source and does not use the second light source, and the second light source operates in a mode in which the first light source and the second light source are simultaneously illuminated, wherein the light band emitted by the first light source and the second light source emit Different light bands,
判断单元903,还用于当第一图像包括第一特征信息而不包括第二特征信息,且第二图像包括第二特征信息和第一特征信息时,确定待检测手掌为活体手掌,The determining unit 903 is further configured to: when the first image includes the first feature information and not the second feature information, and the second image includes the second feature information and the first feature information, determine that the palm to be detected is a living palm,
其中,在使用第一光源照射且不使用第二光源时,手掌检测设备通过图像采集装置能获取到活体手掌的第一特征信息,而获取不到活体手掌的第二特征信息;Wherein, when the first light source is used and the second light source is not used, the palm detecting device can acquire the first feature information of the living palm through the image capturing device, and can obtain the second feature information of the living palm;
在同时使用第一光源和第二光源照射时,手掌检测设备通过图像采集装置能获取到活体手掌的第一特征信息和第二特征信息,第一特征信息和第二特征信息为不同的手掌特征信息。 When the first light source and the second light source are simultaneously irradiated, the palm detecting device can acquire the first feature information and the second feature information of the living body palm through the image capturing device, and the first feature information and the second feature information are different palm features. information.
可选地,Optionally,
判断单元903,包括:The determining unit 903 includes:
对比模块904,用于对比第一图像和第二图像,得到匹配度,匹配度用于表示第一图像和第二图像的相似程度;The comparison module 904 is configured to compare the first image and the second image to obtain a matching degree, where the matching degree is used to indicate the degree of similarity between the first image and the second image;
判断模块905,用于判断匹配度是否小于预设阀值;The determining module 905 is configured to determine whether the matching degree is less than a preset threshold;
确定模块906,用于若匹配度小于预设阀值,则确定待检测手掌为活体手掌,否则确定待检测手掌为非活体手掌。The determining module 906 is configured to determine that the palm to be detected is a living palm if the matching degree is less than the preset threshold, and otherwise determine that the palm to be detected is a non-living palm.
可选地,Optionally,
光源工作模式包括使用第一光源照射且不使用第二光源、使用第二光源照射且不使用第一光源、同时使用第一光源和第二光源照射,第一光源工作模式和第二光源工作模式属于光源工作模式的其中之一,第一光源工作模式与第二光源工作模式不同。The light source operating mode includes illuminating with the first light source and not using the second light source, illuminating with the second light source and not using the first light source, and simultaneously irradiating with the first light source and the second light source, the first light source working mode and the second light source working mode It belongs to one of the working modes of the light source, and the working mode of the first light source is different from the working mode of the second light source.
可选地,光源包括发出蓝光波段的光源和发出近红外光波段的光源,第一光源和第二光源属于该光源的其中之一,Optionally, the light source comprises a light source emitting a blue light band and a light source emitting a near-infrared light band, and the first light source and the second light source belong to one of the light sources.
其中,活体手掌在蓝光波段的光源的照射下,手掌检测设备通过图像采集装置获取到的活体手掌的图像包括掌纹信息而不包括掌静脉信息;Wherein, the image of the living palm obtained by the palm detecting device through the image capturing device includes the palmprint information and does not include the palm vein information under the illumination of the light source of the living body palm;
活体手掌在近红外光波段的光源的照射下,手掌检测设备通过图像采集装置获取到的活体手掌的图像包括掌静脉信息而不包括掌纹信息;Under the illumination of the light source of the living body palm in the near-infrared light band, the image of the living body palm obtained by the palm detecting device through the image collecting device includes palm vein information without including palm print information;
活体手掌在蓝光波段的光源和近红外光波段的光源的同时照射下,手掌检测设备通过图像采集装置获取到的活体手掌的图像包括掌静脉信息和掌纹信息;When the living body palm is illuminated by the light source of the blue light band and the light source of the near-infrared light band, the image of the living body palm obtained by the palm detecting device through the image collecting device includes the palm vein information and the palm print information;
掌纹信息和掌静脉信息属于不同的手掌特征信息。The palm print information and the palm vein information belong to different palm feature information.
可选地,该设备还包括:Optionally, the device further includes:
区域判断单元902,用于判断待检测手掌相对于手掌检测设备的位置是否在图像获取区域;The area determining unit 902 is configured to determine whether the position of the palm to be detected relative to the palm detecting device is in the image acquiring area;
若待检测手掌相对于手掌检测设备的位置在图像获取区域,则图像获取单元901执行在第一光源工作模式下,通过图像采集装置获取待检测手掌的第一图像,和图像获取单元901在第二光源工作模式下,通过图像采集装置获取待 检测手掌的第二图像的步骤;If the position of the palm to be detected relative to the palm detecting device is in the image capturing area, the image acquiring unit 901 performs the first image of the palm to be detected by the image capturing device in the first light source working mode, and the image acquiring unit 901 is in the first In the working mode of the two light sources, the image acquisition device acquires a step of detecting a second image of the palm;
若待检测手掌相对于手掌检测设备的位置不在图像获取区域,则发出提示信息。If the position of the palm to be detected relative to the palm detecting device is not in the image capturing area, a prompt message is issued.
可选地Optionally
图像采集装置包括滤光片,滤光片能透过第一光源的光波段和第二光源的光波段。The image capture device includes a filter that is permeable to the optical band of the first source and the optical band of the second source.
综上所述,在手掌检测设备上,图像获取单元901在第一光源工作模式时,通过图像采集装置获取待检测手掌的第一图像;图像获取单元901在第二光源工作模式时,通过图像采集装置获取待检测手掌的第二图像;然后,判断单元903根据第一图像和第二图像,判断待检测手掌是否为活体手掌。第一光源工作模式使用的光源和第二光源工作模式使用的光源包括不同的光波段,因波光段的不同,导致活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,手掌检测设备获取到活体手掌不同的图像信息。这样,通过交替使用包括不同波光段的光源工作模式,手掌检测设备通过图像采集装置分别获取待检测手掌的不同图像,对该不同图像进行分析,即可得出待检测手掌是否是活体手掌,从而简易且高效地实现了活体手掌的判别。In summary, on the palm detecting device, the image acquiring unit 901 acquires the first image of the palm to be detected by the image capturing device in the first light source working mode; the image acquiring unit 901 passes the image in the second light source working mode. The acquiring device acquires a second image of the palm to be detected; then, the determining unit 903 determines whether the palm to be detected is a living palm according to the first image and the second image. The light source used in the first light source working mode and the light source used in the second light source working mode include different light bands, and the light source of the living body palm is respectively irradiated in the working mode of the first light source and the light source in the working mode of the second light source due to different wave sections. Next, the palm detecting device acquires different image information of the living palm. In this way, by alternately using the light source working modes including different wave segments, the palm detecting device respectively acquires different images of the palm to be detected through the image capturing device, and analyzes the different images to obtain whether the palm to be detected is a living palm, thereby The discrimination of the living palm is realized easily and efficiently.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者 也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, may be located in one place, or It can also be distributed to multiple network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the embodiments are modified, or the equivalents of the technical features are replaced by the equivalents of the technical solutions of the embodiments of the present invention.

Claims (13)

  1. 一种手掌检测方法,其特征在于,所述方法应用于手掌检测设备,所述方法包括:A palm detecting method, characterized in that the method is applied to a palm detecting device, and the method comprises:
    在第一光源工作模式时,通过图像采集装置获取待检测手掌的第一图像;In the first light source working mode, acquiring a first image of the palm to be detected by the image capturing device;
    在第二光源工作模式时,通过所述图像采集装置获取所述待检测手掌的第二图像;Acquiring, by the image acquisition device, the second image of the palm to be detected;
    根据所述第一图像和所述第二图像,判断所述待检测手掌是否为活体手掌;Determining, according to the first image and the second image, whether the palm to be detected is a living palm;
    其中,所述第一光源工作模式使用的光源和所述第二光源工作模式使用的光源包括不同的光波段。Wherein, the light source used by the first light source working mode and the light source used by the second light source working mode comprise different optical bands.
  2. 根据权利要求1所述的方法,其特征在于,The method of claim 1 wherein
    活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,所述手掌检测设备通过所述图像采集装置获取到所述活体手掌不同的手掌特征信息,非活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,所述手掌检测设备通过所述图像采集装置获取到非活体手掌相同的手掌特征信息。The living palms are respectively illuminated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device acquires different palm feature information of the living body palm through the image collecting device, and the non-living palms are respectively When the light source of the first light source working mode and the light source of the second light source operating mode are illuminated, the palm detecting device acquires the same palm feature information of the non-living palm through the image capturing device.
  3. 根据权利要求1所述的方法,其特征在于,The method of claim 1 wherein
    所述第一光源工作模式为使用第一光源照射且不使用第二光源,所述第二光源工作模式为使用所述第二光源照射且不使用所述第一光源,其中,所述第一光源发出的光波段和所述第二光源发出的光波段不同,The first light source operates in a mode of illuminating with a first light source and does not use a second light source, the second light source operating mode is illuminating with the second light source and not using the first light source, wherein the first light source The light band emitted by the light source is different from the light band emitted by the second light source,
    所述根据所述第一图像和所述第二图像,判断所述待检测手掌是否为活体手掌,包括:Determining, according to the first image and the second image, whether the palm to be detected is a living palm, comprising:
    当所述第一图像包括第一特征信息而不包括第二特征信息,且所述第二图像包括所述第二特征信息而不包括所述第一特征信息时,确定所述待检测手掌为活体手掌;Determining that the palm to be detected is determined when the first image includes first feature information and does not include second feature information, and the second image includes the second feature information without including the first feature information Living palm;
    其中,在使用所述第一光源照射且不使用所述第二光源时,所述手掌检测设备通过所述图像采集装置能获取到活体手掌的第一特征信息,而获取不到活体手掌的第二特征信息,Wherein, when the first light source is used and the second light source is not used, the palm detecting device can acquire the first feature information of the living body palm through the image capturing device, and cannot obtain the first hand of the living body palm. Two characteristic information,
    在使用所述第二光源照射且不使用所述第一光源时,所述手掌检测设备通 过所述图像采集装置能获取到活体手掌的所述第二特征信息,而获取不到活体手掌的所述第一特征信息,所述第一特征信息和所述第二特征信息为不同的手掌特征信息。When the second light source is used and the first light source is not used, the palm detecting device passes The first feature information of the living palm is obtained by the image capturing device, and the first feature information and the second feature information are different palms. Feature information.
  4. 根据权利要求1所述的方法,其特征在于,The method of claim 1 wherein
    所述第一光源工作模式为使用第一光源照射且不使用第二光源,所述第二光源工作模式为同时使用所述第一光源和所述第二光源照射,其中,所述第一光源发出的光波段和所述第二光源发出的光波段不同,The first light source operates in a mode of using a first light source and does not use a second light source, and the second light source operates in a manner of simultaneously using the first light source and the second light source, wherein the first light source The emitted light band is different from the light band emitted by the second light source,
    所述根据所述第一图像和所述第二图像,判断所述待检测手掌是否为活体手掌,包括:Determining, according to the first image and the second image, whether the palm to be detected is a living palm, comprising:
    当所述第一图像包括第一特征信息而不包括第二特征信息,且所述第二图像包括所述第二特征信息和所述第一特征信息时,确定所述待检测手掌为活体手掌,When the first image includes the first feature information and does not include the second feature information, and the second image includes the second feature information and the first feature information, determining that the palm to be detected is a living palm ,
    其中,在使用所述第一光源照射且不使用所述第二光源时,所述手掌检测设备通过所述图像采集装置能获取到活体手掌的第一特征信息,而获取不到活体手掌的第二特征信息;Wherein, when the first light source is used and the second light source is not used, the palm detecting device can acquire the first feature information of the living body palm through the image capturing device, and cannot obtain the first hand of the living body palm. Two characteristic information;
    在同时使用所述第一光源和所述第二光源照射时,所述手掌检测设备通过所述图像采集装置能获取到活体手掌的所述第一特征信息和所述第二特征信息,所述第一特征信息和所述第二特征信息为不同的手掌特征信息。When the first light source and the second light source are simultaneously illuminated, the palm detecting device can acquire the first feature information and the second feature information of the living body palm through the image capturing device, The first feature information and the second feature information are different palm feature information.
  5. 根据权利要求1所述的方法,其特征在于,The method of claim 1 wherein
    所述根据所述第一图像和所述第二图像,判断所述待检测手掌是否为活体手掌,包括:Determining, according to the first image and the second image, whether the palm to be detected is a living palm, comprising:
    对比所述第一图像和所述第二图像,得到匹配度,所述匹配度用于表示所述第一图像和所述第二图像的相似程度;Comparing the first image and the second image to obtain a matching degree, wherein the matching degree is used to indicate a degree of similarity between the first image and the second image;
    判断所述匹配度是否小于预设阀值;Determining whether the matching degree is less than a preset threshold;
    若所述匹配度小于预设阀值,则确定所述待检测手掌为活体手掌。If the matching degree is less than the preset threshold, it is determined that the palm to be detected is a living palm.
  6. 根据权利要求5所述的方法,其特征在于,The method of claim 5 wherein:
    光源工作模式包括使用第一光源照射且不使用第二光源、使用所述第二光源照射且不使用所述第一光源、同时使用所述第一光源和所述第二光源照射,所述第一光源工作模式和所述第二光源工作模式属于所述光源工作模式的其 中之一,所述第一光源工作模式与所述第二光源工作模式不同。The light source operating mode includes illuminating with the first light source and not using the second light source, illuminating with the second light source, and not using the first light source, while using the first light source and the second light source to illuminate, the first a light source operating mode and the second light source operating mode belonging to the light source operating mode In one of the first light source operating modes, the second light source operating mode is different.
  7. 根据权利要求3或4或6所述的方法,其特征在于,所述光源包括发出蓝光波段的光源和发出近红外光波段的光源,所述第一光源和所述第二光源属于所述光源的其中之一,The method according to claim 3 or 4 or 6, wherein said light source comprises a light source emitting a blue light band and a light source emitting a near-infrared light band, said first light source and said second light source belonging to said light source One of them,
    其中,活体手掌在所述蓝光波段的光源的照射下,所述手掌检测设备通过所述图像采集装置获取到的活体手掌的图像包括掌纹信息而不包括掌静脉信息;Wherein, the image of the living body palm acquired by the palm detecting device through the image capturing device includes palm print information and does not include palm vein information under illumination of the light source of the blue light band;
    活体手掌在所述近红外光波段的光源的照射下,所述手掌检测设备通过所述图像采集装置获取到的活体手掌的图像包括掌静脉信息而不包括掌纹信息;The image of the living body palm acquired by the palm detecting device through the image capturing device includes palm vein information without including palm print information under illumination of the light source of the living body in the near-infrared light band;
    活体手掌在所述蓝光波段的光源和所述近红外光波段的光源的同时照射下,所述手掌检测设备通过所述图像采集装置获取到的活体手掌的图像包括掌静脉信息和掌纹信息;The image of the living body palm acquired by the palm detecting device through the image capturing device includes palm vein information and palm print information, while the living palm is illuminated by the light source of the blue light band and the light source of the near-infrared light band;
    所述掌纹信息和所述掌静脉信息属于不同的手掌特征信息。The palm print information and the palm vein information belong to different palm feature information.
  8. 根据权利要求1至6任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 6, wherein the method further comprises:
    判断所述待检测手掌相对于所述手掌检测设备的位置是否在图像获取区域;Determining whether the position of the palm to be detected relative to the palm detecting device is in an image acquiring area;
    若所述待检测手掌相对于所述手掌检测设备的位置在所述图像获取区域,则执行所述在第一光源工作模式下,通过图像采集装置获取待检测手掌的第一图像,和所述在第二光源工作模式下,通过图像采集装置获取所述待检测手掌的第二图像的步骤;If the position of the palm to be detected relative to the palm detecting device is in the image acquiring area, performing the first image in the first light source working mode, acquiring a first image of the palm to be detected by the image capturing device, and the In the second light source working mode, the step of acquiring the second image of the palm to be detected by the image capturing device;
    若所述待检测手掌相对于所述手掌检测设备的位置不在所述图像获取区域,则发出提示信息。If the position of the palm to be detected relative to the palm detecting device is not in the image capturing area, prompt information is issued.
  9. 根据权利要求1至6任一项所述的方法,其特征在于,A method according to any one of claims 1 to 6, wherein
    所述图像采集装置包括滤光片,所述滤光片能透过所述第一光源的光波段和所述第二光源的光波段。The image capture device includes a filter that is permeable to an optical band of the first source and an optical band of the second source.
  10. 一种手掌检测设备,其特征在于,所述手掌检测设备包括图像采集装置,所述手掌检测设备包括:A palm detecting device, characterized in that the palm detecting device comprises an image capturing device, and the palm detecting device comprises:
    图像获取单元,用于在第一光源工作模式时,通过图像采集装置获取待检 测手掌的第一图像;An image acquisition unit, configured to acquire a to-be-checked by an image acquisition device when the first light source operates in a mode Measuring the first image of the palm;
    图像获取单元,还用于在第二光源工作模式时,通过所述图像采集装置获取所述待检测手掌的第二图像;The image acquisition unit is further configured to acquire, by the image acquisition device, the second image of the palm to be detected when the second light source operates in a mode;
    判断单元,用于根据所述第一图像和所述第二图像,判断所述待检测手掌是否为活体手掌;a determining unit, configured to determine, according to the first image and the second image, whether the palm to be detected is a living palm;
    其中,所述第一光源工作模式使用的光源和所述第二光源工作模式使用的光源包括不同的光波段。Wherein, the light source used by the first light source working mode and the light source used by the second light source working mode comprise different optical bands.
  11. 根据权利要求10所述的设备,其特征在于,The device according to claim 10, characterized in that
    活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,所述手掌检测设备通过所述图像采集装置获取到活体手掌不同的手掌特征信息,非活体手掌分别在第一光源工作模式的光源和第二光源工作模式的光源照射下,所述手掌检测设备通过所述图像采集装置获取到非活体手掌相同的手掌特征信息。The living palms are respectively illuminated by the light source of the first light source working mode and the light source of the second light source working mode, and the palm detecting device acquires different palm feature information of the living body palm through the image collecting device, and the non-living palms are respectively at the first When the light source of the light source working mode and the light source of the second light source operating mode are illuminated, the palm detecting device acquires the same palm feature information of the non-living palm through the image capturing device.
  12. 根据权利要求11所述的设备,其特征在于,The device according to claim 11 wherein:
    所述第一光源工作模式为使用第一光源照射且不使用第二光源,所述第二光源工作模式为使用所述第二光源照射且不使用所述第一光源,其中,所述第一光源发出的光波段和所述第二光源发出的光波段不同,The first light source operates in a mode of illuminating with a first light source and does not use a second light source, the second light source operating mode is illuminating with the second light source and not using the first light source, wherein the first light source The light band emitted by the light source is different from the light band emitted by the second light source,
    所述判断单元,还用于当所述第一图像包括第一特征信息而不包括第二特征信息,且所述第二图像包括所述第二特征信息而不包括所述第一特征信息时,确定所述待检测手掌为活体手掌;The determining unit is further configured to: when the first image includes first feature information and does not include second feature information, and the second image includes the second feature information without including the first feature information Determining that the palm to be detected is a living palm;
    其中,在使用所述第一光源照射且不使用所述第二光源时,所述手掌检测设备通过所述图像采集装置能获取到活体手掌的第一特征信息,而获取不到活体手掌的第二特征信息,Wherein, when the first light source is used and the second light source is not used, the palm detecting device can acquire the first feature information of the living body palm through the image capturing device, and cannot obtain the first hand of the living body palm. Two characteristic information,
    在使用所述第二光源照射且不使用所述第一光源时,所述手掌检测设备通过所述图像采集装置能获取到活体手掌的所述第二特征信息,而获取不到活体手掌的所述第一特征信息,所述第一特征信息和所述第二特征信息为不同的手掌特征信息。When the second light source is used and the first light source is not used, the palm detecting device can acquire the second feature information of the living body palm through the image capturing device, and cannot obtain the living body palm. The first feature information, the first feature information and the second feature information are different palm feature information.
  13. 根据权利要求10所述的设备,其特征在于,The device according to claim 10, characterized in that
    所述判断单元,包括: The determining unit includes:
    对比模块,用于对比所述第一图像和所述第二图像,得到匹配度,所述匹配度用于表示所述第一图像和所述第二图像的相似程度;a comparison module, configured to compare the first image and the second image to obtain a matching degree, where the matching degree is used to indicate a degree of similarity between the first image and the second image;
    判断模块,用于判断所述匹配度是否小于预设阀值;a determining module, configured to determine whether the matching degree is less than a preset threshold;
    确定模块,用于若所述匹配度小于预设阀值,则确定所述待检测手掌为活体手掌,否则确定所述待检测手掌为非活体手掌。 The determining module is configured to determine that the palm to be detected is a living palm if the matching degree is less than a preset threshold, and otherwise determine that the palm to be detected is a non-living palm.
PCT/CN2016/102443 2016-10-18 2016-10-18 Palm detection method and device WO2018072099A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201680001141.2A CN106663201A (en) 2016-10-18 2016-10-18 A palm detection method and apparatus
PCT/CN2016/102443 WO2018072099A1 (en) 2016-10-18 2016-10-18 Palm detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/102443 WO2018072099A1 (en) 2016-10-18 2016-10-18 Palm detection method and device

Publications (1)

Publication Number Publication Date
WO2018072099A1 true WO2018072099A1 (en) 2018-04-26

Family

ID=58837970

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/102443 WO2018072099A1 (en) 2016-10-18 2016-10-18 Palm detection method and device

Country Status (2)

Country Link
CN (1) CN106663201A (en)
WO (1) WO2018072099A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111814535A (en) * 2020-05-20 2020-10-23 平安科技(深圳)有限公司 Palm print image identification method, palm print image identification device, palm print image identification equipment and computer readable storage medium
CN112716454A (en) * 2020-12-28 2021-04-30 中科彭州智慧产业创新中心有限公司 Hand information acquisition device and analysis method
CN117789261A (en) * 2024-01-18 2024-03-29 斯佰特仪(北京)科技有限公司 Human palm characteristic image acquisition device

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107292290B (en) 2017-07-17 2021-02-19 Oppo广东移动通信有限公司 Face living body identification method and related product
CN109271916B (en) * 2018-09-10 2020-09-18 Oppo广东移动通信有限公司 Electronic device, control method thereof, control device, and computer-readable storage medium
CN109543541B (en) * 2018-10-23 2024-03-08 合肥的卢深视科技有限公司 Living body detection method and device
CN109377628A (en) * 2018-12-17 2019-02-22 深圳市恩钛控股有限公司 A kind of intelligent access control system and method
CN111063078A (en) * 2019-11-20 2020-04-24 杭州遁甲科技有限公司 Entrance guard control method and device based on living body recognition and safety door
CN111582228A (en) * 2020-05-20 2020-08-25 深圳前海微众银行股份有限公司 Method, device and equipment for identifying living body palm print and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101120879A (en) * 2006-08-08 2008-02-13 株式会社日立媒介电子 Biometric identification apparatus
CN101196987A (en) * 2007-12-25 2008-06-11 哈尔滨工业大学 On-line palm print, palm vein image personal identification method and its special capturing instrument
CN102542281A (en) * 2010-12-27 2012-07-04 北京北科慧识科技股份有限公司 Non-contact biometric feature identification method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008287428A (en) * 2007-05-16 2008-11-27 Sony Corp Vein pattern management system, vein pattern registering device, vein pattern authentication device, vein pattern registering method, vein pattern authentication method, program, and vein data structure
WO2017000116A1 (en) * 2015-06-29 2017-01-05 北京旷视科技有限公司 Living body detection method, living body detection system, and computer program product

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101120879A (en) * 2006-08-08 2008-02-13 株式会社日立媒介电子 Biometric identification apparatus
CN101196987A (en) * 2007-12-25 2008-06-11 哈尔滨工业大学 On-line palm print, palm vein image personal identification method and its special capturing instrument
CN102542281A (en) * 2010-12-27 2012-07-04 北京北科慧识科技股份有限公司 Non-contact biometric feature identification method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111814535A (en) * 2020-05-20 2020-10-23 平安科技(深圳)有限公司 Palm print image identification method, palm print image identification device, palm print image identification equipment and computer readable storage medium
CN111814535B (en) * 2020-05-20 2024-05-07 平安科技(深圳)有限公司 Palm print image recognition method, device, equipment and computer readable storage medium
CN112716454A (en) * 2020-12-28 2021-04-30 中科彭州智慧产业创新中心有限公司 Hand information acquisition device and analysis method
CN117789261A (en) * 2024-01-18 2024-03-29 斯佰特仪(北京)科技有限公司 Human palm characteristic image acquisition device

Also Published As

Publication number Publication date
CN106663201A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
WO2018072099A1 (en) Palm detection method and device
US8768015B2 (en) Determination device, fingerprint input device, determination method, and determination program
KR101872753B1 (en) Fingerprint recognition method and fingerprint recognition apparatus
US8983151B2 (en) Apparatus for recognizing face based on environment adaptation
CN104392227B (en) Living body finger print determination methods and system
CN107111704B (en) System and method for detecting spoofing in iris based on biological recognition system
US8942439B2 (en) Fingerprint authentication system, fingerprint authentication method, and fingerprint authentication program
JPWO2011058836A1 (en) Fake finger determination device, fake finger determination method, and fake finger determination program
KR20120059647A (en) Device for acquiring fingerprints on the fly
KR20130054767A (en) Multiple biometrics apparatus and method thereof
US20190114469A1 (en) Apparatus and method
WO2017179751A1 (en) Forged fingerprint identification apparatus using optical wavelength characteristics and method therefor
JP2021044017A (en) Living body imaging device, living body imaging method, and program
CN108388858B (en) Iris anti-fake method and device
WO2016023582A1 (en) A method of detecting a falsified presentation to a vascular recognition system
US8666127B1 (en) Method and apparatus for fake fingerprint detection
KR100565959B1 (en) Method for Detecting Counterfeit Iris using Visible Light
CN108427944A (en) A kind of fingerprint recognition system and recognition methods
JPH0387981A (en) Fingerprint image input device
JP6801435B2 (en) Biometric device, biometric system, biometric program, and biometric method
JP4694352B2 (en) Fingerprint verification device
EP3312767B1 (en) Image capturing apparatus and biometric authentication apparatus
WO2014003030A1 (en) Device employed in veracity determination system
WO2013137078A1 (en) Individual authentication method and individual authentication device
JP3270925B2 (en) Living finger identification method

Legal Events

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

Ref document number: 16919332

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16919332

Country of ref document: EP

Kind code of ref document: A1