[go: up one dir, main page]

HK1245951B - Face living body identification method and related product - Google Patents

Face living body identification method and related product

Info

Publication number
HK1245951B
HK1245951B HK18105267.5A HK18105267A HK1245951B HK 1245951 B HK1245951 B HK 1245951B HK 18105267 A HK18105267 A HK 18105267A HK 1245951 B HK1245951 B HK 1245951B
Authority
HK
Hong Kong
Prior art keywords
face image
proportion
eye region
light source
face
Prior art date
Application number
HK18105267.5A
Other languages
Chinese (zh)
Other versions
HK1245951A1 (en
Inventor
唐城
张学勇
周意保
周海涛
Original Assignee
Oppo广东移动通信有限公司
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to HK18105267.5A priority Critical patent/HK1245951B/en
Publication of HK1245951A1 publication Critical patent/HK1245951A1/en
Publication of HK1245951B publication Critical patent/HK1245951B/en

Links

Description

人脸活体识别方法及相关产品Face liveness recognition method and related products

技术领域Technical Field

本发明涉及移动终端技术领域,具体涉及一种人脸活体识别方法及相关产品。The present invention relates to the technical field of mobile terminals, and in particular to a live face recognition method and related products.

背景技术Background Art

随着手机、平板电脑等移动终端的普及,现代生活人们基本上已是人手一台手机。为了保证手机的安全性,目前的手机一般都采用指纹识别、人脸识别等生物识别技术。其中,人脸识别以其识别速度快等优点,已经广泛应用于手机解锁、移动支付等各个方面。With the widespread adoption of mobile devices like cell phones and tablets, almost every modern consumer now has a mobile phone. To ensure security, current mobile phones generally utilize biometric technologies such as fingerprint and facial recognition. Facial recognition, with its advantages such as fast recognition speed, has become widely used in various applications, including phone unlocking and mobile payments.

然而,人脸容易被伪造,安全性较低。例如,不法分子获取到手机主人照片后,可以利用手机主人脸照片进行人脸识别。可见,目前的人脸识别的安全性较低。However, faces are easily forged and therefore less secure. For example, if a criminal obtains a photo of a phone owner, they can use it to perform facial recognition. This shows that current facial recognition systems are relatively insecure.

发明内容Summary of the Invention

本发明实施例提供了一种人脸活体识别方法及相关产品,可以快速检测人脸是否为活体。The embodiments of the present invention provide a human face liveness recognition method and related products, which can quickly detect whether a human face is alive.

本发明实施例第一方面提供一种人脸活体识别方法,A first aspect of an embodiment of the present invention provides a method for live face recognition.

所述方法包括:The method comprises:

当接收到人脸采集指令时,通过前置摄像头在前置发光光源关闭时采集第一人脸图像;When a face collection instruction is received, a first face image is collected by the front camera when the front light source is turned off;

通过所述前置摄像头在所述前置发光光源开启时采集第二人脸图像;Capturing a second facial image by the front camera when the front light source is turned on;

判断所述第一人脸图像中的眼球区域占比与所述第二人脸图像中的眼球区域占比的差值的绝对值是否大于预设阈值;Determining whether an absolute value of a difference between a proportion of an eyeball area in the first facial image and a proportion of an eyeball area in the second facial image is greater than a preset threshold;

若是,确定采集到的人脸图像为活体人脸图像。If so, it is determined that the collected face image is a living face image.

本发明实施例第二方面提供一种移动终端,包括前置发光光源、前置摄像头以及应用处理器AP,其中:A second aspect of an embodiment of the present invention provides a mobile terminal, including a front light source, a front camera, and an application processor AP, wherein:

所述前置摄像头,用于接收到人脸采集指令时,在所述前置发光光源关闭时采集第一人脸图像;The front camera is configured to capture a first face image when the front light source is turned off upon receiving a face capture instruction;

所述前置摄像头,还用于在所述前置发光光源开启时采集第二人脸图像;The front camera is further configured to capture a second facial image when the front light source is turned on;

所述AP,用于判断所述第一人脸图像中的眼球区域占比与所述第二人脸图像中的眼球区域占比的差值的绝对值是否大于预设阈值;The AP is configured to determine whether an absolute value of a difference between a proportion of an eyeball area in the first facial image and a proportion of an eyeball area in the second facial image is greater than a preset threshold;

所述AP,还用于当所述第一人脸图像中的眼球区域占比与所述第二人脸图像中的眼球区域占比的差值的绝对值大于所述预设阈值时,确定采集到的人脸图像为活体人脸图像。The AP is further used to determine that the collected facial image is a living facial image when the absolute value of the difference between the eye area ratio in the first facial image and the eye area ratio in the second facial image is greater than the preset threshold.

本发明实施例第三方面提供一种移动终端,包括前置发光光源、前置摄像头、应用处理器AP以及存储器,所述存储器用于存储一个或多个程序,所述一个或多个程序被配置成由所述AP执行,所述程序包括用于执行以下步骤的指令:A third aspect of an embodiment of the present invention provides a mobile terminal, including a front light source, a front camera, an application processor (AP), and a memory, wherein the memory is used to store one or more programs, the one or more programs being configured to be executed by the AP, the programs including instructions for performing the following steps:

当接收到人脸采集指令时,通过所述前置摄像头在所述前置发光光源关闭时采集第一人脸图像;When a face collection instruction is received, collecting a first face image by the front camera when the front light source is turned off;

通过所述前置摄像头在所述前置发光光源开启时采集第二人脸图像;Capturing a second facial image by the front camera when the front light source is turned on;

判断所述第一人脸图像中的眼球区域占比与所述第二人脸图像中的眼球区域占比的差值的绝对值是否大于预设阈值;Determining whether an absolute value of a difference between a proportion of an eyeball area in the first facial image and a proportion of an eyeball area in the second facial image is greater than a preset threshold;

若是,确定采集到的人脸图像为活体人脸图像。If so, it is determined that the collected face image is a living face image.

本发明实施例第四方面提供一种移动终端,所述移动终端包括采集单元、判断单元和确定单元,其中:A fourth aspect of an embodiment of the present invention provides a mobile terminal, comprising a collecting unit, a judging unit, and a determining unit, wherein:

所述采集单元,用于接收到人脸采集指令时,通过前置摄像头在前置发光光源关闭时采集第一人脸图像;The acquisition unit is configured to, upon receiving a face acquisition instruction, acquire a first face image via the front camera when the front light source is turned off;

所述采集单元,还用于通过所述前置摄像头在所述前置发光光源开启时采集第二人脸图像;The acquisition unit is further configured to acquire a second facial image through the front camera when the front light source is turned on;

所述判断单元,用于判断所述第一人脸图像中的眼球区域占比与所述第二人脸图像中的眼球区域占比的差值的绝对值是否大于预设阈值;The judging unit is configured to judge whether an absolute value of a difference between a proportion of an eyeball area in the first facial image and a proportion of an eyeball area in the second facial image is greater than a preset threshold;

所述确定单元,用于当所述判断单元判断结果为是时,确定采集到的人脸图像为活体人脸图像。The determining unit is configured to determine that the collected facial image is a living facial image when the determination result of the determining unit is yes.

本发明实施例第五方面提供一种计算机可读存储介质,所述计算机可读存储介质用于存储电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如本发明实施例第一方面任一方法中所描述的部分或全部步骤。A fifth aspect of an embodiment of the present invention provides a computer-readable storage medium, which is used to store a computer program for electronic data exchange, wherein the computer program enables a computer to execute some or all of the steps described in any method of the first aspect of an embodiment of the present invention.

本发明实施例第六方面提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本发明实施例第一方面任一方法中所描述的部分或全部步骤。A sixth aspect of an embodiment of the present invention provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute some or all of the steps described in any method of the first aspect of an embodiment of the present invention.

本发明实施例中的人脸活体识别方法,移动终端在进行人脸活体识别时,可以利用前置发光光源在关闭和开启时分别采集第一人脸图像和第二人脸图像,利用人眼在强光下眯眼或者闭眼的特性来判断采集的人脸图像是否为活体人脸图像,识别算法简单,可以快速检测人脸是否为活体,提高人脸识别的安全性。In the face liveness recognition method in the embodiment of the present invention, when the mobile terminal performs face liveness recognition, it can use the front light source to collect the first face image and the second face image when it is turned off and on respectively, and use the characteristics of the human eye squinting or closing the eyes under strong light to determine whether the collected face image is a live face image. The recognition algorithm is simple, and it can quickly detect whether the face is alive, thereby improving the security of face recognition.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

图1a是本发明实施例公开的人脸识别的工作原理示意图;FIG1a is a schematic diagram of the working principle of face recognition disclosed in an embodiment of the present invention;

图1b是本发明实施例公开的一种移动终端的结构示意图;FIG1b is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present invention;

图2是本发明实施例公开的一种人脸活体识别方法的流程示意图;FIG2 is a flow chart of a method for live face recognition disclosed in an embodiment of the present invention;

图3是本发明实施例公开的另一种人脸活体识别方法的流程示意图;FIG3 is a flow chart of another method for face liveness recognition disclosed in an embodiment of the present invention;

图4是本发明实施例公开的另一种人脸活体识别方法的流程示意图;FIG4 is a flow chart of another method for face liveness recognition disclosed in an embodiment of the present invention;

图5是本发明实施例公开的另一种移动终端的结构示意图;FIG5 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention;

图6是本发明实施例公开的另一种移动终端的结构示意图;FIG6 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention;

图7是本发明实施例公开的又一种移动终端的结构示意图。FIG7 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention.

具体实施方式DETAILED DESCRIPTION

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first," "second," and so on, in the description and claims of the present invention and the accompanying drawings are used to distinguish between different objects, not to describe a specific order. Furthermore, the terms "including," "having," and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present invention. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute a separate or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

本发明实施例所涉及到的移动终端可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminaldevice)等等。为方便描述,上面提到的设备统称为移动终端。The mobile terminals involved in the embodiments of the present invention may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, as well as various forms of user equipment (UE), mobile stations (MS), terminal devices, etc. For the convenience of description, the above-mentioned devices are collectively referred to as mobile terminals.

下面对本发明实施例进行详细介绍。The embodiments of the present invention are described in detail below.

为了更好的理解本发明实施例,首先对本发明实施例中的人脸识别的工作原理进行介绍。请参阅图1a,图1a是本发明实施例公开的人脸识别的工作原理示意图。图1a中的人脸识别应用于移动终端,移动终端以手机为例。如图1a所示,前置发光光源110、前置摄像头120均设置在手机10的正面,其中,前置摄像头120用于采集人脸图像。应用处理器(Application Processor,AP)130对采集的人脸图像进行处理后与预先存储的人脸图像模板进行匹配,当匹配成功后,即认为通过人脸识别验证。其中,前置发光光源110可以是前置闪光灯,用于辅助判断采集到的人脸图像是否为活体人脸图像。其中,AP130无法直接从手机10外观上直接看到,故图1a中用虚线进行表示。To better understand the embodiments of the present invention, the working principle of facial recognition in the embodiments of the present invention will first be introduced. Please refer to Figure 1a, which is a schematic diagram of the working principle of facial recognition disclosed in the embodiments of the present invention. The facial recognition in Figure 1a is applied to a mobile terminal, taking a mobile phone as an example. As shown in Figure 1a, a front light source 110 and a front camera 120 are both located on the front of the mobile phone 10, wherein the front camera 120 is used to capture facial images. The application processor (AP) 130 processes the captured facial image and matches it with a pre-stored facial image template. When the match is successful, the facial recognition verification is considered to have passed. The front light source 110 can be a front flash, which is used to assist in determining whether the captured facial image is a live facial image. The AP 130 cannot be directly seen from the exterior of the mobile phone 10, so it is represented by a dotted line in Figure 1a.

请参阅图1b,图1b是本发明实施例公开的一种移动终端的结构示意图,如图1b所示,该移动终端100包括应用处理器(Application Processor,AP)101、前置发光光源102以及前置摄像头103其中,AP101通过总线104连接前置发光光源102以及前置摄像头103。Please refer to Figure 1b, which is a structural diagram of a mobile terminal disclosed in an embodiment of the present invention. As shown in Figure 1b, the mobile terminal 100 includes an application processor (AP) 101, a front light source 102 and a front camera 103, wherein the AP 101 is connected to the front light source 102 and the front camera 103 through a bus 104.

前置摄像头103,用于当移动终端100接收到人脸采集指令时,在前置发光光源102关闭时采集第一人脸图像。The front camera 103 is used to capture a first face image when the mobile terminal 100 receives a face capture instruction and the front light source 102 is turned off.

移动终端100可以接收基于用户在触控显示屏上的输入操作而触发产生的人脸采集指令。例如,当应用场景为屏幕解锁场景时,当触控显示屏被点亮之后,触控显示屏上可以弹出选择提示框,用于引导用户选择“虹膜识别”、“指纹识别”和“人脸识别”中的一种。当用户点击选择提示框中的“人脸识别”时,即可触发产生人脸采集指令。移动终端100也可以在检测到用户拿起移动终端100的时候触发产生人脸采集指令。例如,应用场景为屏幕解锁场景时,当移动终端100的姿态传感器(例如,重力传感器、三轴陀螺仪、三轴加速度传感器等)检测到用户有抬起移动终端100的动作,即可触发移动终端100产生人脸采集指令。The mobile terminal 100 can receive a face collection instruction triggered based on the user's input operation on the touch screen. For example, when the application scenario is a screen unlocking scenario, after the touch screen is turned on, a selection prompt box may pop up on the touch screen to guide the user to select one of "iris recognition", "fingerprint recognition" and "face recognition". When the user clicks "face recognition" in the selection prompt box, the face collection instruction is triggered. The mobile terminal 100 can also trigger the generation of a face collection instruction when it detects that the user has picked up the mobile terminal 100. For example, when the application scenario is a screen unlocking scenario, when the posture sensor of the mobile terminal 100 (for example, a gravity sensor, a three-axis gyroscope, a three-axis acceleration sensor, etc.) detects that the user has lifted the mobile terminal 100, the mobile terminal 100 can be triggered to generate a face collection instruction.

前置摄像头103,还用于在前置发光光源102开启时采集第二人脸图像。The front camera 103 is also used to capture a second facial image when the front light source 102 is turned on.

其中,前置发光光源102可以是前置闪光灯,也可以是显示屏背光源,也可以是前置闪光灯与显示屏背光源的组合。前置闪光灯可以设置在靠近前置摄像头103附近,前置闪光灯可以在前置摄像头拍摄时进行补光。显示屏背光源可以是LED背光源,前置摄像头103可以在检测到用户有抬起移动终端100的动作时,在显示屏关闭时采集第一人脸图像,然后点亮移动终端的显示屏,并可以在移动终端的显示屏点亮时,采集第二人脸图像。The front light source 102 may be a front flash, a display backlight, or a combination of the front flash and the display backlight. The front flash may be positioned near the front camera 103 to provide fill light when the front camera is shooting. The display backlight may be an LED backlight. Upon detecting that the user has lifted the mobile terminal 100, the front camera 103 may capture a first facial image when the display is off, then illuminate the mobile terminal's display, and may capture a second facial image when the mobile terminal's display is illuminated.

其中,前置摄像头103可以将采集到第一人脸图像和第二人脸图像发送到AP101进行处理。The front camera 103 may send the captured first face image and the second face image to the AP 101 for processing.

AP101,用于判断第一人脸图像中的眼球区域占比与第二人脸图像中的眼球区域占比的差值的绝对值是否大于预设阈值。AP101 is used to determine whether the absolute value of the difference between the eye area ratio in the first face image and the eye area ratio in the second face image is greater than a preset threshold.

本发明实施例中,当前置发光光源102为前置闪光灯时,前置摄像头103可以在前置闪光灯关闭和开启两个状态分别拍摄第一人脸图像和第二人脸图像,当前置闪光灯关闭时,用户人脸不会受到强光刺激,第一人脸图像中的眼睛处于正常睁开状态;当前置闪光灯开启时,用户人脸受到强光刺激,第二人脸图像中的眼睛很可能会处于眯眼状态或闭眼状态。In an embodiment of the present invention, when the front light source 102 is a front flash, the front camera 103 can capture a first face image and a second face image respectively when the front flash is turned off and on. When the front flash is turned off, the user's face will not be stimulated by strong light, and the eyes in the first face image are in a normally open state; when the front flash is turned on, the user's face is stimulated by strong light, and the eyes in the second face image are likely to be in a squinting state or a closed state.

眼球区域占比,即为人脸图像中的眼球区域的面积与整个人脸图像的面积之比。AP101判断第一人脸图像中的眼球区域占比与第二人脸图像中的眼球区域占比的差值的绝对值是否大于预设阈值,目的是为了判断采集到的人脸图像是否为活体人脸图像,也即前置摄像头拍摄的对象是否为活体。如果拍摄的对象为活体,由于人眼瞳孔受强光照刺激会收缩,第一人脸图像中的眼球区域占比与第二人脸图像中的眼球区域占比会发生较大变化,第一人脸图像中的眼球区域占比与第二人脸图像中的眼球区域占比的差值的绝对值大于预设阈值。如果拍摄的对象不是活体(比如死人眼球或者照片等),第一人脸图像中的眼球区域占比与第二人脸图像中的眼球区域占比一般不会发生较大变化,第一人脸图像中的眼球区域占比与第二人脸图像中的眼球区域占比的差值的绝对值小于预设阈值。实施本发明实施例,通过前置发光光源在关闭和开启两种状态下判断前置摄像头拍摄的人脸图像中的眼球区域占比是否大于预设阈值来判断采集到的人脸图像是否为活体人脸图像,活体识别算法简单。The eyeball area ratio is the ratio of the area of the eyeball area in the face image to the area of the entire face image. AP101 determines whether the absolute value of the difference between the eyeball area ratio in the first face image and the eyeball area ratio in the second face image is greater than a preset threshold. The purpose is to determine whether the collected face image is a living face image, that is, whether the object photographed by the front camera is alive. If the photographed object is alive, since the human pupil will contract when stimulated by strong light, the eyeball area ratio in the first face image and the eyeball area ratio in the second face image will change significantly, and the absolute value of the difference between the eyeball area ratio in the first face image and the eyeball area ratio in the second face image will be greater than the preset threshold. If the photographed object is not alive (such as the eyes of a dead person or a photo), the eyeball area ratio in the first face image and the eyeball area ratio in the second face image generally will not change significantly, and the absolute value of the difference between the eyeball area ratio in the first face image and the eyeball area ratio in the second face image will be less than the preset threshold. In the embodiment of the present invention, whether the collected face image is a living face image is determined by judging whether the proportion of the eye area in the face image taken by the front camera is greater than a preset threshold when the front light source is in the off and on states. The liveness recognition algorithm is simple.

AP101,还用于当第一人脸图像中的眼球区域占比与第二人脸图像中的眼球区域占比的差值的绝对值大于预设阈值时,确定采集到的人脸图像为活体人脸图像。AP101 is also used to determine that the collected facial image is a living facial image when the absolute value of the difference between the eye area ratio in the first facial image and the eye area ratio in the second facial image is greater than a preset threshold.

可选的,AP101,还用于当第一人脸图像中的眼球区域占比与第二人脸图像中的眼球区域占比的差值的绝对值小于或等于预设阈值时,确定采集到的人脸图像为非活体人脸图像。Optionally, AP101 is also used to determine that the collected facial image is a non-living facial image when the absolute value of the difference between the eye area ratio in the first facial image and the eye area ratio in the second facial image is less than or equal to a preset threshold.

本发明实施例中,当第一人脸图像中的眼球区域占比与第二人脸图像中的眼球区域占比的差值的绝对值小于或等于预设阈值时,表明前置摄像头在不同光照强度下拍摄到的人脸图像差别较小,可以认为采集到的人脸图像为非活体人脸图像。In an embodiment of the present invention, when the absolute value of the difference between the proportion of the eye area in the first facial image and the proportion of the eye area in the second facial image is less than or equal to a preset threshold, it indicates that the facial images captured by the front camera under different light intensities are little different, and it can be considered that the captured facial image is a non-living facial image.

可选的,AP101,还用于确定采集到的人脸图像为活体人脸图像之后,将第一人脸图像中与第二人脸图像中眼球区域占比较大的图像作为有效人脸图像;Optionally, AP101 is further configured to, after determining that the collected facial image is a living facial image, use an image having a larger eye area in the first facial image and the second facial image as a valid facial image;

AP101,还用于验证有效人脸图像与预先存储的人脸图像模板是否匹配;AP101 is also used to verify whether a valid face image matches a pre-stored face image template;

AP101,还用于当有效人脸图像与预先存储的人脸图像模板匹配时,确定通过人脸识别。AP101 is also used to determine that face recognition is successful when a valid face image matches a pre-stored face image template.

本发明实施例中,人脸图像模板可以包括人脸特征,例如,人脸眼部特征(例如,眼球大小和形状、眼间距等)、人眼鼻子特征(鼻孔间距、鼻尖长度等)、人眼嘴部特征(嘴唇厚度、嘴唇长度等)、组合特征(鼻孔到左眼和右眼之间的距离、左眼到嘴唇的距离等)。In an embodiment of the present invention, the face image template may include face features, such as face eye features (e.g., eyeball size and shape, eye distance, etc.), eye and nose features (nostril distance, nose tip length, etc.), eye and mouth features (lip thickness, lip length, etc.), and combined features (the distance between the nostrils to the left eye and the right eye, the distance from the left eye to the lips, etc.).

可选的,AP101验证有效人脸图像与预先存储的人脸图像模板是否匹配之前,可以将有效人脸图像转换为标准化图像,这里的标准化处理包括像素标准化,图像尺寸标准化等。Optionally, before AP101 verifies whether the valid face image matches a pre-stored face image template, it may convert the valid face image into a standardized image. The standardization processing here includes pixel standardization, image size standardization, etc.

可选的,前置摄像头103在前置发光光源102开启时采集第二人脸图像的方式具体为:Optionally, the front camera 103 captures the second facial image when the front light source 102 is turned on in the following manner:

前置摄像头103在前置发光光源102处于第一功率时采集第二人脸图像。The front camera 103 captures the second facial image when the front light source 102 is at the first power.

前置摄像头103,还用于当第一人脸图像中的眼球区域占比与第二人脸图像中的眼球区域占比的差值的绝对值小于或等于预设阈值且大于零时,在前置发光光源102处于第二功率时采集第三人脸图像,第二功率大于第一功率;The front camera 103 is further configured to capture a third facial image when the front light source 102 is at a second power greater than the first power, when the absolute value of the difference between the eye area ratio in the first facial image and the eye area ratio in the second facial image is less than or equal to a preset threshold and greater than zero;

AP101,还用于判断第一人脸图像中的眼球区域占比与第三人脸图像中的眼球区域占比的差值的绝对值是否大于预设阈值;AP101 is further configured to determine whether the absolute value of the difference between the eyeball area ratio in the first face image and the eyeball area ratio in the third face image is greater than a preset threshold;

AP101,还用于当第一人脸图像中的眼球区域占比与第三人脸图像中的眼球区域占比的差值的绝对值大于预设阈值时,确定采集到的人脸图像为活体人脸图像。AP101 is also used to determine that the collected facial image is a living facial image when the absolute value of the difference between the eye area ratio in the first facial image and the eye area ratio in the third facial image is greater than a preset threshold.

本发明实施例中,当第一人脸图像中的眼球区域占比与第二人脸图像中的眼球区域占比的差值的绝对值小于或等于预设阈值且大于零时,表明前置摄像头拍摄的第一人脸图像与第二人脸图像中的人眼发生了较小的变化,为了防止误判断为活体,前置摄像头继续在前置发光光源处于第二功率时采集第三人脸图像,将前置发光光源的功率提升,即增加前置摄像头拍摄人脸图像时的补光强度,采用增加补光强度的方法进一步判断采集的人脸图像是否为人脸图像,可以防止误判活体对象为非活体对象。In an embodiment of the present invention, when the absolute value of the difference between the proportion of the eye area in the first facial image and the proportion of the eye area in the second facial image is less than or equal to a preset threshold and greater than zero, it indicates that there has been a slight change in the human eyes in the first facial image captured by the front camera and the second facial image. In order to prevent misjudgment as a living object, the front camera continues to capture the third facial image when the front light source is at the second power, and the power of the front light source is increased, that is, the fill light intensity when the front camera captures the facial image is increased. The method of increasing the fill light intensity is used to further determine whether the captured facial image is a facial image, which can prevent misjudgment of a living object as a non-living object.

可选的,第二功率与第一功率之间的差值可以预先设定,以防止过高功率的前置发光光源对人眼造成较大的刺激。Optionally, the difference between the second power and the first power may be preset to prevent the front light source with excessively high power from causing significant stimulation to the human eye.

可选的,AP101,还用于确定采集到的人脸图像为活体人脸图像之后,将后续人脸识别时前置摄像头开启的功率设置为第二功率。Optionally, AP101 is further configured to, after determining that the collected facial image is a living facial image, set the power of the front camera during subsequent facial recognition to the second power.

本发明实施例,可以将活体人脸识别成功时前置发光光源的工作功率作为下次活体人脸识别时前置发光光源的工作功率,可以提高活体识别的准确性。In the embodiment of the present invention, the operating power of the front light source when the live face recognition is successful can be used as the operating power of the front light source during the next live face recognition, which can improve the accuracy of live face recognition.

实施图1b所示的移动终端,移动终端在进行人脸活体识别时,可以利用前置发光光源在关闭和开启时分别采集第一人脸图像和第二人脸图像,利用人眼在强光下眯眼或者闭眼的特性来判断采集的人脸图像是否为活体人脸图像,识别算法简单,可以快速检测人脸是否为活体,提高人脸识别的安全性。Implementing the mobile terminal shown in Figure 1b, when performing face liveness recognition, the mobile terminal can use the front light source to collect the first face image and the second face image when it is turned off and on respectively, and use the characteristics of human eyes squinting or closing eyes under strong light to determine whether the collected face image is a live face image. The recognition algorithm is simple, and can quickly detect whether the face is alive, thereby improving the security of face recognition.

请参阅图2,图2是本发明实施例公开的一种人脸活体识别方法的流程示意图。该方法应用于包括前置发光光源、前置摄像头以及应用处理器AP的移动终端,如图2所示,该方法包括如下步骤。Please refer to Figure 2, which is a flow chart of a method for face liveness recognition disclosed in an embodiment of the present invention. The method is applied to a mobile terminal including a front-mounted light source, a front-mounted camera, and an application processor AP. As shown in Figure 2, the method includes the following steps.

201,当接收到人脸采集指令时,移动终端通过前置摄像头在前置发光光源关闭时采集第一人脸图像。201. When receiving a face collection instruction, the mobile terminal collects a first face image through a front camera when the front light source is turned off.

202,移动终端通过前置摄像头在前置发光光源开启时采集第二人脸图像。202. The mobile terminal collects a second facial image through a front camera when the front light source is turned on.

203,移动终端判断第一人脸图像中的眼球区域占比与第二人脸图像中的眼球区域占比的差值的绝对值是否大于预设阈值。若是,执行步骤204,若否,执行步骤205。203 , the mobile terminal determines whether the absolute value of the difference between the eyeball area ratio in the first face image and the eyeball area ratio in the second face image is greater than a preset threshold. If so, execute step 204 ; otherwise, execute step 205 .

204,移动终端确定采集到的人脸图像为活体人脸图像。204. The mobile terminal determines that the collected facial image is a living facial image.

205,移动终端确定采集到的人脸图像为非活体人脸图像。205. The mobile terminal determines that the collected facial image is a non-living facial image.

图2所示方法的具体实施方式可以参见图1a-图1b所示的装置实施例,此处不再赘述。The specific implementation of the method shown in FIG2 can refer to the device embodiment shown in FIG1a-FIG1b, and will not be described in detail here.

实施图2所示的方法,移动终端在进行人脸活体识别时,可以利用前置发光光源在关闭和开启时分别采集第一人脸图像和第二人脸图像,利用人眼在强光下眯眼或者闭眼的特性来判断采集的人脸图像是否为活体人脸图像,识别算法简单,可以快速检测人脸是否为活体,提高人脸识别的安全性。By implementing the method shown in FIG2 , when performing live face recognition, the mobile terminal can use the front light source to collect the first face image and the second face image when it is turned off and on respectively, and use the characteristics of the human eye squinting or closing the eyes under strong light to determine whether the collected face image is a live face image. The recognition algorithm is simple and can quickly detect whether the face is alive, thereby improving the security of face recognition.

请参阅图3,图3是本发明实施例公开的另一种人脸活体识别方法的流程示意图。该方法应用于包括前置发光光源、前置摄像头以及应用处理器AP的移动终端,该方法包括如下步骤。Please refer to Figure 3, which is a flow chart of another method for face liveness recognition disclosed in an embodiment of the present invention. The method is applied to a mobile terminal including a front-mounted light source, a front-mounted camera, and an application processor AP, and includes the following steps.

301,当接收到人脸采集指令时,移动终端通过前置摄像头在前置发光光源关闭时采集第一人脸图像。301. When receiving a face collection instruction, the mobile terminal collects a first face image through a front camera when the front light source is turned off.

302,移动终端通过前置摄像头在前置发光光源开启时采集第二人脸图像。302. The mobile terminal collects a second facial image through a front camera when the front light source is turned on.

303,移动终端判断第一人脸图像中的眼球区域占比与第二人脸图像中的眼球区域占比的差值的绝对值是否大于预设阈值。若是,执行步骤204,若否,执行步骤205。303 , the mobile terminal determines whether the absolute value of the difference between the eyeball area ratio in the first face image and the eyeball area ratio in the second face image is greater than a preset threshold. If so, execute step 204 ; otherwise, execute step 205 .

304,移动终端确定采集到的人脸图像为活体人脸图像。304. The mobile terminal determines that the collected facial image is a living facial image.

305,移动终端确定采集到的人脸图像为非活体人脸图像。305. The mobile terminal determines that the collected facial image is a non-living facial image.

306,移动终端将第一人脸图像中与第二人脸图像中眼球区域占比较大的图像作为有效人脸图像。306 : The mobile terminal uses the image with the larger eye area in the first face image and the second face image as a valid face image.

307,移动终端验证有效人脸图像与预先存储的人脸图像模板是否匹配。若是,执行步骤308;若否,执行步骤309。307, the mobile terminal verifies whether the valid face image matches the pre-stored face image template. If so, execute step 308; if not, execute step 309.

308,移动终端确定通过人脸识别。308. The mobile terminal determines that the face recognition is successful.

309,移动终端确定未通过人脸识别。309. The mobile terminal determines that the face recognition fails.

图3所示方法的具体实施方式可以参见图1a-图1b所示的装置实施例,此处不再赘述。The specific implementation of the method shown in FIG3 can refer to the device embodiment shown in FIG1a-FIG1b, which will not be described in detail here.

实施图3所示的方法,移动终端在进行人脸活体识别时,可以利用前置发光光源在关闭和开启时分别采集第一人脸图像和第二人脸图像,利用人眼在强光下眯眼或者闭眼的特性来判断采集的人脸图像是否为活体人脸图像,识别算法简单,可以快速检测人脸是否为活体,提高人脸识别的安全性。By implementing the method shown in FIG3 , when performing live face recognition, the mobile terminal can use the front light source to collect the first face image and the second face image when it is turned off and on respectively, and use the characteristics of the human eye squinting or closing the eyes under strong light to determine whether the collected face image is a live face image. The recognition algorithm is simple and can quickly detect whether the face is alive, thereby improving the security of face recognition.

请参阅图4,图4是本发明实施例公开的另一种人脸活体识别方法的流程示意图。该方法应用于包括前置发光光源、前置摄像头以及应用处理器AP的移动终端,该方法包括如下步骤。Please refer to Figure 4, which is a flowchart of another method for face liveness recognition disclosed in an embodiment of the present invention. The method is applied to a mobile terminal including a front light source, a front camera, and an application processor AP, and includes the following steps.

401,当接收到人脸采集指令时,移动终端通过前置摄像头在前置发光光源关闭时采集第一人脸图像。401. When receiving a face collection instruction, the mobile terminal collects a first face image through the front camera when the front light source is turned off.

402,移动终端通过前置摄像头在前置发光光源处于第一功率时采集第二人脸图像。402. The mobile terminal captures a second facial image through a front camera when the front light source is at a first power.

403,移动终端判断第一人脸图像中的眼球区域占比与第二人脸图像中的眼球区域占比的差值的绝对值是否大于预设阈值。若是,执行步骤404,若否,执行步骤405。403 , the mobile terminal determines whether the absolute value of the difference between the eyeball area ratio in the first face image and the eyeball area ratio in the second face image is greater than a preset threshold. If so, execute step 404 ; otherwise, execute step 405 .

404,移动终端确定采集到的人脸图像为活体人脸图像。404. The mobile terminal determines that the collected facial image is a living facial image.

405,移动终端通过前置摄像头在前置发光光源处于第二功率时采集第三人脸图像,第二功率大于第一功率。405 , the mobile terminal collects a third facial image through the front camera when the front light source is at a second power, where the second power is greater than the first power.

406,移动终端判断第一人脸图像中的眼球区域占比与第三人脸图像中的眼球区域占比的差值的绝对值是否大于预设阈值。若是,则执行步骤404,若否,则执行步骤407。406 , the mobile terminal determines whether the absolute value of the difference between the eyeball area ratio in the first face image and the eyeball area ratio in the third face image is greater than a preset threshold. If so, execute step 404 ; otherwise, execute step 407 .

407,移动终端确定采集到的人脸图像为非活体人脸图像。407 : The mobile terminal determines that the collected facial image is a non-living facial image.

图4所示方法的具体实施方式可以参见图1a-图1b所示的装置实施例,此处不再赘述。The specific implementation of the method shown in FIG4 can refer to the device embodiment shown in FIG1a-FIG1b, and will not be described in detail here.

实施图4所示的方法,移动终端在进行人脸活体识别时,可以利用前置发光光源在关闭和开启时分别采集第一人脸图像和第二人脸图像,利用人眼在强光下眯眼或者闭眼的特性来判断采集的人脸图像是否为活体人脸图像,识别算法简单,可以快速检测人脸是否为活体,提高人脸识别的安全性。By implementing the method shown in FIG4 , when the mobile terminal performs live face recognition, it can use the front light source to collect the first face image and the second face image when it is turned off and on respectively, and use the characteristics of the human eye squinting or closing the eyes under strong light to determine whether the collected face image is a live face image. The recognition algorithm is simple and can quickly detect whether the face is alive, thereby improving the security of face recognition.

请参阅图5,图5是本发明实施例公开的另一种移动终端的结构示意图。该移动终端500包括前置发光光源501、前置摄像头502、应用处理器AP503以及存储器504,前置发光光源501、前置摄像头502、应用处理器AP503以及存储器504可以通过通信总线505连接,存储器505用于存储一个或多个程序,一个或多个程序被配置成由AP504执行,程序包括用于执行以下步骤的指令:Please refer to Figure 5, which is a schematic diagram of the structure of another mobile terminal disclosed in an embodiment of the present invention. The mobile terminal 500 includes a front light source 501, a front camera 502, an application processor AP503, and a memory 504. The front light source 501, the front camera 502, the application processor AP503, and the memory 504 can be connected via a communication bus 505. The memory 505 is used to store one or more programs, which are configured to be executed by the AP 504. The program includes instructions for performing the following steps:

当接收到人脸采集指令时,通过前置摄像头502在前置发光光源501关闭时采集第一人脸图像;When a face collection instruction is received, a first face image is collected by the front camera 502 when the front light source 501 is turned off;

通过前置摄像头502在前置发光光源501开启时采集第二人脸图像;The front camera 502 captures a second facial image when the front light source 501 is turned on;

判断第一人脸图像中的眼球区域占比与第二人脸图像中的眼球区域占比的差值的绝对值是否大于预设阈值;Determining whether the absolute value of the difference between the eyeball area ratio in the first face image and the eyeball area ratio in the second face image is greater than a preset threshold;

若是,确定采集到的人脸图像为活体人脸图像。If so, it is determined that the collected face image is a living face image.

可选的,程序还包括用于执行以下步骤的指令:Optionally, the program further includes instructions for executing the following steps:

将第一人脸图像中与第二人脸图像中眼球区域占比较大的图像作为有效人脸图像;The image with the larger eye area in the first face image and the second face image is taken as the valid face image;

验证有效人脸图像与预先存储的人脸图像模板是否匹配;Verify whether the valid face image matches the pre-stored face image template;

若匹配,确定通过人脸识别。If they match, facial recognition is confirmed.

可选的,程序还包括用于执行以下步骤的指令:Optionally, the program further includes instructions for executing the following steps:

若第一人脸图像中的眼球区域占比与第二人脸图像中的眼球区域占比的差值的绝对值小于或等于预设阈值,确定采集到的人脸图像为非活体人脸图像。If the absolute value of the difference between the eye area ratio in the first face image and the eye area ratio in the second face image is less than or equal to a preset threshold, it is determined that the collected face image is a non-living face image.

可选的,在通过前置摄像头502在前置发光光源501开启时采集第二人脸图像方面,程序具体用于执行如下步骤:Optionally, in terms of capturing the second facial image through the front camera 502 when the front light source 501 is turned on, the program is specifically configured to perform the following steps:

通过前置摄像头502在前置发光光源501处于第一功率时采集第二人脸图像;Capturing a second facial image by the front camera 502 when the front light source 501 is at a first power;

程序还包括用于执行以下步骤的指令:The program also includes instructions for performing the following steps:

在判断第一人脸图像中的眼球区域占比与第二人脸图像中的眼球区域占比的差值的绝对值是否大于预设阈值之后,若第一人脸图像中的眼球区域占比与第二人脸图像中的眼球区域占比的差值的绝对值小于或等于预设阈值且大于零,通过前置摄像头502在前置发光光源501处于第二功率时采集第三人脸图像,第二功率大于第一功率;After determining whether the absolute value of the difference between the eye area ratio in the first facial image and the eye area ratio in the second facial image is greater than a preset threshold, if the absolute value of the difference between the eye area ratio in the first facial image and the eye area ratio in the second facial image is less than or equal to the preset threshold and greater than zero, capturing a third facial image via the front camera 502 when the front light source 501 is at a second power, the second power being greater than the first power;

判断第一人脸图像中的眼球区域占比与第三人脸图像中的眼球区域占比的差值的绝对值是否大于预设阈值;Determine whether the absolute value of the difference between the eyeball area ratio in the first face image and the eyeball area ratio in the third face image is greater than a preset threshold;

若是,确定采集到的人脸图像为活体人脸图像。If so, it is determined that the collected face image is a living face image.

可选的,前置发光光源501包括前置闪光灯和/或显示屏背光源。Optionally, the front light source 501 includes a front flash and/or a display screen backlight.

实施图5所示的移动终端,可以利用前置发光光源在关闭和开启时分别采集第一人脸图像和第二人脸图像,利用人眼在强光下眯眼或者闭眼的特性来判断采集的人脸图像是否为活体人脸图像,识别算法简单,可以快速检测人脸是否为活体,提高人脸识别的安全性。The mobile terminal shown in Figure 5 can be implemented to collect the first face image and the second face image by using the front light source when it is turned off and on respectively, and the characteristics of the human eye squinting or closing the eyes under strong light can be used to determine whether the collected face image is a living face image. The recognition algorithm is simple and can quickly detect whether the face is alive, thereby improving the security of face recognition.

请参阅图6,图6是本发明实施例公开的另一种移动终端的结构示意图。该移动终端600包括采集单元601、判断单元602和确定单元603,其中:Please refer to Figure 6, which is a schematic diagram of the structure of another mobile terminal disclosed in an embodiment of the present invention. The mobile terminal 600 includes a collection unit 601, a judgment unit 602 and a determination unit 603, wherein:

采集单元601、,用于接收到人脸采集指令时,通过前置摄像头在前置发光光源关闭时采集第一人脸图像;The acquisition unit 601 is configured to, upon receiving a face acquisition instruction, acquire a first face image through a front camera when the front light source is turned off;

采集单元601、,还用于通过前置摄像头在前置发光光源开启时采集第二人脸图像;The acquisition unit 601 is further configured to acquire a second facial image through the front camera when the front light source is turned on;

判断单元602,用于判断第一人脸图像中的眼球区域占比与第二人脸图像中的眼球区域占比的差值的绝对值是否大于预设阈值;A determination unit 602 is configured to determine whether an absolute value of a difference between a proportion of an eyeball area in the first face image and a proportion of an eyeball area in the second face image is greater than a preset threshold;

确定单元603,用于当判断单元602判断结果为是时,确定采集到的人脸图像为活体人脸图像。The determining unit 603 is configured to determine that the collected facial image is a living facial image when the determination result of the determining unit 602 is yes.

该移动终端的实施可以参见图2-4所示的方法实施例,重复之处不再赘述。The implementation of the mobile terminal can refer to the method embodiments shown in Figures 2-4, and the repeated parts will be omitted.

实施图6所示的移动终端,可以利用前置发光光源在关闭和开启时分别采集第一人脸图像和第二人脸图像,利用人眼在强光下眯眼或者闭眼的特性来判断采集的人脸图像是否为活体人脸图像,识别算法简单,可以快速检测人脸是否为活体,提高人脸识别的安全性。The mobile terminal shown in Figure 6 can be implemented to collect the first face image and the second face image by using the front light source when it is turned off and on respectively, and use the characteristics of the human eye squinting or closing the eyes under strong light to determine whether the collected face image is a living face image. The recognition algorithm is simple and can quickly detect whether the face is alive, thereby improving the security of face recognition.

本发明实施例还提供了另一种移动终端,如图7所示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该移动终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意终端设备,以移动终端为手机为例:The present invention also provides another mobile terminal, as shown in FIG7 . For ease of explanation, only the portion relevant to the present invention is shown. For specific technical details not disclosed, please refer to the method section of the present invention. The mobile terminal can be any terminal device including a mobile phone, tablet computer, PDA (Personal Digital Assistant), POS (Point of Sales), in-vehicle computer, etc. Taking a mobile phone as an example:

图7示出的是与本发明实施例提供的移动终端相关的手机的部分结构的框图。参考图7,手机包括:射频(Radio Frequency,RF)电路910、存储器920、输入单元930、显示单元940、传感器950、音频电路960、无线保真(Wireless Fidelity,WiFi)模块970、处理器980、以及电源990等部件。本领域技术人员可以理解,图7中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG7 is a block diagram illustrating a portion of the structure of a mobile phone related to a mobile terminal provided by an embodiment of the present invention. Referring to FIG7 , the mobile phone includes components such as a radio frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a wireless fidelity (WiFi) module 970, a processor 980, and a power supply 990. Those skilled in the art will appreciate that the mobile phone structure shown in FIG7 does not limit the mobile phone, and the mobile phone may include more or fewer components than shown, or may combine certain components, or have different component arrangements.

下面结合图7对手机的各个构成部件进行具体的介绍:The following is a detailed introduction to the various components of the mobile phone in conjunction with Figure 7:

RF电路910可用于信息的接收和发送。通常,RF电路910包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路910还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobilecommunication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code DivisionMultiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 910 can be used for receiving and sending information. Typically, the RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 910 can also communicate with a network and other devices via wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.

存储器920可用于存储软件程序以及模块,处理器980通过运行存储在存储器920的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器920可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据手机的使用所创建的数据等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 920 can be used to store software programs and modules. Processor 980 executes the various functional applications and data processing functions of the mobile phone by running the software programs and modules stored in memory 920. Memory 920 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application required for a function; the data storage area may store data generated based on the use of the mobile phone. Memory 920 may also include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state memory device.

输入单元930可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元930可包括指纹识别模组931、触控显示屏932以及其他输入设备933。指纹识别模组931,可采集用户在其上的指纹数据。除了指纹识别模组931,输入单元930还可以包括其他输入设备932。具体地,其他输入设备932可以包括但不限于触控屏、物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 930 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone. Specifically, the input unit 930 may include a fingerprint recognition module 931, a touch screen 932 and other input devices 933. The fingerprint recognition module 931 can collect the fingerprint data of the user thereon. In addition to the fingerprint recognition module 931, the input unit 930 may also include other input devices 932. Specifically, other input devices 932 may include but are not limited to one or more of a touch screen, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), a trackball, a mouse, a joystick, etc.

显示单元940可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元940可包括显示屏941,可选的,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示屏941。虽然在图7中,指纹识别模组931与显示屏941是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将指纹识别模组931与显示屏941集成而实现手机的输入和播放功能。The display unit 940 can be used to display information input by the user or information provided to the user, as well as various menus of the mobile phone. The display unit 940 may include a display screen 941. Optionally, the display screen 941 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Although in FIG7 , the fingerprint recognition module 931 and the display screen 941 are used as two independent components to implement the input and output functions of the mobile phone, in some embodiments, the fingerprint recognition module 931 and the display screen 941 can be integrated to implement the input and playback functions of the mobile phone.

手机还可包括至少一种传感器950,比如光学传感器951、运动传感器952以及其他传感器。具体地,光学传感器951可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏941的亮度,接近传感器可在手机移动到耳边时,关闭显示屏941和/或背光。作为运动传感器952的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The mobile phone may also include at least one sensor 950, such as an optical sensor 951, a motion sensor 952, and other sensors. Specifically, the optical sensor 951 may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display screen 941 according to the brightness of the ambient light, and the proximity sensor can turn off the display screen 941 and/or the backlight when the mobile phone is moved to the ear. As a type of motion sensor 952, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that the mobile phone can also be configured with, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be described here.

音频电路960、扬声器961,传声器962可提供用户与手机之间的音频接口。音频电路960可将接收到的音频数据转换后的电信号,传输到扬声器961,由扬声器961转换为声音信号播放;另一方面,传声器962将收集的声音信号转换为电信号,由音频电路960接收后转换为音频数据,再将音频数据播放处理器980处理后,经RF电路910以发送给比如另一手机,或者将音频数据播放至存储器920以便进一步处理。Audio circuit 960, speaker 961, and microphone 962 provide an audio interface between the user and the phone. Audio circuit 960 converts received audio data into electrical signals and transmits them to speaker 961, which then converts them into sound signals for playback. Microphone 962, on the other hand, converts collected sound signals into electrical signals, which are then received by audio circuit 960 and converted into audio data. After processing by audio data playback processor 980, the audio data is transmitted via RF circuit 910 to, for example, another phone, or played to memory 920 for further processing.

WiFi属于短距离无线传输技术,手机通过WiFi模块970可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图7示出了WiFi模块970,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology. A mobile phone uses WiFi module 970 to help users send and receive emails, browse the web, and access streaming media, providing wireless broadband Internet access. Although FIG7 shows WiFi module 970, it is understood that it is not a required component of the mobile phone and can be omitted as needed without changing the essence of the invention.

处理器980是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器920内的软件程序和/或模块,以及调用存储在存储器920内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器980可包括一个或多个处理单元;优选的,处理器980可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器980中。The processor 980 is the control center of the mobile phone, connecting all parts of the mobile phone using various interfaces and circuits. By running or executing software programs and/or modules stored in the memory 920 and accessing data stored in the memory 920, it performs various functions of the mobile phone and processes data, thereby providing overall monitoring of the mobile phone. Optionally, the processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor and a modem processor, wherein the application processor primarily handles the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into the processor 980.

手机还包括给各个部件供电的电源990(比如电池),优选的,电源可以通过电源管理系统与处理器980逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 990 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 980 through a power management system, thereby managing charging, discharging, and power consumption management functions through the power management system.

手机还包括摄像头9100,摄像头9100可以包括前置摄像头、虹膜摄像头和后置摄像头,The mobile phone also includes a camera 9100, which may include a front camera, an iris camera, and a rear camera.

尽管未示出,手机还可以包括蓝牙模块、闪光灯等,闪光灯可以包括前置闪光灯和后置闪光灯,前置闪光灯可以为前置摄像头进行补光,后置闪光灯可以为后置摄像头进行补光。前置闪光灯可以包括前置可见光闪光灯和前置红外闪光灯,前置可见光闪光灯用于为前置摄像头进行补光,前置红外闪光灯用于为虹膜摄像头进行补光。Although not shown, the mobile phone may further include a Bluetooth module, a flash, etc. The flash may include a front flash and a rear flash. The front flash may provide fill light for the front camera, and the rear flash may provide fill light for the rear camera. The front flash may include a front visible light flash and a front infrared flash. The front visible light flash is used to provide fill light for the front camera, and the front infrared flash is used to provide fill light for the iris camera.

本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任何一种人脸活体识别方法的部分或全部步骤。An embodiment of the present invention also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the face liveness recognition methods described in the above method embodiments.

本发明实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任何一种人脸活体识别方法的部分或全部步骤。An embodiment of the present invention also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute part or all of the steps of any one of the face liveness recognition methods described in the above method embodiments.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that for the aforementioned method embodiments, for simplicity of description, they are all expressed as a series of action combinations. However, those skilled in the art should be aware that the present invention is not limited by the order of the actions described, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory and includes several instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk, and other media that can store program code.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program. The program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The embodiments of the present invention are described in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core ideas. At the same time, for those skilled in the art, according to the ideas of the present invention, there may be changes in the specific implementation methods and application scopes. In summary, the contents of this specification should not be understood as limiting the present invention.

Claims (9)

1.一种人脸活体识别方法,其特征在于,包括:1. A method for facial liveness recognition, characterized in that it includes: 当接收到人脸采集指令时,通过前置摄像头在前置发光光源关闭时采集第一人脸图像;When a face capture command is received, the first face image is captured by the front-facing camera when the front-facing light source is off. 通过所述前置摄像头在所述前置发光光源处于第一功率时采集第二人脸图像;The front-facing camera captures a second face image when the front-facing light source is at a first power. 判断所述第一人脸图像中的眼球区域占比与所述第二人脸图像中的眼球区域占比的差值的绝对值是否大于预设阈值;Determine whether the absolute value of the difference between the proportion of the eye region in the first face image and the proportion of the eye region in the second face image is greater than a preset threshold. 若是,确定采集到的人脸图像为活体人脸图像,将所述第一人脸图像作为有效人脸图像;If so, if the captured face image is determined to be a live face image, the first face image is taken as a valid face image; 若所述第一人脸图像中的眼球区域占比与所述第二人脸图像中的眼球区域占比的差值的绝对值小于或等于所述预设阈值且大于零,通过所述前置摄像头在所述前置发光光源处于第二功率时采集第三人脸图像,所述第二功率大于所述第一功率;判断所述第一人脸图像中的眼球区域占比与所述第三人脸图像中的眼球区域占比的差值的绝对值是否大于所述预设阈值;若是,确定采集到的人脸图像为活体人脸图像,将所述第一人脸图像作为有效人脸图像;If the absolute value of the difference between the proportion of the eye region in the first face image and the proportion of the eye region in the second face image is less than or equal to the preset threshold and greater than zero, a third face image is acquired by the front-facing camera when the front-facing light source is at a second power, where the second power is greater than the first power; it is then determined whether the absolute value of the difference between the proportion of the eye region in the first face image and the proportion of the eye region in the third face image is greater than the preset threshold; if so, the acquired face image is determined to be a live face image, and the first face image is taken as a valid face image; 验证所述有效人脸图像与预先存储的人脸图像模板是否匹配;若匹配,确定通过人脸识别。Verify whether the valid face image matches the pre-stored face image template; if they match, determine that the face recognition has passed. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, characterized in that the method further comprises: 若所述第一人脸图像中的眼球区域占比与所述第二人脸图像中的眼球区域占比的差值的绝对值小于或等于所述预设阈值,确定采集到的人脸图像为非活体人脸图像。If the absolute value of the difference between the proportion of the eye region in the first face image and the proportion of the eye region in the second face image is less than or equal to the preset threshold, the acquired face image is determined to be a non-live face image. 3.根据权利要求1-2任一项所述的方法,其特征在于,所述前置发光光源包括前置闪光灯和/或显示屏背光源。3. The method according to any one of claims 1-2, wherein the front light source comprises a front flash and/or a display screen backlight. 4.一种移动终端,其特征在于,包括前置发光光源、前置摄像头以及应用处理器AP,其中:4. A mobile terminal, characterized in that it includes a front-facing light source, a front-facing camera, and an application processor (AP), wherein: 所述前置摄像头,用于接收到人脸采集指令时,在所述前置发光光源关闭时采集第一人脸图像;The front-facing camera is used to capture a first face image when the front-facing light source is turned off upon receiving a face capture command. 所述前置摄像头,还用于在所述前置发光光源处于第一功率时采集第二人脸图像;当所述第一人脸图像中的眼球区域占比与所述第二人脸图像中的眼球区域占比的差值的绝对值小于或等于预设阈值且大于零时,在所述前置发光光源处于第二功率时采集第三人脸图像,所述第二功率大于所述第一功率;The front-facing camera is also used to capture a second face image when the front-facing light source is at a first power; when the absolute value of the difference between the proportion of the eye area in the first face image and the proportion of the eye area in the second face image is less than or equal to a preset threshold and greater than zero, a third face image is captured when the front-facing light source is at a second power, wherein the second power is greater than the first power. 所述AP,用于判断所述第一人脸图像中的眼球区域占比与所述第二人脸图像中的眼球区域占比的差值的绝对值是否大于预设阈值;The AP is used to determine whether the absolute value of the difference between the proportion of the eye region in the first face image and the proportion of the eye region in the second face image is greater than a preset threshold. 所述AP,还用于当所述第一人脸图像中的眼球区域占比与所述第二人脸图像中的眼球区域占比的差值的绝对值大于所述预设阈值时,确定采集到的人脸图像为活体人脸图像,将所述第一人脸图像作为有效人脸图像;若所述第一人脸图像中的眼球区域占比与所述第二人脸图像中的眼球区域占比的差值的绝对值小于或等于所述预设阈值且大于零,通过所述前置摄像头在所述前置发光光源处于第二功率时采集第三人脸图像,所述第二功率大于所述第一功率;判断所述第一人脸图像中的眼球区域占比与所述第三人脸图像中的眼球区域占比的差值的绝对值是否大于所述预设阈值;若是,确定采集到的人脸图像为活体人脸图像,将所述第一人脸图像作为有效人脸图像;验证所述有效人脸图像与预先存储的人脸图像模板是否匹配;若匹配,确定通过人脸识别。The AP is further configured to: determine that the acquired face image is a live face image and use the first face image as a valid face image when the absolute value of the difference between the proportion of the eye region in the first face image and the proportion of the eye region in the second face image is greater than the preset threshold; if the absolute value of the difference between the proportion of the eye region in the first face image and the proportion of the eye region in the second face image is less than or equal to the preset threshold and greater than zero, acquire a third face image through the front-facing camera when the front-facing light source is at a second power, where the second power is greater than the first power; determine whether the absolute value of the difference between the proportion of the eye region in the first face image and the proportion of the eye region in the third face image is greater than the preset threshold; if so, determine that the acquired face image is a live face image and use the first face image as a valid face image; verify whether the valid face image matches a pre-stored face image template; if they match, determine that face recognition has been passed. 5.根据权利要求4所述的移动终端,其特征在于,5. The mobile terminal according to claim 4, characterized in that, 所述AP,还用于当所述第一人脸图像中的眼球区域占比与所述第二人脸图像中的眼球区域占比的差值的绝对值小于或等于所述预设阈值时,确定采集到的人脸图像为非活体人脸图像。The AP is further configured to determine that the acquired face image is a non-live face image when the absolute value of the difference between the proportion of the eye region in the first face image and the proportion of the eye region in the second face image is less than or equal to the preset threshold. 6.根据权利要求4-5任一项所述的移动终端,其特征在于,所述前置发光光源包括前置闪光灯和/或显示屏背光源。6. The mobile terminal according to any one of claims 4-5, wherein the front-facing light source includes a front-facing flash and/or a display screen backlight. 7.一种移动终端,其特征在于,包括采集单元、判断单元和确定单元,其中:7. A mobile terminal, characterized in that it comprises a data acquisition unit, a judgment unit, and a determination unit, wherein: 所述采集单元,用于接收到人脸采集指令时,通过前置摄像头在前置发光光源关闭时采集第一人脸图像;The acquisition unit is used to acquire a first face image through the front-facing camera when the front-facing light source is turned off when a face acquisition command is received. 所述采集单元,还用于通过所述前置摄像头在所述前置发光光源处于第一功率时采集第二人脸图像;The acquisition unit is also used to acquire a second face image through the front-facing camera when the front-facing light source is at a first power. 所述判断单元,用于判断所述第一人脸图像中的眼球区域占比与所述第二人脸图像中的眼球区域占比的差值的绝对值是否大于预设阈值;The judgment unit is used to determine whether the absolute value of the difference between the proportion of the eye region in the first face image and the proportion of the eye region in the second face image is greater than a preset threshold. 所述确定单元,用于当所述判断单元判断结果为是时,确定采集到的人脸图像为活体人脸图像,将所述第一人脸图像作为有效人脸图像;若所述第一人脸图像中的眼球区域占比与所述第二人脸图像中的眼球区域占比的差值的绝对值小于或等于所述预设阈值且大于零,通过所述前置摄像头在所述前置发光光源处于第二功率时采集第三人脸图像,所述第二功率大于所述第一功率;判断所述第一人脸图像中的眼球区域占比与所述第三人脸图像中的眼球区域占比的差值的绝对值是否大于所述预设阈值;若是,确定采集到的人脸图像为活体人脸图像,将所述第一人脸图像作为有效人脸图像;The determining unit is configured to, when the determination result of the judging unit is yes, determine that the acquired face image is a live face image and take the first face image as a valid face image; if the absolute value of the difference between the proportion of the eye region in the first face image and the proportion of the eye region in the second face image is less than or equal to the preset threshold and greater than zero, acquire a third face image through the front-facing camera when the front-facing light source is at a second power, where the second power is greater than the first power; determine whether the absolute value of the difference between the proportion of the eye region in the first face image and the proportion of the eye region in the third face image is greater than the preset threshold; if yes, determine that the acquired face image is a live face image and take the first face image as a valid face image; 用于验证所述有效人脸图像与预先存储的人脸图像模板是否匹配;若匹配,确定通过人脸识别的单元。This is used to verify whether the valid face image matches a pre-stored face image template; if they match, the unit that passed face recognition is determined. 8.一种移动终端,其特征在于,包括前置发光光源、前置摄像头、应用处理器AP以及存储器,所述存储器用于存储一个或多个程序,所述一个或多个程序被配置成由所述AP执行,所述程序包括用于执行如权利要求1-3任一项所述的方法。8. A mobile terminal, characterized in that it includes a front-facing light source, a front-facing camera, an application processor (AP), and a memory, the memory being used to store one or more programs configured to be executed by the AP, the programs including methods for performing the method as described in any one of claims 1-3. 9.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质用于存储电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-3任一项所述的方法。9. A computer-readable storage medium, characterized in that the computer-readable storage medium is used to store a computer program for electronic data interchange, wherein the computer program causes a computer to perform the method as described in any one of claims 1-3.
HK18105267.5A 2018-04-23 Face living body identification method and related product HK1245951B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
HK18105267.5A HK1245951B (en) 2018-04-23 Face living body identification method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
HK18105267.5A HK1245951B (en) 2018-04-23 Face living body identification method and related product

Publications (2)

Publication Number Publication Date
HK1245951A1 HK1245951A1 (en) 2018-08-31
HK1245951B true HK1245951B (en) 2021-08-27

Family

ID=

Similar Documents

Publication Publication Date Title
CN107463883A (en) Biometric methods and related products
US10769464B2 (en) Facial recognition method and related product
CN107292290B (en) Face living body identification method and related product
CN107220592B (en) Optical fingerprint acquisition method and related product
CN107451449B (en) Biometric unlocking method and related product
CN107580114B (en) Biometric identification method, mobile terminal, and computer-readable storage medium
CN107480496B (en) Unlocking control method and related product
CN107145886B (en) Optical fingerprint acquisition method and related product
CN108646907A (en) Backlight brightness adjusting method and related product
CN107480610A (en) Fingerprint identification method and related product
CN113641488A (en) Method and device for optimizing resources based on user use scene
EP3623973B1 (en) Unlocking control method and related product
CN107545166A (en) Biometric discrimination method and Related product
WO2019011098A1 (en) Unlocking control method and relevant product
CN107403149A (en) Iris identification method and related product
CN107766824A (en) Face recognition method, mobile terminal, and computer-readable storage medium
CN107527020A (en) Biometric methods and related products
US10671713B2 (en) Method for controlling unlocking and related products
WO2019015432A1 (en) Iris living-body recognition method and related product
CN107437070A (en) Iris living body recognition method and related products
CN107451547A (en) Method for identifying living body and related product
CN110399780B (en) Face detection method and device and computer readable storage medium
HK1245951B (en) Face living body identification method and related product
CN107484168A (en) Biometric unlocking method and related products
HK1245951A1 (en) Face living body identification method and related product