Method and device for detecting active liveness using face images
The method of having users pronounce randomly generated command words for face recognition systems improves liveness detection accuracy and security by analyzing mouth and muscle changes, addressing vulnerabilities in existing RGB camera-based methods.
Patent Information
- Application Number
- JP2024514015
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-09-02
- Filing Date
- 2022-03-28
- Publication Date
- 2024-08-29
- Estimated Expiration
- 2042-03-28
AI Technical Summary
Existing face recognition systems are vulnerable to media streaming attacks and require specific environmental conditions, limiting the effectiveness of RGB camera-based liveness detection methods, especially in passive multi-frame approaches.
A method and apparatus that requires users to pronounce a randomly generated command word, capturing facial images to analyze mouth shape and facial muscle changes to determine liveness, using a combination of syllables and feature points for accurate authentication.
Enhances liveness detection accuracy by using real-time command words, preventing password leakage, and improving security by ensuring only genuine users can pass authentication.
Smart Images

Figure 2024531549000001_ABST
Abstract
Description
[Technical field]
[0001] The disclosed technology relates to a method and apparatus for detecting liveness using a facial image of a user pronouncing a command. [Background technology]
[0002] As the number of non-face-to-face service environments increases, the size of the facial recognition market is growing, and various services using facial recognition technology are being launched. As a result, the importance of liveness detection and anti-spoofing is increasing day by day.
[0003] Due to this importance, research into various liveness detection methods and product development are underway; however, the liveness detection technologies built into most commercialized face recognition systems are based on methods that use additional sensors or special cameras, making them less accessible from an actual user's perspective.
[0004] Recently, various RGB camera-based face liveness detection prevention techniques have emerged, but they still only work under specific sensor and environmental conditions, or are vulnerable to attacks such as punching holes in printed paper or media streaming attacks. As a result, there is an increasing need for a liveness detection technology that is more stable for use on general-purpose cameras such as RGB cameras.
[0005] Meanwhile, methods for RGB camera-based face liveness detection can be divided into a single frame based method that uses only still images and a multi frame based method that uses one or more frames depending on the image frame used, and can be divided into active and passive methods depending on whether a user action is required.
[0006] The currently implemented multi-frame-based liveness detection method relies on a method of inducing a user to make a single action, such as turning their head according to instructions on the screen, blinking their eyes, or opening their mouth, or a combination of two or more actions to make a judgment. However, since the combination of user actions that can be induced is limited, the method still has a structure that is vulnerable to media streaming attacks. Summary of the Invention [Problem to be solved by the invention]
[0007] The disclosed technology provides a method and apparatus for having a user pronounce randomly generated commands and detecting liveness by acquiring a facial image of the user pronouncing the commands. [Means for solving the problem]
[0008] A first aspect of the technology disclosed to achieve the above technical objective is to provide an active liveness detection method including a step of an authentication device generating a command for user authentication, the authentication device outputting the command on a screen and capturing a facial image of a user pronouncing the output command, and the authentication device extracting feature points of changes in mouth shape from the facial image to determine whether the user has pronounced the command in imitation.
[0009] A second aspect of the technology disclosed to achieve the above technical problem is to provide an active liveness detection device including a sensor that identifies whether a user has entered within a range where a face can be photographed, a storage device that stores data for a plurality of syllables to generate a command word for authenticating the user, an output device that outputs the command word to a screen and photographs a facial image of the user pronouncing the output command word, and a calculation device that generates the command word consisting of a certain number of syllables using the data for the plurality of syllables and extracts feature points from the facial image to determine whether the user has pronounced the command word in imitation. Effect of the Invention
[0010] The embodiments of the disclosed technology may have the following advantages and effects, but this does not mean that the embodiments of the disclosed technology must include all of them, and therefore the scope of the disclosed technology should not be understood to be limited thereby.
[0011] The method and apparatus for detecting active liveness using a face image according to an embodiment of the disclosed technology has an effect of detecting a user's liveness through a command generated in real time.
[0012] In addition, since the command word is generated each time by combining syllables having no meaning, it is possible to prevent problems caused by the leakage of the command word.
[0013] Also, liveness is detected based on feature points for changes in the shape of the mouth when pronouncing a syllable and feature points for changes in facial muscles between syllables, thereby improving accuracy. [Brief description of the drawings]
[0014] [Figure 1] 1 is an example of a system for detecting active liveness using a face image according to an embodiment of the disclosed technology.
[0015] [Diagram 2] 1 is a flowchart illustrating a method for detecting active liveness using a face image according to an embodiment of the disclosed technology.
[0016] [Diagram 3] 1 is a block diagram of an active liveness detection device using a face image according to an embodiment of the disclosed technology;
[0017] [Figure 4] 1 is a diagram showing some selected distinguishable vowels among Hangeul vowels.
[0018] [Diagram 5] 13 is a diagram showing a command generated from a certain number of phrases;
[0019] [Figure 6] 1 is a diagram showing extraction of feature points from a face image; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0020] The present invention can be modified in various ways and can have various embodiments, and a specific embodiment will be illustrated in the drawings and described in detail in the detailed description. However, this is not intended to limit the present invention to a specific embodiment, and it should be understood that the present invention includes all modifications, equivalents, and alternatives within the spirit and technical scope of the present invention.
[0021] Terms such as second, A, B, etc. may be used to describe various components, but the components are not limited by the terms, but are used only to distinguish one component from another. For example, a first component may be named a second component and similarly, the second component may be named a first component without departing from the scope of the invention. The term and / or includes any combination of multiple associated listed items or any of multiple associated listed items.
[0022] In the terms used herein, the singular term "a" or "an" should be understood to include the plural term unless the context clearly dictates differently, and terms such as "comprise" or "comprise" should be understood to mean the presence of a stated feature, number, step, operation, component, part, or combination thereof, and not to exclude the possibility of the presence or addition of one or more other features, numbers, steps, operations, components, parts, or combinations thereof.
[0023] Before going into detailed description of the drawings, it should be made clear that the division of components in this specification is merely based on the main function of each component. That is, two or more components described below may be integrated into one component, or one component may be divided into two or more components based on more specific functions.
[0024] It goes without saying that each of the components described below may additionally perform some or all of the functions of the other components in addition to its own main function, and some of the main functions of each component may be exclusively performed by other components. Therefore, the presence or absence of each component described throughout this specification should be interpreted functionally.
[0025] 1 is an example of a system 100 for detecting active liveness using a face image according to an embodiment of the disclosed technology. Referring to FIG. 1, an authentication device 110 can generate a command for authenticating a user and capture the user imitating the command. Then, the system can analyze changes in the shape of the mouth and facial muscles from the captured face image to determine whether the user imitated the command.
[0026] The authentication device 110 captures a facial image of a user. A camera may be installed for capturing the image. The authentication device 110 may determine the captureable distance depending on the type of camera, and when it detects that a user has entered within the captureable range, it may generate a command for authenticating the user. It may then drive the camera to capture a facial image of the user. The facial image captured by the authentication device 110 includes changes in the shape of the mouth and changes in the facial muscles as the user mimics and pronounces the command. The authentication device 110 may extract feature points for the changes in the shape of the mouth and the changes in the facial muscles, and compare them with feature points for the command.
[0027] Meanwhile, the command word mentioned in the disclosed technology is for checking the liveness of a user and means a certain number of syllables that any real person who approaches the authentication device 110 can easily imitate and pronounce. A certain number of syllables to be used as the command word can be randomly selected from a plurality of syllables.
[0028] On the other hand, there are some syllables for which the mouth shape does not differ. For example, in the case of "go" and "o", the same vowel is pronounced with each of them.
number
[0029] Meanwhile, in order to distinguish the shape of the mouth, the authentication device 110 can store some Hangul vowels whose pronunciation patterns are distinguished and some combinations of consonants that become bilabial sounds when combined with the vowels, and some combinations of vowels whose pronunciation patterns are distinguished and some combinations of consonants that do not become bilabial sounds when combined with the vowels, in the database 120. Then, a certain number of syllables randomly selected from these can be generated as command words.
[0030] Meanwhile, the database 120 may store feature points of mouth shapes that match with each other for each syllable. For example, feature point information on the shape of the mouth when pronouncing "o" may be stored together with the syllable "o". Feature point information is matched with each syllable stored in the database 120, and this may be used to compare with feature points extracted from the face image of the user. The authentication device 110 may compare feature points of the change in the shape of the mouth extracted from the face image with feature points for the command word to determine whether the user has pronounced the command word by imitating it. At this time, the command word may be divided according to the number of syllables included in the command word and the similarity may be compared 1:1. For example, if the command word has five syllables, the feature points extracted from the face image of the user may be divided into five and the similarity may be compared for each of them in turn. In this process, if the similarity exceeds a threshold value, it may be determined that the command word has been pronounced correctly by imitating it. Although Hangul syllables are exemplified in FIG. 1, the same principle may be applied to syllables of English and other languages. For example, in the case of English, the 26 alphabets, excluding some alphabets that are not pronunciation-distinguishing, are stored in the database 120, and a certain number of them can be randomly selected to generate command words.
[0031] Meanwhile, the authentication device 110 can check liveness more precisely by using changes in facial muscles between syllables during the process of pronouncing a command. When a person pronounces a specific syllable and then pronounces the next syllable, the changes in facial muscles between syllables may be similar for everyone. That is, if a real person pronounces syllables, the changes in facial muscles between syllables may appear in similar feature points no matter who imitates the command. Therefore, feature point information on the changes in facial muscles corresponding to all cases based on the syllables stored in the database 120 in advance can be stored, and liveness can be determined by comparing the feature points on the changes in facial muscles in the user's facial image in the future. In one embodiment, if the command contains five syllables, the feature points extracted from the user's facial image are first divided into five, and the last of the first divided feature point and the first of the second divided feature point are combined to determine the feature points on the changes in facial muscles between the first syllable and the second syllable. Then, liveness can be determined more precisely by comparing the feature points stored in the database 120.
[0032] Meanwhile, if it is determined that the user has correctly pronounced the command words, the authentication device 110 can transmit a control signal to a control device that controls opening and closing of the gate, allowing the user to pass through the gate. The authentication device 110 may be connected to a control device that controls the gate, or the two devices may be combined into one. If they are separate devices, the authentication device 110 can transmit a control signal to the control device to control the gate, and if they are the same device, they can immediately control the gate. Therefore, by checking active liveness using the command words generated in real time, it is possible to prevent leakage of passwords for entering and exiting the gate and enhance security.
[0033] 2 is a flowchart of a method for detecting active liveness using a face image according to an embodiment of the disclosed technology. Referring to FIG. 2, the method for detecting active liveness 200 includes a command generating step 210, a face image capturing step 220, and a pronunciation determining step 230. Each step may be sequentially performed by an authentication device.
[0034] In step 210, the authentication device generates a command for user authentication. The command is a certain number of syllables randomly selected from a plurality of syllables, and the process of generating the command is as described with reference to FIG. 1. The authentication device may determine the number of syllables to be generated as the command according to a preset value. The time when the command is generated in step 210 may be the time when the user enters a range where a face can be photographed.
[0035] In step 220, the authentication device captures a facial image of the user. Prior to capturing the facial image, the authentication device may output a command generated by the user to the user. For example, the command generated internally by the device may be output through a screen. Then, the authentication device captures a facial image of the user imitating the output command and pronouncing it.
[0036] In step 230, the authentication device extracts feature points of changes in mouth shape from the facial image to determine whether the user pronounces the command by imitating it. In step 230, the authentication device can determine whether the user pronounces the command correctly by comparing whether the feature points of the mouth shape extracted from the user's facial image are similar to the feature points of the mouth shape for pronouncing each of a certain number of syllables included in the command. At this time, the authentication device can detect more precise liveness by comparing whether the feature points of the facial muscles extracted from the facial image are matched with the feature points of the facial changes between a certain number of syllables included in the command.
[0037] Conventional voice recognition-based authentication technology allows users to use words or phrases that they have registered as passwords in advance, but this can lead to problems with pre-registered information leaking, and authentication technology that compares voice similarity mechanically generates a voice similar to the registered user's voice, which can allow unauthorized people to pass authentication. This technology solves these problems by using commands that are randomly generated in real time to check the liveness of the user, and has the advantage of accurately authenticating the user.
[0038] 3 is a block diagram of an active liveness detection apparatus using a face image according to an embodiment of the disclosed technology. The detection apparatus 300 may be implemented in various forms such as a PC, a laptop, a smart device, a wearable device, etc. Referring to FIG. 3, the active liveness detection apparatus 300 includes a sensor 310, a storage device 320, an output device 330, and a calculation device 340.
[0039] The sensor identifies whether a user has entered within a range where a face image can be captured. As an example, it may be an infrared sensor that detects the approach of a person at a gate. Of course, ultrasonic waves or other types of human body detection sensors other than infrared may be used.
[0040] The storage device 320 stores data on a plurality of syllables to generate a command word for user authentication. The storage device 320 stores not only a plurality of syllables but also feature information on the shape of the mouth when pronouncing each syllable and feature information on the change in facial muscles between syllables, so that a memory with a capacity sufficient for storing all data can be used.
[0041] The output device 330 includes a display for outputting commands on a screen and a camera for capturing a facial image of a user reciting the output commands. When the commands are output through the display, voice or a guidance message can be further output so that the user can recite the commands. Therefore, the output device can also include a speaker for voice output.
[0042] The calculation device 340 generates a command word consisting of a certain number of syllables using data for a plurality of syllables stored in the storage device 320. Then, the output device 330 extracts feature points from the captured face image to determine whether the user pronounces the command word in imitation. The calculation device may be a processor or a CPU of the active liveness detection device 300.
[0043] Meanwhile, the active liveness detection apparatus 300 may be implemented as a program (or application) including an executable algorithm that can be executed on a computer. That is, it may be a program that is executed on a computer. The program may be stored and provided in a transitory or non-transitory computer readable medium.
[0044] A non-transitory readable medium refers to a medium that stores data semi-permanently and can be read by a device, rather than a medium that stores data for a short moment, such as a register, cache, memory, etc. Specifically, the various applications or programs described above can be stored and provided in a non-transitory readable medium, such as a CD, DVD, hard disk, Blu-ray disk, USB, memory card, ROM (read-only memory), PROM (programmable read only memory), EPROM (Erasable PROM, EPROM), EEPROM (Electrically EPROM), flash memory, etc.
[0045] Transient readable media refers to various types of RAM such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synclink DRAM (SLDRAM) and Direct Rambus RAM (DRRAM).
[0046] Figure 4 shows some of the distinguishable vowels in Hangeul. As shown in Figure 4, 14 vowels with distinguishable pronunciations were selected from the total 21 vowels that make up Hangeul. The 14 selected vowels are
number
[0047] FIG. 5 is a diagram showing a command word generated with a certain number of syllables. As shown in FIG. 5, a command word can be generated with five syllables. The syllables selected as a command word are each a combination of a consonant and a vowel, and the vowels are selected through FIG. 4. The consonants can be divided into those that become bilabial sounds when combined with a vowel and those that do not. For example, the consonants that become bilabial sounds as in the command word in FIG. 5 are
number
number
[0048] Meanwhile, in the process of presenting a command to a user, a guidance message may be displayed on the screen. As shown in FIG 5, a message such as "Please pronounce as follows for authentication" may be displayed, or the message may be output as voice through a speaker.
[0049] FIG. 6 is a diagram showing extraction of feature points from a face image. Referring to FIG. 6, a deep learning model can be used to extract feature points. The deep learning model can be trained in advance for feature point extraction, and after the training is completed, it can be installed in the authentication device and extract feature points for the user's face image. At this time, feature points for the shape of the mouth can be extracted and compared to detect whether the command word presented to the user is pronounced correctly.
[0050] The data stored for generating commands may contain multiple syllables and information on feature points indicating pronunciation for each syllable may be matched and stored. In other words, after extracting feature points of the shape of the mouth from the captured facial image through a deep learning model, it is possible to determine whether the user pronounced the command correctly by matching them with the feature points of each syllable included in the command. Needless to say, it is nearly impossible for two feature points to match 100%, so the success or failure of authentication can be determined by comparing the similarity between the feature points. If a certain level of similarity is satisfied, it can be determined that there is no abnormality in the user's liveliness.
[0051] Meanwhile, when a user pronounces a certain syllable, the shape of the facial muscles may change in a certain manner to some extent when pronouncing the next syllable. In other words, it is possible to predict roughly similar changes in the facial muscles regardless of who pronounces the syllable. In the present technology, focusing on this point, feature point information corresponding to the syllables and the facial changes between syllables is stored in advance, and then feature points for the facial changes between syllables are extracted from the facial image and matched, thereby detecting the liveness of the user more precisely. For example, liveness can be detected by comparing the changes in the shape and position of the cheekbones, philtrum, eyebrows, etc. between syllables.
[0052] Although the method and apparatus for detecting active liveness using a face image according to an embodiment of the disclosed technology have been described with reference to the embodiment shown in the drawings for ease of understanding, this is merely exemplary, and a person skilled in the art will recognize that various modifications and equivalent embodiments are possible. Therefore, the true technical scope of protection of the disclosed technology should be determined by the appended claims.
Claims
1. generating a command for user authentication by the authentication device; outputting the command on a screen of the authentication device and capturing a face image of the user who pronounces the output command; and The authentication device extracts feature points relating to changes in mouth shape from the face image to determine whether the user pronounces the command by imitating the command.
2. The active liveness detection method of claim 1 , wherein the generating step generates the command when it is determined that the user has entered a range where a face image can be captured.
3. The method of claim 1 , wherein the command word is a predetermined number of syllables randomly selected from a plurality of syllables.
4. The certain number of syllables is Among the vowels of Hangul, some vowels have different pronunciation patterns and combinations of consonants that become bilabial sounds when combined with the above vowels, The active liveness detection method according to claim 3 , wherein the combination of the consonants is selected randomly from among a portion of vowels whose pronunciation patterns are classified and a portion of the combination of the vowels with a consonant that does not become a bilabial sound when combined with the portion of the vowel.
5. 2. The active liveness detection method of claim 1, wherein the determining step determines whether the mouth shape feature points extracted from the face image are similar to mouth shape feature points for pronouncing each of a certain number of syllables included in the command.
6. 2. The active liveness detection method of claim 1, wherein the determining step determines whether facial muscle feature points extracted from the face image match feature points for a facial change between a certain number of syllables included in the command.
7. The method of claim 1 , wherein the authentication device is connected to a control device that controls opening and closing of a gate, and transmits a control signal to the control device according to the determination result.
8. A sensor that identifies whether a user has entered a range where a face can be photographed; a storage device for storing data for a plurality of syllables for generating a command word for authenticating the user; an output device that outputs the command on a screen and captures a face image of a user who pronounces the output command; and a computing device that generates the command word consisting of a certain number of syllables using data for the plurality of syllables, and extracts feature points from the face image to determine whether the user has pronounced the command word in imitation.
9. The certain number of syllables is Among the vowels of Hangul, some vowels have different pronunciation patterns and combinations of consonants that become bilabial sounds when combined with the above vowels, The active liveness detection device according to claim 8 , wherein the pronunciation form is randomly selected from a set of vowels classified into two groups and a set of consonants that do not form a bilabial sound when combined with the set of vowels.
10. 9. The active liveness detection device of claim 8, wherein the computing device determines whether the mouth shape feature points extracted from the face image are similar to mouth shape feature points for pronouncing each of a certain number of syllables included in the command.
11. 9. The active liveness detection device of claim 8, wherein the computing device determines whether facial muscle feature points extracted from the face image match feature points for a facial change between a certain number of syllables included in the command.
12. the computing device includes a deep learning model for analyzing the facial image; The active liveness detection device of claim 8 , further comprising: determining the pronunciation of the user based on an output result of inputting the face image into the deep learning model.
13. The active liveness detection device according to claim 8 , wherein the arithmetic unit transmits a control signal to a control unit that controls opening and closing of a gate according to a result of the determination.
Citation Information
Patent Citations
Method and device for speech input
JP1994012483A
Personal information authentication system, personal information authentication method, program, and recording medium
JP2008004050A
