Spoofing detection system and spoofing detection program
By analyzing aspect ratios and feature point changes across multiple frames, the system effectively differentiates between real persons and flat object spoofs, enhancing authentication accuracy and addressing existing limitations in distinguishing between three-dimensional and two-dimensional objects.
Patent Information
- Application Number
- PCT/JP2024/005375
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-14
- Filing Date
- 2024-02-15
- Publication Date
- 2024-09-19
AI Technical Summary
Existing authentication systems face challenges in accurately distinguishing between real persons and spoofing using flat objects like photographs, particularly due to limitations in storage capacity and accuracy in determining three-dimensional versus two-dimensional objects.
The system captures multiple frames of a person's face from different angles, calculates the aspect ratio and changes in aspect ratio, and uses feature point analysis to differentiate between two-dimensional and three-dimensional similarities, thereby enhancing spoofing detection accuracy by determining if the object is a flat object or a real person.
This approach significantly improves the accuracy of spoofing detection by counting scores for two-dimensional and three-dimensional similarities, allowing for precise differentiation and authentication, even with limited storage capacity.
Smart Images

Figure JP2024005375_19092024_PF_FP_ABST
Abstract
Description
Spoofing detection system and spoofing detection program
[0001] The present invention relates to a spoofing detection system and a spoofing detection program that can prevent spoofing using planar objects such as photographs. The detection program according to the present invention is software that can be executed on a computer and can be stored in a computer-readable storage medium such as a CD-ROM, DVD, USB memory, HDD, or SSD (Solid State Drive).
[0002] Conventionally, there has been known a technique for authenticating a person by storing authentication information (e.g., a person's eyes, mouth, etc.) in the form of an information code and using the authentication information included in the information code and authentication information obtained by capturing an image of the person (see, for example, Patent Document 1). Also, there has been known a technique for preventing impersonation using a photograph or the like when authenticating a person (see, for example, Patent Document 2).
[0003] Here, information codes such as QR Codes (registered trademark) have limited storage capacity, making it difficult to include information such as an entire face as authentication information. Therefore, as described in Patent Document 1, a method has been proposed in which facial feature points, such as the eyes and mouth, which are part of the face, are included in the information code and these feature points are compared to authenticate a person. However, in Patent Document 1, when capturing an image of a target person's face, a malicious third party could impersonate the target person and be authenticated. In this regard, Patent Document 2 authenticates a person by comparing feature points, and to prevent spoofing using photographs, compares images captured at different angles to determine whether the image is a photograph or the real thing. Specifically, in Patent Document 2, a test object is photographed from different angles to obtain first and second images, and the coordinates of the second feature points detected in the second image are converted into planar projections onto the first image. If the error between the converted coordinates and the coordinates of the first feature points detected in the first image is less than a certain value, it is determined that an attempt at spoofing has occurred.
[0004] JP 2021-168047 A International Publication No. 2010 / 050206
[0005] As such, Patent Document 2 discloses a configuration for determining whether an object to be inspected is a three-dimensional object by comparing images of the object photographed at different angles. However, due to the increasing awareness of security in recent years, there is a demand for spoofing detection systems and spoofing detection programs with higher accuracy in determining spoofing.
[0006] In order to solve these problems, the inventors have conducted extensive research and found that higher accuracy in determining whether an object is a planar object can be achieved. Specifically, the inventors have found that by determining whether the person to be authenticated is a planar object such as a photograph or a real person based on the aspect ratio (the ratio of the vertical length to the horizontal length) of the face in a captured image of the person to be authenticated, it is possible to reduce the amount of data used to detect impersonation and to detect impersonation using a planar object such as a photograph with high accuracy, and have created the present invention.
[0007] [1] The gist of the present invention is the following spoofing detection systems (1) to (6): (1) A spoofing detection system for detecting whether a person to be authenticated is an actual person or a person captured on a planar object, the spoofing detection system comprising: an imaging means for capturing a plurality of frame images of the face of the person to be authenticated at different angles; a feature detection means for detecting an aspect ratio, which is the ratio of the vertical length to the horizontal length of the face of the person to be authenticated, from each of the plurality of frame images captured by the imaging means; and a spoofing detection means for detecting spoofing of a person by a planar object based on the aspect ratios of the face of the person to be authenticated captured at different angles.
[0008] (2) The spoofing detection system according to (1), wherein the spoofing detection means calculates, for each of the frame images, a rate or amount of change in the aspect ratio of the face of the person to be authenticated relative to a reference aspect ratio as a plane similarity, and detects spoofing based on the calculated plane similarities. (3) The spoofing detection system according to (2), wherein the spoofing detection means acquires, as the reference aspect ratio, an aspect ratio of the face of the person to be authenticated that has been registered in advance, or an aspect ratio of the face of the person to be authenticated in a frame image that was captured first among the plurality of frame images. (4) The spoofing detection system according to (2) or (3), wherein the spoofing detection means extracts at least three feature points located apart in a width direction of the face from among a plurality of feature points in each frame image, calculates a ratio of distances between the extracted feature points on the right and left sides of the face as a three-dimensional similarity, and detects spoofing based on the plurality of planar similarities and the plurality of three-dimensional similarities calculated for each frame image. (5) The spoofing detection system according to (4), wherein the spoofing detection means performs a process of counting up a planar score for each frame image when the planar similarity is equal to or greater than a predetermined value, and counting up a three-dimensional score when the three-dimensional similarity is equal to or greater than a predetermined value, and detects the presence of spoofing when the planar score is equal to or greater than a predetermined difference D from the three-dimensional score, and detects the absence of spoofing when the three-dimensional score is equal to or greater than the difference D from the planar score. (6) The spoofing detection system according to any one of (1) to (5) above may be configured such that the feature detection means detects the positions of feature points of the subject's face for each frame image captured at a different angle, and the spoofing detection means calculates feature points for each frame image compared to other frame images captured in succession, and if the difference is equal to or greater than a threshold value TL, further performs processing to determine that spoofing using both a planar object and a three-dimensional object has occurred.
[0009] The present invention also provides an impersonation detection program as set forth below in (7): (7) An impersonation detection program for detecting whether a person to be authenticated is an actual person or a person captured on a planar object, the program causing a computer to execute an acquisition function for acquiring a plurality of frame images of the person to be authenticated captured at different angles, a feature detection function for detecting an aspect ratio, which is the ratio of the vertical length to the horizontal length of the face of the person to be authenticated, from each of the plurality of frame images, and an impersonation detection function for detecting impersonation of a person by a planar object based on the aspect ratios of the face of the person to be authenticated captured at different angles.
[0010] [2] The present invention according to another aspect can also be summarized as an impersonation detection system as set forth in (8) to (14) below. (8) An impersonation detection system for detecting whether a person to be authenticated is an actual person or a person photographed on a planar object, the impersonation detection system comprising: an imaging means for capturing a plurality of frame images of the face of the person to be authenticated at different angles; a feature detection means for detecting an aspect ratio, which is the ratio of the vertical length to the horizontal length of the face of the person to be authenticated, from each of the plurality of frame images captured by the imaging means; and an impersonation detection means for detecting impersonation of a person by a planar object based on the aspect ratios of the face of the person to be authenticated photographed at different angles.
[0011] (9) The spoofing detection system according to (8), wherein the spoofing detection means calculates, for each of the frame images, a rate or amount of change in the aspect ratio of the face of the person to be authenticated relative to a reference aspect ratio as a planar similarity, and detects spoofing based on the calculated multiple planar similarities. (10) The spoofing detection system according to (9), wherein the spoofing detection means acquires, as the reference aspect ratio, an aspect ratio of the face of the person to be authenticated that is registered in advance, or the aspect ratio of the face of the person to be authenticated in the frame image that was captured first among the multiple frame images. (11) The spoofing detection system according to (8), wherein the spoofing detection means extracts at least three feature points that are spaced apart in the width direction of the face from multiple feature points in each frame image, calculates a ratio of the distances between the extracted feature points on the right and left sides of the face as a three-dimensional similarity, and detects spoofing based on the multiple three-dimensional similarities calculated for each of the frame images. (12) The spoofing detection system according to (9) or (10), wherein the spoofing detection means extracts at least three feature points located apart in a width direction of the face from a plurality of feature points in each frame image, calculates a ratio of distances between the extracted feature points on the right and left sides of the face as a three-dimensional similarity, and detects spoofing based on the plurality of planar similarities and the plurality of three-dimensional similarities calculated for each frame image. (13) The spoofing detection system according to (12), wherein the spoofing detection means performs a process of counting up a planar score for each frame image when the planar similarity is equal to or greater than a predetermined value, and counting up a three-dimensional score when the three-dimensional similarity is equal to or greater than a predetermined value, and detects the presence of spoofing when the planar score is equal to or greater than a predetermined difference D from the three-dimensional score, and detects the absence of spoofing when the three-dimensional score is equal to or greater than the difference D from the planar score.(14) An impersonation detection system described in any of (8) to (13) above, wherein the feature detection means detects the position of feature points on the subject's face for each frame image taken at a different angle, and the impersonation detection means calculates the difference in the position of feature points for each frame image compared to other frame images taken in succession, and if the difference is greater than or equal to a threshold value TL, further performs processing to determine that impersonation using both planar and three-dimensional objects has occurred.
[0012] The present invention according to another aspect is summarized as a recording medium of an impersonation detection program as set forth in (15) to (21) below: (15) A recording medium of an impersonation detection program for detecting whether a person to be authenticated is an actual person or a person captured on a planar object, the program having an acquisition function for acquiring a plurality of frame images of the person to be authenticated captured at different angles, a feature detection function for detecting an aspect ratio, which is the ratio of the vertical length to the horizontal length of the face of the person to be authenticated, from each of the plurality of frame images, and an impersonation detection function for detecting impersonation of a person by a planar object based on the aspect ratios of the face of the person to be authenticated captured at different angles.
[0013] (16) The recording medium according to (15), wherein the spoofing detection function calculates, for each of the frame images, a rate or amount of change in the aspect ratio of the face of the person to be authenticated relative to a reference aspect ratio as a plane similarity, and detects spoofing based on the calculated plane similarities. (17) The recording medium according to (16), wherein the spoofing detection function acquires, as the reference aspect ratio, an aspect ratio of the face of the person to be authenticated that has been registered in advance, or an aspect ratio of the face of the person to be authenticated in a frame image that was captured first among the plurality of frame images.
[0014] (18) The recording medium according to (15) above, wherein the spoofing detection function extracts at least three feature points that are spaced apart in the width direction of the face from among a plurality of feature points in each frame image, calculates a ratio of distances between the extracted feature points on the right and left sides of the face as a three-dimensional similarity, and detects spoofing based on the plurality of three-dimensional similarities calculated for each of the frame images. (19) The recording medium according to (16) or (17) above, wherein the spoofing detection function extracts at least three feature points that are spaced apart in the width direction of the face from among a plurality of feature points in each frame image, calculates a ratio of distances between the extracted feature points on the right and left sides of the face as a three-dimensional similarity, and detects spoofing based on the plurality of planar similarities and the plurality of three-dimensional similarities calculated for each of the frame images.
[0015] (20) The recording medium according to any one of (15) to (20), wherein the spoofing detection function counts up a planar score for each of the frame images when the planar similarity is equal to or greater than a predetermined value, and counts up a three-dimensional score for each of the frame images when the three-dimensional similarity is equal to or greater than a predetermined value, and detects the presence of spoofing when the planar score is equal to or greater than a predetermined difference D from the three-dimensional score, and detects the absence of spoofing when the three-dimensional score is equal to or greater than the difference D from the planar score. (21) The recording medium according to any one of (15) to (20), wherein the feature detection function detects the positions of feature points of the subject's face for each of the frame images captured at different angles, and the spoofing detection function calculates the difference in the positions of the feature points for each of the frame images from other frame images captured in succession, and further performs a process of determining that spoofing using both planar objects and three-dimensional objects has occurred if the difference is equal to or greater than a threshold value TL.
[0016] According to the present invention, spoofing using a planar object such as a photograph can be detected with high accuracy.
[0017] FIG. 1 is a configuration diagram of an impersonation detection system according to the present embodiment; FIG. 2 is a diagram showing an example of a registration screen for registration information; FIG. 3 is a diagram showing an example of an information code according to the present embodiment; FIG. 4 is a flowchart showing information registration processing; FIG. 5 is a flowchart showing authentication processing; FIG. 6 is a diagram showing an example of a method for acquiring a frame image; FIG. 7 is a flowchart showing continuity determination processing in step S205; FIG. 8 is a flowchart showing flat surface determination processing in step S207; FIG. 9 is a diagram for explaining the aspect ratio when a person to be authenticated actually exists and when the person is a photograph captured on a flat surface; and FIG. 10 is a flowchart showing three-dimensional determination processing in step S208.
[0018] An embodiment of a spoofing detection system according to the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the spoofing detection system 1. As shown in FIG. 1, the spoofing detection system 1 according to this embodiment can be configured with only an information processing device 10. Although not shown, the system can also be configured to include a server capable of communicating with the information processing device 10, with some of the functions of the information processing device 10 being executed by the server. The following description will be given by way of example of a situation in which a single information processing device 10 authenticates a target person (hereinafter referred to as the target person) who is to be authenticated.
[0019] The information processing device 10 is a device such as a smartphone, tablet, laptop, or desktop computer, and as shown in FIG. 1 , includes a camera 11, a display 12, a memory unit 13, and a calculation unit 14. The camera 11 captures a facial image of the subject, etc. The display 12 displays the authentication result, etc. The memory unit 13 stores the spoofing detection program according to this embodiment and also stores an information code including pre-registered registration information for authentication. The calculation unit 14 executes the program stored in the memory unit 13 to perform an information registration function for registering registration information for authenticating the subject, and an authentication function for authenticating the subject using the registration information. The information processing device 10 can download the spoofing detection program from a server and install and execute the downloaded program. Each function of the information processing device 10 is described below.
[0020] The information registration function of the information processing device 10 registers registration information for authentication. For example, as shown in FIG. 2 , the information registration function displays an image on the screen of the display 12 prompting the subject to capture a facial image, thereby prompting the subject to capture the facial image and acquiring the captured facial image. The information registration function then extracts feature points, such as the subject's eyes, nose, corners of the mouth, and facial contours, from the acquired facial image of the subject. Note that the feature point extraction method can be a known method. Furthermore, the information registration function calculates, as registration information, the position coordinates of the extracted eyes, nose, and corners of the mouth, as well as the aspect ratio, which is the ratio of the vertical length of the face to the horizontal length of the face. Note that the vertical length of the face can be set as appropriate, and can be, for example, the distance from the tip of the chin to the height of the interbrow, the distance from the height of the corners of the mouth to the height of the eyebrows, or the distance from the tip of the chin to the height of the eyes. The horizontal length of the face can also be set as appropriate, and can be, for example, the distance from the right temple to the left temple. The information registration function can also detect the facial contour and calculate the aspect ratio, which is the ratio of the vertical length of the face to the horizontal length of the face, by calculating the ratio between the longest distance in the horizontal direction (the direction in which the eyes are aligned) and the longest distance in the vertical direction (the direction perpendicular to the direction in which the eyes are aligned). In this embodiment, the line passing through both eyes is defined as the horizontal line of the face, and the length of the line segment from the right temple to the left temple is calculated as the horizontal length of the face. However, the horizontal direction may be set to the left-right direction of the image regardless of the tilt of the face, or the horizontal direction may be determined by obtaining the horizontal direction from a gyro sensor or the like. In this embodiment, the lines perpendicular to the horizontal lines of the face are set as vertical lines of the face, and the lengths of the vertical lines, such as the line segment from the tip of the chin to the space between the eyebrows, the line segment from the corner of the mouth to the eyebrows, or the line segment from the tip of the chin to the eyes, can be calculated as the vertical length of the face. Furthermore, since the longer the horizontal and vertical lengths of the face, the higher the accuracy, when setting vertical or horizontal lines, it is preferable to set the line segment to the edge of the face. The information registration function then generates an information code 2 containing the registration information and stores the generated information code 2 in the memory unit 13.
[0021] 3 is a diagram showing an example of the information code 2 according to this embodiment. As shown in Fig. 3, the information code 2 according to this embodiment is a rectangular two-dimensional code having an information code area 21 made up of information cells 22 of two or more colors that serve as units for displaying information, a teacher code area 23 having teacher cells 24 of the same colors as the information cells 22 and with the same number of colors as the information cells 22 in order to identify the colors of the information cells 22, and a cut-out symbol 25.
[0022] The information code area 21 is composed of information cells 22 of two or more colors arranged in a grid pattern. The colors of the information cells 22 are not particularly limited as long as they are two or more colors. For example, they may be two colors, white and black, or three or more colors other than white and black. In this embodiment, the information code 2 has multiple teacher cells 24 in the teacher code area 23 to improve the accuracy of identifying the colors of the information cells 22. The colors of the teacher cells 24 and the information cells 22 match, and by comparing the colors of the teacher cells 24 with the colors of the information cells 22, the colors of the information cells 22 can be identified with high accuracy. In particular, with a color QR code, the more colors there are, the closer the hues of the colors become. Therefore, it may be difficult to properly identify the colors of the information cells 22 depending on the lighting environment, the printing environment of the information code 2, the display environment of the information code 2 on a display, fading of the printed information code 2 over time, and other factors. Even in such cases, the information in the information cells 22 can be properly identified by identifying the colors of the information cells 22 with reference to the teacher cells 24. For example, if the color information of an information cell 22 is purplish and it is difficult to distinguish whether it is similar to red or blue, and the color information is closer to red than the color information of the purple teacher cell 24, it can be determined that the color of the information cell 22 is red. Note that the color information can be quantified as RGB values or CMY values.
[0023] The information code area 21 can record specific information consisting of a certain amount of character information and / or binary information by changing the display pattern of the information cells 22, which are information units. The content of the specific information recorded in the information code area 21 is not particularly limited, but in this embodiment, personal information including biometric authentication information can be stored. In addition to biometric authentication information, personal information can include information such as My Number, passport number, account number, driver's license number, name, social insurance number, date of birth, place of birth, and maiden name. Furthermore, biometric authentication information can include facial images, fingerprint information, iris information, palm shape, retina, blood vessels, voice, ear shape, and the like. In this embodiment, a configuration is described in which biometric authentication information is stored based on facial images, particularly images, coordinates, or aspect ratios of feature points such as the eyes, nose, and mouth corners.
[0024] In the information code 2 according to this embodiment, the information code area 21 in which specific information is recorded is composed of information cells 22 of three or more colors, allowing for a larger amount of recordable information than information codes composed of two colors, white and black. However, the data capacity that can be stored in the information code 2 is smaller than that of other recording media, so that even the information code area 21 composed of information cells 22 of four colors may not have sufficient storage capacity when recording an image of the entire face with a resolution sufficient for face recognition. Therefore, in the information code 2 according to this embodiment, only parts of the face that are characteristic points for face recognition, such as the user's eyes, nose, or corners of the mouth, are stored as the face image for face recognition, rather than the entire face, making it possible to record the face image for face recognition in the information code 2.
[0025] The authentication function of the information processing device 10 authenticates a subject by determining whether the subject who is attempting to be authenticated using the information processing device 10 is the person who registered the registration information. In particular, in this embodiment, the authentication function is characterized in that it performs authentication by determining whether the image of the subject captured by the camera 11 is a planar object such as a photograph or a three-dimensional object in order to prevent impersonation using a planar object such as a photograph. The authentication method according to this embodiment will be described later.
[0026] Next, the information registration process according to this embodiment will be described. Fig. 4 is a flowchart showing the information registration process according to this embodiment. The information registration process shown in Fig. 4 is executed by the information registration function of the information processing device 10. In the following description, a person who performs the information registration process shown in Fig. 4 will be referred to as a registration target person.
[0027] In step S101, the information registration function acquires a facial image of the person to be registered captured by the camera 11. For example, as shown in Fig. 2, the information registration function can acquire the facial image of the person to be registered by displaying on the display 12 a screen that prompts the person to be registered to capture the facial image, and having the person to be registered capture the facial image.
[0028] In step S102, the information registration function detects feature points of the facial image of the person to be registered. Specifically, the information registration function uses a known method to detect feature points such as the eyes, nose, corners of the mouth, and facial contours of the person to be registered from the captured image acquired in step S101. In the subsequent step S103, the information registration function normalizes the feature points detected in step S102. For example, the information registration function can be configured to change the positions of the feature points using a known method so that the eyes, nose, corners of the mouth, etc. are located at predetermined reference positions. In the subsequent step S104, the information registration function generates registration information for the person to be registered based on the feature points normalized in step S103. For example, the information registration function can generate the normalized position coordinates of the eyes, nose, and corners of the mouth as registration information. In addition, the information registration function can generate the aspect ratio, which is the ratio between the horizontal length and the vertical length of the face of the person to be registered, as registration information.
[0029] In step S105, the information registration function generates an authentication information code 2 using the registration information generated in step S104. For example, the information registration function can generate the information code 2 including the registration information used in step S104 by a known method. Then, in the following step S106, the information registration function stores the information code 2 generated in step S105 in the storage unit 13.
[0030] Next, the authentication process according to this embodiment will be described. The authentication process according to this embodiment is a process of determining whether a person to be authenticated (hereinafter referred to as the person to be authenticated) is a person to be registered (hereinafter referred to as the registrant) who was registered in the information registration process, and then performing authentication. In particular, the authentication process according to this embodiment aims to properly authenticate the person to be authenticated (properly detect impersonation) even when a malicious person to be authenticated impersonates the registrant using a photo of the registrant's face, a mask, a photo folded to fit the face, or the like. FIG. 5 is a flowchart showing the authentication process according to this embodiment. The authentication process shown in FIG. 5 is executed by the authentication function of the information processing device 10.
[0031] In step S201, the authentication function performs an identity authentication process to determine whether the registrant, who is registered in advance as registration information, is the same person as the person to be authenticated. The authentication function first acquires the registration information registered in the information registration process shown in FIG. 4. In this embodiment, information on the registrant's facial feature points (position information on the eyes, nose, corners of the mouth, facial contours, etc., and the aspect ratio of the vertical length and horizontal length of the face) is stored as registration information in the storage unit 13 of the information processing device 10 in the form of an information code 2. The authentication function acquires the information code 2 containing the registration information from the storage unit 13 and can extract the registration information from the acquired information code 2. The authentication function also acquires a captured image of the person to be authenticated. For example, the authentication function can display a screen on the display 12 with a comment such as "Please take a photo of your face from the front" superimposed thereon, causing the camera 11 to capture the face of the person to be authenticated from the front, thereby acquiring the captured image of the face of the person to be authenticated. The authentication function then detects feature points from the acquired captured image of the face of the person to be authenticated. The authentication function then compares the facial feature points of the registrant, which are registered as registration information, with the facial feature points of the person to be authenticated, and calculates the degree of similarity. For example, the authentication function can calculate the distance between the nose and the eyes, the distance between the nose and the mouth, the distance between the left and right sides of the facial contour, the distance from the forehead to the chin, etc. in the facial images of the registrant and the person to be authenticated, and compare these distances to calculate the comparison result as the degree of similarity.
[0032] In step S202, the authentication function determines whether the person to be authenticated is the registrant based on the similarity calculated in step S201. For example, the authentication function can determine that the person to be authenticated is the registrant if the distance between the nose and eyes, the distance between the nose and mouth, the distance between the left and right sides of the facial contour, and / or the distance between the forehead and chin of the registrant and the person to be authenticated calculated in step S201 are equal to or less than a predetermined value. If the authentication function determines that the person to be authenticated is the registrant, the process proceeds to step S203. On the other hand, if the authentication function determines that the person to be authenticated is not the registrant, the process proceeds to step S212 and displays an authentication error.
[0033] Even if the registrant and the person to be authenticated are the same person, the positions of each feature point may differ depending on the facial orientation, etc. Therefore, in steps S201 and S202, the authentication function may be configured to determine whether the registrant and the person to be authenticated are the same person as follows. That is, since feature points tend to be distributed at high density in areas such as the eyes, nose, corners of the mouth, and facial contours, if a range of radius r1 in which the distribution density of the feature points of the registrant registered in the registration information is equal to or greater than a predetermined value d partially overlaps with a range of radius r2 in which the distribution density of the feature points of the person to be authenticated is equal to or greater than a predetermined value d, the feature points may be identified as corresponding to the same area (eyes, nose, corners of the mouth, facial contour, etc.), and if the feature points of each area partially overlap, the person may be recognized as the same person. Furthermore, the authentication function may be configured to correct the positions of feature points extracted from the facial image of the person to be authenticated by a known method so that the position and size of the face of the registrant acquired as registration information match, and then determine whether the person is the same.
[0034] In step S203, the authentication function instructs the person to shake their head in order to determine whether they are impersonating someone else using multiple facial images of the person to be authenticated taken from different angles. For example, the authentication function can cause the camera 11 to capture facial images of the person to be authenticated from different angles, as shown in Figures 6(A) to 6(C), by displaying a screen on the display 12 with a comment such as "Please shake your head from side to side." Note that, hereinafter, each of the multiple facial images taken from different angles will be referred to as a frame image.
[0035] In step S204, the authentication function acquires a reference aspect ratio. The reference aspect ratio is used in the plane determination process in step S207, which will be described later. In this embodiment, the aspect ratio is calculated as the ratio of the vertical length to the horizontal length of the face of the person to be authenticated from the face image (frame image) of the person to be authenticated captured first after the authentication process shown in FIG. 5 is started, and the calculated aspect ratio is set as the reference aspect ratio. In this embodiment, information on the feature points of the enrolled person (position information on the eyes, nose, corners of the mouth, facial contours, etc., and the aspect ratio of the vertical length to the horizontal length of the face) is stored in the storage unit 13 as registration information, and the aspect ratio of the enrolled person's face stored as registration information can be acquired as the reference aspect ratio. Furthermore, the aspect ratio of the face of the enrolled person detected from a frame image captured at a predetermined timing, such as when the person to be authenticated faces forward, can be acquired as the reference aspect ratio.
[0036] In steps S205 to S209, continuity determination processing, flatness determination processing, and solidity determination processing, which will be described later, are performed for each frame image. In the following description, the frame image to be processed will be referred to as the target frame image.
[0037] In step S205, a continuity determination process is performed by the authentication function. The continuity determination process is a process for determining whether the person to be authenticated is impersonating another person by using both the person's actual face (a three-dimensional object) and a planar object such as a photograph or mask depicting the face of a registered person. In other words, a malicious person to be authenticated, knowing that authentication will not be performed if only a planar object such as a photograph or mask is used, may impersonate another person by capturing a planar object such as a photograph or mask and the person's actual face on the camera 11. The continuity determination process aims to appropriately detect impersonation of the person to be authenticated even in such cases. FIG. 7 is a flowchart showing the continuity determination process in step S205. The continuity determination process in step S205 will be described below with reference to FIG. 7.
[0038] First, in step S301, the authentication function detects feature points from a frame image capturing the face of the person to be authenticated. For example, in this embodiment, the authentication function extracts feature points from the target frame image using feature point information included in the registration information. The method for extracting feature points is not particularly limited, and any known method can be used.
[0039] In step S302, the authentication function compares the positions of feature points detected from the target frame image with the positions of feature points detected from the frame image acquired immediately before the target frame image (hereinafter referred to as the previous frame image). Then, in the following step S303, the authentication function determines whether the distance between corresponding feature points in the target frame image and the previous frame image compared in step S302 is equal to or greater than a threshold value TL. For example, the authentication function identifies feature points for the same element (e.g., eyes, nose, corners of the mouth, facial contours, etc.) between consecutive target frame images and the previous frame image as corresponding feature points for each element, and calculates the distance (position difference) between the corresponding feature points for each element. The authentication function then determines whether the sum or average distance between the corresponding feature points is equal to or greater than a predetermined threshold value TL. Here, the threshold value TL is not particularly limited, but can be set as the threshold value TL based on a demonstration experiment or the like, using both the actual face of the person to be authenticated and a photographic image of the person to be registered to determine that the person is impersonating someone else.
[0040] In step S303, if the distance between corresponding feature points between consecutive frame images is equal to or less than the threshold value TL, the process proceeds to step S304. In step S304, the authentication function determines that there is continuity in the consecutively captured frame images, and that spoofing is not being performed using both the actual face of the person to be authenticated and the photographic image of the registered person. Furthermore, if it is determined in step S303 that the distance between corresponding feature points is equal to or greater than the threshold value TL, the process proceeds to step S305, and the authentication function determines that there is no continuity in the consecutively captured frame images, and that spoofing is being performed using both the actual face of the person to be authenticated and the photographic image of the registered person. Then, returning to FIG. 5 , the process proceeds to step S206.
[0041] In step S206, the authentication function determines whether continuity was determined in the continuity determination process of step S205. If continuity is determined to be present, the process proceeds to step S207. On the other hand, if continuity is determined to be absent, the process proceeds to step S212, where the authentication function determines that the person to be authenticated and the registered person are not the same person and displays an authentication error. Note that the continuity determination process shown in FIG. 7 may be configured to determine continuity for all frame images, or may be configured to determine continuity only for frame images within a predetermined time period (e.g., one second) after the person to be authenticated starts shaking their head, or may further be configured to measure continuity for randomly selected frame images. Furthermore, it may be configured to determine that impersonation has occurred if continuity is determined to be absent for even a single frame image, or may be configured to determine that impersonation has occurred if continuity is determined to be absent for a predetermined number or more frame images.
[0042] In the following step S207, a flat surface determination process is performed by the authentication function. The flat surface determination process is a process for determining whether or not the person to be authenticated is impersonating someone else by using a flat surface object such as a photograph. FIG. 8 is a flowchart showing the flat surface determination process in step S207. The flat surface determination process in step S207 will be described below with reference to FIG. 8.
[0043] First, in step S401, the authentication function calculates the aspect ratio of the face of the person to be authenticated, which is the ratio of the vertical length to the horizontal length of the face of the person to be authenticated, based on feature points of the target frame image, such as the facial contour or the positions of the left and right temples and the chin and the space between the eyebrows. In step S402, the authentication function calculates a plane similarity based on the aspect ratio R1 of the face of the person to be authenticated calculated in step S401 and the reference aspect ratio R2 acquired in step S204 shown in FIG. 5 . Specifically, the authentication function calculates the plane similarity as the rate of change of the aspect ratio R1 of the face of the person to be authenticated relative to the reference aspect ratio R2. For example, the authentication function can calculate the plane similarity as |(R2-R1) / R2|, which is the absolute value of (reference aspect ratio R2-aspect ratio R1 of the face of the person to be authenticated) / reference aspect ratio R2.
[0044] Here, Fig. 9 is a diagram illustrating the aspect ratio when the subject of authentication is actually present and when the facial image is captured on a planar object such as a photograph. (A) is a frame image captured with the subject of authentication facing forward, (B) is a frame image captured with the photograph tilted diagonally, and (C) is a frame image captured with the subject of authentication facing diagonally. In Figs. 9A-9C, the vertical and horizontal lengths of the face in each frame image are indicated by solid arrows. In Figs. 9B and 9C, the horizontal length H0 of the face in Fig. 9A is superimposed with a dashed line. Furthermore, in Figs. 9B and 9C, the difference between the horizontal length of the face in Fig. 9A and the horizontal length of the face in Figs. 9B and 9C is indicated as W1 and W2, respectively.
[0045] In the example shown in Figure 9, the distances of the person to be authenticated and the photograph from camera 11 are adjusted so that the vertical lengths V0 to V2 of the face are the same in (A) to (C). Here, as shown in Figure 9(B), if the photograph is tilted diagonally (rotated in the yaw direction), the horizontal length H1 of the subject's face in the photograph will be shorter by the angle of the tilt of the photograph. On the other hand, as shown in Figure 9(C), if the person to be authenticated actually exists, even if the person to be authenticated turns their face diagonally, the horizontal length H2 of the face of the person to be authenticated does not change significantly compared to the horizontal length H0 of the face of the person to be authenticated in (A) when the person to be authenticated is facing forward. Therefore, as shown in Figure 9(C), in the actual face of the subject, the difference W2 between the horizontal length H1 of the face when the subject is facing diagonally and the face length H0 when the subject is facing forward is small. However, as shown in Figure 9(B), in the face image captured on a planar object, the difference W1 between the horizontal length H1 of the face when the planar object is facing diagonally and the face length H0 when the actual subject is facing forward is large. As a result, when the actual face of the subject is facing diagonally, the aspect ratio of the face of the subject becomes closer to the reference aspect ratio, and the rate of change from the reference aspect ratio becomes smaller, so the planar similarity tends to be smaller. On the other hand, when the subject is viewed on a planar object and facing diagonally, the aspect ratio of the face of the subject becomes more distant from the reference aspect ratio as the planar object is tilted more diagonally, and the rate of change from the reference aspect ratio becomes larger, so the planar similarity tends to be higher.
[0046] Therefore, when a person to be authenticated using their actual face shakes their head from side to side and rotates their actual face in response to a head shake instruction, the number of frame images with a planar similarity equal to or greater than the predetermined value TS decreases. On the other hand, when a third party attempting to impersonate another person rotates a face image captured on a planar object by shaking their head from side to side in response to a head shake instruction, the number of frame images with a planar similarity equal to or greater than the predetermined value TS increases. Therefore, in this embodiment, the number of frame images with a planar similarity equal to or greater than the predetermined value TS is counted as a planar score S1, and impersonation using a planar object such as a photograph is detected based on the planar score S1.
[0047] That is, in step S403, the authentication function determines whether the plane similarity calculated in step S402 is equal to or greater than a predetermined value TS. If the plane similarity is equal to or greater than the predetermined value TS, the process proceeds to step S404, where the authentication function increments the plane score S1. On the other hand, if the plane similarity is less than the predetermined value TS, the process does not proceed to step S404, and the plane determination process shown in FIG. 8 is terminated. Note that in this embodiment, the plane similarity is calculated for each frame image, and the plane score S1 is incremented each time it is determined that the plane similarity for each frame image is equal to or greater than the predetermined value TS. Therefore, the plane score S1 is an index indicating the possibility that the face of the person to be authenticated is a facial image captured on a planar object, and it can be determined that the higher the plane score S1, the more likely it is that the face image of the person to be authenticated is a facial image captured on a planar object.
[0048] In step S208, the authentication function performs a three-dimensional determination process. The three-dimensional determination process is a process for determining whether the frame image represents a three-dimensional object such as an actual person. Fig. 10 is a flowchart showing the three-dimensional determination process in step S208. The three-dimensional determination process in step S208 will be described below with reference to Fig. 10.
[0049] 10 , first, in step S501, the authentication function extracts at least three feature points from the target frame image that are spaced apart in the width direction of the face, and calculates the distance between these feature points (the distance between the right and left sides of the face). These feature points are preferably located as far apart as possible, and examples include feature points corresponding to the nose and the left and right cheeks, the nose and the left and right temples, the nose and the left and right contours, and the nose and the left and right ears. For example, the authentication function can be configured to calculate the distance from the subject's left cheek to the nose as L1 and the distance from the right cheek to the nose as L2, or the distance from the subject's left temple to the nose as L1 and the distance from the right temple to the nose as L2, or the distance from the left ear to the nose as L1 and the distance from the right ear to the nose as L2. In this embodiment, the authentication function calculates the distance L1 from the left cheek to the nose of the person to be authenticated and the distance L2 from the right cheek to the nose.
[0050] In this embodiment, it is preferable to calculate the distances L1 and L2 taking into account the contours of the face. For example, the authentication function can be configured to determine whether the object is a three-dimensional object by calculating the distance in the direction of the contours of the face (the height of the contours) to be greater than the actual distance, taking the contours of the face into account. The height of the contours of the face can be calculated using a known method, and may be determined from changes in feature points between consecutive frame images. Alternatively, the information processing device 10 may be equipped with a sensor such as LiDAR, and height information may also be obtained using the LiDAR.
[0051] In step S502, the authentication function compares the distances L1 and L2 of the feature points calculated in step S501, and calculates the comparison result as the three-dimensional similarity. In this embodiment, the authentication function calculates the ratio (L1 / L2) of the distance L1 from the left cheek to the nose of the person to be authenticated to the distance L2 from the right cheek to the nose as the three-dimensional similarity.
[0052] In the case of a face image captured on a planar object such as a photograph, the distance L1 from the left cheek to the nose of the person to be authenticated and the distance L2 from the right cheek to the nose remain almost constant even when the orientation of the planar object is changed, so the three-dimensional similarity frequently approximates the three-dimensional similarity based on another frame image that has already been calculated. In contrast, in the case of an actual face of a person (three-dimensional object) to be authenticated, the ratio (L1 / L2) of the distance L1 from the left cheek to the nose of the person to be authenticated and the distance L2 from the right cheek to the nose tends to change significantly when the orientation of the face is changed, so the three-dimensional similarity frequently approximates the three-dimensional similarity based on another frame image that has already been calculated. Therefore, in this embodiment, the number of frame images whose three-dimensional similarity does not approximate the previously calculated three-dimensional similarity is counted as a three-dimensional score S2, and whether the person to be authenticated is a real person (three-dimensional object) is determined based on the three-dimensional score S2.
[0053] That is, in step S503, the authentication function determines whether the three-dimensional similarity calculated in step S502 is within a certain range of the three-dimensional similarity based on another frame image that has already been calculated and is therefore close to the calculated three-dimensional similarity. If the three-dimensional similarity is outside the certain range of the previously calculated three-dimensional similarity and is therefore not close to the calculated three-dimensional similarity, the process proceeds to step S504, where the authentication function increments the three-dimensional score S2. Furthermore, in the following step S3, the authentication function decrements the two-dimensional score S1. On the other hand, if the three-dimensional similarity is within the certain range of the previously calculated three-dimensional similarity and is therefore close to the calculated three-dimensional similarity, the three-dimensional determination process shown in FIG. 10 is terminated, and the process proceeds to step S209 shown in FIG. 5. Note that in this embodiment, the three-dimensional similarity is calculated for each frame image, and the three-dimensional score S2 is incremented each time the three-dimensional similarity for each frame image is not close to the previously calculated three-dimensional similarity. Therefore, the three-dimensional score S2 is an index indicating the likelihood that the person to be authenticated is a real person (three-dimensional object). It can be said that the higher the three-dimensional score S2, the higher the likelihood that the person to be authenticated is a real person. The size of the certain range that serves as a criterion for determining whether the three-dimensional similarity is close to the above-mentioned three-dimensional similarity is not particularly limited, and can be set appropriately through demonstration experiments or the like.
[0054] In step S209, the authentication function determines whether the absolute value of the difference between the planar score S1 and the three-dimensional score S2 is equal to or greater than a predetermined difference D. Here, it is preferable to set a threshold value for the difference D so that the difference between the planar score S1 and the three-dimensional score S2 is large enough to determine that the person being authenticated is a real person or a two-dimensional object such as a photograph. An appropriate difference D can be set through demonstration experiments, etc. If the absolute value of the difference between the planar score S1 and the three-dimensional score S2 is less than the difference D, the determination is insufficient. To calculate the planar score S1 and the three-dimensional score S2 based on another frame image, the process returns to step S205, and steps S205 to S208 are performed using another frame image acquired after the target frame image as the target frame image. On the other hand, if the absolute value of the difference between the planar score S1 and the three-dimensional score S2 is equal to or greater than the difference D, the process proceeds to step S210.
[0055] In step S210, the authentication function determines whether the three-dimensional score S2 is greater than the planar score S1. If the three-dimensional score S2 is significantly greater than the planar score S1 (by a difference of at least the difference D), the process proceeds to step S211, where it is determined that the authentication target is the actual face of the person to be authenticated, and information indicating that authentication has been successful (authentication success) is output to the display 12. On the other hand, if the planar score S1 is significantly greater than the three-dimensional score S2 (by a difference of at least the difference D), the process proceeds to step S212, where information indicating that authentication is not possible (authentication error) is output to the display 12.
[0056] As described above, in this embodiment, the ratio of the vertical length to the horizontal length of the face of the person to be authenticated is detected as the aspect ratio for each of multiple frame images captured by the camera 11, and the rate of change of the aspect ratio of the person to be authenticated relative to a reference aspect ratio is calculated as the planar similarity for each frame image. Based on the planar similarity, it is possible to determine whether the person is a person appearing in a planar object such as a photograph, thereby enabling highly accurate detection of impersonation using planar objects such as photographs. In particular, in this embodiment, by performing a planar object determination process to determine planar objects in combination with a three-dimensional object determination process to determine three-dimensional objects, it is possible to perform impersonation with higher accuracy. That is, in this embodiment, even if the planar object determination process determines that the object is not a planar object, an authentication error is generated if the three-dimensional object determination process determines that the object is not a three-dimensional object, thereby enabling more accurate authentication using planar objects such as photographs. Furthermore, in this embodiment, the planar object determination process is performed for each frame image, and the number of frame images determined to be planar objects is scored as the planar score S1, and the number of frame images determined to be three-dimensional objects is scored as the three-dimensional score S2. If the difference between the planar score S1 and the three-dimensional score S2 is greater than the difference D, the object is determined to be a planar object if the planar score S1 is higher than the three-dimensional score S2, and if the three-dimensional score S2 is higher than the planar score S1, the object is determined to be a three-dimensional object. This makes it possible to comprehensively determine whether the person to be authenticated is a planar object using multiple frame images, thereby improving the accuracy of spoofing detection. In addition, in this embodiment, by using an aspect ratio with a small storage capacity, it is possible to appropriately perform spoofing detection even when the storage capacity of the registration information is limited.
[0057] While the preferred embodiments of the present invention have been described above, the technical scope of the present invention is not limited to the above-described embodiments. Various modifications and improvements can be made to the above-described embodiments, and such modifications and improvements are also included in the technical scope of the present invention.
[0058] For example, in the above-described embodiment, a configuration was given in which the registration information is stored in a form including information code 2, but this configuration is not limited to this, and the registration information can be stored as is.
[0059] Furthermore, in the above-described embodiment, the absolute value |(R2-R1) / R2| of the rate of change of the aspect ratio R1 of the face of the person to be authenticated relative to the reference aspect ratio R2 is calculated as the plane similarity, but this is not limiting, and for example, the absolute value |R1-R2| of the amount of change (difference) between the aspect ratio R1 of the face of the person to be authenticated and the reference aspect ratio R2 may be calculated as the plane similarity. In this case, the plane score S1 may be counted up when the plane similarity is equal to or greater than a predetermined value TS', and the plane score S1 may not be counted up when the plane similarity is less than the predetermined value TS'.
[0060] Furthermore, in the above-described embodiment, the ratio (L1 / L2) of the distance L1 from the left cheek to the nose of the person to be authenticated to the distance L2 from the right cheek to the nose of the person to be authenticated is calculated as the three-dimensional similarity, but the present invention is not limited to this configuration, and for example, the difference (L1-L2) between the distance L1 from the left cheek to the nose of the person to be authenticated and the distance L2 from the right cheek to the nose of the person to be authenticated may be calculated as the three-dimensional similarity. In this case, too, the three-dimensional score S2 may be counted up when the three-dimensional similarity is close to the three-dimensional similarity previously described.
[0061] In addition, in the above-described embodiment, the three-dimensional determination process calculates the ratio (L1 / L2) of the distance L1 from the left cheek to the nose of the person to be authenticated to the distance L2 from the right cheek to the nose as the three-dimensional similarity. However, to determine whether or not an object is a three-dimensional object taking into account, for example, the chin and forehead can be detected as feature points, and the distance L3 from the chin to the nose and the distance L4 from the nose to the forehead can be used to calculate the ratio (L3 / L4) as the three-dimensional similarity. In this case, the three-dimensional similarity expressed by L1 / L2 can be approximated to the three-dimensional similarity described above, and / or the three-dimensional similarity expressed by L3 / L4 can be approximated to the three-dimensional similarity described above, thereby determining that the object is a planar object.
[0062] REFERENCE SIGNS LIST 1 spoofing detection system 10 information processing device 11 camera 12 display 13 storage unit 14 calculation unit 2 information code 21 information code area 22 information cell 23 teacher code area 24 teacher cell 25 extraction symbol
Claims
1. An impersonation detection system for detecting whether a person to be authenticated is an actual person or a person captured on a planar object, comprising: an imaging means for capturing multiple frames of the face of the person to be authenticated at different angles; a feature detection means for detecting the aspect ratio, which is the ratio of the vertical length to the horizontal length of the face of the person to be authenticated, from each of the multiple frame images captured by the imaging means; and an impersonation detection means for detecting impersonation of a person by a planar object based on the aspect ratio of the face of the person to be authenticated captured at different angles.
2. The spoofing detection system of claim 1, wherein the spoofing detection means calculates, for each frame image, the rate or amount of change in the aspect ratio of the face of the person to be authenticated relative to a reference aspect ratio as a planar similarity, and detects spoofing based on the calculated multiple planar similarities.
3. The spoofing detection system of claim 2, wherein the spoofing detection means obtains as the reference aspect ratio the aspect ratio of the face of the person to be authenticated that is registered in advance, or the aspect ratio of the face of the person to be authenticated in the first frame image captured among the plurality of frame images.
4. The spoofing detection system of claim 2, wherein the spoofing detection means extracts at least three feature points located apart in the width direction of the face from among a plurality of feature points in each frame image, calculates the ratio of the distance between the extracted feature points on the right and left sides of the face as a three-dimensional similarity, and detects spoofing based on the plurality of planar similarities and the plurality of three-dimensional similarities calculated for each of the frame images.
5. The spoofing detection system of claim 4, wherein the spoofing detection means counts up a planar score for each frame image when the planar similarity is equal to or greater than a predetermined value, and counts up a three-dimensional score when the three-dimensional similarity is equal to or greater than a predetermined value, and detects the presence of spoofing when the planar score is equal to or greater than a predetermined difference D from the three-dimensional score, and detects the absence of spoofing when the three-dimensional score is equal to or greater than the difference D from the planar score.
6. The spoofing detection system of claim 1, wherein the feature detection means detects the positions of feature points on the subject's face for each frame image captured at a different angle, and the spoofing detection means calculates the difference in the positions of the feature points for each frame image from other frame images captured in succession, and if the difference is equal to or greater than a threshold value TL, further performs processing to determine that spoofing using both planar objects and three-dimensional objects has occurred.
7. An impersonation detection program for detecting whether a person to be authenticated is a real person or a person captured on a flat object, the program causing a computer to execute: an acquisition function for acquiring multiple frame images of the person to be authenticated captured at different angles; a feature detection function for detecting the aspect ratio, which is the ratio of the vertical length to the horizontal length of the face of the person to be authenticated, from each of the multiple frame images; and an impersonation detection function for detecting impersonation of a person by a flat object based on the aspect ratio of the face of the person to be authenticated captured at different angles.
Citation Information
Patent Citations
Information code, information code generation device, information code reading device, program and information code utilization system
JP2021168047A
Spoofing detection system, spoofing detection method and spoofing detection program
WO2010050206A1
Image processing device, image processing method, and image processing program
EP3958208A1
Face image authentication device
JP2014010686A
