Camera synchronization and image tagging for facial authentication

By using synchronization signals and frame counting in a multi-camera system, the problem of inaccurate image labeling caused by dropped frames is solved, ensuring that the facial recognition model receives a correctly labeled image stream, improving the accuracy and security of facial authentication.

CN113544692BActive Publication Date: 2024-09-06GOOGLE LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980093725.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-10
Publication Date
2024-09-06
Estimated Expiration
2039-10-10

AI Technical Summary

Technical Problem

In existing multi-camera systems, image labeling is inaccurate due to frame loss during the facial authentication process, which affects the responsiveness, reliability, and accuracy of the facial recognition model, may lead to authentication failure, and reduce user satisfaction and device security.

Method used

By introducing synchronization signals and frame counting in multi-camera systems, each frame of image is ensured to be accurately labeled, and images captured during frame drops are discarded to maintain the alternating nature and accuracy of the image stream and avoid downstream errors caused by incorrect labeling.

Benefits of technology

It improves the facial recognition model's accurate labeling of images, ensures the accuracy and reliability of the authentication process, enhances the security and satisfaction of user devices, and avoids waste of resources and improper allocation of computing power.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113544692B
    Figure CN113544692B
Patent Text Reader

Abstract

The present disclosure describes systems and techniques for synchronizing cameras and marking images for facial authentication. A user device (102) initiates a facial authentication session by sending a capture command to a control interface (118) of a multi-camera system (104). In response, a first camera (106-1) outputs a synchronization signal to a second camera (106-2) indicating the start of each frame. The first camera (106-1) captures a flood image of an initial frame, while the second camera (106-2) captures a point image of a subsequent frame. The flood image is marked with a flood identifier, while the point image is marked with a point identifier. The user device (102) determines whether the first frame or the second frame is a dropped frame, and in response to determining that neither the first frame or the second frame is a dropped frame, the facial authentication system (108) outputs an image stream with the marked flood image and the point image. A facial recognition model (112) authenticates the user based on the image stream.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] Some user devices (e.g., mobile phones) utilize a multi-camera system (such as dual infrared cameras) to authenticate the user's face. The dual infrared cameras alternate between capturing a "flood image" and a "dot image" for each consecutive pair of facial authentication frames. The flood illuminator illuminates the user's face while one of the infrared cameras captures the flood image. In the next frame, the dot projector outputs a dot laser pattern while the other infrared camera captures a "dot image" of the user's face. The dual infrared cameras tag the metadata of each image to indicate whether each image is a flood image or a dot image. The tags are applied consistently by following the alternating rhythm of the image capture process. The facial recognition model receives as input an image stream of tagged flood images and dot images and authenticates the user, for example to unlock the user device.

[0002] The model distinguishes between spot images and flood images based on metadata tags. Accurately tagging images can be particularly difficult due to frame loss. Frame loss occurs when at least one camera fails to capture an image of a frame or captures an image of a frame at an incorrect time. Frame loss can disrupt the alternating nature of the image capture process, which can interrupt tagging and cause images to be incorrectly tagged. Errors or inconsistencies in metadata tagging can reduce the responsiveness, reliability, and accuracy of the facial recognition model. Inaccurate tagging can even cause the facial recognition model to fail, for example, by performing operations intended for flood images on an incorrectly identified spot image. Unpredictable models reduce user satisfaction with facial authentication and weaken the security of user devices. Summary of the invention

[0003] The present disclosure describes systems and techniques for synchronizing cameras and marking images for facial authentication. A user device (e.g., a mobile phone) initiates a facial authentication session by sending a capture command to a control interface of a multi-camera system. In response, the primary camera outputs a synchronization signal to the secondary camera indicating the start of each frame of the primary camera. The primary camera captures a flood image of an initial frame, and the secondary camera captures a point image of a subsequent frame, or vice versa (point then flood); the secondary camera may also capture a flood image of an initial frame, and the primary camera may also capture a point image of a subsequent frame. A "flood identifier" is marked to the flood image, and a "point identifier" is marked to the point image. The user device determines (e.g., based on the corresponding timestamps of the image) whether the flood image and the point image are captured at the correct time during the initial frame and the subsequent frame. If not, the user device associates the image with a lost frame. In response to determining that neither the flood image nor the point image was captured during the lost frame, the processor outputs an image stream with the marked flood image and the point image. Conversely, if either the initial frame or the subsequent frames is a dropped frame, the images captured during the dropped frame are dropped from the image stream or otherwise prevented from reaching the facial recognition model. The facial recognition model authenticates the user based on the image stream that does not include the images associated with the dropped frame. Altering the image stream in this way prevents some downstream errors during model authentication.

[0004] Thus, the system and technique enable accurate labeling of images for a facial recognition model that relies on labeling to distinguish between flood and point images. Accurate labeling can be particularly difficult due to frame loss. Labels are applied sequentially with each frame count. If a frame is dropped, an image captured during the frame drop may show a dot pattern or flood pattern that does not correspond to its label. The facial recognition model relies on labeling to correctly process the image. If an image is labeled as a dot image or flood image but shows the opposite dot pattern or flood pattern, the facial recognition model will fail when performing a flood operation on an image with a dot pattern or a dot operation on an image with a flood pattern. In contrast, the system and technique discard images captured during frame drop to preserve the alternating nature of the image stream and ensure its accuracy. A more accurate image stream promotes more efficient computation. The facial recognition model avoids performing operations intended for flood images on incorrectly labeled point images. Therefore, the user device avoids wasting resources and computing power that can be applied elsewhere within the user device. A more accurate image stream also ensures that the model is reliable and not prone to error. The authentication performed by the model is accurate because the facial recognition model receives correctly labeled images. A model that performs consistently improves user satisfaction with facial authentication and enhances the security of user devices.

[0005] In some aspects, a method for synchronizing cameras and marking images for facial authentication using a facial recognition model is described. The method includes: initiating a facial authentication session by a processor of a user device by sending a capture command to a control interface of a multi-camera system of the user device; and in response to initiating the facial authentication session, outputting a synchronization signal from a first camera of the multi-camera system to a second camera of the multi-camera system that starts each frame of the second camera by the start of each frame of the first camera. The method further includes driving a flood illuminator of the multi-camera system by the first camera to capture a flood image of a first frame of the user, and automatically marking metadata of the flood image of the first frame with a flood identifier; after capturing the flood image of the first frame, driving a dot projector by the second camera to capture a dot image of a second frame of the user, and automatically marking metadata of the dot image of the second frame with the dot identifier. Alternatively, the first camera can drive the dot projector and the second camera can drive the flood illuminator. The method further includes determining whether the first frame or the second frame is a dropped frame. The method continues as follows: in response to determining that neither the first frame nor the second frame is a dropped frame, outputting an image stream including a marked flood image of the first frame and a marked point image of the second frame to a facial recognition model of the user device; and authenticating the user by inputting the image stream to the facial recognition model.

[0006] Also described herein are computer-readable media having instructions for performing the methods summarized above and other methods set forth herein, as well as systems and apparatus for performing these methods.

[0007] This summary is provided to introduce simplified concepts for synchronizing cameras and tagging images for facial authentication, which are further described in the following detailed description and figures. This summary is not intended to identify essential features of the claimed subject matter, nor is it intended to be used to determine the scope of the claimed subject matter. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] With reference to the following figure, details of one or more aspects of camera synchronization and image tagging for facial authentication are described herein. The same numbers are used throughout the figures to reference the same features and components:

[0009] Figure 1 An exemplary environment is illustrated in which techniques for camera synchronization and image tagging for facial authentication may be implemented.

[0010] Figure 2 Picture shows Figure 1 An example of a user device as described in .

[0011] Figure 3 Picture shows Figure 2 Further details of the authentication system and camera system are described in.

[0012] Figure 4 The diagram shows Figure 3 An example of a sequence of frames captured by the camera system illustrated in .

[0013] Figure 5-1 and Figure 5-2 An exemplary method of camera synchronization and image tagging for facial authentication is illustrated. DETAILED DESCRIPTION

[0014] The present disclosure describes techniques and systems for synchronizing cameras and marking image frames for facial authentication. A facial authentication system for a user device (e.g., a mobile phone) includes a multi-camera system. The multi-camera system is primarily described as a dual infrared camera system, but the techniques and systems described herein are also applicable to other types of multi-camera systems, including non-infrared cameras and multi-camera systems with more than two cameras. When an alternating flood-dot pattern is projected toward the user's face, the dual infrared camera system captures image frames of the face, each image frame showing the face illuminated by the alternating flood-dot pattern.

[0015] The alternating flood-dot pattern that appears in the captured image frames is a reference for a facial recognition model (e.g., a machine learning model trained to authenticate the user's face). The model authenticates the user's face based on the image stream output from the multi-camera system. The changes that appear in the image stream enable inference by the facial recognition model to generate a three-dimensional map of the user's face. The facial recognition model compares the three-dimensional map to a reference key (e.g., a predetermined facial map of an authorized user), and if the model determines that the map of the user's face sufficiently corresponds to the reference key, the user device authenticates the user.

[0016] The model distinguishes images in an image stream based on metadata tags applied shortly after capture. Flood images are tagged with one type of metadata tag, while spot images are tagged with a different type of metadata tag. Relying on parity of the frame count to switch between using the flood image tag or the spot image tag at the next frame, the tags are applied according to the alternating rhythm of the image capture process, regardless of when the image was actually captured within or outside the exposure time allotted for the frame. Accurately tagging images can be particularly difficult due to dropped frames and other timing issues that introduce drift, causing synchronized cameras to capture pictures outside the exposure window of the frame. If the metadata of an image in an image stream is incorrectly tagged, the facial recognition model will incorrectly process the pair of images. Flood images that are incorrectly labeled as spot images cause the model to fail because the flood image does not include the necessary dot pattern that is visible in other spot images.

[0017] When the user device is overloaded, the multi-camera system may drop frames. For example, if the processing unit of the user device is responsible for performing other operations unrelated to facial authentication and image tagging, the processing unit may not have the resources to support driving the image stream using the multi-camera system, especially driving the image stream at a capture rate that satisfies the facial recognition model. The techniques and systems described herein enable the user device to consistently and accurately tag images to facilitate accurate facial recognition even when frame drops occur.

[0018] As an embodiment, the mobile phone initiates a facial authentication session by sending a capture command to a control interface of the multi-camera system. For example, the multi-camera system is a front-facing camera system having a field of view perpendicular to the touch screen and projected toward the user when the user is looking at the touch screen. The multi-camera system includes dual infrared cameras and optionally includes optical and other additional types of cameras.

[0019] The control interface of the multi-camera system synchronizes the initialization and power-on of different cameras. Rather than requiring the processing unit to issue separate initialization and power-on commands to each camera in the system, the control interface receives a single initialization or power-on command and automatically propagates the command to each camera in the multi-camera system in parallel. The control interface enables simultaneous initialization and power-on of the cameras of the multi-camera system, which facilitates synchronization of capture and marking subsequently performed by the multi-camera system.

[0020] To further synchronize the multi-camera system, the system is configured with a main camera that hardware synchronizes one or more auxiliary cameras. For example, the main vertical synchronization (VSYNC) output is hardwired to the VSYNC input of each auxiliary camera. In response to receiving a command at the control interface, the main camera outputs a synchronization signal to the VSYNC input of the auxiliary camera. The synchronization signal causes each auxiliary camera to synchronize the start of each frame with the main camera. The synchronization signal aligns each pair of cameras at the beginning of each frame. The cameras may require several frames to synchronize. The first synchronization frame between the two cameras can be detected by comparing the timestamps of the main image and the auxiliary image captured by the two cameras.

[0021] The main camera captures a flood image of an initial frame, and the auxiliary camera captures a spot image of a subsequent frame. A "flood identifier" is tagged to the flood image, and a "spot identifier" is tagged to the spot image.

[0022] The processing unit determines (e.g., based on the corresponding timestamps of the images) whether the flood image and the point image are captured at the corresponding correct times of the flood image and the point image during the initial frame and the subsequent frame. If the user device determines that the image is not captured during the specific time window of the frame, the processing unit associates the image with the lost frame. In response to determining that neither the flood image nor the point image is captured during the lost frame, the processing unit inputs the image stream with the marked flood image and the point image into the facial recognition model. Conversely, if the processing unit determines that the initial frame or the subsequent frame is a lost frame, the processing unit inputs the image stream into the facial recognition model with the marked flood image and the point image removed. The image captured during the lost frame is discarded from the image stream or otherwise blocked from reaching the facial recognition model. In some cases, the flood image or the point image is replaced with the previously used (e.g., associated with the previous two consecutive frames) flood image and point image. Replacing the image rather than completely omitting the image from the image stream helps maintain the higher capture rate expected by the model by providing a stable image stream to the model. The facial recognition model authenticates the user based on the image stream that does not include the image associated with the lost frame. Changing the image stream in this way prevents some downstream errors during model certification.

[0023] The user device can label images more accurately than other user devices that label images for facial recognition models that rely on labeling to distinguish between image types. Images captured during frame drops are discarded to preserve the alternating nature of the image stream and ensure its accuracy. The user device avoids wasting resources and computing power that could be applied elsewhere. Authentication by the model is accurate because the facial recognition model receives correctly labeled images. Consistently performing models increase user satisfaction with facial authentication and enhance the security of user devices.

[0024] Figure 1An exemplary environment 100 in which techniques for camera synchronization and image tagging for facial authentication may be implemented is illustrated. Environment 100 includes a user 114 holding a user device 102 for facial authentication of the user 114. For example, facial authentication of user 114 removes the user device from a limited access state displaying a user interface 116-1 and grants the user a full access state. In the full access state, the user device displays user interface 116-2 instead of user interface 116-1. User device 102 includes a multi-camera system 104 and a facial authentication system 108. Multi-camera system 104 includes camera 106-1 and camera 106-2 coupled using hardware link 110. Facial authentication system 108 includes facial recognition model 112. User device 102 (sometimes also referred to as a computing device) may be any type of mobile or non-mobile computing device having a multi-camera system for facial authentication. As a mobile computing device, user device 102 may be a mobile phone, a laptop computer, a wearable device (e.g., a watch, glasses, headphones, clothing), a tablet device, an automobile / vehicle device, a portable gaming device, an e-reader device, or a remote control device, or other mobile computing devices with a camera. As a non-mobile computing device, user device 102 may be a refrigerator, a doorbell, a thermostat, a security system or control panel, a desktop computer, a television device, a display device, an entertainment set-top device, a streaming device, a desktop assistant device, a non-portable gaming device, a business conferencing device, or other non-mobile computing devices with a multi-camera system for facial authentication.

[0025] The facial authentication system 108 represents a collection of hardware, software, and firmware components of a user device that coordinate to perform facial authentication using the multi-camera system 104. Various implementations of the authentication system 108 may include a system on a chip (SoC), one or more integrated circuits (ICs), a processor with embedded processor instructions or configured to access processor instructions stored in a memory, hardware with embedded firmware, a printed circuit board with various hardware components, or any combination thereof.

[0026] For example, the facial authentication system 108 includes a facial recognition model 112. A neural network or another type of machine learning model is an example of a facial recognition model 112. The facial recognition model 112 is trained using machine learning to infer a set of embeddings from an image stream (e.g., an alternating stream of flood-spot images) that the model 112 receives from the multi-camera system 104, and in response, outputs an indication (e.g., a probability, a score) indicating whether the set of embeddings sufficiently corresponds to a predetermined reference key. For example, during training, the facial authentication system directs the multi-camera system 104 to capture various images of the user 114 taken from different angles, under different ambient lighting, etc., and inputs these images into the facial recognition model 112 as training data. The facial recognition model 112 performs inference to generate a reference key, such as a three-dimensional representation of the user's face, which the facial recognition model 112 compares to the flood image and the spot image captured during the facial authentication session.

[0027] The multi-camera system 104 is Figure 1 , meaning that each of the two cameras 106-1 and 106-2 is an infrared camera. In other examples, the multi-camera system 104 may include alternative or additional types of cameras, and the techniques and systems described herein for synchronizing and marking cameras for facial authentication are equally applicable to those other examples. The multi-camera system 104 considers camera 106-1 to be a "primary camera" and camera 106-2 to be a "secondary camera." The multi-camera system 104 outputs an alternating stream of flood images and point images to the facial authentication system 108, which inputs the alternating stream of images into a facial recognition model 112. The multi-camera system 104 includes a hardware link 110 that couples the synchronization input of the secondary camera 106-2 to the synchronization output of the primary camera 106-1. The hardware link 110 carries a synchronization signal sent from the primary camera 106-1 to the secondary camera 106-2 to synchronize the secondary camera 106-2 with the primary camera 106-1 at the beginning of each frame. In this manner, hardware link 110 helps prevent drift and dropped frames by directing cameras 106 - 1 and 106 - 2 to maintain synchronization from one frame to the next.

[0028] To facilitate synchronization between the cameras 106-1 and 106-2, the facial authentication system 108 establishes a common control interface 118 to the multi-camera system 104. The common control interface 118 forwards commands from the facial authentication system 108 to the primary camera 106-1 and the secondary camera 106-2 simultaneously. This enables the facial authentication system 108 to perform operations (e.g., initialization, stop, start, reset, power) using the cameras 106-1 and 106-2 at approximately the same time. This reduces the delay that would otherwise be introduced into the capture of the flood image and the point image. Each camera 106-1 and 106-2 is assigned a unique address on the control interface 118. The facial authentication system 108 can send a single capture command that specifies the addresses of the cameras 106-1 and 106-2 that the facial authentication system 108 is intended to control. The control interface 118 automatically forwards the capture command (eg, in parallel) to each unique address specified in the command so each of the cameras 106 - 1 and 106 - 2 receives the capture command from the facial authentication system 108 at approximately the same time.

[0029] As one example for establishing the control interface 118, the facial authentication system 108 first powers up the primary camera 106-1 and changes the internal address to a unique address in the control interface 118. The facial authentication system 108 then powers up the secondary camera 106-2 and changes the internal address to a different unique address in the control interface 118. A common stream on addresses within the control interface 118 is used to command the cameras 106-1 and 106-2 to begin capturing images.

[0030] Each image in the alternating stream includes metadata marked by the facial authentication system 108 as indicating a flood image or a point image. Marking the images enables the facial recognition model 112 to distinguish between the two types of images. The facial authentication system 108 can maintain a frame count for the facial authentication session. Utilizing the alternating nature of the image stream, a parity check (e.g., a bit or flag indicating whether a frame is an odd-numbered sequential frame or an even-numbered sequential frame) associated with the frame count indicates whether the image should be identified as a flood image or a point image.

[0031] For each pair of frames, facial authentication system 108 determines whether the flood image and the point image were captured at their respective correct times during their respective frames. For example, because cameras 106-1 and 106-2 are synchronized by hardware and software, cameras 106-1 and 106-2 have the same temporal reference frame. Therefore, the timestamp information applied to the metadata of the images during capture is comparable between cameras 106-1 and 106-2. If user device 102 determines that one or both of the above images were not captured during the expected time window associated with their respective frames, facial authentication system 108 associates both the flood image and the point image with lost frames.

[0032] Before the image stream reaches the facial recognition model 112, the facial authentication system 108 improves the accuracy of marking images in the image stream. Because one source of inaccuracy in the marking is frame loss, frame loss destroys the alternating nature of the image stream on which other downstream functions (e.g., marking functions, facial recognition model 112) depend. When the user device 102 is overloaded, the multi-camera system 104 may drop frames. For example, the multi-camera system 104 may not have enough resources to drive the image stream to meet the capture rate of the facial recognition model 112. Each frame count applies the mark sequentially. If the frame is dropped, the image captured during the frame drop may show a dot pattern or a flood pattern that does not correspond to its mark. The facial recognition model 112 relies on the mark to process the image correctly. If the image is marked as a dot image or a flood image but shows the opposite dot pattern or flood pattern, the facial recognition model 112 will perform a flood operation on an image with a dot pattern or a dot operation on an image with a flood pattern, thereby failing. In contrast, the techniques and systems described herein enable the user device to consistently and accurately mark images to facilitate accurate facial recognition in the event of frame loss.

[0033] In response to determining that neither the flood image nor the spot image was captured during the frame drop period, the facial authentication system 108 directly inputs the image stream into the facial recognition model 112. In contrast, if either the flood image or the spot image is captured during the frame drop period, the facial authentication system 108 changes the image stream 104 to remove the flood image and the spot image pair. Images captured during the frame drop period are discarded to preserve the alternating nature of the image stream and ensure its accuracy. In some cases, the facial authentication system replaces the discarded flood image or spot image with a previously used (e.g., associated with two previous consecutive frames) flood image and spot image. Replacing the image rather than completely omitting the image from the image stream helps achieve the capture rate expected by the facial recognition model 112 by providing a stable image stream to the facial recognition model 112 without empty frames. In this way, the facial authentication system 108 ensures that the facial recognition model 112 authenticates the user 114 based on the image stream that does not include the image associated with the frame drop. Changing the image stream in this way prevents some downstream errors during the facial recognition model 112 authentication. Therefore, the facial recognition model 112 is more reliable and more responsive.

[0034] The user device 102 more accurately labels images for the facial recognition model than other user devices that only label images sequentially without accounting for frame loss. The user device 102 avoids wasting resources and computing power. The authentication performed by the facial recognition model 112 is always accurate because the facial recognition model 112 always receives correctly labeled images. The regularly executed model 112 increases user satisfaction with the facial authentication system 108 and strengthens the security of the user device 102.

[0035] Figure 2 The diagram shows Figure 1 An example 200 of a user device 102 is illustrated in FIG. Figure 2 User devices 102 are shown as various exemplary devices, including smart phones 102-1, tablet computers 102-2, laptop computers 102-3, desktop computers 102-4, computing watches 102-5, computing glasses 102-6, gaming systems or controllers 102-7, smart speaker systems 102-8, and appliances 102-9. User devices 102 may also include other devices such as televisions, entertainment systems, audio systems, cars, drones, trackpads, drawing tablets, netbooks, e-readers, home security systems, doorbells, refrigerators, and other devices with multiple cameras and facial authentication systems.

[0036] The user device 102 includes one or more computer processors 202 and one or more computer readable media 204. The one or more computer readable media 204 include a facial recognition model 112 and an operating system 206. The user device 102 further includes a multi-camera system 104, which includes cameras 106-1 and 106-2 and an additional camera 106-3. The user device 102 further includes a facial authentication system 108, one or more sensors 210, one or more communication and input / output (I / O) devices 212, and a user interface device 214, which can operate as an input device and / or an output device.

[0037] The processor 202 and the computer-readable medium 204, including memory media and storage media, are the main processing complex of the user device 102. The facial recognition model 112, operating system 206, and other applications (not shown) may be implemented as computer-readable instructions on the computer-readable medium 204, which may be executed by the computer processor 202 to provide the functionality described herein, such as some or all of the functionality of the facial recognition model 112 (shown within the computer-readable medium 204, but this is not required).

[0038] The one or more processors 202 may include any combination of the following: one or more controllers, microcontrollers, processors, microprocessors, hardware processors, hardware processing units, digital signal processors, graphics processors, graphics processing units, etc. The processor 202 may be an integrated processor and memory subsystem (e.g., implemented as a “system on a chip”) that processes computer-executable instructions to control the operation of the user device 102.

[0039] Computer readable medium 204 is configured as a permanent and non-permanent storage of executable instructions (e.g., firmware, recovery firmware, software, applications, modules, programs, functions, etc.) and data (e.g., user data, operational data, etc.) to support the execution of executable instructions. Examples of computer readable medium 204 include volatile and non-volatile memory, fixed and removable media devices, and any suitable memory device or electronic data storage device that maintains executable instructions and supporting data. Computer readable medium 204 may include various implementations of random access memory (RAM), read-only memory (ROM), flash memory, and other types of storage memory in various memory device configurations. Computer readable medium 204 excludes propagation signals. Computer readable medium 204 may be a solid state drive (SSD) or a hard disk drive (HDD).

[0040] The one or more sensors 210 generally obtain contextual information indicative of an operating condition (virtual or physical) of the user device 102 or the surrounding environment of the user device 102. The user device 102 monitors the operating condition based at least in part on sensor data generated by the sensors 210. Examples of sensors 208 include motion sensors, temperature sensors, position sensors, proximity sensors, light sensors, infrared sensors, humidity sensors, pressure sensors, etc.

[0041] The communication and I / O devices 212 provide connections to the user device 102 and other devices and peripherals. The communication and I / O devices 212 include data network interfaces that provide connections and / or communication links between the device and other data networks (e.g., mesh networks, external networks, etc.), devices, or remote computing systems (e.g., servers). The communication and I / O devices 212 couple the user device 102 to various different types of components, peripherals, or accessory devices. The data input ports of the communication and I / O devices 212 receive data, including image data, user input, communication data, audio data, video data, etc. The communication and I / O devices 212 enable wired or wireless communication of device data between the user device 102 and other devices, computing systems, and networks. The transceivers of the communication and I / O devices 212 implement cellular telephone communications and other types of network data communications.

[0042] exist Figure 2 In the example shown, the operating system 206 is separate from the facial recognition model 112. In other examples, the operating system 206 includes the facial recognition model 112. The operating system 206 generally controls the functionality of the user device 102, including the user interface devices 214 and other peripherals such as communication and I / O devices 212. Applications execute within an execution environment provided by the operating system 206. The operating system 206 can schedule tasks and control other common functions of the user device 102. The user interface devices 106 manage input and output to the operating system 206 and other applications and services executed at the operating system 206.

[0043] The operating system 206 can drive the user device 102 in or out of various operating states. For example, in a limited access state, the operating system 206 blocks access to various functions or services available to the user 114. In an authenticated state, the operating system 206 opens access to functions or services that were previously unavailable to the user 114. When the facial authentication system 108 authenticates the user 114, the operating system 206 transitions from the limited access state (e.g., locked state) to the authenticated state (e.g., unlocked state). In other ways, when the user interface device detects a password or passcode, a voice command, a fingerprint, or a gesture, the operating system 206 grants access to the user device 102.

[0044] The user interface device 214 acts as an output and input component for obtaining user input and providing a user interface. As an output component, the user interface device 214 can be a display, a speaker or an audio system, a tactile feedback system, or another system for outputting information to the user 114. When configured as an input component, the user interface device 214 can include a touch screen, a camera, a microphone, a physical button or a switch, a radar input system, or another system for receiving input from the user 114. Other examples of the user interface device 214 include a mouse, a keyboard, a fingerprint sensor, an optical, infrared, pressure-sensitive, presence-sensitive, or a gesture detection system based on radar. The user interface device 214 typically includes a presence-sensitive input component that is operably coupled to a display (or integrated in a display).

[0045] When configured to have a sensitive screen present, the user interface device 214 detects when the user 114 provides a two-dimensional or three-dimensional gesture at or near the location where the sensitive feature is present when the user interface 116-1 is displayed. In response to these gestures, the user interface device 214 can output information to other components of the user device 102 to indicate the relative location of the gesture (e.g., X, Y, Z coordinates) and enable the other components to interpret the gesture. The user interface device 214 can output data based on information generated by an output component or an input component, where, for example, the operating system 206 can use the output component or the input component to control the facial authentication system 108.

[0046] In addition to cameras 106-1 and 106-2, the multi-camera system 104 also includes camera 106-3. The facial authentication system 108 can synchronize more than two auxiliary cameras with the main camera to implement other types of camera-based facial recognition. For example, the facial recognition model 112 can receive a third type of image (e.g., an optical image) and require an image stream having an alternating pattern of a flood image, a point image, and an optical image. Camera 106-1 can drive the synchronization input of camera 106-3, similar to how camera 106-1 drives the synchronization input of camera 106-2 to synchronize exposure frame times across three cameras. The facial authentication system 108 can identify frame drops and omit image triplets (e.g., three consecutive frames) from the image stream output to the facial recognition model 112.

[0047] Figure 3 Picture shows Figure 2 Further details of the authentication system and camera system described in 300. Figure 3 Further details 300 shown in FIG. 1 include an exploded view of control interface 118 .

[0048] Authentication system 108 includes processing unit 312, authentication module 314, and facial recognition model 112. Authentication module 314 receives a command from operating system 206 to initiate a facial authentication session and responds to the command with an indication of whether facial authentication system 108 can authenticate user 114. A confidence level or score may accompany the indication of whether user 114 is authenticated.

[0049] The control interface 118 includes a unique address space 310-1, 310-2, and 310-3 for each camera 106-1, 106-2, and 106-3 (as well as any other cameras of the multi-camera system 104 not shown). The processing unit 312 (e.g., similar to the processor 202) has a unique address space 310-0 to send and receive commands to the cameras 106-1 to 106-3 on behalf of the authentication module 314. The control interface 118 may be an internal integrated circuit (I 2 C) or another similar interface that enables commands to be sent simultaneously from a common processor such as processing unit 312 to multiple cameras at once. An internal integrated circuit is used to connect a slow peripheral device (e.g., an infrared camera) to a fast processor over a short distance. Processing unit 312 can output commands to control interface 118 that propagate to addresses 310-1 and 310-2 at approximately the same time, thereby software synchronizing cameras 106-1 and 106-2. Cameras 106-1 and 106-2 are hardware synchronized by link 110, which can optionally be connected to the synchronization input of camera 106-3.

[0050] Camera 106-1 drives the flood driver 302 of the flood illuminator to capture a flood image during an initial frame of the facial authentication session. When camera 106-2 drives the dot driver 304 to capture a dot image, the dot driver 304 of the dot projector outputs a dot pattern during subsequent frames of the facial authentication session. Camera 106-3 operates the flash driver 306 to drive the flash and capture an optical image.

[0051] Figure 4 The diagram shows Figure 3 1. An example of a frame sequence 400 captured by the multi-camera system 104 is set forth in FIG. The frame sequence 400 is divided into four equal frames 402-1 to 402-4. The cameras 106-1 and 106-2 are synchronized according to the frames by the vertical synchronization signal 110.

[0052] During frame 402-1, flood driver 302 receives input 404-1, causing flood projector illumination, while cameras 106-1 and 106-2 capture images 406-1 and 406-2, respectively. Image 406-1 is a primary flood image, while image 406-2 is a secondary flood image. In some examples, the secondary image is discarded, but in other cases, the facial recognition model uses both primary image 406-1 and secondary image 406-2 to authenticate user 114 for each frame 402-1 to 402-4. During frame 402-2, camera 106-2 controls dot driver 304 to project a laser dot pattern using a dot projector, while cameras 106-1 and 106-2 capture images 406-3 and 406-4, respectively. Image 406-3 is a primary dot image, while image 406-4 is a secondary dot image.

[0053] This process is repeated in frames 402-3 and 402-4, but as will be clear below, frame 402-3 includes a dropped frame. Flood driver 302 commands the flood illuminator to turn on, while capturing primary flood image 406-5 and secondary flood image 406-6 during frames 403-3 and 402-4. In frame 402-4, when dot driver 304 controls the dot projector to turn on, primary dot image 406-7 and secondary dot image 406-8 are captured.

[0054] Authentication module 324 tags the metadata of images 406-1 and 406-2 with a flood identifier and tags the metadata of images 406-3 and 406-4 with a spot identifier before inputting the metadata of images 406-1 and 406-2 into facial recognition model 112. The identifiers selected for each image tag may be derived based on a frame count maintained by authentication module 324. For example, even-numbered frames are used to capture primary and secondary flood images, while odd-numbered frames are used to capture primary and secondary spot images.

[0055] Authentication module 324 tags metadata for images 406-5 and 406-6 with a flood identifier, and tags metadata for images 406-7 and 406-8 with a spot identifier. However, authentication module 314 determines that frame 402-3 is a dropped frame before images 406-5 through 406-8 are input into the image stream and into facial recognition model 112. For example, the timestamp data for flood image 406-5 may be different than the timestamp data for flood image 406-6, which may indicate that either image 406-5 was captured at an incorrect time during frame 402-3. If the timestamp is outside the time window for frame 402-3, then, for example, authentication module 314 treats frame 402-3 as a dropped frame.

[0056] In order to maintain the alternating nature of the labels of the image stream input to the facial recognition model 112, the authentication module 314 omits images 406-5 and 406-6 and images 406-7 and 406-8 because images 406-7 and 406-8 are from the next frame of the pair. Each dropped frame is extended to include the previous or subsequent frame. Therefore, if a flood image is captured during a dropped frame, the authentication module 314 treats the frame in which the corresponding point image is captured as a dropped frame.

[0057] Figure 5-1 and 5-2 An exemplary method of camera synchronization and image tagging for facial authentication is illustrated. Methods 500-1 and 500-2 may include: Figure 5-1 and Figure 5-2 The steps shown in FIG. 5 may be more or less than the steps shown in FIG. 5 and may be performed in a different order. In the following, methods 500 - 1 and 500 - 2 are described in the context of user equipment 102 .

[0058] At 502, the user device 102 initiates a facial authentication session. For example, the user 114 views the user interface 116-1 while holding the user device 102 to unlock the user device and gain access to the user interface 116-2. The operating system 206 may wake up the facial authentication system 108. At 504, the facial authentication system 108 sends a capture command to the control interface 118 of the multi-camera system 104. At 506, the control interface 118 forwards the capture command to the unique address 310-1 associated with the primary camera 106-1. At approximately the same time as 506, at 508, the control interface 118 forwards the capture command to the unique address 310-2 associated with the secondary camera 106-2. The primary camera 106-1 and the secondary camera 106-2 are powered on.

[0059] At 510, primary camera 106-1 outputs a vertical synchronization signal over link 110 to indicate the start of a first frame, and at 512, secondary camera 106-2 receives the vertical synchronization signal and synchronizes with the start of the first frame indicated by primary camera 106-1. The vertical synchronization signal synchronizes secondary camera 106-2 with the start of each frame of the face authentication session. In some examples, the link between primary camera 106-1 and secondary camera 106-2 couples a synchronization input of secondary camera 106-2 to a synchronization output of primary camera 106-1.

[0060] At 514, primary camera 106-1 drives a flood illuminator of multi-camera system 104 to capture a primary flood image of a first frame of user 114. At 516, while driving the flood illuminator to capture the primary flood image of the first frame and in response to receiving the synchronization signal, secondary camera 106-2 captures a secondary flood image of the first frame.

[0061] At 518, facial authentication system 108 increments a frame count for facial authentication session maintenance after the first frame has been completed. At 522, facial authentication system 108 automatically tags the primary flood image and the secondary flood image. For example, facial authentication system 108 determines a parity value of the frame count, and based on the parity value being zero to indicate an even frame, facial authentication system 108 selects a flood identifier instead of a dot identifier to tag the image in the first frame.

[0062] At 524 , the primary camera 106 - 1 outputs a vertical synchronization signal over the link 110 to indicate the start of a subsequent frame, and at 526 , the secondary camera 106 - 2 receives the vertical synchronization signal and synchronizes with the start of the subsequent frame initiated by the primary camera 106 - 1 .

[0063] At 528, the auxiliary camera 106-2 drives the dot projector of the multi-camera system 104 while capturing a secondary dot image of the user 114 for a subsequent frame. At 530, while driving the dot projector to capture the secondary dot image for the subsequent frame, the primary camera 106-1 (optionally) captures a primary dot image for the subsequent frame.

[0064] At 532, the facial authentication system 108 increments the frame count. At 534, the facial authentication system 108 automatically marks the primary point image and the secondary point image. For example, the facial authentication system 108 determines a parity value for the frame count, and based on the parity value being one to indicate an odd frame, the facial authentication system 108 selects a point identifier instead of a flood identifier to mark the image in the second frame.

[0065] At 536, the facial authentication system 108 determines whether the first frame or the subsequent frame is a lost frame in order to ensure an accurate input stream to the facial recognition model 112. For example, based on timestamp information, error messages returned from the camera 106-1 or 106-2, or other information, the facial authentication system 108 determines whether any of the primary image or the secondary image captured in the above two frames was captured at an incorrect time.

[0066] At 540, in response to determining that neither the first frame nor the subsequent frame is a dropped frame, the facial authentication system 108 outputs an image stream to the facial recognition model 112, the image stream including the flood image and the point images captured by the cameras 106-1 and 106-2 in the first frame and the subsequent frames, for example, the primary marker flood image for at least the first frame and the secondary marker point images for the subsequent frames. In some cases, the image stream also includes the secondary marker flood image and the primary marker point image.

[0067] At 542, the image recognition model 112 processes the image stream by processing the flood image and the spot image differently based on their respective metadata tags. At 544, the facial recognition model 112 authenticates the user, e.g., outputs an indication of whether the image stream matches a reference key. At 538, in an alternative to 540, in response to detecting a dropped frame during the facial authentication session, the facial authentication system 108 omits all images captured in the above two consecutive frames from the image stream.

[0068] Following are additional examples of the described systems and techniques for synchronizing cameras and tagged images for facial authentication.

[0069] Example 1. A method for synchronizing cameras and marking images for facial authentication using a facial recognition model, the method comprising: initiating a facial authentication session by a facial authentication system of a user device by sending a capture command to a control interface of a multi-camera system; in response to initiating the facial authentication session, outputting a vertical synchronization signal from a first camera of the multi-camera system to a second camera of the multi-camera system, the vertical synchronization signal synchronizing the second camera with the start of each frame of the facial authentication session; driving a flood illuminator of the multi-camera system by the first camera of the multi-camera system to capture a first frame of a flood image of a user, and utilizing a flood identifier; Automatically mark metadata of the flood image of the first frame; after capturing the flood image of the first frame, drive a dot projector by the second camera of the multi-camera system to capture a dot image of a second frame of the user, and automatically mark metadata of the dot image of the second frame with a dot identifier; determine whether the first frame or the second frame is a lost frame; in response to determining that neither the first frame nor the second frame is a lost frame, output an image stream including the marked flood image of the first frame and the marked dot image of the second frame to the facial recognition model of the user device; and authenticate the user through the facial recognition model and based on the image stream.

[0070] Example 2. The method according to Example 1 further includes: driving the flood illuminator by the first camera to capture a flood image of a third frame, the third frame being after the second frame; after capturing the flood image of the third frame, driving the dot projector by the second camera to capture the dot image of a fourth frame; detecting frame loss during capturing the flood image of the third frame or frame loss during capturing the dot image of the fourth frame; and in response to detecting frame loss during capturing the flood image of the third frame or frame loss during capturing the dot image of the fourth frame, omitting the flood image of the third frame and the dot image of the fourth image from the image stream.

[0071] Example 3. A method according to Example 1 or 2, wherein sending a capture command to the control interface includes: forwarding the capture command to a unique address in the control interface associated with the first camera; and forwarding the capture command to a unique address in the control interface associated with the second camera.

[0072] Example 4. A method according to any of Examples 1-3, wherein outputting the synchronization signal includes outputting the synchronization signal from the first camera to the second camera via a link between the first camera and the second camera, wherein the link couples the synchronization input of the second camera to the synchronization output of the first camera.

[0073] Example 5. A method according to any of Examples 1-4, wherein the floodlight image is a first floodlight image of the first frame, the method further comprising: while driving the floodlight illuminator to capture the first floodlight image of the first frame, and in response to receiving the synchronization signal, capturing a second floodlight image of the first frame using the second camera; automatically marking metadata of the second floodlight image of the first frame using the floodlight identifier; and outputting the second floodlight image of the first frame together with the image stream to authenticate a user.

[0074] Example 6. A method according to any of Examples 1-4, wherein the point image is a second point image of the second frame, and the method further includes: while driving the dot projector to capture the second point image of the second frame, and in response to receiving the synchronization signal, capturing the first point image of the second frame using the first camera; automatically marking metadata of the first point image of the second frame using the point identifier; and outputting the first point image of the second frame together with the image stream to authenticate the user.

[0075] Example 7. A method according to any of Examples 1-4, wherein automatically marking metadata of the flood image of the first frame and automatically marking metadata of the point image of the second frame include: maintaining a frame count of the facial authentication session; during the first frame, determining a first parity value of the frame count; based on the first parity value, selecting a flood identifier instead of a point identifier; during the second frame, determining a second parity value of the frame count; and based on the second parity value, selecting a point identifier instead of a flood identifier.

[0076] Example 8. A method according to any of Examples 1-4 or 7, wherein the facial recognition model includes a machine learning model trained to authenticate the user based on the image stream.

[0077] Example 9. A method according to Example 8, wherein authenticating the user based on the image stream includes determining by the machine learning model that the flood image of the first frame is a flood image rather than a point image based on metadata that marks the flood image of the first frame.

[0078] Example 10. A method according to any of Examples 1-9, wherein the first camera is a primary camera and the second camera is a secondary camera.

[0079] Example 11. A user device, comprising: a facial authentication system, the facial authentication system comprising a processing unit and a memory; a multi-camera system, the multi-camera system comprising a first camera and a second camera, the multi-camera system being configured to output an alternating stream of flood images and point images, each image in the alternating stream comprising metadata marked as either a flood image or a point image; a common control interface, the common control interface forwarding commands from the processing unit to the first camera and the second camera simultaneously, each of the first camera and the second camera comprising a unique address in the common control interface; and a link, the link forwarding the second camera to the processing unit; The synchronization input of the camera is coupled to the synchronization output of the first camera to send a synchronization signal from the first camera to the second camera to start each frame for the second camera with the beginning of each corresponding frame of the first camera, and the memory of the facial authentication system includes instructions, which, when executed by the processing unit, cause the processing unit to: execute a facial recognition model, which receives the alternating stream output from the multi-camera system and determines whether each image in the alternating stream is a flood image or a point image based on metadata of each image in the alternating stream; and use the facial recognition model to authenticate the user based on the alternating stream.

[0080] Example 12. A user device according to Example 11, wherein the instructions, when executed, further cause the processing unit to detect frame loss, and wherein the multi-camera system is configured to discard each image captured by the multi-camera system during the frame loss period by omitting each image captured during the frame loss period from the alternating stream.

[0081] Example 13. A user device according to Example 11 or 12, wherein the instruction, when executed, further causes the processing unit to initiate a facial authentication session using the facial recognition model by: assigning a first unique address on the control interface to the first camera; assigning a second unique address on the control interface to the second camera; and sending a single capture command to the control interface, wherein the single capture command is automatically forwarded to each of the first unique address of the first camera and the second unique address of the second camera.

[0082] Example 14. A user device according to any of Examples 11-13, wherein the multi-camera system is a dual infrared camera system, and the first camera and the second camera are the same type of infrared cameras.

[0083] Example 15. A computer-readable storage medium comprising instructions that, when executed, configure at least one processor of a user device to perform a method according to any of Examples 1-10.

[0084] Although various embodiments of the present disclosure are described in the foregoing description and shown in the accompanying drawings, it should be clearly understood that the present disclosure is not limited thereto, but can be implemented in various ways within the scope of the appended claims. From the foregoing description, it is apparent that various changes can be made without departing from the spirit and scope of the present disclosure as defined by the appended claims.

Claims

1. A method for synchronizing cameras and marking images for facial authentication using a facial recognition model, the method comprising: Initiating a facial authentication session by a facial authentication system of the user device by sending a capture command to a control interface of the multi-camera system; In response to initiating the facial authentication session, outputting a vertical synchronization signal from a first camera of the multi-camera system to a second camera of the multi-camera system, the vertical synchronization signal synchronizing the second camera with a start of each frame of the facial authentication session; driving, by the first camera of the multi-camera system, a flood illuminator of the multi-camera system to capture a flood image of a user for a first frame, and automatically tagging metadata of the flood image for the first frame with a flood identifier; After capturing the flood image for the first frame, driving a dot projector by the second camera of the multi-camera system to capture a dot image of the user for a second frame, and automatically tagging metadata of the dot image for the second frame with a dot identifier; determining whether the first frame or the second frame is a lost frame; In response to determining that neither the first frame nor the second frame is a dropped frame, outputting an image stream including the labeled flood image for the first frame and the labeled spot image for the second frame to the facial recognition model of the user device; as well as The user is authenticated via the facial recognition model and based on the image stream.

2. The method according to claim 1, further comprising: driving the flood illuminator by the first camera to capture a flood image for a third frame, the third frame being subsequent to the second frame; After capturing the flood image for the third frame, driving the dot projector by the second camera to capture a dot image for a fourth frame; detecting a frame drop during capture of the flood image for the third frame or a frame drop during capture of the spot image for the fourth frame; as well as In response to detecting a frame drop during capture of the flood image for the third frame or a frame drop during capture of the spot images for the fourth frame, omitting the flood image for the third frame and the spot images for the fourth frame from the image stream.

3. The method according to claim 1, wherein: Sending the capture command to the control interface includes: forwarding the capture command to a unique address in the control interface associated with the first camera; and The capture command is forwarded to a unique address in the control interface that is associated with the second camera.

4. The method according to claim 1, wherein: Outputting the synchronization signal includes outputting the synchronization signal from the first camera to the second camera through a link between the first camera and the second camera, wherein the link couples a synchronization input of the second camera to a synchronization output of the first camera.

5. The method according to claim 1, wherein: The flood image is a first flood image for the first frame, and the method further comprises: while driving the flood illuminator to capture the first flood image for the first frame, and in response to receiving the synchronization signal, capturing a second flood image for the first frame with the second camera; automatically tagging metadata of the second flood image for the first frame with the flood identifier; and The second flood image for the first frame is outputted along with the image stream to authenticate the user.

6. The method according to claim 1, wherein: The point image is a second point image for the second frame, and the method further comprises: while driving the dot projector to capture the second dot image for the second frame, and in response to receiving the synchronization signal, capturing the first dot image for the second frame with the first camera; automatically tagging metadata of the first point image for the second frame with the point identifier; and The first point image for the second frame is output together with the image stream to authenticate the user.

7. The method according to claim 1, wherein: Automatically marking metadata for the flood image of the first frame and automatically marking metadata for the spot image of the second frame includes: maintaining a frame count for the facial authentication session; during the first frame, determining a first parity value of the frame count; selecting a flood identifier instead of a spot identifier based on the first parity value; During the second frame, determining a second parity value of the frame count; and Based on the second parity value, a spot identifier is selected instead of a flood identifier.

8. The method according to claim 1, wherein: The facial recognition model includes a machine learning model trained to authenticate the user based on the image stream.

9. The method according to claim 8, wherein: Authenticating the user based on the image stream includes determining, by the machine learning model, that the flood image for the first frame is a flood image rather than a point image based on metadata tagging the flood image for the first frame.

10. The method according to any one of claims 1 to 9, wherein: The first camera is a primary camera and the second camera is a secondary camera.

11. A user equipment, comprising: A facial authentication system, the facial authentication system comprising a processing unit and a memory; a multi-camera system comprising a first camera and a second camera, the multi-camera system being configured to output an alternating stream of flood images and spot images, each image in the alternating stream comprising metadata labeled as either a flood image or a spot image; a common control interface that forwards commands from the processing unit to the first camera and the second camera simultaneously, each of the first camera and the second camera including a unique address in the common control interface; as well as a link coupling a synchronization input of the second camera to a synchronization output of the first camera to send a synchronization signal from the first camera to the second camera to start each frame of the second camera with the start of each corresponding frame of the first camera, The memory of the facial authentication system includes instructions that, when executed by the processing unit, cause the processing unit to: executing a facial recognition model that receives the alternating stream output from the multi-camera system and determines, based on metadata of each image in the alternating stream, whether each image in the alternating stream is a flood image or a spot image; as well as authenticating the user based on the alternating stream using the facial recognition model, wherein the instructions, when executed, further cause the processing unit to detect frame loss, and Wherein, the multi-camera system is configured to discard one or more images from the alternating stream output by omitting one or more images captured during the frame drop from the alternating stream, the one or more images being captured by the multi-camera system during the frame drop.

12. The user equipment according to claim 11, wherein: When executed, the instructions further cause the processing unit to initiate a facial authentication session using the facial recognition model by: Assigning a first unique address on the control interface to the first camera; assigning a second unique address on the control interface to the second camera; as well as A single capture command is sent to the control interface, wherein the single capture command is automatically forwarded to each of the first unique address of the first camera and the second unique address of the second camera.

13. The user equipment according to claim 11 or 12, wherein: The multi-camera system is a dual infrared camera system, and the first camera and the second camera are infrared cameras of the same type.

14. A computer-readable storage medium comprising instructions which, when executed, configure at least one processor of a user equipment to perform the method according to any one of claims 1-10.