Authentication of user access rights
By using the first device to record the image and comparing it with the template on the second device in user access right authentication to generate an access signal, the problem of high equipment cost and difficulty in rapid relocation in the existing technology is solved, and an efficient, Robust access authentication process.
Patent Information
- Application Number
- CN202380021773.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-02-15
- Filing Date
- 2023-02-13
- Publication Date
- 2024-09-24
AI Technical Summary
The existing technology has problems in user access right authentication, such as high cost, expensive equipment, and difficulty in rapid relocation, especially in scenarios that require frequent access.
By recording an image of the user using the first device, extracting facial features and comparing it with a template on the second device, an access signal is generated indicating whether the user has access rights, and the signal is output to control access to the system.
It achieves an efficient, sustainable and robust user access rights authentication process, reduces the technical requirements and costs of equipment, reduces dependence on high-cost hardware, and simplifies the user certification process.
Smart Images

Figure HDA0004992594480000031 
Figure HDA0004992594480000032 
Figure HDA0004992594480000021
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of authentication processes for authenticating access rights of users. In particular, the present invention relates to a method for authenticating access rights of users involving at least a first device and a second device, a device, a non-transitory computer-readable data medium storing a computer program including instructions for executing the steps of the method, and the use of an access signal indicating whether a user has access rights for operating an access system. Background Art
[0002] Often, access, such as to a certain area or device, may be subject to various restrictions. Examples are company areas where only employees are allowed access or places with restricted access where only paying personnel can pass through an entrance. For this purpose, proof objects are presented with an inherent weakness in that they may be lost, stolen or forgotten, leaving the burden on the user to take care of the proof object and prevent misuse.
[0003] CN 112837432 A provides a station ticket checking system, which determines the user information in the station through the user determination device in the station, and sends the user information in the station to the server; the server determines the user feature data set of the user in the station from the user feature database according to the information, and collects the target user features through the ticket gate control device; sends a ticket checking processing request for the target user features to the server, the server determines the target user information corresponding to the target user features from the user feature data set of the user in the station, and performs ticket checking processing on the target user; and controls the opening of the ticket gate through the ticket gate control device. The system identifies the user by facial recognition, for example. Performing facial authentication at each access point (POA) requires the use of high-security hardware at each POA, and the cost of each associated device involved is high.
[0004] The object of the present invention is to overcome these disadvantages and in particular to provide a process for providing user access that is more cost-effective, easier and faster to relocate. These and other objects are solved by the subject matter of the independent claims, which will become apparent after the following description. The dependent claims relate to preferred embodiments of the invention. Summary of the invention
[0005] These objects are achieved by the present invention. In one aspect, the present invention relates to a method for authenticating access rights of a user, the method involving at least a first device and a second device, the method comprising:
[0006] a) receiving an access request,
[0007] b) recording at least one image with the first device in response to the access request,
[0008] c) extracting at least one facial feature of the at least one image,
[0009] d) receiving a template from the second device,
[0010] e) generating an access signal indicating whether the user has access rights based on the comparison of the at least one facial feature with the template,
[0011] f) Output the access signal.
[0012] In another aspect, the invention relates to an apparatus comprising:
[0013] a) an input terminal, the input terminal being used to receive an access request and / or a template,
[0014] b) a camera for recording at least one image of the user in response to the access request,
[0015] c) a processor configured to extract at least one facial feature of the at least one user image and / or compare the at least one facial feature with the template,
[0016] d) an output terminal, which is used to output the access signal.
[0017] In another aspect, the present invention relates to a non-transitory computer-readable data medium storing a computer program comprising instructions for executing the steps of the method according to any one of the preceding claims.
[0018] In another aspect, the invention relates to the use of an access signal indicating whether a user has access rights for operating an access system.
[0019] On the other hand, the present invention relates to a system comprising at least a first device and at least one second device, wherein the at least one first device is configured to record at least one image with the first device in response to an access request, and wherein the second device is configured to receive a template from the second device, and wherein at least one of the at least one first device and / or the at least one second device is configured to receive the access request, extract at least one facial feature of at least one image, generate an access signal indicating whether the user has access rights based on a comparison of the at least one facial feature with the template, and output the access signal.
[0020] Any disclosure and embodiment described herein is related to the above-listed methods, apparatus, computer-readable media, and vice versa. Advantageously, the benefits provided by any embodiment and example are also applicable to all other embodiments and examples, and vice versa.
[0021] As used herein, "determining" also includes "initiating or causing determination", "generating" also includes "initiating or causing generation", and "providing" also includes "initiating or causing determination, generation, selection, sending, or receiving". "Initiating or causing performance of an action" includes any processing signal that triggers a computing device to perform a corresponding action.
[0022] The method, device and computer-readable medium disclosed herein provide an efficient, sustainable and robust way to provide access rights to users. The facial authentication process for authenticating the access rights of users on at least a first device and a second device allows one of these devices to be used as a proof object itself, while preventing the abuse of the proof object by deploying a secure authentication. In addition, this allocation advantageously reduces the technical requirements for at least one of these devices, thereby ultimately reducing the cost of such devices and the entire access system. In an example, an area can be accessed via several access gates. In this scenario, the technical requirements and therefore the cost of all access gates are lower than in the case where each access gate needs to be equipped with high-cost technology, and only one other device is required to achieve secure authentication. Therefore, the improved process for authenticating the access rights of users can be used for various use cases. At the same time, the user is also relieved of the burden usually brought by the proof object. The invention provided herein is suitable for outputting an access signal, and the access signal can be suitable for operating an access system. Therefore, the present invention provides a way to obtain the necessary access signal when operating an access system. By reducing the cost of providing the access signal, the cost of the access system including the access signal providing unit is ultimately reduced. As will be appreciated by those skilled in the art, an access signal providing unit is essential in an access system as well as an access granting unit such as a gate.
[0023] The “first device” is a device configured to record at least one image. In some embodiments, the first device may be a non-fixed device or may be integrated into a non-fixed device.
[0024] The term "non-fixed device" may specifically refer to, but is not limited to, a mobile electronic device, more specifically a mobile communication device such as a cellular phone, a smart phone, or a smart watch. Additionally or alternatively, the mobile device may also refer to a laptop computer, a tablet computer, or other types of portable computers. In other embodiments, the first device may be integrated into a fixed device and / or may be a fixed device. Such a fixed device may be immovable by humans, such as, for example, an entrance with a gate, a column, or a similar object that restricts access, a POA, a building, a vehicle, a B-pillar, etc.
[0025] The "second device" is a device configured to provide a template. The second device may be a non-fixed device or a fixed device as described in the context of the first device, or may be integrated into the non-fixed device or the fixed device. Additionally or alternatively, the second device may include a chip, preferably a chip configured to function as an RFID tag and / or an NFC tag. Such a chip may be integrated into the device. In some embodiments, the second device may be a fixed device, wherein the first device may be a non-fixed device. In other embodiments, the second device may be a non-fixed device, wherein the first device may be a fixed device.
[0026] In order to provide the template from the second device, a wireless near field transmission can be established between the second device and the device receiving the template (preferably the first device). Examples of wireless near field transmission technologies are Bluetooth, RFID, especially NFC and the like.
[0027] "Access request" includes a signal indicating that a user requests access. Access may be requested to enter a virtual entity and / or a physical entity, for example, an area to which access is restricted in some way, such as a secure area, a room, an apartment, a vehicle, a portion of the aforementioned examples, a function of a device, etc. In such a scenario, the user's access rights may be restricted according to provisions such as the number of users in the restricted area, the user's attributes, the user's purchases, the user's membership, or the user's affiliation. The user's attributes may be age, health status (such as vaccination status), briefing status (including instructions required to access the area, especially interesting information in the context of user safety), etc. The user's purchases may include tickets to any kind of event or facility. In other scenarios, the user may obtain access via application for membership or by being an employee of a company. The access request may be generated using the first device and / or the second device. The access request may be initiated by the user. The user may initiate the access request by approaching at least one of the devices. The approach may be detected by a motion detector. Detecting motion may trigger the motion detector to generate an access request. Then, the access request may be provided. In some embodiments, the user may operate the first device or the second device, and may initiate sending the access request using at least the first device or the second device. The access request may be received by at least the first device or the second device.
[0028] As used herein, without limitation, the term "image" refers to data recorded using a camera, such as a plurality of electronic readings from an imaging device, such as pixels of a camera chip. The image itself may include pixels, the pixels of the image being associated with the pixels of a matrix of sensor elements. The image may be at least one two-dimensional image. In some embodiments, the image may be an RGB (red, green, and blue) image. In other embodiments, the image may include a reflected pattern generated in response to illuminating a user with patterned light. In order to extract at least one facial feature, the image may include at least a portion of the user's face.
[0029] In this context, "recording" also includes capturing and / or generating images.
[0030] "Facial features" are associated with characteristic features of a user's face. Facial features may be extracted from an image indicative of characteristics of a user's face. An image may be encoded into at least one facial feature. At least one facial feature may be represented as an n-dimensional vector of values in a feature space. The feature space may be an n-dimensional vector space. Examples of at least one facial feature may be, but are not limited to, eyes, nose, forehead, irregularities (such as scars, wrinkles, etc.), cheeks (including cheekbones), chin, ears and / or mouth. In the context of the present invention, at least one facial feature may be extracted by encoding at least one facial feature as an n-dimensional vector in a feature space.
[0031] A "template" is a reference to at least one facial feature. The template may include at least one template feature. At least one template feature encodes at least one facial feature of a user with access rights or a registered user. At least one template feature may be represented as an n-dimensional vector of values in a template space. The template space may be an n-dimensional vector space. Alternatively or additionally, a template may be generated from an image of a user with access rights or a registered user by extracting at least one template feature. The image of a user with access rights or a registered user may be suitable for extracting at least one template feature. The template may be stored on a second device, preferably in a secure element (e.g., a secure integrated circuit). A secure element is a tamper-proof integrated circuit that is permanently built into a device, or it may be a removable element.
[0032] Typically, a user with access rights refers to a user who has access rights. A user with access rights and / or a registered user may be a user approved for access. A user may be approved by an account provider. An account provider may be any institution or person who is qualified to provide access rights to a user. Generating a template may be part of a user's registration process. The user's registration process may be completed before an access request may be received. In addition, the registration process may include a step of recording a registered image of the user. According to the registration process, registered user data may be generated. The registered user data may include a template. In some embodiments, the registered user data further includes personal-related data and / or account-related data and / or device-related data. Personal-related data may include data defined by a user. Account-related data may be defined by an account provider. Device-related data may be defined by a device (e.g., a first device and / or a second device). In some embodiments, personal-related data and / or account-related data and / or device-related data may be suitable for identifying a user. The template may be suitable for comparison with at least one extracted facial feature.
[0033] The comparison of the template with the at least one facial feature is associated with determining a similarity between the template and the image. The similarity can be determined by determining a similarity between the at least one template feature and the at least one facial feature. To determine the similarity between the at least one template feature and the at least one facial feature, a distance between a feature vector and a template vector can be calculated.
[0034] An "access signal" is a signal indicating whether a user has access rights. Recording an image in which a user has access rights generally produces an access signal indicating that access is granted. Recording an image in which a user does not have access rights generally produces an access signal indicating that access is denied. Access may be granted when a template is matched to at least one facial feature. Access may be denied when the template does not match the image. A match between the template and the image may correspond to a match score equal to or above a predetermined threshold. A mismatch between the template and the image may correspond to a match score below a threshold. The match score may be a measure of the distance between the feature vector and the template vector. A larger distance may correspond to a lower match score, and vice versa. The threshold may be selected based on the certainty required to generate an access signal that correctly indicates that access is granted, thereby minimizing the false positive rate. The cost of doing so is that too few users are authenticated, i.e., a higher false negative rate is generated. Therefore, the threshold is generally a compromise between minimizing the false positive rate and keeping the false negative rate at a moderate level. The threshold may be selected to obtain equal or nearly equal false negative and false positive rates. The access signal may be suitable for transmitting access granted or denied. The access signal may be suitable for operating an access system.
[0035] The "input" for receiving the access request is one or more of: a serial or parallel interface or port, USB, Centronics port, FireWire, HDMI, Ethernet, Bluetooth, RFID, Wi-Fi, USART or SPI, or an analog interface or port (such as one or more of an ADC or DAC), or a standardized interface or port to other devices.
[0036] In order to record the image of the user, the device is equipped with a camera. In some embodiments, the device may be equipped with more than one camera. The term "camera" may specifically refer to, but is not limited to, a device having at least one imaging element, which is configured to record or record spatially resolved one-dimensional, two-dimensional or even three-dimensional optical data or information. The camera may be a digital camera. As an example, the camera may include at least one camera chip, such as at least one CCD chip and / or at least one CMOS chip configured to record images. The camera may be or may include at least one near-infrared camera and / or an RGB camera. In addition, in addition to at least one camera chip or imaging chip, the camera may include additional elements, such as one or more optical elements, such as one or more lenses.
[0037] While the image is being recorded, the user may be illuminated with light (ultimately RGB light or preferably IR flood and / or patterned light).
[0038] A "processor" is a local processor, including a central processing unit (CPU) and / or a graphics processing unit (GPU) and / or an application-specific integrated circuit (ASIC) and / or a tensor processing unit (TPU) and / or a field-programmable gate array (FPGA). The processor may also be an interface with a remote computer system such as a cloud service. The processor may include or may be a secure enclave processor (SEP). The SEP may be a secure circuit configured to authenticate an active user (e.g., a user currently using the device). A "secure circuit" is a circuit that protects isolated internal resources from being directly accessed by external circuits. An internal resource may be a memory that stores sensitive data (such as personal information, such as biometric information or medical information, encryption keys, or random number generator seeds). An internal resource may also be a circuit that performs services / operations associated with sensitive data. In some embodiments, the camera may transmit at least one image to the secure enclave processor via a secure channel. The secure channel may, for example, be a dedicated path for transmitting data (i.e., a path shared only by the intended participants), or may be a dedicated path for transmitting encrypted data using a cryptographic key known only to the intended participants. In other embodiments, facial features may be extracted and transmitted via a secure channel.
[0039] An "output" for outputting an access signal indicating whether a user has access is one or more of: a serial or parallel interface or port, USB, Centronics port, FireWire, HDMI, Ethernet, Bluetooth, RFID, Wi-Fi, USART or SPI, or an analog interface or port (such as one or more of an ADC or DAC), or a standardized interface or port to other devices.
[0040] "Computer-readable data medium" refers to any suitable data storage device or computer-readable memory having stored thereon one or more sets of instructions (e.g., software) that embody any one or more of the methods or functions described herein. The instructions may also reside completely or at least partially in the main memory and / or processor during the execution of the instructions by the computer, main memory, and processing device that may constitute the computer-readable storage medium. The instructions may further be sent or received over the network via a network interface device. Computer-readable data media include, for example, a hard drive on a server, a USB storage device, a CD, a DVD, or a Blu-ray disc. The computer program may contain all the functions and data required to perform the method according to the invention, or an interface may be provided to enable parts of the method to be processed on a remote system (e.g., a cloud system). The term "non-transient" means that the purpose of the data storage medium is to permanently store the computer program, in particular without requiring permanent power supply.
[0041] The access signal may be suitable for operating an access system. The access system may include a hardware component. The hardware component may be a blocking element (such as a lock, gate, door, wall, column, etc.) or may be included in the blocking element. The access system may include a software component. The software component may be an unlocking entity of an operating system, application, etc., or may be included in the unlocking entity, or provide information suitable for initiating a physical action.
[0042] In some embodiments, the access request may further include access to user data. The access to user data may be associated with a user and / or a user's account and / or at least one first device and / or a second device. The access to user data may include user-related data and / or account-related data and / or device-related data. The user-related data may be associated with a user and / or provided by a user, such as name, birthday, biometric information, an image of a user, etc. The account-related data may be associated with a user's account and / or provided by an account provider, such as an account ID, password, user name, etc. The device-related data may be associated with a device providing the access request and / or with a device for providing a template and / or a device for recording an image (e.g., a first device and / or a second device). The device-related data may be provided by a device. Examples of device-related data may be, but are not limited to, a device ID, an IP address, and / or a telephone number. The access to user data may be associated with the identity of the user. Therefore, the identity of the user may be associated with the following: name, birthday, city of birth, address, identity of another user (such as the identity of a family member), user ID, personal device (such as a smart phone or smart watch), passport ID, etc. Therefore, the access to user data may be suitable for identifying the user. The access user data may be collected using the first device or the second device.
[0043] In some embodiments, the access user data may be used to generate a process decision. The generation of the process decision may be based on a comparison of the access user data with the registered user data. The registered user data may be generated during the registration process of the user. The registered user data may include a template, user-related data and / or account-related data and / or device-related data. The process decision may indicate that the process continues or terminates. The process decision indicating the termination of the process may result in the generation of an access signal indicating access denial, and the process decision indicating the continuation of the process may result in the generation of an access signal indicating the granting or denial of access generated by comparing the template with at least one facial feature. By doing so, the comparison of the template with at least one facial feature may be unnecessary. Since the process decision determines whether the user can be a user with access rights by comparing the access user data with the registered data, the process decision indicating the termination of the process always generates an access signal indicating access denial. The reason for this is that at least one facial feature of a user without access rights and / or an unregistered user may not match the template as a template of a user with access rights and / or a registered user.
[0044] In some embodiments, the second device may receive access user data for selecting a template. The template may be associated with user-related data and / or account-related data and / or device-related data generated during the registration process. The template may be selected by comparing the access user data with the registration data. In response to the access user data matching the registration data, a template corresponding to the registration data may be selected.
[0045] In some embodiments, at least one image may include a reflective pattern generated in response to illumination with patterned light. The patterned light may include at least one reflective feature and may be projected onto a user. The light pattern may be a periodic or aperiodic point cloud, whereby the reflective features may be points. The light may be in the infrared range, preferably in the near infrared range.
[0046] Further, generating the access signal may be further based on skin detection, which may be determined based on an image. Skin detection may be based on an image including a reflection pattern. The reflection pattern may be the result of light emitted from an illumination source, which may be reflected by the skin surface, and may also partially penetrate the skin into different skin layers, and may be scattered back from these skin layers, thereby covering the reflection from the surface. This may cause the characteristics of the reflection features reflected by the skin to be broadened or blurred. The broadening or blurring of the characteristics may be material-specific. Such broadened characteristics may be detected in a variety of ways. For example, an image filter may be applied to the reflection features, such as a brightness filter; a spot shape filter; a squared norm gradient; a standard deviation; a smoothing filter, such as a Gaussian filter or a median filter; a contrast filter based on grayscale; an energy filter based on grayscale; a homogeneity filter based on grayscale; a dissimilarity filter based on grayscale; a Laws energy filter; a threshold area filter. To achieve optimal results, at least two of these filters are used.
[0047] The result of applying the filter can be compared with a reference. The comparison can produce a similarity score, where a high similarity score indicates a high similarity to the reference and a low similarity score indicates a low similarity to the reference. If this similarity score exceeds a certain threshold, the reflectance feature can be a qualified reflectance feature reflected by the skin. The threshold can be selected based on the required certainty, that is, only skin reflectance features should be considered, thereby minimizing the false positive rate. The cost of doing so is that too few reflectance features that are considered to be skin reflectance features are identified, that is, a high false negative rate is generated. Therefore, the threshold is usually a compromise between minimizing the false positive rate and keeping the false negative rate at a moderate level. The threshold can be selected to obtain equal or nearly equal false negative rates and false negative rates.
[0048] Each reflection feature can be analyzed separately. This can be achieved by cropping an image showing a body part when the body part is illuminated with patterned light into a plurality of partial images, wherein each partial image contains a reflection feature. A partial image can contain one reflection feature or more than one reflection feature. If a partial image contains more than one reflection feature, it is determined whether a particular reflection feature is a skin reflection feature based on more than one partial image. This has the advantage that correlations between adjacent reflection features can be exploited.
[0049] The determination of skin reflectance features can be achieved by using a machine learning algorithm. The machine learning algorithm is typically based on a data-driven model that is parameterized to receive an image containing a reflectance feature and output the likelihood of whether the reflectance feature is skin. The machine learning algorithm needs to be trained with historical data that includes the reflectance feature and an indicator indicating whether the reflectance feature has been reflected by the skin. A particularly useful machine learning algorithm is a neural network, in particular a convolutional neural network (CNN). The kernel of a CNN may include a filter as described above that is capable of extracting skin information from the broadening or blurring of the reflectance feature.
[0050] By detecting skin, the access signal may indicate whether the user has access based on a comparison of the template to at least one facial feature. Failure to detect skin may result in a denial of access.
[0051] In some embodiments, the first device and / or the second device may be a smartphone.
[0052] In some embodiments, the device may further include an illumination source for irradiating the user with light. The device may be a first device. Irradiation may be achieved by using a projector or an illumination source that emits a light pattern onto a body part. The illumination source may include at least one light source. The illumination source may include multiple light sources. The illumination source may include an artificial illumination source, in particular at least one laser source and / or at least one incandescent lamp and / or at least one semiconductor light source, such as at least one light emitting diode, in particular an organic and / or inorganic light emitting diode. As an example, the light emitted by the illumination source may have a wavelength of 300 to 1100nm, in particular 500 to 1100nm. Additionally or alternatively, light in the infrared spectrum range, such as light in the range of 780nm to 3.0μm, may be used. Specifically, light in a portion of the near-infrared region (specifically in the range of 700nm to 1100nm) for which silicon photodiodes are applicable may be used. Using light in the near-infrared region allows the light to be undetectable or only weakly detected by the human eye, and still be detected by a silicon sensor, in particular a standard silicon sensor. The illumination source may be suitable for emitting light of a single wavelength. In other embodiments, the illumination may be adapted to emit light having multiple wavelengths, thereby allowing additional measurements in other wavelength channels. The light source may be or may include at least one multi-beam light source. For example, the light source may include at least one laser source and one or more diffractive optical elements (DOEs). The illumination source may include at least one line laser. The line laser may be adapted to send a laser line, such as a horizontal or vertical laser line, to the object. The illumination source may include multiple line lasers. For example, the illumination source may include at least two line lasers, which may be arranged so that the illumination pattern includes at least two parallel lines or crossed lines. The illumination source may include at least one light projector, which is adapted to generate a point cloud, so that the illumination pattern may include multiple point patterns. The illumination source may include at least one mask, which is adapted to generate an illumination pattern from at least one beam generated by the illumination source.
[0053] In an embodiment, the device comprises: an input end for receiving an access request and / or receiving a template, a camera for recording at least one user image in response to the access request, a processor for extracting at least one facial feature of the at least one user image and / or comparing the at least one facial feature with the template, and an output end for outputting the access signal. It may be a device configured to receive an access request and / or receive a template, a camera for recording at least one user image in response to the access request, a processor for extracting at least one facial feature of the at least one user image and / or comparing the at least one facial feature with the template, and an output end for outputting the access signal.
[0054] In an embodiment, at least one first device and / or at least one second device may be a mobile electronic device. In particular, the mobile electronic device may be a mobile communication device. Examples of mobile communication devices may be a cellular phone, a smart phone, a laptop computer, a computer or a smart watch.
[0055] In an embodiment, the template may be generated during the registration process. This is advantageous because once a user has registered, providing access does not rely on other verification / credentials (e.g., a driver's license), and the user does not have to carry such verification or credentials with them.
[0056] In an embodiment, an apparatus as described herein may be connected to at least one second apparatus which may include a processor for extracting at least one facial feature of at least one user image and / or comparing at least one facial feature to a template.
[0057] In some embodiments, more than one image may be recorded in response to an access request. At least one of the images may be suitable for extracting at least one facial feature of a user. The image quality of an image may not always be sufficient to authenticate a user due to movement, insufficient amount of skin available to extract at least one facial feature, or other circumstances. By recording more than one image, the number of times the authentication process is restarted may be reduced, thereby generally increasing the efficiency of the process and reducing the time it takes for a user to authenticate. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The present disclosure will be further described below with reference to the accompanying drawings:
[0059] Figure 1 A flow chart of an exemplary embodiment of a method (100) for authenticating access rights of a user is presented.
[0060] Figure 2 A flow chart of an exemplary embodiment of a method (200) for authenticating access rights for a user, including process decisions, is presented.
[0061] Figure 3 A flow chart of an exemplary embodiment of a method (300) for authenticating access rights for a user, including skin detection, is shown.
[0062] Figure 4 A flow chart of an example embodiment of a method (400) for authenticating access rights of a user is shown, including receiving access user data at a second device to select a template.
[0063] Figure 5 A block diagram of an exemplary apparatus (500) including an input, a camera, a processor, and an output is shown. DETAILED DESCRIPTION
[0064] Figure 1 A flow chart of an example method (100) for authenticating access rights of a user is shown, the method comprising a first device and a second device.
[0065] In a first step, an access request is received (100). In some embodiments, the access request may be received by the first device or the second device. In some embodiments, a user may operate at least one device (which may be the first device, the second device, or any other device) to initiate an access request. In an exemplary scenario, a user may operate an application on one of the devices to initiate the generation of an access request. In other scenarios, an access request may be automatically generated when the distance between the first device and the second device is small. In some embodiments, the first device and / or the second device may support NFC. Subsequently, the distance between the first device and the second device needs to be reduced so that data transfer can be performed. When an access request is received, a user authentication process may be initiated.
[0066] In response to the access request, at least one image is recorded with the first device (120). The image of the user may include at least a portion of the user's appearance, preferably at least a portion of the body, most preferably at least a portion of the user's face. In some embodiments, more than one image may be captured when triggered by the access request to ensure that one image is suitable for extracting at least one facial feature of the user. For example, the quality of the captured image of the user may not always be high enough. In such a scenario, a check may be included to select an image suitable for extracting at least one facial feature. The check may include determining the quality of the image by determining the number of data points in the image that are suitable for extracting at least one facial feature. The quality of the image may need to be above a quality threshold in order to proceed with authentication using the recorded image.
[0067] When recording the image, the user may be illuminated with light. In some embodiments, the light may be RGB light, IR flood light, or structured light (preferably, structured light or flood light in the IR range). The user may be illuminated with light from the first device and / or the second device or any other illumination source (such as a lamp).
[0068] At least one facial feature of a user is extracted from at least one image (130). In some embodiments, extracting at least one facial feature of at least one image may be performed on a first device, a second device, or any other device configured to extract at least one facial feature. Extracting at least one facial feature may be associated with encoding at least one image into an n-dimensional facial vector. Each feature vector may define facial features of a user based on a single image, based on a composite image (e.g., an image composited from several images), or based on multiple images. Since the feature vectors are generated based on facial features of a single user, the feature vectors may be similar to each other because the feature vectors are associated with the same person and may have some "clusters".
[0069] In another step, a template is received from a second device (140). In some embodiments, the template may be received by the first device or any other device. The template may be a template of a user with access rights. The template may include template features. The template may be generated from an image of a user by extracting template features of the image. The template features may include template features of a user with access rights. Extracting at least one template feature may be associated with encoding at least one image into an n-dimensional face vector. Each template vector may define a template feature of a user based on a single image, based on a composite image (e.g., an image composited from several images), or based on multiple images. Since the template vectors are generated based on facial features of a single user, these template vectors may be similar to each other because these template vectors are associated with the same person and may have some "clusters". The user with access rights may be a user approved for access and / or a registered user, for example, approved by an account provider (e.g., an employer in an exemplary scenario of providing employees with access rights to a company area), or authenticated to access the user to the car when the user may own a car and / or may rent a car (e.g., in a car sharing process, etc.). In some embodiments, the template may be stored on a device (preferably the first device) receiving the template. By doing so, the user only needs to use the second device once to authenticate at the first device, without the second device providing the template. In one scenario, the second device (e.g., a smart phone) can still be used to prompt the access request. In another scenario, the second device may no longer be needed to prompt the access request, and the first device may be sufficient for authentication. The advantage of doing so is that the provided method is also applicable to users who do not have a suitable device as the second device, such as the elderly. The second device for providing the template can be provided by someone other than the user. For example, an elderly person who does not have a second device can use a device from a merchant as the second device when purchasing a car.
[0070] Further, the template features are generated by extracting features of the registered image (150). Extracting the template features can be performed based on the extraction of at least one facial feature as described above. The template can be stored in a memory of the second device and / or received by the second device from a device other than the first device. In some embodiments, the device other than the first device can be a computing unit, such as a server including a database.
[0071] An access signal is generated indicating whether the user has access rights by comparing at least one facial feature extracted from an image of the user recorded by the first device with the template. The access signal may be generated on the first device and / or the second device and / or any other device. The access signal may indicate granting access, including a request to grant access to the user. Access may be granted by matching at least one facial feature of the user with the template. Access may be denied when at least one facial feature of the user does not match the template. In some embodiments, a match may be achieved if the match score is above a threshold. In this case, the access signal may indicate granting access. In some embodiments, if the feature vector of at least one facial feature is close to the feature vector of at least one template feature, the match score may be high, while if the two feature vectors are far apart, the match score may be low. In the second case, the access signal may indicate denying access. In other embodiments, if the match score is below a threshold, a match may not be achieved. In this case, the access signal may indicate denying access. In some embodiments, the match score may be determined by comparing at least one facial feature with the template. This may include using one or more classifiers or networks that support classification to classify and evaluate the differences between the generated feature vector and the feature vector from the template space. Examples of different classifiers that may be used include, but are not limited to, linear classifiers, piecewise linear classifiers, non-linear classifiers, support vector machines, and neural network classifiers.
[0072] In a final step, an access signal is outputted indicating whether the user has access rights (160). The access signal may be outputted by the first device and / or the second device and / or any other device. Additionally, the access signal may include information in the form of a Boolean value to indicate whether access is granted or denied. In some embodiments, the access signal may include other information (e.g., user data), information related to steps performed by the first device and / or the second device, etc. In certain embodiments, the access signal is suitable for operating an access system. In some embodiments, an access signal indicating that access is granted may result in an access action of providing access to the user, and an access signal indicating that access is denied may not result in an access action. In certain embodiments, after an access signal indicating that access is denied, the program may be restarted by recording another image of the user, or another device may be requested to record an image of the user, or an indication of an access signal indicating that access is denied may be provided to the user, or no further steps may be performed. Examples of access actions may be opening a gate, removing a blocking element to allow a user to pass, or providing a password for entry at a POA for access. Figure 2 A flow chart of an exemplary embodiment of a method (200) for authenticating access rights for a user, including process decisions, is presented.
[0073] In a first step, an access request is received (210), such as in Figure 1 In the context of . In addition, the access request may include access user data. In this context, the access user data may be associated with the user and / or the user's account and / or the first device and / or the second device. Exemplarily, the access user data may be data given by the user and / or the account provider and / or one of these devices. Such data may be an account ID of the user. In some embodiments, the second device may include a chip. The chip may store the account ID and provide the account ID at the access gate.
[0074] In another step, at least one image is recorded with a first device (220), such as in Figure 1 described in the context of .
[0075] According to Figure 1 The steps described in the context of extracting at least one facial feature (230) from at least one image.
[0076] In another step, a template is received from a second device (240), such as in Figure 1 described in the context of .
[0077] By comparing the access user data with the registered user data, a process decision is generated (250). The registered user data may be received from the first device and / or the second device and / or any other device (such as a computing unit, such as a server including a database). Further, the registered user data may be generated in a previous registration process. The registration process may include, for example, Figure 1 The steps described in the context of . Comparing the access user data with the registered user data may result in a match result. Such a match may be achieved when the registered user data includes the user data. Matching the user data with the registered user data may result in a process decision indicating that the process continues. Not matching the user data with the registered user data may result in a process decision indicating that the process terminates.
[0078] In another step, the process decision can be further based on the generation of Figure 1 The process decision indicating the termination of the process generates an access signal indicating a denial of access. In some embodiments, the access signal may indicate a denial of access without generating a match score. In other embodiments, indicating a denial of access may reduce the match score such that the match score may be below a threshold. In some embodiments, the match score may not be modified based on the access signal indicating the granting or denial of access, and may be modified based on the access signal. Figure 1 to generate access signals as described in the context of .
[0079] In the final step, an access signal (260) is output indicating whether the user has access rights, such as in Figure 1 described in the context of .
[0080] Figure 3 A flow chart of an exemplary embodiment of a method (300) for authenticating access rights for a user, including skin detection, is shown.
[0081] In a first step, an access request is received (310), such as in Figure 1 described in the context of .
[0082] In another step, at least one image is recorded (320), such as in Figure 1 At least one image may include a reflected pattern generated in response to illuminating a user with patterned light. In some embodiments, more than one image may be captured. One of the images may be an image suitable for extracting at least one facial feature, and another image may be suitable for detecting skin (370).
[0083] At least one facial feature is extracted from the image (330), as in Figure 1 described in the context of .
[0084] In another step, a template is received (340), such as in Figure 1 described in the context of .
[0085] In another step, in response to detecting skin in the previous step, an access signal is generated based on a comparison of at least one facial feature with a template (350), such as in Figure 1 or Figure 2 Failure to detect skin may generate an access signal indicating access denied. In some embodiments, the access signal may indicate access denied without generating a match score. In other embodiments, the process decision indicating access denied may reduce the match score such that the match score may be below a threshold.
[0086] In the final step, an access signal (360) is output, such as in Figure 1 described in the context of .
[0087] Figure 4 A flow chart of an exemplary embodiment of a method (400) for authenticating access rights of a user is shown, including receiving access user data at a second device for selecting a template at the second device.
[0088] In a first step, an access request is received (410), such as in Figure 2 described in the context of .
[0089] In the next step, an image is captured by the first device (420), such as in Figure 1 described in the context of .
[0090] At least one facial feature is extracted from the image (430), such as in Figure 1 described in the context of .
[0091] In some embodiments, the second device may have access to more than one template. The more than one template may be stored on the second device and / or may be provided to the second device from a device other than the first device or the second device (e.g., a computing unit, such as a server including a database). In such a scenario, selecting a template may be a prior step to receiving the template from the second device. The template may be selected based on the access request (470). The access request may include, for example, Figure 2 The access user data described in the context of . The access user data may be collected before receiving the access request, more specifically before generating the access request or while generating the access request. The access user data may be collected by the first device and / or the second device and / or any other device.
[0092] In some embodiments, the template may be associated with other registered user data (e.g., personal related data and / or account related data). The registered user data may be stored on the second device and / or may be provided to the second device from a device other than the first device or the second device (e.g., a computing unit, such as a server including a database). The template may be selected based on the access user data. The access user data may be, for example, Figure 2 The access user data described in the context of . For selecting a template, the registered user data may include the access user data. This is verified by matching information of the access user data with the registered user data. In response to matching the access user data with the registered user data, a template corresponding to the registered user data may be selected. The registered user data and the access user data may be matched by a device other than the first device. The selected template may then be provided by the second device.
[0093] After selecting the template (470), the template is provided by the second device (440). In the next step, the template is generated as in Figure 1 and / or Figure 2 and / or Figure 3 The access signal (450) is described in the context of.
[0094] In the final step, an access signal (460) is output, such as in Figure 1 described in the context of .
[0095] Figure 5 A block diagram of an apparatus (500) comprising an input, a camera, a processor and an output is shown.
[0096] The input terminal (510) is configured to receive an access request and / or receive a template, such as in Figure 1 In some embodiments, the input terminal can be configured to receive material information and / or registered user data and / or receive at least one facial feature and / or process decision, such as in Figure 1 and / or Figure 2 and / or Figure 3 The input terminal may be an interface that may be suitable for connecting the device to at least one other device. The connection may be a wired and / or wireless connection, such as one of Ethernet, USB, LAN, WLAN, etc.
[0097] The camera (520) is configured to record at least one image in response to the access request, such as in Figure 1 described in the context of .
[0098] The processor (530) is configured to extract at least one facial feature of at least one image and / or compare at least one facial feature with a template, such as in Figure 1In some embodiments, the processor may be configured to Figure 1 to generate process decisions and / or based on the steps described in the context of Figure 3 The steps described in the context of determining material information.
[0099] The output terminal (540) is configured to output an access signal, such as Figure 1 and / or Figure 2 In some embodiments, the output terminal may be configured to output an image and / or output at least one facial feature and / or output according to Figure 1 and / or Figure 2 and / or Figure 3 The access signal generated by the steps described in the context of the output terminal may be an interface that may be suitable for connecting the device to at least one other device. The connection may be a wired and / or wireless connection, such as one of Ethernet, USB, LAN, WLAN, etc.
[0100] In some embodiments, the device may additionally include an illumination source, such as a projector for projecting a light pattern comprising at least one pattern feature. The light pattern may be a periodic or aperiodic point cloud, so the pattern feature may be a point. The projector may emit light in an infrared wavelength range (such as a near infrared range). The projector may include a laser and a diffractive optical element to generate the light pattern. The projector may also include a vertical cavity surface emitting laser (VCSEL) array to generate the light pattern. Typically, the projector also includes a lens to focus the light beam onto a body part. The projector may be operated while an image can be captured with a camera of the device. The camera may be sensitive to at least a portion of the wavelength region emitted by the projector.
[0101] In the claims, the word "comprising" does not exclude other elements or steps and the indefinite article "a" or "an" does not exclude a plurality. A single unit or device may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not mean that a combination of these measures cannot be used to advantage.
[0102] Any disclosure and embodiments described herein are related to the above-listed methods, systems, apparatus, computer program elements, and vice versa. Advantageously, the benefits provided by any embodiment and example are also applicable to all other embodiments and examples, and vice versa.
[0103] Example 1
[0104] One example may be authenticating a user to provide access to a company area. In this scenario, the user requests access via his smartphone, which is suitable as a first device. In the application, the user initiates the generation of an access request in his smartphone. Access to the company area is controlled by approaching an access gate (a second device). The smartphone provides an access request including an employee number (unique to each employee) to the access gate. The access gate uses the received employee number to select a template associated with the employee by matching the employee number of the employee who is authorized to enter the company area. When the received employee number matches the employee number from the database, the associated template is provided to the smartphone. In response to this, the smartphone starts a facial authentication process and starts recording an image of the user during the authentication process. The image is used to extract the facial features of the user by encoding the image into a feature vector. In the case of extracting the facial features of the employee from the recorded image, in the secure enclave processor, the trained CNN compares the facial features with the template and generates a confidence level that the user of the smartphone is an employee. If the confidence level is above a threshold determined for authentication, the smartphone generates a signal to send an open prompt to the access gate. If the confidence level is below a threshold, the user may be advised to try again. Sometimes, a smartphone may not be suitable for performing security authentication. In this case, the identification of an unsuitable access gate or the smartphone itself may advise the user to approach another device, such as another access gate suitable for performing security authentication. In this way, the number of access gates equipped with expensive technology is reduced, which depends on the technical equipment of the employees.
[0105] Example 2
[0106] In other scenarios, the authentication method can be deployed to provide access to a car. The car can be a car suitable for car sharing. In the case where the car is the first device, the user only needs to carry a template on his mobile device (e.g., a smart phone, a smart watch) or a chip on a card suitable for being placed in a wallet. The template is then provided to the car from the smart watch or chip via NFC to ensure that the user is in close proximity to the car, thereby indicating the user's desire to access. By using NFC, the risk of accidentally unlocking the car is greatly reduced due to the very limited distance between the NFC tag and the reader. In this case, the access request includes the template. Alternatively or additionally, access can be requested via a graphical user interface (GUI). In response to receiving the template, the car records an image of the user in order to extract facial features for comparison with the template. The access signal generated based on the comparison performed in the computing unit is provided to the element that controls the locking of the door. Further, when the user enters the car again, the mobile device can be used to start the motor by sending a prompt signal that the user wants to start the car. The advantage of authenticating a user to access a car in this way is that the user does not need to go through a registration process for each car, but only needs to generate a template in advance (in some scenarios, only when access is first requested). The template can be generated during a registration process involving the user and the car sharing provider. Otherwise, the template can be a generic template suitable for use in several scenarios related to authentication, and no further template generation is required for a specific purpose such as car sharing. An example can be to generate a template based on an image of the user's ID.
[0107] Another option would be to have the car as the second device and perform the authentication with the user's mobile device (smartphone). This is advantageous because in this scenario the car does not need to be equipped with a GUI or camera. The process is similar to the above, except that the smartphone performs the authentication step, while the car only provides the template and receives the access signal.
Claims
1. A method for authenticating a user's access rights, the method involving at least a first device and a second device, the method include: a. Receive access request, b. in response to the access request, recording at least one image with the first device, c. extracting at least one facial feature of the at least one image, d. receiving a template from the second device, e. generating an access signal indicating whether the user has access rights based on the comparison of the at least one facial feature with the template, f. Output the access signal.
2. The method according to claim 1, in, The at least one first device and / or the at least one second device is a mobile electronic device, in particular a mobile communication device.
3. The method according to any one of the preceding claims, in, The access request further includes access to user data.
4. The method according to claim 3, in, A process decision is generated by comparing the access user data with the registered user data, and the access signal is generated further based on the process decision.
5. The method according to claim 3 or 4, in, The second device receives the access user data to select the template.
6. The method according to any one of the preceding claims, in, The at least one image includes a reflective pattern generated in response to illumination with the patterned light.
7. The method according to claim 6, in, This light is in the infrared spectrum.
8. The method according to claim 6 or 7, in, Generating the access signal is further based on skin detection determined based on the at least one image.
9. The method according to any one of the preceding claims, in, The first device and / or the second device is a smartphone.
10. The method according to any one of the preceding claims, in, More than one image is recorded in response to the access request.
11. The method according to claim 10, in, At least one of the images is suitable for extracting at least one facial feature of the user.
12. A device, include: a. an input terminal, the input terminal being used to receive an access request and / or receive a template, b. a camera for recording at least one user image in response to the access request, c. a processor for extracting at least one facial feature of the at least one user image and / or comparing the at least one facial feature with the template, d. An output terminal, which is used to output the access signal.
13. The device according to claim 12, in, The apparatus further includes an illumination source for illuminating the user with patterned light.
14. A non-transitory computer-readable data medium storing a computer program comprising instructions for executing the steps of the method according to any one of the preceding claims.
15. Use of an access signal indicating whether the user has access rights obtained by the method according to any one of claims 1 to 11 for operating an access system.
