Face authentication system and face authentication method
The face authentication system addresses spoofing detection using a single camera and facial movements to analyze feature point changes, enhancing security without increasing system size or cost.
Patent Information
- Application Number
- JP2023023461
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-17
- Publication Date
- 2024-08-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing face authentication systems face challenges in detecting spoofing using facial photos without increasing system size and cost, particularly due to the need for additional sensors and high computational power for image conversion and matching processes.
A face authentication system that uses a single camera to capture frontal and shaking facial images, determining authenticity by analyzing changes in the position of arbitrary feature points during a facial movement, eliminating the need for additional sensors and reducing computational requirements.
This approach effectively detects spoofing using facial photos with minimal computational resources, reducing system cost and size by leveraging simple calculations based on feature point position changes during facial movements.
Smart Images

Figure 2024117391000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention generally relates to a face authentication system and a face authentication method for photographing the face of a person to be authenticated and performing face authentication of the person to be authenticated, and more specifically, to a face authentication system and a face authentication method for determining whether or not the person to be authenticated is a living body based on a change in the position of any feature point on the face of the person to be authenticated while the person to be authenticated is performing a facial movement. [Background technology]
[0002] Traditionally, passwords and IDs, as well as biometric authentication technologies such as fingerprint authentication, voiceprint authentication, and iris authentication, have been used to verify the identity of a person on various devices such as mobile phones, smartphones, notebook computers, and laptop computers. In particular, as camera modules have become smaller and more powerful in recent years and are now installed in various devices, face recognition technology has become widely used, which captures a picture of the face of the person to be authenticated and verifies the identity of the person by comparing the captured face image with a pre-registered face image.
[0003] In a general face authentication technology, the registration of a user is completed by registering a face image of the user obtained by photographing the user's face with a camera in a database. A user who has completed the registration of his / her face image in the database is called a registrant. On the other hand, a person to be authenticated causes the camera of the face authentication system to photograph his / her face and causes the face authentication system to acquire his / her face image. The face authentication system compares the acquired face image with face images of one or more registrants registered in the database, and determines whether a face image whose similarity (matching degree) with the acquired front face image exceeds a predetermined value is stored in the database. If a face image whose similarity with the acquired face image is equal to or greater than a predetermined threshold is stored in the database, the face authentication system determines that the face authentication is successful. On the other hand, if there is no face image in the database whose similarity with the acquired face image is equal to or greater than a predetermined threshold, the face authentication system determines that the face authentication is unsuccessful. Thereafter, the face authentication system executes a process according to the result of the face authentication (for example, a process of unlocking a door or a process of unlocking an information terminal).
[0004] In face authentication using such a facial image of a person to be authenticated, there is a problem of "impersonation," in which a person other than the registered person impersonates the registered person by some means and illegally passes the authentication. Typically, "impersonation" is often carried out by taking a facial photo of the registered person when photographing the face of the person to be authenticated. In "impersonation" using the facial photo of the registered person, a facial photo printed on a medium such as photographic paper or a facial photo displayed on a display device such as a monitor is used.
[0005] Various solutions to the problem of "spoofing" have been proposed. For example, a method has been proposed in which two or more cameras are used to photograph the face of the person to be authenticated and the three-dimensional shape of the face of the person to be authenticated is acquired. Since a facial photograph is flat, if the three-dimensional shape of the face of the person to be authenticated is acquired, "spoofing" can be detected. However, such a method requires the use of two or more cameras, which leads to an increase in the size and cost of the authentication system. In addition, a method has been proposed to detect "spoofing" by combining authentication using a facial image of the person to be authenticated with various authentication methods such as biometric discrimination by measuring the temperature of the person to be authenticated using an infrared camera and biometric authentication by fingerprint authentication. However, such a method may require the use of additional sensor devices (infrared sensors, fingerprint authentication sensors, etc.) in addition to the camera, which leads to an increase in the size and cost of the authentication system.
[0006] To address this problem, Patent Document 1 proposes a face recognition system that detects "impersonation" by using a frontal face image obtained by photographing the face of the person to be authenticated from the front during face recognition, and a face image obtained as a result of instructing the person to turn their head to move their head.
[0007] When "impersonation" using a facial photograph is performed, a malicious user tilts the facial photograph of a registrant toward the camera of the facial authentication system, and makes the facial authentication system take a facial photograph of the registrant, making it appear as if the person to be authenticated is performing a face-shaking motion. Since a facial photograph is flat, the face-shaking image obtained in this manner approximately matches a converted image obtained by performing an image conversion process (mapping from a flat surface to another flat surface) on the front face image of the registrant. Therefore, the facial authentication system of Patent Document 1 performs a matching process between the face-shaking image and the above-mentioned converted image, and if they match, "impersonation" using a facial photograph is detected.
[0008] However, in the face recognition system of Patent Document 1, in order to detect "impersonation" using a face photo, it is necessary to perform image conversion processing on the front face image of the registrant and matching processing between the face posture image and the converted image. In addition, in order to increase the accuracy of face recognition, the number of pixels of the face image used in face recognition is generally large. The image conversion processing and matching processing are calculations on the entire image, and further, when the number of pixels of the face image is large, there is a problem that the calculation time and amount of calculation of the face recognition processing increases. In addition, the face recognition system of Patent Document 1 needs to use a processing unit (CPU, etc.) with high calculation capacity, and there is a problem of an increase in the cost and calculation time of the face recognition system. [Prior art documents] [Patent documents]
[0009] [Patent Document 1] International Publication No. 2009-004916 Summary of the Invention [Problem to be solved by the invention]
[0010] The present invention has been made in consideration of the above-mentioned problems in the conventional technology, and its purpose is to provide a face recognition system and a face recognition method that can detect "spoofing" with simple calculations, without using any additional sensor devices other than a camera. [Means for solving the problem]
[0011] Such an object can be achieved by the present invention as defined by the following (1) and (2).
[0012] (1) a camera for capturing a photograph of the face of the person to be authenticated; an instruction unit for instructing the person to be authenticated to perform a facial movement; a face authentication device for performing face authentication of the person to be authenticated, The face recognition device includes: determining whether the person to be authenticated is a living body based on a change in position of any feature point of the face during the face swing motion; A face authentication system configured to determine that the face authentication has failed if the person to be authenticated is determined not to be a living body.
[0013] (2) instructing the authentication subject to perform a facial movement action by an instruction unit; capturing an image of the face of the person to be authenticated while the person to be authenticated is performing the face-turning motion by a camera to obtain a face-turning image; determining, by a processor, from the turn-of-face image, a position change of any feature point of the face during the turn-of-face movement; determining, by the processor, whether the subject is a biometric person based on the position change of the arbitrary feature point; and if the person to be authenticated is determined to not be the living body, determining by the processor that facial authentication of the person to be authenticated has failed. Effect of the Invention
[0014] In the present invention, it is possible to determine whether the person to be authenticated is a living body or not based on the position change of an arbitrary feature point of the face during the face shaking movement of the person to be authenticated, and to detect "impersonation" by facial photograph. The position change of an arbitrary feature point of the face can be calculated by detecting the arbitrary feature point in each of a plurality of face images and comparing the coordinates of the detected arbitrary feature point in each of the plurality of face images. Therefore, the amount of calculation and calculation time required to calculate the position change of an arbitrary feature point of the face are very small. Therefore, in the present invention, it is not necessary to use a processing unit with high calculation power to detect "impersonation" by facial photograph, and the cost and calculation time of the face authentication system can be significantly reduced. [Brief description of the drawings]
[0015] [Figure 1]1 is a block diagram illustrating a face authentication system according to a first embodiment of the present invention. [Diagram 2] FIG. 2 is a block diagram of the face authentication device shown in FIG. [Diagram 3] 3 is a diagram for explaining detection of feature points by the feature point detection module shown in FIG. 2. FIG. [Figure 4] 13A and 13B are diagrams for explaining position changes of feature points when a face turning motion is performed in a case where the face of a person to be authenticated is a biometric face; [Diagram 5] 13A and 13B are diagrams for explaining position changes of feature points when a face turning motion is performed in a case where the face of a person to be authenticated is not a biometric face; [Figure 6] 1 is a flowchart showing a face authentication method according to a first embodiment of the present invention. [Figure 7] 7 is a flowchart of the living body discrimination process shown in FIG. 6. [Figure 8] FIG. 11 is a diagram for explaining a biometric discrimination process in the face authentication system according to the second embodiment of the present invention. [Figure 9] FIG. 11 is another diagram for explaining the biometric determination process in the face authentication system according to the second embodiment of the present invention. [Figure 10] 10 is a flowchart of a biometrics determination process in a face authentication method according to a second embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] First Embodiment Hereinafter, the face authentication system according to the first embodiment of the present invention will be described in detail with reference to Figs. 1 to 5. Fig. 1 is a block diagram showing a schematic diagram of the face authentication system according to the first embodiment of the present invention. Fig. 2 is a block diagram of the face authentication device shown in Fig. 1. Fig. 3 is a diagram for explaining detection of feature points by the feature point detection module shown in Fig. 2. Fig. 4 is a diagram for explaining positional changes of feature points when a face swing action is performed in a case where the face of the person to be authenticated is a biometric face. Fig. 5 is a diagram for explaining positional changes of feature points when a face swing action is performed in a case where the face of the person to be authenticated is not a biometric face.
[0017] The face authentication system 1 shown in Fig. 1 has a function of performing face matching of the person to be authenticated 100 using a front face image obtained by photographing the face of the person to be authenticated 100 from the front. Furthermore, the face authentication system 1 has a function of prompting the person to be authenticated 100 to perform a face swinging motion, determining whether the person to be authenticated 100 is a living body or not from a position change of any feature point of the face of the person to be authenticated 100 during the face swinging motion, and detecting "impersonation" by a facial photograph. The face authentication system 1 is configured to determine that the face authentication of the person to be authenticated 100 has been successful only when the face matching of the person to be authenticated 100 has been successful and the person to be authenticated 100 has been determined to be a living body, and to determine that the face authentication of the person to be authenticated 100 has failed in other cases.
[0018] The result of face recognition by the face recognition system 1 is transmitted to another device (not shown) having any function (e.g., a door lock device or an information terminal) via wired or wireless communication, and the other device executes a process (e.g., unlocking a door or an information terminal) according to the result of the face recognition. Typically, the face recognition system 1 is used in a smart lock device for controlling the locking of doors in a house or an office, and the smart lock device locks or unlocks the door according to the result of the face recognition. Hereinafter, a description will be given assuming that the face recognition system 1 is used in a smart lock device.
[0019] As shown in Fig. 1, the face recognition system 1 includes a camera 2 for capturing an image of the face of the person to be authenticated 100, an instruction unit 3 for instructing the person to be authenticated 100 to perform a facial movement, and a face recognition device 4 for performing face recognition of the person to be authenticated 100 by using an image obtained by capturing an image of the face of the person to be authenticated 100. In the following description, as shown in Fig. 1, the height direction is defined as the Z direction, the direction perpendicular to the Z direction and separating the camera 2 from the person to be authenticated 100 is defined as the Y direction, and the direction perpendicular to the Z direction and the Y direction is defined as the X direction.
[0020] The camera 2 is used to photograph the face of the person to be authenticated 100 from the front and acquire a frontal facial image of the person to be authenticated 100. Furthermore, the camera 2 is used to continue photographing the face of the person to be authenticated 100 at a predetermined shutter speed while the person to be authenticated 100 is performing a face turning motion, and acquire a plurality of face turning images (video) of the person to be authenticated 100. The camera 2 includes an optical system 21 and an image sensor 22 for capturing an optical image formed by the optical system 21 and acquiring a frontal facial image or a plurality of face turning images of the person to be authenticated 100.
[0021] The optical system 21 has a function of forming an optical image including the face of the person to be authenticated 100. The optical system 21 is composed of optical elements such as one or more lenses and apertures, and collects light incident from the person to be authenticated 100 to form an optical image including the face of the person to be authenticated 100 on the imaging surface of the image sensor 22. In addition, the optical system 21 may optionally include a focus lens for providing an autofocus function. In this case, the optical system 21 further includes a lens actuator that realizes the autofocus function by driving the focus lens. Such a lens actuator is not particularly limited as long as it can drive the focus lens of the optical system 21, and can be composed of an actuator such as a DC motor, a stepping motor, or a voice coil motor.
[0022] The image sensor 22 has a function of capturing an optical image including the face of the person to be authenticated 100 formed by the optical system 21, thereby acquiring a front face image or multiple face profile images of the person to be authenticated 100. As the image sensor 22, any image sensor known in the camera field, such as a color or black-and-white CCD image sensor or a CMOS image sensor, can be used. The optical system 21 and the image sensor 22 are provided in the same camera housing such that the optical axis OA of the optical system 21 is substantially perpendicular to the imaging surface of the image sensor 22, and the optical axis OA and the center point of the imaging surface of the image sensor 22 are substantially coincident.
[0023] The camera 2 is connected to the face authentication device 4 via a wired or wireless connection, and the front face image and multiple face-shape images of the person to be authenticated 100 acquired by the image sensor 22 are transmitted to the face authentication device 4. The face authentication device 4 executes face matching of the person to be authenticated 100 using the front face image transmitted from the image sensor 22. Furthermore, the face authentication device 4 executes a biometric determination process to determine whether the person to be authenticated 100 is a living body, using the front face image and multiple face-shape images transmitted from the image sensor 22, and detects "impersonation" using a facial photograph.
[0024] The camera 2 is configured and arranged to focus on a position that is a predetermined distance away from the front principal point of the optical system 21 in the -Y direction (a predetermined distance range when the optical system 21 has an autofocus function). A position on the optical axis OA of the optical system 21 and a predetermined distance away from the front principal point of the camera 2 in the +Y direction (a specific distance within a predetermined distance range when the optical system 21 has an autofocus function) is defined as a "predetermined shooting position" where the authentication subject 100 should be located. When the face authentication system 1 is used in a smart lock device, typically, the camera 2 is configured and arranged to focus on a specific distance within a range of 40 to 100 cm from the front principal point of the optical system 21 in the -Y direction. In this case, the "predetermined shooting position" is a position on the optical axis OA and a specific distance away from the front principal point of the optical system 21 in the -Y direction within a range of 40 to 100 cm.
[0025] The camera 2 is installed on a door whose lock is controlled by a smart lock, at a height at the eye level of an average adult (for example, 140 to 170 cm above the floor). The person to be authenticated 100 has his / her face directly facing the camera 2 installed on the door, and has the camera 2 capture his / her own face, thereby acquiring a frontal facial image of the person to be authenticated 100. In this specification, the phrase "a state in which the face of the person to be authenticated 100 faces the camera 2 directly" refers not only to a state in which the optical axis OA of the optical system 21 of the camera 2 is perfectly aligned with a virtual line that runs straight from the center of the face of the person to be authenticated 100 (for example, the center point between the eyes) in a forward direction, but also to a state in which the angle and positional deviation between the optical axis OA and the virtual line are within a predetermined tolerance range. For example, a state in which the angular deviation between the optical axis OA and the virtual line is within a few degrees (e.g., 3 degrees) and the deviation in the X- or Z-direction of the position between the optical axis OA and the virtual line is within a few centimeters (e.g., 5 cm) can be regarded as “a state in which the face of the person to be authenticated 100 is facing directly toward the camera 2.”
[0026] In addition, in this specification, "a state in which the face of the person to be authenticated 100 is located at a predetermined photographing position" includes not only a state in which the center of the face of the person to be authenticated 100 is accurately located at the predetermined photographing position, but also a state in which the center of the face of the person to be authenticated 100 is shifted from the predetermined photographing position in the Y direction by a predetermined tolerance. For example, a state in which the deviation in the Y direction between the center of the face of the person to be authenticated 100 and the predetermined photographing position is within a few centimeters (e.g., 5 cm) and the center of the face of the person to be authenticated 100 is located within the depth of field of the camera 2 can be considered as "a state in which the face of the person to be authenticated 100 is located at a predetermined photographing position."
[0027] As described later, in the face authentication system 1 of the present invention, the instruction unit 3 provides an instruction to the person to be authenticated 100 to urge him / her to perform a face turning motion. While the person to be authenticated 100 is performing a face turning motion in accordance with the instruction, the camera 2 continues to photograph the face of the person to be authenticated 100 at a predetermined shutter speed to obtain a plurality of face turning images.
[0028] The instruction unit 3 has a function of guiding the person to be authenticated 100 to adjust the position and orientation of the face so that the face of the person to be authenticated 100 faces the camera 2 in a predetermined shooting position, and a function of instructing the person to be authenticated 100 to turn his / her head. The instruction unit 3 is typically provided on a door, near the location where the camera 2 is provided.
[0029] The instruction unit 3 provides a guide to prompt the person to be authenticated 100 to correct the position and orientation of the face so that the person to be authenticated 100 faces the camera 2 in a predetermined shooting position. The instruction unit 3 is connected to the face authentication device 4 via a wired connection or a wireless connection, and provides the person to be authenticated 100 with a guide to correct the position and orientation of the face in response to control from the face authentication device 4. The instruction unit 3 also provides an instruction to prompt the person to be authenticated 100 to perform a face swing action in response to control from the face authentication device 4. The instruction unit 3 is not particularly limited as long as it can provide the person to be authenticated 100 with a guide and an instruction by any means such as characters, images, voice, light, etc., and a display, a speaker, a light-emitting device, etc. can be used as the instruction unit 3.
[0030] For example, in the illustrated embodiment, the instruction unit 3 is any display such as a liquid crystal display. In this case, the instruction unit 3 displays the front face image of the person to be authenticated 100 transmitted from the face authentication device 4 as a guide. The person to be authenticated 100 can determine whether the position and orientation of his / her face with respect to the camera 2 are appropriate by referring to the front face image displayed on the instruction unit 3. Therefore, the person to be authenticated 100 can adjust the position and orientation of his / her face to face the camera 2 in a predetermined shooting position.
[0031] At this time, the instruction unit 3 may provide additional guides for orienting the face of the person to be authenticated 100 to the camera 2. The additional guides may be, for example, a ring-shaped figure represented by a dotted line and a message such as "Adjust the position and orientation so that the face fits perfectly within the dotted line frame." The instruction unit 3 may display a guide message using characters or icons in addition to or instead of the frontal face image and the additional guides. In this case, the guide message is a character string or an icon instructing the person to be authenticated 100 to perform a specific action, such as "Move a little further forward (backward, right, or left)" or "Turn your face a little further up (down, right, or left)." By following such guide messages, the person to be authenticated 100 can reliably orient his or her face to the camera 2 at a predetermined shooting position.
[0032] Furthermore, when the person to be authenticated 100 faces the camera 2 in a predetermined shooting position, the instruction unit 3 may display a message indicating whether the face of the person to be authenticated 100 faces the camera 2 in a predetermined shooting position, such as "The position and orientation of the face are appropriate." On the other hand, when the person to be authenticated 100 does not face the camera 2 in a predetermined shooting position, the instruction unit 3 may provide a message such as "The position and orientation of the face are inappropriate."
[0033] Furthermore, the instruction unit 3 displays a message (such as a message such as "Please make large head-shaking movements in the left and right directions for 5 seconds") as an instruction to the person to be authenticated 100 to turn his / her head in a specified direction (for example, left and right directions, up and down directions) for a specified time. Following the instruction from the instruction unit 3, the person to be authenticated 100 can turn his / her head in the specified direction for a specified time.
[0034] Furthermore, the instruction unit 3 may display the result of face authentication of the person 100 to be authenticated by the face authentication device 4 using characters or an icon. The person 100 to be authenticated can refer to the result of face authentication displayed on the instruction unit 3 (e.g., "Face authentication was successful. The door will be unlocked.", "Face authentication failed. Please try face authentication again.") and take appropriate action such as opening the door or challenging face authentication again.
[0035] The face authentication device 4 has a function of executing face matching of the person to be authenticated 100 using a front face image of the person to be authenticated acquired by the camera 2. Furthermore, the face authentication device 4 has a function of executing a biometrics determination process to determine whether the person to be authenticated 100 is a living body or not using a plurality of face posture images of the person to be authenticated 100 acquired by the camera 2, and detecting "impersonation" by a facial photograph. The face authentication device 4 determines that the face authentication of the person to be authenticated 100 has been successful only when the face matching of the person to be authenticated 100 has been successful and the person to be authenticated 100 has been determined to be a living body. On the other hand, even if the face matching of the person to be authenticated 100 has been successful, the face authentication device 4 determines that the face authentication of the person to be authenticated 100 has failed when the person to be authenticated 100 has been determined to be not a living body. The face authentication device 4 transmits the result of the face authentication to the smart lock device. The smart lock device that receives the result of the face authentication from the face authentication device 4 executes a process (such as unlocking a door) according to the result of the face authentication.
[0036] The face authentication device 4 is connected to the camera 2 and the instruction unit 3 via a wired or wireless connection. When the face authentication device 4 is wired to at least one of the camera 2 and the instruction unit 3, the face authentication device 4 is provided on or near the door on which the camera 2 and the instruction unit 3 are provided. In this case, the camera 2, the instruction unit 3, and the face authentication device 4 may be provided in the same housing. On the other hand, when the face authentication device 4 is wirelessly connected to the camera 2 and the instruction unit 3, the face authentication device 4 may be provided in any remote location other than on the door.
[0037] As shown in FIG. 2, the facial recognition device 4 includes one or more processors 41 for controlling the facial recognition device 4, an I / O (input / output) interface 42 for performing input to and output from the facial recognition device 4, a facial information database 43 that stores identification information 431 and a feature set 432 of a registered person, and one or more memories 44 that store modules 45 used to perform the processing of the facial recognition device 4.
[0038] The one or more processors 41 are computing units that perform computations, such as signal manipulation, based on computer-readable instructions, such as one or more microprocessors, microcomputers, microcontrollers, digital signal processors (DSPs), central processing units (CPUs), memory control units (MCUs), graphics processing units (GPUs), state machines, logic circuits, application specific integrated circuits (ASICs), or combinations thereof. In particular, the processor 41 is configured to fetch computer-readable instructions (e.g., data, programs, modules, etc.) stored in the memory 44 and perform computations, signal manipulations, and control.
[0039] The I / O interface 42 includes various software interfaces and hardware interfaces, such as a web interface and a graphical user interface (GUI). For example, the I / O interface 42 is an interface for peripheral devices, such as a keyboard, a mouse, a touch panel display, an external memory, a printer, and a display. The I / O interface 42 enables input to the face authentication device 4 using an input device, such as a keyboard, a mouse, and a touch panel display, and output from the face authentication device 4 to a display, a printer, and an external memory. The I / O interface 42 may also enable the face authentication device 4 to communicate with any external device, such as a web server or a data server, via a network, such as the Internet. The I / O interface 42 also enables the face authentication device 4 to communicate with the camera 2, the instruction unit 3, and the smart lock device, via a wired or wireless connection.
[0040] Face information database 43 is a computer-readable medium including a non-volatile storage medium (e.g., a ROM, an EPROM, an EEPROM, a flash memory, a hard disk, a solid-state drive, an SD card, an optical disk, a CD-ROM, a digital versatile disk (DVD), a Blu-ray disk, a magnetic cassette, a magnetic tape, a magnetic disk). Note that in FIG. 2, face information database 43 is incorporated inside face authentication device 4, but the present invention is not limited to this. Face information database 43 may exist inside an external server or the like provided separately from face authentication device 4, and face authentication device 4 may access face information database 43 via a network such as the Internet.
[0041] The face information database 43 includes identification information 431 of a registrant and a feature set 432 of a registrant associated with the identification information 431. A user of the face authentication system 1 first starts an application for the face authentication system 1 installed on his / her information terminal (such as a smartphone) and accesses the face authentication device 4. The user inputs identification information 431, such as his / her name, affiliation, contact information (such as a telephone number or an email address), and password, into the application and transmits it to the face authentication device 4. After that, the user photographs his / her face with the camera of his / her information terminal facing the camera, obtains a frontal face image of his / her face, and transmits it to the face authentication device 4 via the application. Alternatively, the user may have the camera 2 photograph his / her face with his / her face facing the camera 2 of the face authentication system 1, and have the face authentication device 4 obtain a frontal face image of his / her face.
[0042] The face authentication device 4 stores the acquired user's identification information 431 in the face information database 43. Furthermore, the face authentication device 4 extracts a plurality of features from the acquired front face image of the user using a feature extraction module 454 (described later) stored in the memory 44. The face authentication device 4 stores the extracted plurality of features as a feature set 432 in the face information database 43 in association with the identification information 431 already stored in the face information database 43. The acquired front face image of the user may also be stored in the face information database 43 in association with the identification information 431. When the storage of the user's identification information 431 and the feature set 432 in the face information database 43 is completed, the face authentication device 4 transmits a message indicating that the user's registration is completed to the information terminal of the user via the I / O interface 42.
[0043] The memory 44 is a computer-readable medium including a volatile storage medium (e.g., RAM, SRAM, DRAM), a non-volatile storage medium (e.g., ROM, EPROM, EEPROM, flash memory, a hard disk, a solid-state drive, an SD card, an optical disk, a CD-ROM, a digital versatile disk (DVD), a Blu-ray disk, a magnetic cassette, a magnetic tape, a magnetic disk), or a combination thereof.
[0044] Modules 45 are computer-readable instructions executable by processor 41, such as routines, applications, programs, algorithms, libraries, objects, components, data structures, or combinations thereof.
[0045] The module 45 includes a camera control module 451 for controlling the camera 2, an instruction unit control module 452 for controlling the instruction unit 3, a guide module 453 for providing a guide for orienting the face of the person to be authenticated 100 to the camera 2 at a predetermined shooting position, a feature extraction module 454 for extracting a plurality of features (a set of features) from a frontal face image, a face matching module 455 for performing face matching using the frontal face image of the person to be authenticated 100, a face-turning instruction module 456 for instructing the person to be authenticated 100 on a face-turning movement, a feature point detection module 457 for detecting a plurality of facial feature points in each of a plurality of face-turning images acquired while the person to be authenticated 100 is performing a face-turning movement, a biometric determination module 458 for performing a biometric determination process to determine whether the person to be authenticated 100 is a living body based on a change in the position of any facial feature point during the face-turning movement, and an image processing module 459 for performing a size normalization process (scaling process) on each of the plurality of face-turning images. Note that the image processing module 459 only needs to be able to perform image conversion processing commonly used in the field of image processing, including size normalization processing (e.g., scaling processing that enlarges or reduces the long and short sides of an image to specified values), so a detailed description of the image processing module 459 will be omitted.
[0046] The processor 41 can provide desired functions by using various modules stored in the memory 44. For example, by using the biometrics determination module 458, the processor 41 can execute a biometrics determination process for determining whether the subject 100 is a living body or not from a change in the position of any feature point on the face during a facial movement. Each module can also use other modules.
[0047] The camera control module 451 has a function of controlling the camera 2. The camera control module 451 communicates with the camera 2 via the I / O interface 42, and acquires a front face image or a plurality of face turning images from the camera 2. The acquired front face image is sent to the guide module 453. On the other hand, the acquired plurality of face turning images are subjected to size normalization processing by the image processing module 459, and then sent to the feature point detection module 457.
[0048] The instruction unit control module 452 has a function of controlling the instruction unit 3. The instruction unit control module 452 controls the instruction unit 3 in response to an instruction from the face-shaking instruction module 456, and provides an instruction to the person to be authenticated 100 by text, image, or voice, urging the person to be authenticated 100 to perform a face-shaking motion. By following the instruction provided by the instruction unit 3, the person to be authenticated 100 can reliably perform a face-shaking motion in a specified direction for a specified time. Furthermore, the instruction unit control module 452 controls the instruction unit 3 in response to the determination result of the guide module 453, and causes the instruction unit 3 to provide a guide to the person to be authenticated 100 by text, image, or voice. By following the guide provided by the instruction unit 3, the person to be authenticated 100 can reliably face his / her face to the camera 2 at a specified shooting position.
[0049] The guide module 453 has a function of determining whether or not the face of the person to be authenticated 100 faces the camera 2 at a predetermined shooting position, using the front face image of the person to be authenticated 100 acquired from the camera 2. More specifically, the guide module 453 determines whether or not the face of the person to be authenticated 100 faces the camera 2 at a predetermined shooting position, based on the area occupied by and the direction of the face of the person to be authenticated 100 in the front face image acquired by the image sensor 22 of the camera 2. When the guide module 453 determines that the face of the person to be authenticated 100 faces the camera 2, the front face image is temporarily stored in the memory 44.
[0050] Furthermore, when the guide module 453 determines that the face of the person to be authenticated 100 faces the camera 2 directly, it calculates the vertical and horizontal sizes of the person to be authenticated 100 in the frontal face image from the contour of the face of the person to be authenticated 100 in the frontal face image. Specifically, the guide module 453 calculates the vertical and horizontal sizes of the person to be authenticated 100 in the frontal face image from the distance between the outermost points in the left-right and up-down directions of the contour of the face of the person to be authenticated 100 in the frontal face image. The vertical and horizontal sizes of the face of the person to be authenticated 100 in the frontal face image calculated by the guide module 453 are temporarily stored in the memory 44 and are used in the size normalization process for each of the multiple face movement videos.
[0051] When the vertical and horizontal sizes of the face of the person to be authenticated 100 in the front face image are temporarily stored in the memory 44, the processor 41 thereafter uses the image processing module 459 to perform size normalization processing on each of the multiple face shape images of the person to be authenticated 100 acquired by the camera 2, using the temporarily stored vertical and horizontal sizes. Through the size normalization processing, the vertical and horizontal sizes of the face in each of the multiple face shape images match the vertical and horizontal sizes of the face in the front face image. The multiple face shape images that have been subjected to the size normalization processing are sent to the feature point detection module 457.
[0052] On the other hand, if the face of the person to be authenticated 100 is not facing the camera 2 at a predetermined shooting position, the guide module 453 determines how to correct the position and orientation of the face of the person to be authenticated 100, and creates a guide corresponding to the determination result (for example, a guide message such as "Please move forward (backward, right, or left) a little more" or "Please turn your face up (down, right, or left) a little more"). After that, the guide module 453 provides the determination result as to whether the face of the person to be authenticated 100 is facing the camera 2 at a predetermined shooting position and the guide to the instruction unit control module 452. The instruction unit control module 452 controls the instruction unit 3 and provides the determination result and guide received from the guide module 453 to the person to be authenticated 100.
[0053] The guide module 453 is not particularly limited as long as it has the above-mentioned functions, but known artificial intelligence used in the field of face recognition can be used as the guide module 453. The artificial intelligence used as the guide module 453 has a multi-layer structure such as a neural network or deep learning, and can receive a frontal face image as an input through training, and output a determination result as to whether the face of the person to be authenticated 100 faces the camera 2 in a predetermined shooting position, and a determination result as to how the position and face of the person to be authenticated 100 should be corrected.
[0054] The feature extraction module 454 has a function of extracting a feature set from a frontal face image of a user when the user is registered, and further extracting a feature set from the frontal face of the person to be authenticated 100 when the face of the person to be authenticated 100 is matched. The feature set extracted by the feature extraction module 454 is typically an n-row, m-column vector consisting of a plurality of features (for example, an n-row, m-column vector consisting of 512 features). As described above, the feature set extracted from the frontal face image of the user is stored as a feature set 432 in the face information database 43 in a state associated with the identification information 431 of the registrant. Meanwhile, the feature set extracted from the frontal face image of the person to be authenticated 100 is matched with the feature sets 432 of one or more registrants stored in the face information database 43.
[0055] The feature extraction module 454 is not particularly limited as long as it has a function of extracting a feature set from each of the front face image of the user and the front face image of the authentication target 100, but a known artificial intelligence used in the field of face recognition similar to the guide module 453 (for example, a face recognition module by XILINX (registered trademark)) can be used as the feature extraction module 454. The artificial intelligence used as the feature extraction module 454 has a multi-layer structure such as a neural network or deep learning, and can receive a front face image as an input and output a vector of n rows and m columns as a feature set through training.
[0056] The face matching module 455 has a function of performing face matching of the person to be authenticated 100 using a frontal face image of the person to be authenticated 100. More specifically, the face matching module 455 matches the feature set (vector of n rows and m columns) of the frontal face image of the person to be authenticated 100 extracted by the feature extraction module 454 with each of the feature sets 432 (vector of n rows and m columns) of one or more registered persons stored in the face information database 43. In this matching process, the face matching module 455 calculates an inner product between the feature set of the frontal face image of the person to be authenticated 100 and each of the feature sets 432 of one or more registered persons stored in the face information database 43. The calculated inner product value is a value between 0 and 1.0, and is temporarily stored in the memory 44 as the similarity of the person to be authenticated 100.
[0057] Next, face matching module 455 extracts the highest similarity value from among the similarities of one or more persons to be authenticated 100 temporarily stored in memory 44. Then, face matching module 455 determines whether the extracted highest similarity value is equal to or greater than a predetermined threshold value (e.g., 0.9). If the extracted highest similarity value is equal to or greater than the predetermined threshold value, face matching module 455 determines that face matching of person to be authenticated 100 has been successful. On the other hand, if the extracted highest similarity value is less than the predetermined threshold value, face matching module 455 determines that face matching of person to be authenticated 100 has failed.
[0058] When face matching of the person to be authenticated 100 is successful, the facial expression instruction module 456 uses the instruction unit control module 452 to control the instruction unit 3, and provides an instruction to the person to be authenticated 100 to perform a facial expression movement. The "facial expression movement" here means a reciprocating movement of shaking the face left and right, up and down, or at a 45-degree angle while the person to be authenticated 100 is standing in a fixed position, or a rotational movement of rotating the face clockwise or counterclockwise. Specifically, the facial expression instruction module 456 creates an instruction including the direction of the facial expression movement and the duration of the facial expression movement (for example, "Please make a facial expression movement left and right widely for 5 seconds") and provides it to the person to be authenticated 100 via the instruction unit 3.
[0059] The feature point detection module 457 has a function of detecting a plurality of facial feature points in each of the front face image and the plurality of face-shake images of the person to be authenticated 100. Specifically, the feature point detection module 457 receives the front face image or the face-shake image as an input, and outputs the position (coordinates in the image) of each facial feature point in the front face image or the face-shake image. FIG. 3 shows an example of an output result of the feature point detection module 457. As shown in FIG. 3, when the feature point detection module 457 receives the front face image or the face-shake image as an input, it detects a plurality of facial feature points (e.g., facial contour, eyebrows, corners of the eyes, tip of the nose, corners of the mouth, etc.) in the image. Furthermore, the feature point detection module 457 uniquely assigns a specific index number to each of the plurality of feature points, and further outputs the position (coordinates) of the feature point in the image corresponding to each index number in association with the index number. For example, the data output from feature point detection module 457 is {(X and Y coordinate values of index number 1), (X and Y coordinate values of index number 2), ... ((X and Y coordinate values of index number n))}.
[0060] Each index number is assigned a unique attribute of a facial feature point. For example, in the example shown in Fig. 3, index numbers 1 to 17 correspond to the facial contour below the eye lines, index numbers 18 to 22 correspond to the contour of the right eyebrow, index numbers 23 to 27 correspond to the contour of the left eyebrow, index numbers 28 to 36 correspond to the contour of the nose, index numbers 37 to 42 correspond to the contour of the right eye, and index numbers 43 to 46 correspond to the contour of the left eye. Furthermore, index number 28 corresponds to the root of the nose (the beginning of the nose), and index number 34 corresponds to the tip of the nose (the part of the nose that protrudes most forward).
[0061] In this way, the data output from the feature point detection module 457 is a matrix consisting of X-coordinate values and Y-coordinate values arranged in ascending or descending order of index numbers. Therefore, the amount of data is very small, and the calculation process is very easy. For example, when tracing the position change of an arbitrary feature point of a face during a face turning motion, it is sufficient to extract only the elements of the index numbers corresponding to the arbitrary feature point from the matrix calculated from each of multiple face turning images, and compare them, and the calculation time and calculation power required for such processing are very small. The data output from the feature point detection module 457 is sent to the biometric determination module 458, and is used in the biometric determination process for determining whether the authentication target 100 is a biometric person or not.
[0062] The feature point detection module 457 is not particularly limited as long as it has a function of outputting the above-mentioned data from a front face image or a face posture image of the authentication target 100, but a known artificial intelligence used in the field of face recognition similar to that of the feature point detection module 457 (for example, Dlib, which is publicly available as a machine learning library for C++ or Python) can be used as the feature point detection module 457. The artificial intelligence used as the feature point detection module 457 has a multi-layer structure such as a neural network or deep learning, and can receive a front face image or a face posture image as an input through training and output the above-mentioned data.
[0063] Returning to Fig. 2, the biometrics discrimination module 458 has a function of identifying a position change of an arbitrary feature point of the face during a face swing motion from the data output by the feature point detection module 457, and executing a biometrics discrimination process for discriminating whether or not the person to be authenticated 100 is a living body based on the position change of the arbitrary feature point. In this embodiment, the biometrics discrimination module 458 is configured to discriminate whether or not the person to be authenticated 100 is a living body based on the amount of position change of an arbitrary feature point of the face during a face swing motion.
[0064] With reference to Fig. 4 and Fig. 5, the biometrics discrimination process for discriminating whether the person to be authenticated 100 is a living body or not based on the amount of change in position of any feature point of the face during a face-shaking motion will be described in detail. Fig. 4 shows data that the feature point detection module 457 receives and outputs each of the front face image and the face-shaking image when the person to be authenticated 100 is a living body. Fig. 5 shows data that the feature point detection module 457 receives and outputs each of the front face image and the face-shaking image when the person to be authenticated 100 is not a living body. In Fig. 4 and Fig. 5, the person to be authenticated 100 performs a face-shaking motion in the left and right directions for a predetermined time, and the face-shaking image captured by the camera 2 when the person to be authenticated 100 performs a face-shaking motion to the left is referred to as "face-shaking image L", and the face-shaking image captured by the camera 2 when the person to be authenticated 100 performs a face-shaking motion to the right is referred to as "face-shaking image R". In Fig. 4 and Fig. 5, the tip of the nose is highlighted with a star as an arbitrary feature point of the face.
[0065] 4, when the person to be authenticated 100 is a living body, the face of the person to be authenticated 100 is naturally a three-dimensional object. Furthermore, the face turning motion is performed centered on the neck of the person to be authenticated 100. Therefore, when the person to be authenticated 100 turns his / her head in accordance with the instruction provided by the instruction unit 3, the shift amount of each feature point of the face from the front face image changes according to the distance from the neck of the person to be authenticated 100.
[0066] Next, as shown in Fig. 5, assume that the person to be authenticated 100 is not a living body, that is, a face photograph printed on photographic paper or a face photograph displayed on a display. In this case, a malicious user tilts or rotates the photographic paper or the display relative to the camera 2 as if the face motion was performed according to the instruction provided by the instruction unit 3, and performs a face motion, causing the camera 2 to capture a face motion image. However, even if a malicious user performs a face motion, the face of the person to be authenticated 100 (i.e., a face photograph) is a flat object, so the shift amount of each facial feature point from the front face image is very small.
[0067] The biometric discrimination module 458 in this embodiment is configured to determine whether the person to be authenticated 100 is a living body or not from the difference between the amount of shift of feature points during a facial movement when the face of the person to be authenticated 100 is a three-dimensional object and the amount of shift of feature points during a facial movement (movement of tilting or rotating photographic paper or a display) when the face of the person to be authenticated 100 is a two-dimensional object (when the face is a facial photograph).
[0068] In addition, it is preferable that the biometrics discrimination module 458 selects the tip of the nose as an arbitrary feature used to determine whether the person to be authenticated 100 is a living body or not. The tip of the nose is a facial feature located farthest from the neck, which is the center of the face-turning motion, and therefore the shift amount of the tip of the nose from the front face image during the face-turning motion is the largest among the facial features. Therefore, there is a large difference between the shift amount of the tip of the nose during the face-turning motion when the face of the person to be authenticated 100 is a three-dimensional object and the shift amount of the tip of the nose during the face-turning motion when the face of the person to be authenticated 100 is a planar object. By utilizing such a difference, it is possible to more accurately determine whether the person to be authenticated 100 is a living body or not. In the following, a description will be given assuming that the biometrics discrimination module 458 selects the tip of the nose as an arbitrary feature used to determine whether the person to be authenticated 100 is a living body or not.
[0069] The biometric identification module 458 receives data calculated from the front face image of the person to be authenticated 100 (referred to as "front face image data") and a plurality of data calculated from a plurality of face-turning images of the person to be authenticated 100 (referred to as "face-turning image data") from the feature point detection module 457. After that, the biometric identification module 458 extracts an element (coordinate value) of an index number corresponding to the nose tip (for example, index number "34" in the example of FIG. 3) from the front face image data, and temporarily stores it in the memory 44 as a reference value. Next, the biometric identification module 458 extracts an element (coordinate value) of an index number corresponding to the nose tip from each of the plurality of face-turning images, calculates the difference from the reference value, and calculates a plurality of position change amounts. The calculated position change amount is the Euclidean distance (square root of the sum of the squares of the difference) between the X and Y coordinates of the reference value and the X and Y coordinates to be compared.
[0070] Next, the biometrics discrimination module 458 extracts the largest one of the calculated position change amounts as the maximum position change amount, and if the maximum position change amount is less than a predetermined threshold value (for example, 5% of the vertical or horizontal size of the face in the front face image), determines that the person to be authenticated 100 is not a biometrics. On the other hand, if the maximum position change amount is equal to or greater than the predetermined threshold value, the biometrics discrimination module 458 determines that the person to be authenticated 100 is a biometrics. The discrimination result by the biometrics discrimination module 458 is sent to the processor 41. The processor 41 determines that the face authentication of the person to be authenticated 100 is successful only when the face matching by the face matching module 455 is successful and the biometrics discrimination module 458 determines that the person to be authenticated 100 is a biometrics. On the other hand, even if the face matching by the face matching module 455 is successful, if the biometrics discrimination module 458 determines that the person to be authenticated 100 is not a biometrics, the processor 41 determines that the face authentication of the person to be authenticated 100 is unsuccessful. The result of the facial authentication of the person 100 to be authenticated by the processor 41 is transmitted to the smart lock device via the I / O interface 42. The smart lock device that receives the result of the facial authentication of the person 100 to be authenticated executes processing (unlocking the door, etc.) according to the result of the facial authentication.
[0071] In this way, in the face authentication system 1 of the present invention, the biometrics discrimination process for determining whether the authentication subject 100 is a living body and detecting "impersonation" by a facial photograph is executed by detecting a plurality of facial feature points, calculating the Euclidean distance, and comparing the calculated Euclidean distance with a predetermined threshold value. Therefore, the calculation time and amount of calculation for the biometrics discrimination process of the face authentication system 1 of the present invention is extremely small compared to the conventional process for detecting "impersonation" by a facial photograph using the image conversion process and matching process described in the background art. Therefore, in the face authentication system 1 of the present invention, it is not necessary to use a processing unit with high calculation capacity to detect "impersonation" by a facial photograph, and the cost and calculation time of the face authentication system 1 can be significantly reduced. Furthermore, in the face authentication system 1 of the present invention, it is not necessary to use an additional sensor device (infrared sensor, fingerprint authentication sensor, etc.) in addition to the camera 2 to detect "impersonation" by a facial photograph, so there is no increase in the size or cost of the face authentication system 1.
[0072] The face authentication method S100 of the present invention is executed using the face authentication system 1 described above. The face authentication method S100 of the present invention will be described in detail below with reference to Fig. 6 and Fig. 7. Fig. 6 is a flowchart showing the face authentication method S100 according to the first embodiment of the present invention. Fig. 7 is a flowchart of the biometrics discrimination process shown in Fig. 6.
[0073] When the person to be authenticated 100 approaches the camera 2 and enters the photographing range of the camera 2, the face authentication method S100 starts. In step S110, the camera 2 photographs the face of the person to be authenticated 100 from the front, and the front face image of the person to be authenticated 100 is transmitted from the camera 2 to the face authentication device 4. Next, the guide module 453 determines from the front face image of the person to be authenticated 100 received from the camera 2 whether the face of the person to be authenticated 100 faces the camera 2 at a predetermined photographing position. If it is determined that the face of the person to be authenticated 100 does not face the camera 2 at the predetermined photographing position, the guide module 453 determines how to correct the position and orientation of the face of the person to be authenticated 100, and generates a guide corresponding to the determination result.
[0074] Thereafter, the guide module 453 provides the determination result and the guide to the instruction unit control module 452. The instruction unit control module 452 controls the instruction unit 3 and provides the determination result and the guide provided by the guide module 453 to the person to be authenticated 100. The person to be authenticated 100 adjusts the position and orientation of his / her face according to the guide provided by the instruction unit 3, and faces his / her face directly to the camera 2 at a predetermined shooting position. While the person to be authenticated 100 adjusts the position and orientation of his / her face in step S110, the camera 2 continues to acquire a front face image of the person to be authenticated 100 in real time and continues to transmit the image to the face authentication device 4. When the guide module 453 determines that the face of the person to be authenticated 100 faces the camera 2 directly at the predetermined shooting position, the front face image is temporarily stored in the memory 44.
[0075] Through these steps, it is possible to ensure that a frontal face image is acquired with the face of the person to be authenticated 100 facing the camera 2. As described above, the frontal face image is used to obtain a reference value used in the biometrics determination process for determining whether or not the person to be authenticated 100 is a living body. Therefore, by using the guide module 453 to suppress variations in the conditions (position and orientation of the face) when the frontal face image is acquired, it is possible to improve the determination accuracy of the biometrics determination process.
[0076] When a frontal face image of the person to be authenticated 100 is acquired with the face of the person to be authenticated facing the camera 2 and temporarily stored in the memory 44, the face authentication method S100 proceeds to step S120. In step S120, the guide module 453 calculates the vertical and horizontal sizes of the person to be authenticated 100 in the frontal face image from the contour of the face of the person to be authenticated 100 in the frontal face image. The calculated vertical and horizontal sizes of the face of the person to be authenticated 100 in the frontal face image are temporarily stored in the memory 44.
[0077] In step S130, the feature extraction module 454 extracts a feature set from the frontal face of the person to be authenticated 100 and temporarily stores it in the memory 44. Next, the face matching module 455 executes a face matching process to match the feature set temporarily stored in the memory 44 with the feature set 432 of one or more registered persons stored in the face information database 43. If the face matching process in step S130 fails, in step S140, the face authentication method S100 proceeds to step S150. In step S150, the processor 41 determines that the face authentication of the person to be authenticated 100 has failed, and transmits the result of the face authentication to the smart lock device via the I / O interface 42, and the face authentication method S100 ends.
[0078] On the other hand, if the face matching process in step S130 is successful, in step S140, the face authentication method S100 proceeds to step S160. In step S160, a biometrics discrimination process is executed to determine whether the person to be authenticated 100 is a living body or not. FIG. 7 shows a flowchart of the biometrics discrimination process executed in step S160. In step S161, the face-shaking instruction module 456 uses the instruction unit control module 452 to control the instruction unit 3, and provides an instruction to the person to be authenticated 100 to prompt the person to be authenticated 100 to perform a face-shaking motion. The person to be authenticated 100 performs a face-shaking motion in the instructed direction for the instructed duration in accordance with the instruction provided by the instruction unit 3.
[0079] In step S162, the camera 2 continues to capture the face of the person to be authenticated 100 while the person to be authenticated 100 is performing a face-shaking motion, acquires a plurality of face-shaking images, and transmits them to the face authentication device 4. The acquisition and transmission of the plurality of face-shaking images by the camera 2 may be performed in real time. When the face authentication device 4 receives the plurality of face-shaking images, the image processing module 459 performs a size normalization process (scaling process) on each of the plurality of face-shaking images using the vertical and horizontal sizes of the face of the person to be authenticated 100 in the frontal face image temporarily stored in the memory 44 in step S120. By such a size normalization process, the vertical and horizontal sizes of the face of the person to be authenticated 100 in each of the plurality of face-shaking images can be made to approximately match the vertical and horizontal sizes of the face of the person to be authenticated 100 in the frontal face image. Therefore, even if the distance between the camera 2 and the face of the person to be authenticated 100 changes during the face-shaking motion, it is possible to accurately calculate the position change of any feature point of the face. The size-normalized face images are sent to a feature point detection module 457.
[0080] In step S163, the feature point detection module 457 detects a plurality of facial feature points in the front face image of the authentication target 100 and each of the plurality of face-turning images that have been subjected to size normalization processing. The feature point detection module 457 creates front face image data from the front face image, creates face-turning image data from each of the plurality of face-turning images, and transmits the data to the biometrics determination module 458. As described above, each of the front face image data and face-turning image data is a matrix consisting of a plurality of index numbers uniquely assigned to each of the plurality of facial feature points, and the X coordinate value and the Y coordinate value of the facial feature point assigned to each index number.
[0081] In step S164, the biometrics discrimination module 458 identifies position changes of any feature points of the face during a face turning motion from the front face image data and the multiple face turning image data output by the feature point detection module 457. Specifically, the biometrics discrimination module 458 extracts an element (coordinate value) of an index number corresponding to the arbitrary feature point from the front face image data, and temporarily stores it in the memory 44 as a reference value. Next, the biometrics discrimination module 458 extracts an element (coordinate value) of an index number corresponding to the arbitrary feature point from each of the multiple face turning images, calculates the difference from the reference value, and calculates multiple position change amounts. Furthermore, the biometrics discrimination module 458 extracts the largest one of the multiple calculated position change amounts as a maximum position change amount, and temporarily stores it in the memory 44.
[0082] In step S165, the biometric discrimination module 458 determines whether the extracted maximum position change amount is equal to or greater than a predetermined threshold. If the maximum position change amount is less than the predetermined threshold, in step S166, the biometric discrimination module 458 determines that the authentication subject 100 is not a biometric person, and transmits the discrimination result to the processor 41. On the other hand, if the maximum position change amount is equal to or greater than the predetermined threshold, in step S167, the biometric discrimination module 458 determines that the authentication subject 100 is a biometric person, and transmits the discrimination result to the processor 41. When the processor 41 receives the discrimination result from the biometric discrimination module 458, step S160 ends.
[0083] Returning to FIG. 6, in step S170, the processor 41 checks whether the person to be authenticated 100 has been determined to be a living person in the biometrics determination process in step S160. If the person to be authenticated 100 has been determined to be a living person, the facial authentication method S100 proceeds to the above-mentioned step S150 and ends. On the other hand, if the person to be authenticated 100 has been determined to be a living person, the facial authentication method S100 proceeds to step S180. In step S180, the processor 41 determines that the facial authentication of the person to be authenticated 100 has been successful, and transmits the result of the facial authentication to the smart lock device via the I / O interface 42, and the facial authentication method S100 ends. After that, the smart lock device that has received the result of the facial authentication of the person to be authenticated 100 executes a process (such as unlocking the door) according to the result of the facial authentication.
[0084] <Second embodiment> Next, the face authentication system 1 according to the second embodiment of the present invention will be described in detail with reference to Fig. 8 and Fig. 9. Fig. 8 is a diagram for explaining the biometrics discrimination process in the face authentication system according to the second embodiment of the present invention. Fig. 9 is another diagram for explaining the biometrics discrimination process in the face authentication system according to the second embodiment of the present invention.
[0085] The face authentication system of this embodiment has a similar configuration to the face authentication system 1 of the first embodiment, except that the biometric discrimination process executed by the biometric discrimination module 458 of the face authentication device 4 is changed. Therefore, the face authentication system of this embodiment will be described mainly with respect to the differences from the face authentication system 1 of the first embodiment, and a description of the similar points will be omitted.
[0086] In the first embodiment described above, the biometrics discrimination module 458 was configured to determine whether the subject 100 is a living body based on the amount of change in position of an arbitrary feature point (e.g., the tip of the nose) of the face of the subject 100 during face swing. On the other hand, in the present embodiment, the biometrics discrimination module 458 is configured to calculate a first distance L1 from an arbitrary feature point of the face of the subject 100 to a left feature point located to the left of the arbitrary feature point, and a second distance L2 from an arbitrary feature point of the face of the subject 100 during face swing to a right feature point located to the right of the arbitrary feature point, and to determine whether the subject 100 is a living body based on the amount of change in the absolute value or ratio (L1 / L2 or L2 / L1) of the difference (L1-L2 or L2-L1) between the first distance L1 and the second distance L2 during face swing.
[0087] With reference to Fig. 8 and Fig. 9, the process of determining whether the person to be authenticated 100 is a living body or not will be described in detail based on the change in the absolute value or ratio of the difference between the first distance L1 and the second distance L2 during a face-turning motion. Fig. 8 shows data that the feature point detection module 457 receives and outputs a front face image and a face-turning image when the person to be authenticated 100 is a living body. Fig. 9 shows data that the feature point detection module 457 receives and outputs a front face image and a face-turning image when the person to be authenticated 100 is not a living body (when the face of the person to be authenticated 100 is a face photograph).
[0088] 8 and 9, the person to be authenticated 100 turns his / her head left and right for a predetermined time, and the turn-of-face image captured by the camera 2 when the person to be authenticated 100 turns his / her head left is called "turn-of-face image L", and the turn-of-face image captured by the camera 2 when the person to be authenticated 100 turns his / her head right is called "turn-of-face image R". In addition, in Fig. 8 and Fig. 9, the tip of the nose, the outermost left point of the facial contour, and the outermost right point of the facial contour are highlighted with stars as the arbitrary feature point, left feature point, and right feature point of the face, respectively. Below, a typical example will be described in which the tip of the nose, the outermost left point of the facial contour, and the outermost right point of the facial contour are selected as the arbitrary feature point, left feature point, and right feature point of the face, respectively.
[0089] As shown in FIG. 8, when the person to be authenticated 100 is a living body, the face of the person to be authenticated 100 is naturally a three-dimensional object. In addition, the face swinging motion is performed around the neck of the person to be authenticated 100. Therefore, when the person to be authenticated 100 performs a face swinging motion according to the instruction provided by the instruction unit 3, the movement of each feature point of the face from the front face image changes according to the distance from the neck of the person to be authenticated 100. Since the face is a three-dimensional object, the distance from the neck to the tip of the nose is different from the distance from the neck to the outermost point on the left side or the outermost point on the right side of the face outline. Therefore, when the person to be authenticated 100 performs a face swinging motion, the movement of the tip of the nose is different from the movement of the outermost point on the left side or the outermost point on the right side of the face outline. Therefore, when the person to be authenticated 100 is a living body, when the person to be authenticated 100 performs a face swinging motion, the absolute value or ratio of the difference between the first distance L1 and the second distance L2 during the face swinging motion changes significantly as shown in FIG. 8.
[0090] Next, as shown in Fig. 9, assume that the person 100 to be authenticated is not a living body, that is, the face of the person 100 to be authenticated is a face photograph printed on photographic paper or a face photograph displayed on a display. In this case, even if a malicious user performs a face-turning motion by tilting or rotating the photographic paper or the display relative to the camera 2 as if the face-turning motion was performed according to the instruction provided by the instruction unit 3, the face of the person 100 to be authenticated is a planar object, so the movement of each feature point of the face from the front face image will be approximately the same. Therefore, when the person 100 to be authenticated is not a living body, even if a malicious user performs a face-turning motion, the difference or ratio between the first distance L1 and the second distance L2 during the face-turning motion will not change significantly, as shown in Fig. 9.
[0091] The biometric discrimination module 458 in this embodiment is configured to determine whether the person to be authenticated 100 is a living body or not from the difference between the change in absolute value or ratio of the difference between the first distance L1 and the second distance L2 during a face-to-face movement when the face of the person to be authenticated 100 is a three-dimensional object, and the absolute value or ratio of the difference between the first distance L1 and the second distance L2 during a face-to-face movement when the face of the person to be authenticated 100 is a two-dimensional object.
[0092] Moreover, it is preferable that the biometrics discrimination module 458 selects the tip of the nose as an arbitrary feature point used to determine whether the person to be authenticated 100 is a living body, selects the leftmost point of the facial contour as the left feature point, and selects the rightmost point of the facial contour as the right feature point. The tip of the nose is the part of the face located farthest from the neck, which is the center of the face-turning motion, and the leftmost point and the rightmost point of the facial contour can be detected in both the front face image and the face-turning image, and are the parts located farthest from the tip of the nose in the left-right direction. Therefore, when the person to be authenticated 100 is a living body, the manner in which the tip of the nose moves in the front face image during face-turning motion is significantly different from the manner in which the leftmost point or the rightmost point of the facial contour moves. Therefore, there is a large difference between the absolute value or the change in ratio of the difference between the first distance L1 and the second distance L2 during a face-turning motion when the face of the person to be authenticated 100 is a three-dimensional object and the absolute value or the change in ratio of the difference between the first distance L1 and the second distance L2 during a face-turning motion when the face of the person to be authenticated 100 is a two-dimensional object. By utilizing such a difference, it is possible to more accurately determine whether the person to be authenticated 100 is a living body or not.
[0093] In the following, an example will be described in which it is determined whether or not the person to be authenticated 100 is a living body based on the amount of change in the absolute value of the difference between the first distance L1 and the second distance L2 (L1-L2 or L2-L1) during a face-pivot movement; however, the present invention is not limited to this. It is also possible to determine whether or not the person to be authenticated 100 is a living body based on the amount of change in the ratio between the first distance L1 and the second distance L2 (L1 / L2 or L2 / L1) during a face-pivot movement, or to determine whether or not the person to be authenticated is a living body based on the amount of change in both the absolute value and the ratio of the difference between the first distance L1 and the second distance L2 during a face-pivot movement. When determining whether or not the subject 100 is a living body based on the amount of change in both the absolute value and the ratio of the difference between the first distance L1 and the second distance L2 during a face swinging motion, for example, the subject 100 may be determined to be a living body only when the subject 100 is determined to be a living body in the determination based on the amount of change in the absolute value of the difference between the first distance L1 and the second distance L2 and the subject 100 is determined to be a living body in the determination based on the amount of change in the ratio between the first distance L1 and the second distance L2. Alternatively, the subject 100 may be determined to be a living body when the subject 100 is determined to be a living body in either the determination based on the amount of change in the absolute value of the difference between the first distance L1 and the second distance L2 or the determination based on the amount of change in the ratio between the first distance L1 and the second distance L2.
[0094] The biometrics discrimination module 458 receives the front face image data and a plurality of face-shake image data from the feature point detection module 457. After that, the biometrics discrimination module 458 extracts elements (coordinate values) of an index number corresponding to the nose tip (for example, index number "34" in the example of FIG. 3), the leftmost point of the face contour (for example, index number "2" in the example of FIG. 3), and the rightmost point of the face contour (for example, index number "16" in the example of FIG. 3) from the front face image data, and calculates a first distance L1 from the nose tip to the leftmost point of the face contour and a second distance L2 from the nose tip to the rightmost point of the face contour. Furthermore, the biometrics discrimination module 458 calculates the absolute value of the difference between the first distance L1 and the second distance L2, and temporarily stores it in the memory 44 as a reference value. The first distance L1 is the Euclidean distance (the square root of the sum of the squared differences) between the tip of the nose and the outermost point on the left side of the facial contour, and the second distance L2 is the Euclidean distance between the tip of the nose and the outermost point on the right side of the facial contour.
[0095] Next, the biometrics discrimination module 458 performs the same calculation on each of the multiple face-shake images, calculates the absolute value of the difference between the first distance L1 and the second distance L2 in each of the multiple face-shake images, and temporarily stores the calculated absolute value in the memory 44. Next, the biometrics discrimination module 458 calculates the absolute value of the difference between the first distance L1 and the second distance L2 calculated from each of the multiple face-shake images and the reference value, and calculates multiple change amounts. Next, the biometrics discrimination module 458 extracts the largest one of the multiple calculated change amounts as the maximum change amount, and if the maximum change amount is less than a predetermined threshold, it determines that the authentication target 100 is not a biometrics. On the other hand, if the maximum change amount is equal to or greater than a predetermined threshold, it determines that the authentication target 100 is a biometrics. The discrimination result by the biometrics discrimination module 458 is sent to the processor 41. With this configuration, the biometrics discrimination module 458 can also determine whether the authentication target 100 is a biometrics or not from the position change of any feature point of the face during the face-shake movement.
[0096] Next, a face authentication method S100 of the present invention using the face authentication system 1 of the present embodiment described above will be described in detail with reference to Fig. 10. Fig. 10 is a flowchart of a biometrics discrimination process in the face authentication method according to the second embodiment of the present invention.
[0097] The face authentication method of this embodiment has a similar configuration to the face authentication method S100 of the first embodiment, except that the biometric determination process executed in step S160 of the face authentication method S100 of the first embodiment is changed. Therefore, the face authentication method of this embodiment will be described focusing on the differences from the face authentication method S100 of the first embodiment, and a description of the similar points will be omitted.
[0098] Steps S161 to S163 of the biometric discrimination processing of this embodiment shown in FIG. 10 are the same as steps S161 to S163 of the biometric discrimination processing of the face authentication method S100 of the first embodiment described above, and therefore the explanation of steps S161 to S163 of the biometric discrimination processing of the face authentication method S100 of the first embodiment also applies to steps S161 to S163 of the biometric discrimination processing of this embodiment.
[0099] In step S164, the biometrics discrimination module 458 extracts an index number corresponding to an arbitrary feature point, elements (coordinate values) of the left feature point, and the right feature point from the frontal face image data output by the feature point detection module 457, and calculates a first distance L1 from the arbitrary feature point to the left feature point and a second distance L2 from the arbitrary feature point to the right feature point. Furthermore, the biometrics discrimination module 458 calculates the absolute value or ratio of the difference between the first distance L1 and the second distance L2, and temporarily stores it in the memory 44 as a reference value. Next, the biometrics discrimination module 458 performs the same calculation on each of the multiple face posture images, calculates the absolute value or ratio of the difference between the first distance L1 and the second distance L2 in each of the multiple face posture images, and temporarily stores it in the memory 44.
[0100] In step S165, the biometrics discrimination module 458 calculates the absolute value of the difference or ratio between the first distance L1 and the second distance L2 calculated from each of the multiple face shape images and the absolute value of the difference between the reference value, and calculates multiple change amounts. Next, the biometrics discrimination module 458 extracts the largest one of the multiple calculated change amounts as the maximum change amount. In step S166, the biometrics discrimination module 458 determines whether the extracted maximum change amount is equal to or greater than a predetermined threshold value. If the maximum change amount is less than the predetermined threshold value, in step S167, the biometrics discrimination module 458 determines that the authentication target 100 is not a biometrics person, and transmits the discrimination result to the processor 41. On the other hand, if the maximum change amount is equal to or greater than the predetermined threshold value, in step S168, the biometrics discrimination module 458 determines that the authentication target 100 is a biometrics person, and transmits the discrimination result to the processor 41. When the processor 41 receives the discrimination result from the biometrics discrimination module 458, step S160 ends.
[0101] Although the face recognition system and the face recognition method of the present invention have been described based on the illustrated embodiment, the present invention is not limited thereto. The configuration of each component of the present invention can be replaced with any other component that can perform the same function, or any other component can be added to the configuration of the present invention.
[0102] A person skilled in the art in the field and technology to which the present invention pertains would be able to modify the configurations of the described face recognition system and face recognition method of the present invention without significantly departing from the principles, concepts, and scope of the present invention, and face recognition systems and face recognition methods having modified configurations are also within the scope of the present invention.
[0103] For example, the number and types of components of the face authentication system of each embodiment described in detail with reference to Figures 1 to 5, 8, and 9 are merely examples for explanation, and the present invention is not necessarily limited thereto. Within the scope of the present invention, any component may be added or combined, or any component may be deleted. In addition, each component of the face authentication system may be realized in hardware, software, or a combination thereof.
[0104] In addition, the number and types of steps of the face recognition method of each embodiment shown in Figures 6, 7, and 10 are merely examples for the purpose of explanation, and the present invention is not necessarily limited thereto. Within the scope of the present invention, any step may be added or combined for any purpose, or any step may be deleted. [Explanation of symbols]
[0105] 1...Facial recognition system 2...Camera 21...Optical system 22...Image sensor 3...Instruction unit 4...Facial recognition device 41...Processor 42...I / O interface 43...Facial information database 431...Identification information 432...Feature set 44...Memory 45...Module 451...Camera control module 452...Instruction unit control module 453...Guide module 454...Feature extraction module 455...Facial matching module 456...Facial posture instruction module 457...Feature point detection module 458...Biometrics discrimination module 459...Image processing module 100...Person to be authenticated L1...First distance L2...Second distance OA...Optical axis S100...Facial recognition method S110, S120, S130, S140, S150, S160, S170, S180...Process S161, S162, S163, S164, S165, S166, S167, S168...Process
Claims
1. A camera for photographing the face of a person to be authenticated; an instruction unit for instructing the person to be authenticated to perform a facial movement; a face authentication device for performing face authentication of the person to be authenticated, The face recognition device includes: determining whether the person to be authenticated is a living body based on a change in position of any feature point of the face during the face swing motion; A face authentication system configured to determine that the face authentication has failed if the person to be authenticated is determined not to be a living body.
2. The face authentication system of claim 1, wherein the face authentication device is configured to calculate a position change amount of the arbitrary feature point during the face-turning movement from a face-turning image acquired by the camera photographing the face of the person to be authenticated while the person to be authenticated is performing the face-turning movement, and to determine whether the person to be authenticated is the living body based on the calculated position change amount of the arbitrary feature point.
3. the camera is configured to capture a front face image by photographing the face of the person to be authenticated from the front, and further to continue photographing the face of the person to be authenticated while the person to be authenticated is performing the face-turning motion, thereby acquiring a plurality of the face-turning images; The face recognition device includes: Detecting the arbitrary feature points in the front face image and each of the plurality of face posture images; calculating a plurality of the position change amounts from a position of the arbitrary feature point in the front face image and a position of the arbitrary feature point in each of the plurality of face posture images; The face authentication system according to claim 2 , configured to determine that the person to be authenticated is not the living body when the maximum one of the plurality of position change amounts is less than a predetermined threshold value.
4. The face authentication system according to claim 2 , wherein the arbitrary feature point is a nose tip.
5. The face recognition device includes: calculating a first distance from the arbitrary feature point to a left feature point located to the left of the arbitrary feature point and a second distance from the arbitrary feature point to a right feature point located to the right of the arbitrary feature point in a face-turning image acquired by the camera photographing the face of the person to be authenticated while the person to be authenticated is performing the face-turning motion; The face authentication system of claim 1, configured to determine whether the person to be authenticated is a living body based on the change in the difference or ratio between the first distance and the second distance during the face-shaking movement.
6. the camera is configured to capture a front face image by photographing the face of the person to be authenticated from the front, and further to continue photographing the face of the person to be authenticated while the person to be authenticated is performing the face-turning motion, thereby obtaining a plurality of the face-turning images; The face recognition device includes: Detecting the arbitrary feature point, the left feature point, and the right feature point in each of the front face image and the plurality of face posture images; calculating a plurality of the change amounts from a change in the difference or the ratio between the first distance and the second distance in the front face image and a change in the difference or the ratio between the first distance and the second distance in each of the plurality of face posture images; The face authentication system according to claim 5 , configured to determine that the person to be authenticated is not the living body when the maximum one of the plurality of amounts of change is less than a predetermined threshold value.
7. the arbitrary feature point being the tip of the nose; the left side feature point is the outermost left side point of the facial contour, The face authentication system according to claim 5 , wherein the right side feature point is a right outermost point of the outline of the face.
8. The face recognition device includes: Using a frontal face image acquired by photographing the face of the person to be authenticated from the front with the camera, a face matching is performed between the face information of a plurality of registered persons stored in a database and the face of the person to be authenticated; The face authentication system according to claim 1 , configured to determine that the face authentication is successful when the face matching is successful and the person to be authenticated is determined to be the living body.
9. instructing the authentication subject to perform a facial movement action by an instruction unit; capturing an image of the face of the person to be authenticated while the person to be authenticated is performing the face-turning motion by a camera to obtain a face-turning image; determining, by a processor, from the turn-of-face image, a position change of any feature point of the face during the turn-of-face movement; determining, by the processor, whether the subject is a biometric person based on the position change of the arbitrary feature point; and if the person to be authenticated is determined to not be the living body, determining by the processor that facial authentication of the person to be authenticated has failed.
10. The method further includes a step of executing, by the processor, face matching between face information of a plurality of registered persons stored in a database and the face of the person to be authenticated, using a front face image acquired by photographing the face of the person to be authenticated from the front with the camera, The face authentication method according to claim 9 , wherein the processor determines that the face authentication is successful if the face matching is successful and the person to be authenticated is determined to be the living body.
Citation Information
Patent Citations
Masquerade detection system, masquerade detection method and masquerade detection program
WO2009004916A1
