WO2017067269A1 - 一种指纹的识别方法、装置以及移动终端 - Google Patents

一种指纹的识别方法、装置以及移动终端 Download PDF

Info

Publication number
WO2017067269A1
WO2017067269A1 PCT/CN2016/092417 CN2016092417W WO2017067269A1 WO 2017067269 A1 WO2017067269 A1 WO 2017067269A1 CN 2016092417 W CN2016092417 W CN 2016092417W WO 2017067269 A1 WO2017067269 A1 WO 2017067269A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
preset
area
acquired image
valid
Prior art date
Application number
PCT/CN2016/092417
Other languages
English (en)
French (fr)
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 广东欧珀移动通信有限公司
Publication of WO2017067269A1 publication Critical patent/WO2017067269A1/zh

Links

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/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1335Combining adjacent partial images (e.g. slices) to create a composite input or reference pattern; Tracking a sweeping finger movement

Definitions

  • the embodiments of the present invention relate to the field of fingerprint intelligent identification technologies, and in particular, to a fingerprint identification method and device, and a mobile terminal.
  • the fingerprint Since the fingerprint has lifetime immutability, uniqueness and convenience, it has been widely used for identification, in particular, it is used in a mobile terminal as a password (for example, a power-on password of a mobile terminal and a payment password of Taobao) to ensure User privacy and even property security.
  • a password for example, a power-on password of a mobile terminal and a payment password of Taobao
  • the fingerprint sensor detects the fingerprint of the user, obtains the fingerprint image, and then matches the fingerprint image with the template image. If the matching is successful, the identification is successful. That is: the password is correct; if the match is unsuccessful, the recognition fails, ie the password is incorrect.
  • the fingerprint sensor Since the fingerprint sensor is more sensitive, when the finger has not been stably attached to the fingerprint sensor, or the fingerprint sensor is close to other skin parts of the user or even the mobile terminal is placed in the pocket, the fingerprint sensor may even be a finger or other skin part of the user.
  • the pocket is detected to obtain an image, and the matching action is triggered whenever the fingerprint sensor gets an image.
  • the embodiment of the invention provides a fingerprint identification method, a device and a mobile terminal, so as to solve the problem that the existing fingerprint identification scheme brings inconvenience to the user and wastes the mobile terminal resource.
  • an embodiment of the present invention provides a fingerprint identification method, including:
  • Whether the acquired image is a valid image is determined according to the number of pixels in each preset area, and if so, the acquired image is compared with the template image.
  • the embodiment of the present invention further provides a fingerprint identification device, including:
  • An image acquisition module configured to acquire an image by using a fingerprint sensor
  • a preset area dividing module configured to divide the acquired image into at least two preset areas
  • a pixel number calculation module for calculating the number of pixel points in each preset area
  • the determining module is configured to determine, according to the number of pixels in each preset area, whether the acquired image is a valid image, and if yes, compare the acquired image with the template image.
  • the embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes a fingerprint sensor and a fingerprint identification device, and the fingerprint sensor is connected to the fingerprint identification device, and the fingerprint identification device includes:
  • An image acquisition module configured to acquire an image by using the fingerprint sensor
  • a preset area dividing module configured to divide the acquired image into at least two preset areas
  • a pixel number calculation module for calculating the number of pixel points in each preset area
  • the determining module is configured to determine, according to the number of pixels in each preset area, whether the acquired image is a valid image, and if yes, compare the acquired image with the template image.
  • the method and device for identifying a fingerprint and the mobile terminal provided by the embodiment of the present invention divide the image acquired by the fingerprint sensor into at least two preset regions, and calculate the number of pixels in each preset region, and according to each The number of pixels in the preset area determines whether the acquired image is a valid image, and if so, compares the acquired image with the template image. After the image sensor acquires the image, the acquired image is not directly compared with the template image, but the acquired image is first determined to be a valid image, and only when the acquired image is a valid image, the acquired image is obtained.
  • the image is compared with the template image, thereby avoiding the fingerprint recognition failure caused by the complete image of the fingerprint acquired by the fingerprint sensor, thereby causing inconvenience to the user; and avoiding the mobile terminal resource caused by the fingerprint sensor not acquiring the fingerprint image.
  • the wasteful problem can bring convenience to users and save resources.
  • FIG. 1 is a schematic flowchart of a fingerprint identification method according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic flowchart of a fingerprint identification method according to Embodiment 2 of the present invention.
  • FIG. 3 is a schematic flowchart of a fingerprint identification method according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic flowchart of a fingerprint identification method according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic structural diagram of a fingerprint identification apparatus according to Embodiment 5 of the present invention.
  • FIG. 1 is a schematic flowchart of a fingerprint identification method according to Embodiment 1 of the present invention.
  • the method may be implemented by a fingerprint identification device, where the device may be implemented by software and/or hardware, and may be integrated into a mobile terminal. As shown in Figure 1, the method includes:
  • Step 101 Acquire an image by using a fingerprint sensor.
  • the fingerprint sensor integrated in the mobile terminal is relatively sensitive, when the user places a partial area of the finger on the fingerprint sensor or places the mobile terminal in the pocket, the fingerprint sensor also detects the clothes of some fingers or pockets to obtain the acquisition. image. Therefore, the image acquired above is not only the entire image of the fingerprint, but also a partial image of the fingerprint, or even an image of the clothing texture.
  • the action of acquiring an image may be triggered after the fingerprint sensor is pressed. Such a triggering manner can reduce the probability that the fingerprint sensor erroneously acquires an image (ie, acquires an image when the image is not required to be acquired), thereby reducing waste of mobile terminal resources.
  • Step 102 Divide the acquired image into at least two preset areas.
  • the entire area of the image acquired above is divided into at least two preset areas.
  • the number of preset areas may be set according to actual needs; the area of each preset area may be the same or different.
  • Step 103 Calculate the number of pixel points in each preset area.
  • the number of pixels of the acquired image in each of the preset regions obtained above is calculated.
  • Step 104 Determine whether the acquired image is a valid image according to the number of pixel points in each preset area, and if yes, compare the acquired image with the template image.
  • the image acquired by the fingerprint sensor is determined to be a valid image according to the number of pixels in each preset area obtained above, and the acquired image is compared with the template image only when the acquired image is a valid image.
  • the fingerprint sensor determines whether the fingerprint sensor obtains a complete image of the fingerprint or an image of the fingerprint compares the image with the template image.
  • the fingerprint sensor recognizes an incomplete image of the fingerprint, the user needs to remove the finger from the fingerprint sensor and then put it down to re-recognize the fingerprint image, which brings inconvenience to the user; when the fingerprint sensor does not recognize the image of the fingerprint, The resources of the mobile terminal will be wasted.
  • the acquired image is not directly compared with the template image, but the acquired image is divided into at least two preset regions, and each preset region is calculated.
  • FIG. 2 is a schematic flowchart diagram of a fingerprint identification method according to Embodiment 2 of the present invention.
  • the second embodiment is optimized based on the first embodiment.
  • determining whether the acquired image is a valid image according to the number of pixel points in each preset area in step 104 is: according to whether the number of pixel points in each preset area is greater than or The first preset value corresponding to the preset area is used to determine whether the acquired image is a valid image.
  • the method includes:
  • Step 201 Acquire an image by using a fingerprint sensor.
  • Step 202 Divide the acquired image into at least two preset areas.
  • Step 203 Calculate the number of pixel points in each preset area.
  • Step 204 Determine whether the number of pixels in each preset area is greater than or equal to a first preset value corresponding to the preset area. If yes, the acquired image is a valid image, and the acquired image is performed with the template image. Compared.
  • the acquired image is a valid image, and the obtained valid image is compared with the template image.
  • the first preset values corresponding to each preset area may be the same or different. Since the fingerprints of each area of the finger are different, the first preset value corresponding to each preset area is preferably different, and the first preset value corresponding to each preset area may be placed according to the user's finger.
  • the habit of the position on the fingerprint sensor (the position of the fingerprint image on the fingerprint sensor can be obtained by the position where the user's finger is placed on the fingerprint sensor, so that the pixels in each area when the finger is correctly placed on the fingerprint sensor can be obtained
  • the number can be set according to the number of pixels in each area when the finger is correctly placed on the fingerprint sensor, and the first preset value corresponding to each preset area is obtained.
  • each preset area corresponds to the first
  • the relationship between a preset value is preferably: the first preset value corresponding to each preset area of one week of the edge of the acquired image is smaller than the first preset corresponding to each preset area except the preset area of the edge one week Set the value.
  • the acquired image is a valid image. Compare the acquired image with the template image. It is ensured that the pixels in each preset area of the acquired image reach a certain number, thereby better ensuring that the acquired image is a valid image.
  • FIG. 3 is a schematic flowchart of a fingerprint identification method according to Embodiment 3 of the present invention.
  • the third embodiment is optimized based on the first embodiment.
  • determining whether the acquired image is a valid image according to the number of pixel points in each preset area in step 104 is: determining whether the acquired image is a valid image according to the number of effective areas.
  • the method includes:
  • Step 301 Acquire an image by using a fingerprint sensor.
  • Step 302 Divide the acquired image into at least two preset areas.
  • Step 303 Calculate the number of pixel points in each preset area.
  • Step 304 Calculate the number of effective areas, where the effective area is a preset area where the number of the pixel points is greater than or equal to the second preset value corresponding to the preset area.
  • the second preset value corresponding to each preset area may be the same or different. Similar to the second embodiment, the second preset value corresponding to each preset area is preferably different; the relationship of the second preset value corresponding to each preset area is preferably: each pre-image of the acquired image edge The second preset value corresponding to the area is smaller than the second preset value corresponding to each of the remaining preset areas except the preset area of the edge.
  • Step 305 Determine whether the number of valid regions is greater than or equal to a third preset value. If yes, the acquired image is a valid image, and the acquired image is compared with the template image.
  • the number of effective areas is compared with a third preset value. If the number of valid areas is greater than or equal to the third preset value, the acquired image is a valid image, and the acquired image is compared with the template image.
  • the acquired image is a valid image, and the acquired image and the template image are performed. Compared. It is ensured that a certain number of preset pixels in the acquired image reach a certain number of pixels, thereby better ensuring that the acquired image is a valid image.
  • FIG. 4 is a schematic flow chart of a fingerprint identification method according to Embodiment 4 of the present invention.
  • the fourth embodiment is optimized based on the first embodiment.
  • it is optimized to determine whether the acquired image is a valid image according to the number of pixel points in each preset area in step 104: if the determination is no, the image is reacquired by using the fingerprint sensor.
  • the method includes:
  • Step 401 Acquire an image by using a fingerprint sensor.
  • Step 402 Divide the acquired image into at least two preset areas.
  • Step 403 Calculate the number of pixel points in each preset area.
  • Step 404 Determine whether the acquired image is a valid image according to the number of pixels in each preset area. If yes, perform step 405, compare the acquired image with the template image; if not, perform step 406. retrieve the image using the fingerprint sensor.
  • the acquired image is not a valid image
  • the image is re-acquired by the fingerprint sensor.
  • the user does not place the entire area of the finger on the fingerprint sensor due to an erroneous operation, the user does not have to Re-acquisition of the image can be achieved by lifting the finger up and placing it on the fingerprint sensor.
  • FIG. 5 is a schematic structural diagram of a fingerprint identification apparatus according to Embodiment 5 of the present invention.
  • the apparatus may be implemented by software and/or hardware, and is generally integrated in a mobile terminal, and can implement the fingerprint identification method to achieve convenience for the user. And save resources of mobile terminals.
  • the device includes: an image obtaining module 501, a preset area dividing module 502, a pixel number calculating module 503, and a determining module 504.
  • the image obtaining module 501 is configured to acquire an image by using a fingerprint sensor; the preset area dividing module 502 is configured to divide the acquired image into at least two preset areas; and the pixel number calculating module 503 is configured to calculate each pre- The number of pixels in the area is set; the determining module 504 is configured to determine whether the acquired image is a valid image according to the number of pixels in each preset area, and if yes, compare the acquired image with the template image.
  • the acquired image is not directly compared with the template image, but the acquired image is divided into at least two preset regions, and the pixel points in each preset region are calculated. Quantity, and judge whether the acquired image is a valid image according to the number of pixels in each preset area, and only when the acquired image is a valid image, the acquired image is compared with the template image, thereby avoiding the fingerprint.
  • the sensor fails to obtain fingerprint recognition caused by the complete image of the fingerprint, thereby causing inconvenience to the user; and avoiding the problem that the fingerprint sensor acquires the image of the mobile terminal that is not the image of the fingerprint, thereby facilitating the user. And save resources.
  • the determining module 504 may include: a first determining unit, configured to determine whether the number of pixel points in each preset area is greater than or equal to a first preset value corresponding to the preset area, and if yes, the acquired image For effective images.
  • the first preset values corresponding to each preset area are different.
  • the first preset value corresponding to each preset area of one week of the acquired image edge is smaller than the first preset value corresponding to each preset area remaining except the preset area of the edge one week.
  • the determining module 504 can include: an effective area quantity calculating unit and a second determining unit.
  • the effective area quantity calculation unit is configured to calculate the number of the effective areas, where the effective area is a preset area where the number of the pixel points is greater than or equal to the second preset value corresponding to the preset area; the second determining unit is configured to: It is determined whether the number of valid regions is greater than or equal to a third preset value, and if so, the acquired image is a valid image.
  • the second preset value corresponding to each preset area is different.
  • the determining module 504 is further configured to reacquire the image by using the fingerprint sensor if the determination is no.
  • the above device can perform the fingerprint identification method provided by the first embodiment to the fourth embodiment of the present invention, and has the corresponding functional modules and the beneficial effects of performing the above method.
  • the fingerprint identification method provided by Embodiments 1 to 4 of the present invention.
  • the embodiment of the present invention further provides a mobile terminal, which includes the fingerprint identification device provided by Embodiment 4 of the present invention, which can perform the fingerprint identification method provided by Embodiments 1 to 4 of the present invention.
  • the mobile terminal provided by the embodiment of the present invention does not directly compare the acquired image with the template image after acquiring the image by the fingerprint sensor, but divides the acquired image into at least two preset regions, and calculates each preset region. The number of pixels within, and whether the acquired image is a valid image according to the number of pixels in each preset area, and the acquired image is compared with the template image only when the acquired image is a valid image.
  • the fingerprint recognition failure caused by the complete image of the fingerprint acquired by the fingerprint sensor is avoided, thereby causing inconvenience to the user; and the problem that the fingerprint sensor acquires the image of the mobile terminal that is not the image of the fingerprint is avoided, thereby enabling the problem Bring convenience to users and save resources.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Image Input (AREA)
  • Collating Specific Patterns (AREA)
  • Telephone Function (AREA)

Abstract

一种指纹的识别方法,该方法包括:利用指纹传感器获取图像;将获取的图像分为至少两个预设区域;计算每个预设区域内的像素点的数量;根据每个预设区域内的像素点的数量判断所述获取的图像是否为有效图像,如果是,则将所述获取的图像与模板图像进行对比。本发明还提供了一种指纹的识别装置以及移动终端。

Description

一种指纹的识别方法、装置以及移动终端
本申请要求于2015年10月19日提交中国专利局、申请号为201510681116.0、发明名称为“一种指纹的识别方法、装置以及移动终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及指纹智能识别技术领域,尤其涉及一种指纹的识别方法、装置以及移动终端。
背景技术
由于指纹具有终身不变性、唯一性和方便性,已经被广泛应用于身份识别,特别地,被应用在移动终端中作为密码(例如移动终端的开机密码和淘宝的支付密码)来使用,以保证用户的隐私甚至是财产安全。在使用指纹作为密码时,用户需要将手指放置在移动终端配置的指纹传感器上,指纹传感器检测用户的指纹,得到指纹图像,再将指纹图像与模板图像进行匹配,如果匹配成功,则识别成功,即:密码正确;如果匹配不成功,则识别失败,即:密码错误。
由于指纹传感器比较灵敏,当手指还未稳定地贴合在指纹传感器上,或者指纹传感器贴近用户的其它皮肤部分甚至是移动终端放置在口袋中时,指纹传感器会对手指或者用户的其它皮肤部分甚至口袋进行检测,得到图像,只要指纹传感器得到图像就触发匹配的动作。
技术问题
本发明实施例提出一种指纹的识别方法、装置以及移动终端,以解决现有的指纹识别方案给用户带来不便且浪费移动终端资源的问题。
技术解决方案
第一方面,本发明实施例提供了一种指纹的识别方法,包括:
利用指纹传感器获取图像;
将获取的图像分为至少两个预设区域;
计算每个预设区域内的像素点的数量;
根据每个预设区域内的像素点的数量判断所述获取的图像是否为有效图像,如果是,则将所述获取的图像与模板图像进行对比。
第二方面,本发明实施例还提供了一种指纹的识别装置,包括:
图像获取模块,用于利用指纹传感器获取图像;
预设区域分割模块,用于将获取的图像分为至少两个预设区域;
像素点数量计算模块,用于计算每个预设区域内的像素点的数量;
判断模块,用于根据每个预设区域内的像素点的数量判断所述获取的图像是否为有效图像,如果是,则将所述获取的图像与模板图像进行对比。
第三方面,本发明实施例还提供了一种移动终端,所述移动终端包括指纹传感器和指纹的识别装置,所述指纹传感器与所述指纹的识别装置连接,所述指纹的识别装置包括:
图像获取模块,用于利用所述指纹传感器获取图像;
预设区域分割模块,用于将获取的图像分为至少两个预设区域;
像素点数量计算模块,用于计算每个预设区域内的像素点的数量;
判断模块,用于根据每个预设区域内的像素点的数量判断所述获取的图像是否为有效图像,如果是,则将所述获取的图像与模板图像进行对比。
有益效果
本发明实施例提供的指纹的识别方法、装置以及移动终端,将利用指纹传感器获取的图像分为至少两个预设区域后,计算每个预设区域内的像素点的数量,并根据每个预设区域内的像素点的数量判断获取的图像是否为有效图像,如果是,则将获取的图像与模板图像进行对比。经由上述方案,在指纹传感器获取图像之后,不直接将获取的图像与模板图像进行对比,而是先判断获取的图像是否为有效图像,只有当获取的图像为有效图像时,才会将获取的图像与模板图像进行对比,从而避免了指纹传感器获取的不是指纹的完整图像导致的指纹识别失败,从而给用户带来不便的问题;也避免了指纹传感器获取的不是指纹的图像导致的移动终端资源浪费的问题,进而能够给用户带来便利且节约资源。
附图说明
图1是本发明实施例一提供的指纹的识别方法的流程示意图;
图2是本发明实施例二提供的指纹的识别方法的流程示意图;
图3是本发明实施例三提供的指纹的识别方法的流程示意图;
图4是本发明实施例四提供的指纹的识别方法的流程示意图;
图5是本发明实施例五提供的指纹的识别装置的结构示意图。
本发明的最佳实施方式
下面结合附图并通过具体实施方式来进一步说明本发明的技术方案。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各项步骤的顺序可以被重新安排。当其步骤完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。
实施例一
图1是本发明实施例一提供的指纹的识别方法的流程示意图,该方法可以由指纹的识别装置执行,其中该装置可由软件和/或硬件实现,一般可集成在移动终端中。如图1所示,该方法包括:
步骤101、利用指纹传感器获取图像。
由于集成在移动终端中的指纹传感器比较灵敏,当用户将手指的部分区域放置在指纹传感器上或者将移动终端放置在口袋中时,指纹传感器也会对部分手指或者口袋的衣服进行检测,实现获取图像。因此,上述获取的图像不仅仅是指纹的全部图像,还可能是指纹的部分图像,甚至是衣服纹理的图像。
获取图像的动作可以是指纹传感器受到按压后触发的,此种触发方式能够减少指纹传感器误获取图像(即:在不需要获取图像的时候获取图像)的几率,从而能够减少移动终端资源的浪费。
步骤102、将获取的图像分为至少两个预设区域。
无论上述获取的图像是什么图像,都将上述获取的图像的整个区域分为至少两个预设区域。其中,预设区域的数量可以根据实际需要进行设置;每个预设区域的面积可以相同,也可以不相同。
步骤103、计算每个预设区域内的像素点的数量。
计算得到上述分得的每个预设区域内的获取的图像的像素点的数量。
步骤104、根据每个预设区域内的像素点的数量判断获取的图像是否为有效图像,如果是,则将获取的图像与模板图像进行对比。
根据上面得到的每个预设区域内的像素点的数量判断指纹传感器获取的图像是否为有效图像,只有当获取的图像是有效图像时,才会将获取的图像与模板图像进行对比。
现有技术中,无论指纹传感器得到的是否是指纹的完整图像或者指纹的图像都会将该图像与模板图像进行对比。当指纹传感器识别的是指纹的不完整图像时,用户需要将手指从指纹传感器中拿开再放下以重新识别指纹图像,这给用户带来了不便;当指纹传感器识别的不是指纹的图像时,会浪费移动终端的资源。
经由本发明实施例的方案,在指纹传感器获取图像之后,不直接将获取的图像与模板图像进行对比,而是将获取的图像分为至少两个预设区域后,计算每个预设区域内的像素点的数量,并根据每个预设区域内的像素点的数量判断获取的图像是否是有效图像,只有当获取的图像是有效图像时,才会将获取的图像与模板图像进行对比,从而避免了指纹传感器获取的不是指纹的完整图像导致的指纹识别失败,从而给用户带来不便的问题;也避免了指纹传感器获取的不是指纹的图像导致的移动终端资源浪费的问题,进而能够给用户带来便利且节约资源。
实施例二
图2是本发明实施例二提供的指纹的识别方法的流程示意图。本实施例二以上述实施例一为基础进行优化。在本实施例二中,将步骤104中的根据每个预设区域内的像素点的数量判断获取的图像是否为有效图像优化为:根据每个预设区域内的像素点的数量是否大于或等于预设区域对应的第一预设值来判断获取的图像是否为有效图像。如图2所示,该方法包括:
步骤201、利用指纹传感器获取图像。
步骤202、将获取的图像分为至少两个预设区域。
步骤203、计算每个预设区域内的像素点的数量。
步骤204、判断每个预设区域内的像素点的数量是否大于或等于预设区域对应的第一预设值,如果是,则获取的图像为有效图像,并将获取的图像与模板图像进行对比。
将上述计算得到的每个预设区域内的像素点的数量与该预设区域对应的第一预设值进行比较,如果每个预设区域内的像素点的数量均大于或等于预设区域对应的第一预设值,则获取的图像为有效图像,此时将获取的有效图像与模板图像进行对比。
每个预设区域对应的第一预设值可以相同,也可以不相同。由于手指的每个区域的指纹均不相同,因此,每个预设区域对应的第一预设值优选为不相同,每个预设区域对应的第一预设值可以根据用户将手指放置在指纹传感器上的位置的习惯(通过用户的手指放置在指纹传感器上的位置能够得到指纹图像在指纹传感器上的位置,从而能够得到手指正确放置在指纹传感器上时每个区域内的像素点的个数,进而能够根据手指正确放置在指纹传感器上时每个区域内的像素点的个数得到每个预设区域对应的第一预设值)进行设置。
由于用户将手指放置在指纹传感器上时,手指边缘的部分不能够与指纹传感器很好地接触,因此,指纹传感器获取的图像的边缘的指纹图像较少,因此,每个预设区域对应的第一预设值的关系优选为:获取的图像边缘一周的每个预设区域对应的第一预设值均小于除边缘一周的预设区域之外剩余的每个预设区域对应的第一预设值。
在实施例一的基础上,经由上述方案,只有每个预设区域内的像素点的数量均大于或等于预设区域对应的第一预设值时,获取的图像才是有效图像,才会将获取的图像与模板图像进行对比。保证了获取的图像的每个预设区域内的像素点均达到一定的数量,进而能够更好地保证获取的图像为有效图像。
实施例三
图3是本发明实施例三提供的指纹的识别方法的流程示意图。本实施例三以上述实施例一为基础进行优化。在本实施例三中,将步骤104中的根据每个预设区域内的像素点的数量判断获取的图像是否为有效图像优化为:根据有效区域的数量来判断获取的图像是否为有效图像。如图3所示,该方法包括:
步骤301、利用指纹传感器获取图像。
步骤302、将获取的图像分为至少两个预设区域。
步骤303、计算每个预设区域内的像素点的数量。
步骤304、计算有效区域的数量,有效区域为像素点的数量大于或等于所在的预设区域对应的第二预设值的预设区域。
根据上述得到的每个预设区域内的像素点的数量计算有效区域的数量,其中,有效区域中的像素点的数量大于或等于该区域对应的第二预设值。
其中,每个预设区域对应的第二预设值可以相同,也可以不相同。与实施例二相似地,每个预设区域对应的第二预设值优选为不相同;每个预设区域对应的第二预设值的关系优选为:获取的图像边缘一周的每个预设区域对应的第二预设值均小于除边缘一周的预设区域之外剩余的每个预设区域对应的第二预设值。
步骤305、判断有效区域的数量是否大于或等于第三预设值,如果是,则获取的图像为有效图像,并将获取的图像与模板图像进行对比。
将有效区域的数量与第三预设值进行比较,如果有效区域的数量大于或等于第三预设值,则获取的图像为有效图像,并将获取的图像与模板图像进行对比。
在实施例一的基础上,经由上述方案,只有获取的图像中的有效区域的数量大于或等于第三预设值时,获取的图像才是有效图像,才会将获取的图像与模板图像进行对比。保证了获取的图像的一定数量的预设区域内的像素点均达到一定的数量,进而能够更好地保证获取的图像为有效图像。
实施例四
图4是本发明实施例四提供的指纹的识别方法的流程示意图。本实施例四以上述实施例一为基础进行优化。在本实施例四中,将步骤104中的根据每个预设区域内的像素点的数量判断获取的图像是否为有效图像之后优化为:如果判断为否,则利用指纹传感器重新获取图像。如图4所示,该方法包括:
步骤401、利用指纹传感器获取图像。
步骤402、将获取的图像分为至少两个预设区域。
步骤403、计算每个预设区域内的像素点的数量。
步骤404、根据每个预设区域内的像素点的数量判断获取的图像是否为有效图像,如果是,则执行步骤405、将获取的图像与模板图像进行对比;如果否,则执行步骤406、利用指纹传感器重新获取图像。
在实施例一的基础上,经由上述方案,在获取的图像不是有效图像时,利用指纹传感器对图像进行重新获取,在用户由于误操作未将手指的全部区域放置在指纹传感器上时,用户不必将手指抬起再放置在指纹传感器上即可实现图像的重新获取。
实施例五
图5是本发明实施例五提供的指纹的识别装置的结构示意图,该装置可由软件和/或硬件实现,一般集成在移动终端中,可通过执行指纹的识别方法来实现既给用户带来便利,又节约移动终端的资源。
如图5所示,该装置包括:图像获取模块501、预设区域分割模块502、像素点数量计算模块503和判断模块504。
其中,图像获取模块501,用于利用指纹传感器获取图像;预设区域分割模块502,用于将获取的图像分为至少两个预设区域;像素点数量计算模块503,用于计算每个预设区域内的像素点的数量;判断模块504,用于根据每个预设区域内的像素点的数量判断获取的图像是否为有效图像,如果是,则将获取的图像与模板图像进行对比。
经由上述方案,在指纹传感器获取图像之后,不直接将获取的图像与模板图像进行对比,而是将获取的图像分为至少两个预设区域后,计算每个预设区域内的像素点的数量,并根据每个预设区域内的像素点的数量判断获取的图像是否是有效图像,只有当获取的图像是有效图像时,才会将获取的图像与模板图像进行对比,从而避免了指纹传感器获取的不是指纹的完整图像导致的指纹识别失败,从而给用户带来不便的问题;也避免了指纹传感器获取的不是指纹的图像导致的移动终端资源浪费的问题,进而能够给用户带来便利且节约资源。
优选地,判断模块504可以包括:第一判断单元,用于判断每个预设区域内的像素点的数量是否大于或等于预设区域对应的第一预设值,如果是,则获取的图像为有效图像。
优选地,每个预设区域对应的第一预设值不相同。
优选地,获取的图像边缘一周的每个预设区域对应的第一预设值均小于除边缘一周的预设区域之外剩余的每个预设区域对应的第一预设值。
优选地,判断模块504可以包括:有效区域数量计算单元和第二判断单元。其中,有效区域数量计算单元,用于计算有效区域的数量,有效区域为像素点的数量大于或等于所在的预设区域对应的第二预设值的预设区域;第二判断单元,用于判断有效区域的数量是否大于或等于第三预设值,如果是,则获取的图像为有效图像。
优选地,每个预设区域对应的第二预设值不相同。
优选地,判断模块504还用于如果判断为否,则利用指纹传感器重新获取图像。
上述装置可执行本发明实施例一至实施例四所提供的指纹的识别方法,具备执行上述方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明实施例一至实施例四所提供的指纹的识别方法。
另外,本发明实施例还提供了一种移动终端,包括本发明实施例四所提供的指纹的识别装置,能够执行本发明实施例一至实施例四所提供的指纹的识别方法。本发明实施例提供的移动终端,在指纹传感器获取图像之后,不直接将获取的图像与模板图像进行对比,而是将获取的图像分为至少两个预设区域后,计算每个预设区域内的像素点的数量,并根据每个预设区域内的像素点的数量判断获取的图像是否是有效图像,只有当获取的图像是有效图像时,才会将获取的图像与模板图像进行对比,从而避免了指纹传感器获取的不是指纹的完整图像导致的指纹识别失败,从而给用户带来不便的问题;也避免了指纹传感器获取的不是指纹的图像导致的移动终端资源浪费的问题,进而能够给用户带来便利且节约资源。
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。

Claims (20)

  1. 一种指纹的识别方法,其中,包括:
    利用指纹传感器获取图像;
    将获取的图像分为至少两个预设区域;
    计算每个预设区域内的像素点的数量;
    根据每个预设区域内的像素点的数量判断所述获取的图像是否为有效图像,如果是,则将所述获取的图像与模板图像进行对比。
  2. 根据权利要求1所述的方法,其中,根据每个预设区域内的像素点的数量判断所述获取的图像是否为有效图像包括:
    判断所述每个预设区域内的像素点的数量是否大于或等于所述预设区域对应的第一预设值,如果是,则判断结果为所述获取的图像为有效图像。
  3. 根据权利要求2所述的方法,其中,每个所述预设区域对应的第一预设值不相同。
  4. 根据权利要求3所述的方法,其中,所述获取的图像边缘一周的每个预设区域对应的第一预设值均小于除所述边缘一周的预设区域之外剩余的每个预设区域对应的第一预设值。
  5. 根据权利要求1所述的方法,其中,根据每个预设区域内的像素点的数量判断所述获取的图像是否为有效图像包括:
    计算有效区域的数量,所述有效区域为像素点的数量大于或等于所在的预设区域对应的第二预设值的预设区域;
    判断所述有效区域的数量是否大于或等于第三预设值,如果是,则判断结果为所述获取的图像为有效图像。
  6. 根据权利要求5所述的方法,其中,每个所述预设区域对应的第二预设值不相同。
  7. 根据权利要求1所述的方法,其中,根据每个预设区域内的像素点的数量判断所述获取的图像是否为有效图像之后,所述方法还包括:
    如果判断结果为所述获取的图像不是有效图像,则利用所述指纹传感器重新获取图像。
  8. 一种指纹的识别装置,其中,包括:
    图像获取模块,用于利用指纹传感器获取图像;
    预设区域分割模块,用于将获取的图像分为至少两个预设区域;
    像素点数量计算模块,用于计算每个预设区域内的像素点的数量;
    判断模块,用于根据每个预设区域内的像素点的数量判断所述获取的图像是否为有效图像,如果是,则将所述获取的图像与模板图像进行对比。
  9. 根据权利要求8所述的装置,其中,所述判断模块包括:
    第一判断单元,用于判断所述每个预设区域内的像素点的数量是否大于或等于所述预设区域对应的第一预设值,如果是,则判断结果为所述获取的图像为有效图像。
  10. 根据权利要求9所述的装置,其中,每个所述预设区域对应的第一预设值不相同。
  11. 根据权利要求10所述的装置,其中,所述获取的图像边缘一周的每个预设区域对应的第一预设值均小于除所述边缘一周的预设区域之外剩余的每个预设区域对应的第一预设值。
  12. 根据权利要求8所述的装置,其中,所述判断模块包括:
    有效区域数量计算单元,用于计算有效区域的数量,所述有效区域为像素点的数量大于或等于所在的预设区域对应的第二预设值的预设区域;
    第二判断单元,用于判断所述有效区域的数量是否大于或等于第三预设值,如果是,则判断结果为所述获取的图像为有效图像。
  13. 根据权利要求12所述的装置,其中,每个所述预设区域对应的第二预设值不相同。
  14. 根据权利要求8所述的装置,其中,所述判断模块还用于如果判断结果为所述获取的图像不是有效图像,则利用所述指纹传感器重新获取图像。
  15. 一种移动终端,其中,所述移动终端包括指纹传感器和指纹的识别装置,所述指纹传感器与所述指纹的识别装置连接,所述指纹的识别装置包括:
    图像获取模块,用于利用所述指纹传感器获取图像;
    预设区域分割模块,用于将获取的图像分为至少两个预设区域;
    像素点数量计算模块,用于计算每个预设区域内的像素点的数量;
    判断模块,用于根据每个预设区域内的像素点的数量判断所述获取的图像是否为有效图像,如果是,则将所述获取的图像与模板图像进行对比。
  16. 根据权利要求15所述的移动终端,其中,所述判断模块包括:
    第一判断单元,用于判断所述每个预设区域内的像素点的数量是否大于或等于所述预设区域对应的第一预设值,如果是,则判断结果为所述获取的图像为有效图像。
  17. 根据权利要求16所述的移动终端,其中,每个所述预设区域对应的第一预设值不相同。
  18. 根据权利要求17所述的移动终端,其中,所述获取的图像边缘一周的每个预设区域对应的第一预设值均小于除所述边缘一周的预设区域之外剩余的每个预设区域对应的第一预设值。
  19. 根据权利要求15所述的移动终端,其中,所述判断模块包括:
    有效区域数量计算单元,用于计算有效区域的数量,所述有效区域为像素点的数量大于或等于所在的预设区域对应的第二预设值的预设区域;
    第二判断单元,用于判断所述有效区域的数量是否大于或等于第三预设值,如果是,则判断结果为所述获取的图像为有效图像。
  20. 根据权利要求15所述的移动终端,其中,所述判断模块还用于如果判断结果为所述获取的图像不是有效图像,则利用所述指纹传感器重新获取图像。
PCT/CN2016/092417 2015-10-19 2016-07-29 一种指纹的识别方法、装置以及移动终端 WO2017067269A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510681116.0A CN105243369B (zh) 2015-10-19 2015-10-19 一种指纹的识别方法、装置以及移动终端
CN201510681116.0 2015-10-19

Publications (1)

Publication Number Publication Date
WO2017067269A1 true WO2017067269A1 (zh) 2017-04-27

Family

ID=55041010

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/092417 WO2017067269A1 (zh) 2015-10-19 2016-07-29 一种指纹的识别方法、装置以及移动终端

Country Status (2)

Country Link
CN (1) CN105243369B (zh)
WO (1) WO2017067269A1 (zh)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105303175B (zh) * 2015-10-19 2017-10-20 广东欧珀移动通信有限公司 一种指纹的识别方法、装置以及移动终端
CN105243369B (zh) * 2015-10-19 2017-03-08 广东欧珀移动通信有限公司 一种指纹的识别方法、装置以及移动终端
CN105260722B (zh) * 2015-10-19 2017-02-15 广东欧珀移动通信有限公司 一种指纹的识别方法、装置以及移动终端
CN105809133A (zh) * 2016-03-08 2016-07-27 广东欧珀移动通信有限公司 指纹特征信息更新方法及装置
US20190087636A1 (en) * 2016-03-25 2019-03-21 Microsoft Technology Licensing, Llc Communication of fingerprint data
CN106127000B (zh) * 2016-06-17 2017-09-29 广东欧珀移动通信有限公司 一种指纹解锁方法及终端
CN106250876B (zh) * 2016-08-19 2019-10-22 深圳市金立通信设备有限公司 一种指纹识别方法及终端
WO2018170658A1 (zh) * 2017-03-20 2018-09-27 深圳市汇顶科技股份有限公司 指纹识别方法和装置
CN109583453B (zh) * 2017-09-29 2023-04-07 阿里巴巴集团控股有限公司 图像的识别方法和装置、数据的识别方法、终端
TWI709872B (zh) * 2018-01-04 2020-11-11 金佶科技股份有限公司 生物特徵影像處理方法及其電子裝置
CN110102904B (zh) * 2019-04-03 2021-11-19 大族激光科技产业集团股份有限公司 表壳字符的激光打标方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1741043A (zh) * 2005-08-15 2006-03-01 西安交通大学 基于二维条码的指纹信息隐藏及认证方法
WO2010069166A1 (zh) * 2008-12-19 2010-06-24 杭州中正生物认证技术有限公司 快速指纹搜索方法及快速指纹搜索系统
CN102054161A (zh) * 2009-11-02 2011-05-11 纬创资通股份有限公司 指纹图像检测方法
CN104077560A (zh) * 2014-01-13 2014-10-01 北京市公安局刑事侦查总队 指纹比对方法
CN105243369A (zh) * 2015-10-19 2016-01-13 广东欧珀移动通信有限公司 一种指纹的识别方法、装置以及移动终端

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6839845B2 (en) * 2001-02-06 2005-01-04 Startek Engineering Incorporated Control system for image input device, especially fingerprint image input device
CN104978572B (zh) * 2015-06-30 2018-10-23 魅族科技(中国)有限公司 一种指纹采集方法及终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1741043A (zh) * 2005-08-15 2006-03-01 西安交通大学 基于二维条码的指纹信息隐藏及认证方法
WO2010069166A1 (zh) * 2008-12-19 2010-06-24 杭州中正生物认证技术有限公司 快速指纹搜索方法及快速指纹搜索系统
CN102054161A (zh) * 2009-11-02 2011-05-11 纬创资通股份有限公司 指纹图像检测方法
CN104077560A (zh) * 2014-01-13 2014-10-01 北京市公安局刑事侦查总队 指纹比对方法
CN105243369A (zh) * 2015-10-19 2016-01-13 广东欧珀移动通信有限公司 一种指纹的识别方法、装置以及移动终端

Also Published As

Publication number Publication date
CN105243369B (zh) 2017-03-08
CN105243369A (zh) 2016-01-13

Similar Documents

Publication Publication Date Title
WO2017067269A1 (zh) 一种指纹的识别方法、装置以及移动终端
WO2017067264A1 (zh) 一种降低误识别率的方法、装置及智能移动终端
WO2015192482A1 (zh) 一种基于虹膜识别的移动终端身份认证处理方法及系统
WO2017067256A1 (zh) 一种待识别指纹图像的获取方法、装置及移动终端
WO2015106521A1 (zh) 一种基于移动终端的拼凑指纹处理方法及移动终端
WO2017016250A1 (zh) 具有触摸屏的电子设备及其锁定方法和解锁方法
WO2017067259A1 (zh) 一种指纹传感器的校准参数的获取方法、装置及移动终端
WO2015196569A1 (zh) 一种移动终端近距离自动解锁的方法及系统
WO2016000311A1 (zh) 移动终端的基于虹膜识别技术的用户模式控制方法及系统
WO2015180281A1 (zh) 移动终端的基于指纹识别用户权限的判别方法和判断系统
WO2016043373A1 (en) Systems and methods for device based authentication
WO2015119324A1 (en) Display device and method for controlling the same
WO2017148117A1 (zh) 一种安全刷机的方法及装置
WO2017067263A1 (zh) 一种指纹传感器校准方法、装置及智能移动终端
WO2017067290A1 (zh) 指纹录入方法、装置及终端设备
WO2016023347A1 (zh) 一种基于移动终端通过人脸识别进行登录的方法及系统
WO2014146431A1 (zh) 一种冰箱内食品存储位置记录方法、装置、终端及冰箱
WO2018035929A1 (zh) 一种验证码的处理方法及装置
WO2018205177A1 (zh) 指纹匹配方法、装置以及电子设备
WO2017005023A1 (zh) 智能手表手势输入方法及智能手表
WO2017181686A1 (zh) 一种移动终端视频通讯中画面角度自动修正方法及系统
WO2017107367A1 (zh) 用户标识处理的方法、终端和非易失性计算可读存储介质
WO2017067289A1 (zh) 一种指纹的识别方法、装置以及移动终端
WO2016123898A1 (zh) 一种短信管理方法及其移动终端
CN106371785A (zh) 一种显示模式的处理方法、系统及终端

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: 16856704

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: 16856704

Country of ref document: EP

Kind code of ref document: A1