Facial recognition system for mitigating ambient light during image capture

In the facial recognition device, the stereo camera and face detection module are used to segment and adjust the exposure of the image area, combined with the convolutional neural network, to solve the accuracy problem of facial recognition under extreme ambient light and achieve efficient and low-cost facial recognition. and deception detection.

CN118540591APending Publication Date: 2024-08-23GEMALTO SMART CARDS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310161642.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-23
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Facial recognition devices have difficulty accurately detecting faces under extreme ambient light conditions, resulting in a decline in user experience and device performance. Existing technologies cannot effectively mitigate ambient light illumination defects, affecting the accuracy and efficiency of facial recognition.

Method used

Use a stereo camera to capture the image, combine it with the face detection module and processing module, segment the image into facial areas and non-face areas, calculate the exposure adjustment factor, adjust the exposure of each area individually, use the dual-region adjustment module to reconstruct the image, and use convolution Neural networks perform facial matching to achieve highly accurate facial recognition under extreme light conditions.

Benefits of technology

Improves the accuracy and efficiency of facial recognition, reduces the need for expensive lighting equipment, enhances device performance in dark environments, reduces costs, and provides detection capabilities for spoofing attacks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540591A
    Figure CN118540591A
Patent Text Reader

Abstract

The invention provides a face recognition system for mitigating ambient light during image capture, the system comprising:-a stereo camera configured to capture and send an image to a face detection module, where the image comprises depth information of an object within a depth of field,-a face detection module configured to detect the depth of the object within the depth of field, the system includes a face detection module configured to identify a face based on depth information of an image received from a stereo camera, a processing module configured to o segment the image into a face region and a non-face region, where the face region corresponds to the face region identified by the face detection module, and o derive an exposure adjustment factor for each region, the exposure adjustment factors are calculated at least based on a comparison of brightness values of both the face and the non-face regions,-a dual-region adjustment module configured to individually adjust the exposure of both the face and the non-face regions according to the adjustment factors, and-a face matching module configured to match the exposure of both the face and the non-face regions according to the adjustment factors. And a processor configured to verify or register a facial identity of the person based on the exposure-adjusted facial region.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of facial recognition, namely, to the field of facial recognition technology for alleviating the defects of ambient light illumination. Background Art

[0002] Facial recognition is the process of using a person's face to identify or verify his / her identity. In this process, an image of a person's face is first captured and then analyzed to identify patterns based on facial details, which are finally compared with records in a dataset. During this process, detecting and locating human faces in images and videos (i.e., face detection) plays a vital role in acquiring high-quality pictures.

[0003] Facial recognition improves the customer / passenger experience, increases operational efficiency, and enhances security. An expanding application is access control, which allows fast, transparent and secure access control by capturing and processing real-time images of an individual, identifying whether he or she is an authorized person, and granting access to buildings, venues or other restricted locations accordingly.

[0004] To cope with this diverse use case, facial recognition software can run on multiple platforms, such as on premise, on a PC, in the cloud, on a mobile phone, pod or tablet, and other different types of embedded environments. Among them, a pod, kiosk or tablet is a device specifically designed for facial capture and identification, which is used at a physical access control point. When deployed indoors or outdoors, these "off-the-shelf" devices should cope with and adapt to changing environmental conditions (e.g., lighting) and human operations. When controlled lighting is not possible, repeated failures in capturing good quality images significantly degrade the user experience and device performance.

[0005] Examples of typical ambient light interference challenges are:

[0006] - Strong ambient light directly toward the face recognition device screen may cause extreme backlighting and darkening of the face;

[0007] - Strong ambient light directly towards a person's face may cause extreme lighting and overexposure on the face;

[0008] - Strong ambient light coming towards the face from one side will cause different exposures (e.g. half dark and half bright), leading to a "bright spot" or "hot spot" effect;

[0009] - In a dark environment without sufficient light, it will be difficult for the device to accurately detect faces when passengers pass by.

[0010] All of the above situations will interfere with the facial detection capabilities, efficiency and accuracy of facial recognition devices. In order to mitigate the above listed and other situations (such as blur, exposure, brightness, contrast), facial recognition devices are usually equipped with a quality check module that verifies in real time that a minimum set of visually distinguishable relevant features exists in the captured face (either a regular photo or a frame from a video stream). Only when the image quality is acceptable will actual facial matching be performed further, resulting in a time-consuming experience.

[0011] Therefore, there is a need in the industry for continued improvements in the user experience of facial recognition solutions. Summary of the invention

[0012] The present invention provides a solution to the above mentioned problems by a facial recognition system according to claim 1 and a method for mitigating ambient light during image capture using facial recognition according to claim 9. In the dependent claims, preferred embodiments of the invention are defined.

[0013] In a first inventive aspect, the present invention provides a facial recognition system for mitigating ambient light during image capture, the system comprising:

[0014] - a stereo camera configured to capture images and send them to the face detection module, wherein the images include depth information of objects within the depth of field,

[0015] - a face detection module configured to identify faces based on depth information of images received from a stereo camera,

[0016] - a processing module, configured to

[0017] o segmenting the image into a face region and a non-face region, wherein the face region corresponds to a face region identified by a face detection module, and

[0018] o obtaining an exposure adjustment factor for each region, the exposure adjustment factors being calculated based on at least a comparison of brightness values ​​of both the face and non-face regions,

[0019] - a dual-zone adjustment module configured to separately adjust the exposure of both face and non-face regions according to an adjustment factor, and

[0020] - A face matching module configured to verify or register a person's facial identity based on the exposure-adjusted facial region.

[0021] In short, the system according to the present invention allows two-step facial detection: the stereo camera together with the facial detection module performs pre-detection of the face via depth perception, while the processing module, the dual-region adjustment and the facial matching module perform further facial recognition based on the enhanced facial image, thereby having a higher accuracy.

[0022] A stereo camera (so called depth camera) is a type of camera with two or more lenses, with a separate image sensor for each lens. This allows the camera to simulate human binocular vision, and thus gives it the ability to capture three-dimensional images (i.e., 3D images or "depth maps") in addition to or on top of color images (such as red-green-blue, "RGB" images). The captured images may be color images including potential depth information.

[0023] A stereo camera can sense the distance and position of objects within its depth of field, thereby generating a depth map or depth information. Thus, unlike an infrared ("IR") camera + RGB camera which is ineffective under extreme light conditions, a stereo camera makes it possible to detect adjacent faces with high accuracy regardless of the actual ambient light, i.e., it can easily detect faces in dark or strong ambient light.

[0024] The images may be captured individually by the stereo cameras, or may be extracted as frames from a live or recorded video stream.

[0025] The captured image arrives at the processing module either directly from the stereo camera or indirectly through the face detection module. When it arrives, the processing module knows, thanks to the face identified by the face detection module, on which area of ​​the image the face is present, and therefore associates it with a "face region". The remainder of the image is labeled as a "non-face region". Since facial recognition devices are typically designed to operate pointing at the target's face (e.g., to minimize errors), the face region may cover the center portion of the captured image (e.g., a rectangular / square region).

[0026] The processing module then compares at least the brightness values ​​of both the face and non-face regions to derive the required exposure adjustment factor to compensate for the original exposure of each region.

[0027] While generally speaking, both exposure and brightness corrections on an image work to brighten or darken the image, they both do so in different ways. In short, exposure has a heavier bias towards highlight tones, while brightness has no bias and affects all tones equally. This means that adjusting exposure will affect highlights more than brightness in terms of brightening or darkening the image.

[0028] Advantageously, dual exposure adjustment is used instead of brightness adjustment to expose higher quality facial images. It is found that if the captured image is not sharp and has some visual defects, adjusting the brightness alone will not improve the overall quality.

[0029] Therefore, the corresponding compensating exposure adjustment required in each region is passed to the dual-region adjustment module, which adjusts the exposure of each face and non-face region individually (or exclusively) according to their own adjustment factors. The dual-region adjustment module can also reconstruct an output image by bringing the individually exposure-adjusted face and non-face regions back together, which is overall more homoorganic than the original unadjusted captured image.

[0030] Finally, the dual-region adjustment module sends at least a portion of the image with the adjusted facial region to the facial matching module. At this point, the boundaries of the image with the exposure adjusted facial region can be dynamically adapted to better fit the default format or portrait orientation to be properly digested by the facial matching software. The facial matching software can be used to extract facial details. If the user is registered to a service, the details of his captured facial image will be associated with his claimed identity to be able to be authenticated later during the final verification process. Otherwise, if already registered, the details of his captured facial image will be compared with the records already existing in the database (e.g., 1:1 or 1:N matching), while evaluating the likelihood of their matching.

[0031] Preferably, the face matching software applies a (convolutional) neural network (CNN) to the exposure-adjusted facial region image. A convolutional neural network (CNN) is a deep learning algorithm for analyzing images that accepts an input image, assigns importance (e.g., learnable weights and biases) to various aspects and objects in the image, and is able to distinguish one from another. CNN is a special type of neural network that uses convolution in at least one of their layers instead of general matrix multiplication, primarily for image recognition and processing specifically designed to process pixel data. It consists of an input layer, a hidden layer, and an output layer. CNN is particularly configured to reduce images to a form that is simpler to process without sacrificing feature reduction while maintaining its ability to discern and classify images.

[0032] Depending on the capture conditions of the face in the original image, the exposure adjusted face region image may be further pre-processed for cropping and deskewing the face region image as part of a normalization process (i.e., some CNN models require a specific input format to be satisfied). "De-skewing" is the process of straightening an image that has been scanned or captured crookedly (i.e., an image that is tilted too far in one direction, or an image that is misaligned). "Cropping" is the removal of unwanted outlying regions, i.e., those portions that are irrelevant, unnecessary, or of little value with respect to security patterns or other image features relevant to classifying or categorizing the face in the image.

[0033] Advantageously, the exposure compensation achieved by the invention already during the enrollment and verification phases obviates the need for expensive and heavy, unportable lighting equipment that is required today in kiosks, identity verification points, and the like.

[0034] Incidentally, this dual-zone adjustment also works as a liveness solution, since the real lighting interaction with the face can ensure that the real person was physically present during the image capture process, and help detect any spoofing attacks. For example, if a face just previously recognized required a certain dual-zone exposure adjustment factor, and suddenly, the newly captured face does not require it, this could be a sign of a spoofing attack. Especially if the stereo camera is not moving, e.g., known by non-face background area analysis, geolocation data analysis, etc. Furthermore, spoofing depth maps is more complex than simple color images.

[0035] In certain embodiments, these exposure adjustment factors are calculated based on a comparison of brightness and exposure values ​​for both facial and non-facial regions.

[0036] In a preferred embodiment, the processing module is further configured to calculate brightness and exposure values ​​for each pixel in the face and non-face regions, calculate representative brightness and exposure values ​​for each region, and compare them with the resulting compensating exposure adjustment factors to be applied to each region individually by the dual-region adjustment module.

[0037] In certain embodiments, the system further comprises a screen.The dual-region adjustment module is further configured to reconstruct an image having individually exposure adjusted face and non-face regions to be displayed on such screen.

[0038] The dual-region adjustment module displays a more homogeneous reconstructed output image on the screen and is presented to the user as part of the user interface.

[0039] In certain embodiments, the system further includes supplemental lighting to be activated if the face detection module identifies a face in any of the images from the stereo cameras and the ambient light is below a predefined threshold.

[0040] Advantageously, this supplemental lighting is activated only when a face is detected via depth perception. It is therefore less expensive and more efficient than any prior art device, which keeps the light on and off for predefined times. This embodiment is particularly useful outdoors at night or in any dark environment.

[0041] In a preferred embodiment, the system further includes a light sensor configured to detect whether the ambient light around the stereo camera is below a predefined threshold. If this occurs, the light sensor notifies the face detection module, which will activate supplemental lighting when a nearby face is detected.

[0042] In another embodiment, the stereo camera itself is configured to detect whether the adjacent ambient light is below a predefined threshold in order to activate the supplemental light if a face is detected by the face detection module.

[0043] In certain embodiments, the dual-region adjustment module is a built-in feature of the stereo camera such that the exposure adjustment factors calculated by the processing module are sent back to the stereo camera to apply the required exposure adjustment accordingly.

[0044] As noted, the stereo camera captures only once. In this embodiment, dedicated exposure adjustment is done by the stereo camera itself by feeding back the exposure adjustment factor. Therefore, the stereo camera fully supports the smart exposure feature.

[0045] In certain embodiments, the system further comprises a facial recognition device, such as a tablet or a pod. The stereo camera is operably connected to the facial recognition device, either embedded as an integrated solution or integrated specifically as a plug-in solution.

[0046] That is, the stereo camera may be embedded in the device body, or may be specifically integrated via a wired or wireless connection (such as a cable, Bluetooth, Wi-Fi Direct, etc.).

[0047] The device may be any type of portable computing device, such as a tablet, smart phone, laptop, navigation device, gaming console, desktop computer system, workstation, Internet appliance, and the like, or may be a fixed device, such as a pod or kiosk further provided with a scanner and other camera for capturing other images.

[0048] The facial recognition device (eg, tablet, pod) may be an independent facial recognition apparatus in which any one of the facial detection module, the processing module, the dual-region adjustment module, and the facial matching module is embedded. Therefore, it can be used offline.

[0049] When the device integrates all (or most) modules, it can include an installable package in the form of a software development kit (SDK) that is configured to perform by itself all or part of the steps that can be assigned to and executed by the server side. The SDK is designed to quickly build standalone applications that require facial recognition (including liveness detection features) using photos or videos. It can run in many environments (including embedded environments).

[0050] In another example, one or more of the modules are feature(s) of an operating system (OS) of the device, such as implemented as part of iOS or Android.

[0051] In a particular embodiment, the system is a distributed system, wherein at least one of the face detection module, the processing module, the dual-region adjustment module, or the face matching module runs as a backend service at a server side.

[0052] Thus, the image captured by the stereo camera can be partially or completely processed in situ due to the facial recognition device, or can be requested via a communication network to a remote server-based facial recognition and analysis system, which includes an artificial intelligence convolutional neural network model coupled to a different database (e.g., storing reference facial images). Thus, the electronic device will only capture or obtain the image and send it to the backend service together with the verification request.

[0053] Those skilled in the art know how to distribute functionality between the client and server sides to enhance operation and simplify deployment.

[0054] In a second invention aspect, the present invention provides a method for mitigating ambient light during image capture using a facial recognition system according to any embodiment of the first invention aspect. The method comprises the following steps:

[0055] - images are captured by a stereo camera, the images including depth information of objects within the depth of field,

[0056] - sending the images captured by the stereo camera to the face detection module,

[0057] - faces are identified by a face detection module based on depth information of images received from a stereo camera,

[0058] - receiving, by a processing module, an image and a region of the image identifying a face,

[0059] - segmenting the image into face regions and non-face regions by the processing module, wherein the face regions correspond to the face regions identified by the face detection module,

[0060] - obtaining, by the processing module, an exposure adjustment factor for each region, wherein the exposure adjustment factors are calculated based on at least a comparison of brightness values ​​of both the face and non-face regions,

[0061] - adjusting the exposure of both the face and non-face regions separately according to the adjustment factor by the dual-region adjustment module, and

[0062] - The facial identity of a person is verified or registered by a face matching module based on the exposure adjusted facial area.

[0063] In a particular embodiment, the processing module calculates brightness and exposure values ​​for each pixel in the face and non-face regions. The processing module then calculates representative brightness and exposure values ​​for each region and compares them with the resulting compensating exposure adjustment factors to be applied to each region individually by the dual-region adjustment module.

[0064] In certain embodiments, the method further comprises the following steps:

[0065] - reconstructing a reconstructed image with individually exposure adjusted face and non-face regions by a dual region adjustment module, and

[0066] - sending said reconstructed image to a screen for display thereon.

[0067] In certain embodiments, the method further comprises the following steps:

[0068] - preferably detecting, by a light sensor, whether the ambient light around the stereo camera is below a predefined threshold, and

[0069] -Supplementary lighting activated by the face detection module.

[0070] All features described in this specification (including claims, description and drawings) and / or all steps of the described methods may be combined in any combination, except such mutually exclusive combinations of features and / or steps. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] These and other features and advantages of the present invention will become clearly understood in view of the detailed description of the present invention with reference to the accompanying drawings, which becomes apparent from the preferred embodiments of the present invention which are given by way of example only and are not limited thereto.

[0072] Figure 1 The figure shows an embodiment of a facial recognition device according to some embodiments of the invention.

[0073] Figure 2 The figure shows the schematic workflow of the face recognition system when the ambient light around the stereo camera is above a predefined threshold.

[0074] Figures 3a to 3c These figures show examples of dual-zone adjustment according to an embodiment of the present invention when (a) there is strong ambient light directly toward the screen of the facial recognition device; (b) there is strong ambient light directly toward a person's face; and (c) there is strong ambient light toward one side of the face.

[0075] Figure 4 The figure shows the schematic workflow of the face recognition system when the ambient light around the stereo camera is below a predefined threshold. DETAILED DESCRIPTION

[0076] As will be appreciated by those skilled in the art, aspects of the present invention may be embodied as a facial recognition system, or a method for mitigating ambient light during image capture.

[0077] The present invention relates to products and solutions in which a user needs to authenticate by his or her face. This step can be part of an authorization request, in which he or she should prove his or her identity when logging in, registering, authenticating or requesting a service. The "service" can be access control to a physically or virtually restricted area. If the user is pre-authorized (e.g., has been registered and whitelisted in an access control list) and has proven his or her identity by his or her face, access to the restricted area will be granted. Otherwise, access is denied.

[0078] Authentication may occur through a dedicated software application installed in the facial recognition device itself, or in cooperation with a mobile application of another service provider that the user has logged into, or through a web browser in the electronic device.

[0079] As another implementation example, the present invention can be used for remote identity verification (e.g., Know Your Customer, "KYC" solutions), where two images are captured: an identity document containing the purported user (e.g., national ID, passport, driver's license) and an image of the user's face. Optionally, prior art liveness detection techniques can be applied to the latter image. Facial biometrics allow the identification and measurement of facial features from a captured facial image (e.g., from a selfie). Liveness detection further ensures that a real person was physically present during capture and detects any spoofing attacks. The authenticity of the captured document is then checked to prevent fraud by verifying data integrity, consistency and security elements; while facial matching assesses the likelihood that the captured person is the same person as on the ID document. If the user's identity is verified, he / she is enrolled or his / her access is granted to the requested service.

[0080] exist Figure 1 In the figure, a facial recognition system (1) according to the present invention is schematically represented, which is configured to mitigate ambient light during the capture of facial images. In other words, the facial recognition system (1) is configured to verify identity based on (one or more) photos (3) of the user's face.

[0081] Figure 1 The facial recognition system (1) is illustrated and represented throughout the figures as a facial recognition device (10) in the form of a tablet. The tablet (10) comprises one or several (micro)processors (and / or (one or more) (micro)controllers) as data processing components (not shown), comprises and / or is connected to one or several memories as data storage components, comprises or is connected to components for interaction with a user, such as a man-machine interface (or MMI), and comprises or is connected to (one or more) input / output (or I / O) interfaces, which are all internally connected via an internal bidirectional data bus.

[0082] The (one or more) I / O interfaces may include wired and / or wireless interfaces to communicate with the user via (one or more) contact and / or contactless (or CTL) links. The MMI may include (one or more) display screens, (one or more) keyboards, (one or more) speakers and / or (one or more) cameras, and allow the user to interact with the tablet. The MMI may be used to obtain user input and / or provided data. In particular, the MMI includes a stereo camera (2) configured to capture images (3) of the user's face. These images (3) include depth information (3.1) of objects within the depth of field.

[0083] The (one or more) tablet memory may include one or more volatile memories and / or one or more non-volatile memories (not shown). The (one or more) memories may store data, such as (one or more) IDs associated with the tablet or the hosted chip, which allow the tablet to be uniquely identified and addressed. The (one or more) memories also store operating systems (OS) and applications (not shown) adapted to provide services to users. Among these applications, the tablet has installed an orchestrator capable of receiving ID verification requests from a service provider app or web browser, and, for example, routing the ID verification request to a backend service hosted in (one or more) servers (11). That is, the tablet (10) is configured to send information to the server side (11) via a communication network (12). In particular, the orchestrator and the backend infrastructure can communicate via one or more application program interfaces API using HTTP over TLS.

[0084] As mentioned, the tablet (10) can verify the identity of the user by itself or in cooperation with (one or more) remote servers (11). Therefore, in a basic configuration, the tablet (10) only includes a stereo camera (2) configured to capture images (3) of the user's face and then send them to (one or more) server-sides (11) for further processing: face detection, image processing, dual-zone exposure adjustment, face or biometric matching and ID verification. In this basic embodiment, the tablet typically includes an application or orchestrator that is configured to receive requests from other service provider applications installed in the device or from a web browser on the one hand, and to communicate with backend services running in (one or more) server (11) side on the other hand. These one or more servers may include (jointly or individually) other modules that allow the execution of the steps described below with respect to the tablet.

[0085] The tablet (or server) then includes: a face detection module (4) configured to identify a face based on depth information (3.1) of an image (3) received from a stereo camera (2); a processing module (5) configured to segment the image (3) into face and non-face regions and calculate an exposure adjustment factor for each region based at least on a brightness value comparison; a dual-region adjustment module (6) configured to separately adjust the exposure of both the face and non-face regions according to the adjustment factor; and a face matching module (7) configured to verify or register a person's facial identity based on the exposure-adjusted face region.

[0086] exist Figure 1In the tablet (9), the dual-zone adjustment module (6) is a built-in feature of the stereo camera (2), so that the exposure adjustment factor calculated by the processing module (5) is sent back to the stereo camera to apply exposure adjustment accordingly.

[0087] The tablet (9) further includes a screen (8) to display a reconstructed image (3') having individually exposure adjusted face and non-face regions produced by the dual region adjustment module. The screen thereby prompts the user with a more homogeneous representation than the original unadjusted captured image. Additional information may be conveyed to the user along with the homogeneous image, such as information about the success of facial matching and ID verification, or registration, and percentage certainty. For example, it may additionally prompt a message "Welcome to Enterprise X, Mr. Name", "Have a pleasant journey to Destiny", etc.

[0088] like Figure 1 As depicted in FIG, the tablet (9) further comprises built-in supplementary lighting (9) to be activated if the face detection module identifies a face in any of the images from the stereo cameras and the ambient light is below a predefined threshold. To identify whether the ambient light is above or below the threshold, a light sensor (not shown) may be used.

[0089] Figure 2 A schematic workflow of a face recognition system is depicted (20) when the ambient light around the stereo camera is above a predefined threshold. That is, for example, the image is captured in daylight or in a properly lit room.

[0090] These steps can be accomplished by, for example, Figure 1 The facial recognition system (1) described herein is performed. First, a stereo camera (2) captures (21) an image (3) including depth information of objects within the depth of field and sends (3) it to a facial detection module (4). Due to the depth information embedded in the received image (3), the facial detection module identifies (22) whether a face is present in the image. If no face is detected, the process is aborted. This can be part of a loop that analyzes frames from a video stream.

[0091] Otherwise, i.e. if a face is found in the captured image, the image (3) and the region of the image identifying the face (3.4) are further processed. That is, the face detection module (4) is configured to detect objects (so-called regions of interest or "ROIs") on the image and, thanks to machine learning, ML-driven software, infer whether any of the found objects resemble a face. The ROI is usually represented by a bounding box, which is used for further category classification (e.g., face). If more than one category is possible, such as face, person, pet, etc., the detection module may access a database or keyword table (not shown) of pre-determined categories that may be found in the captured image. The detection module then applies a nearest neighbor search within a reference database using the ROIs, i.e. the embedding vectors of each ROI. Based on the results of the search, it selects the most likely matching candidate (if any).

[0092] Once the image (3) and the region (3.4) of the image identifying the face are received by the processing module (5), it segments (24) the image (3) into a face region (3.2) and a non-face region (3.3). The face region (3.2) corresponds to the face region (3.4) identified by the face detection module. The processing module (5) then obtains (25) an exposure adjustment factor for each region (3.2, 3.3), wherein these exposure adjustment factors are calculated based on at least a comparison of the brightness values ​​of both the face region (3.2) and the non-face region (3.3).

[0093] The dual-region adjustment module (6) then individually adjusts (26) the exposure of both the face region (3.2) and the non-face region (3.3) according to the received adjustment factors. As noted, the dual-region adjustment module (6) can be a built-in feature of the stereo camera (2), so that after receiving instructions on how to adjust the regions, the camera itself can perform intelligent exposure adjustments.

[0094] By this document, the unadjusted image (3) and its face region (3.2) and non-face region (3.3) are distinguished from the dual-region exposure adjusted image (or reconstructed image) in that the latter has a "'" in its reference numerals, such as 3', 3.2', 3.3'. The bounding box (3.4) defining the face region will in principle be the same for both the image before (3, 3.2, 3.3) and after (3', 3.2', 3.3') adjustment.

[0095] Finally, the face matching module (7) verifies the facial identity of the person based on the exposure adjusted facial region (3.2'). As is known, the identification result will be accompanied by a certainty percentage. Typically, the identification result not only states the name of the identified pre-registered user, but also his / her name or other identifier.

[0096] As mentioned, after adjusting the exposure of the two regions individually, the dual region adjustment module (6) may reconstruct (28) an image (3') using the individually exposure adjusted face region (3.2') and non-face region (3.3'). The reconstructed image may then be sent to the screen (8) for display thereon. Along with the reconstructed image (3'), the screen UI may prompt the user with any of the following messages: identification result, certainty percentage, or any customized welcome, informational, or exception message.

[0097] Figures 3a to 3c An example of a dual region adjustment according to an embodiment of the invention is depicted.For each, the captured original image (3) is shown on the left hand side, and the reconstructed (and more isomorphic) image (3') is shown on the right hand side.

[0098] Figure 3a Depicts the situation when there is strong ambient light directly towards the screen of the facial recognition device. As can be seen on the left hand side, it produces a dark face area (3.2) and an overexposed (i.e. too bright) non-face area (3.3).

[0099] In such a scenario, light interference is harmless to the depth perception feature of the stereo camera, and the face detection module can perform the first step of face detection. In each picture, an example of a face detection box generated from the face detection module (4) is depicted. As is known, the size of the box can be adjusted.

[0100] Comparison of the brightness values ​​of both the face region (3.2) and the non-face region (3.3) results in an exposure adjustment factor that is required to compensate the exposure of the face region (3.2) exclusively and to reduce the exposure of the non-face region (3.3) accordingly. The resulting isomorphic image (3') can be seen on the right hand side.

[0101] Figure 3b Depicts the situation when there is strong ambient light directly towards the person's face. As can be seen on the left hand side, it produces an overexposed face area (3.2) and a relatively underexposed / bright non-face area (3.3).

[0102] The brightness values ​​of the face area (3.2) and the non-face area (3.3) are compared to obtain an exposure adjustment factor, which is required to specifically reduce the exposure of the face area (3.2) while compensating the exposure of the non-face area (3.3) accordingly.

[0103] Figure 3c Depicted is the situation when there is strong ambient light towards one side of the face. As can be seen on the left hand side, it produces a half-light / half-dark face area (3.2) and a half-light / half-dark non-face area (3.3).

[0104] The exposure adjustment factor is obtained by comparing the brightness values ​​of the facial area (3.2) and the non-facial area (3.3). The exposure adjustment factor requires using a higher exposure to specifically compensate for the dark part of the facial area (3.2), and using a lower exposure to reduce the overexposure / bright part of the facial area (3.2), while correspondingly compensating for the dark part of the non-facial area (3.3) and reducing the overexposure / bright part of the non-facial area (3.3).

[0105] Figure 4 A schematic workflow of a facial recognition system is depicted (20) when the ambient light around the stereo camera is below a predefined threshold. That is, it is night, dark, or there is insufficient light to properly capture visible facial features.

[0106] As can be easily derived, Figure 4 The method is similar to Figure 2 The method of FIG. 1 is described in detail below, but if the ambient light around the stereo camera (2) is insufficient (ie below a predefined threshold), the switch-on of the supplementary light (9) is added. In the event that the face detection module detects a face within the depth of field of the stereo camera, the light will be switched on.

[0107] To this end, on-demand capture and image analysis may be performed by the user, for example, when a sleeping facial recognition system is turned on or awakened. Alternatively, a facial detection module may continuously analyze the video stream to find faces and, if found, trigger dual-region adjustment. The system may similarly analyze images captured by a stereo camera that are stored in a photo database or video collection.

[0108] The supplemental light can be turned off depending on the use case. For example, for a single capture it can simply flash, while for live video stream analysis it can be active for a longer period of time.

Claims

1. A facial recognition system (1) for mitigating ambient light during image (3) capture, the system comprising: - a stereo camera (2) configured to capture images (3) and send them to the face detection module, wherein the images include depth information (3.1) of objects within the depth of field, a face detection module (4) configured to identify faces based on depth information (3.1) of the images (3) received from the stereo camera (2), - a processing module (5), configured to o segmenting the image (3) into a face region (3.2) and a non-face region (3.3), wherein the face region (3.2) corresponds to the face region identified by the face detection module (4), and o obtaining an exposure adjustment factor for each region (3.2, 3.3), wherein the exposure adjustment factors are calculated based on at least a comparison of the brightness values ​​of the face region (3.2) and the non-face region (3.3), - a dual-area adjustment module (6) configured to individually adjust the exposure of both the face area (3.2) and the non-face area (3.3) according to an adjustment factor, and - A face matching module (7) configured to verify or register a person's facial identity based on the exposure adjusted facial area (3.2').

2. The system according to claim 1, wherein the exposure adjustment factors are calculated based on a comparison of brightness and exposure values ​​of both the face area (3.2) and the non-face area (3.3).

3. A system according to claim 2, wherein the processing module (5) is further configured to calculate brightness and exposure values ​​for each pixel in the face region (3.2) and the non-face region (3.3), calculate representative brightness and exposure values ​​for each region (3.2, 3.3), and compare them with the resulting compensating exposure adjustment factor to be applied to each region (3.2, 3.3) individually by the dual-region adjustment module.

4. The system according to any one of claims 1 to 3, further comprising a screen (8), wherein the dual-area adjustment module (6) is configured to reconstruct an image (3′) having individually exposure-adjusted face areas (3.2′) and non-face areas (3.3′) to be displayed on the screen (8).

5. The system according to any one of claims 1 to 4, further comprising supplementary lighting (9) to be activated if the face detection module (4) identifies a face in any of the images (3) from the stereo cameras (2) and the ambient light is below a predefined threshold.

6. A system according to any one of claims 1 to 5, wherein the dual-region adjustment module (6) is a built-in feature of the stereo camera (2) so that the exposure adjustment factor calculated by the processing module (5) is sent back to the stereo camera (2) to apply exposure adjustment accordingly.

7. The system according to any one of claims 1 to 6, further comprising a facial recognition device (10), such as a tablet or a pod, wherein the stereo camera (2) is operably connected to the facial recognition device, either embedded as an integrated solution, or integrated specifically as a plug-in solution.

8. The system according to any one of claims 1 to 7, which is a distributed system, wherein at least one of the face detection module (4), the processing module (5), the dual-region adjustment module (6) or the face matching module (7) runs as a backend service on the server side (11).

9. A method (20) for mitigating ambient light during image capture using a facial recognition system (1) according to any one of claims 1 to 8, the method comprising the steps of: - capturing (21) an image (3) by a stereo camera (2), said image (3) comprising depth information of an object within the depth of field, - sending the captured images (3) by the stereo camera to the face detection module (4), - identifying (22) faces by a face detection module based on depth information of images received from a stereo camera, - receiving, by a processing module (5), an image (3) and a region of the image identifying a face, - segmenting (24) the image (3) into a face region (3.2) and a non-face region (3.3) by the processing module (5), wherein the face region (3.2) corresponds to the face region identified by the face detection module, - obtaining (25) an exposure adjustment factor for each region (3.2, 3.3) by the processing module (5), wherein these exposure adjustment factors are calculated based on at least a comparison of brightness values ​​of the face region (3.2) and the non-face region (3.3), - adjusting (26) the exposure of both the face area (3.2) and the non-face area (3.3) separately according to the adjustment factor by the dual-area adjustment module (6), and - The facial identity of the person is verified or registered (27) by a facial matching module (7) based on the exposure adjusted facial area (3.2').

10. The method according to claim 9, wherein the processing module (5) calculates the brightness and exposure values ​​of each pixel in the face area (3.2) and the non-face area (3.3), calculates representative brightness and exposure values ​​for each area, and compares them with the resulting compensating exposure adjustment factors to be applied to each area individually by the dual-area adjustment module (6).

11. The method according to any one of claims 9 or 10, further comprising the following steps: - reconstructing (28) a reconstructed image (3') by the dual-region adjustment module (6), the reconstructed image (3') having individually exposure-adjusted face regions (3.2') and non-face regions (3.3'), and - The reconstructed image (3') is sent to a screen (8) for display thereon.

12. The system according to any one of claims 9 to 11, further comprising the steps of: - preferably detecting, by a light sensor, whether the ambient light around the stereo camera (2) is below a predefined threshold, and - Supplementary lighting (9) activated (29) by the facial detection module.