A face recognition system and method based on distributed intelligent fill light
Through a distributed intelligent light-filling face recognition system, combined with visible light cameras and LED lighting, a high recognition rate in complex dark field environments is achieved, solving the problems of low recognition rate and high cost in the existing technology, with flexible layout and Low cost advantage.
Patent Information
- Application Number
- CN202110845927.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-26
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-07-26
AI Technical Summary
In complex dark field environments, the recognition rate of existing face recognition systems is low, and traditional methods are costly or it is difficult to improve the recognition rate with algorithm improvements.
A face recognition system based on distributed intelligent fill light is used, combined with visible light cameras and LED lighting, to achieve continuous control of lighting units and optimal lighting effects through visual information processing and optimized light control methods.
It improves the face recognition rate of visible light cameras in complex dark field environments, has high recognition rate, low cost and flexible layout design, and is suitable for popular applications.
Smart Images

Figure CN113569721B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of face recognition, and in particular to a face recognition system and method based on distributed intelligent fill light. Background Art
[0002] Face recognition is currently widely used in criminal investigation, entertainment consumption, personnel management and other fields. At present, face recognition is mostly applied under the condition of sufficient ambient light, while when the ambient light is weak and the facial shadows are more complex, the relevant face recognition rate will drop significantly.
[0003] To solve the above problems, common solutions include: 1) Using sensors that are insensitive to ambient light to collect face data, and designing and developing relevant face recognition algorithms on this basis. Related applications include sensing systems using near-infrared cameras and sensing systems using multispectral cameras. Obviously, in most cases, the cost of the above systems is much higher than that of visible light cameras, and they are not suitable for widespread use in practice. 2) Using visible light camera systems to collect complex dark field face images, and improving face recognition effects by continuously improving and enhancing existing image processing and pattern recognition algorithms. At present, deep learning technology has developed rapidly, but deep learning methods rely on a large number of training samples, and the adaptive computing ability of related algorithms to complex environmental changes is also subject to the actual situation that the training data can traverse. By continuously improving and enhancing face recognition algorithms to improve recognition rates, the design and improvement of related algorithms have approached the upper limit of algorithm processing capabilities. Therefore, the technical approach of using improved algorithms to improve recognition rates will become increasingly difficult in practical applications. 3) Using a combination of visible light camera acquisition and intelligent lighting technology to improve the quality of collected image data from the source, and then apply face recognition.
[0004] Compared with the first two technologies, the popularity of light emitting diode (LED) lighting in recent years has effectively promoted the rapid development of intelligent lighting technology. By comprehensively adopting low-cost LED light sources and visible light cameras, and using image processing, computer vision, and optimization methods to estimate and control the optimal lighting method, the face recognition rate of visible light cameras in complex dark environments can be effectively improved, which is one of the trends in future technology development. Summary of the invention
[0005] In view of the shortcomings of the traditional method, the purpose of the present invention is to provide a face recognition system and method based on distributed intelligent fill light, which can effectively improve the face recognition rate of visible light cameras in complex dark environments.
[0006] To solve the above technical problems, the embodiments of the present invention provide the following solutions:
[0007] On the one hand, a face recognition system based on distributed intelligent fill lighting is provided, including a camera subsystem, a distributed lighting unit group with continuously adjustable brightness of a single lighting unit, a visual information processing subsystem, and a lighting unit control subsystem;
[0008] The camera subsystem is used to collect facial images in the front-view scene;
[0009] The distributed lighting unit group is used to fill in the light in the forward-looking scene of the camera subsystem;
[0010] The visual information processing subsystem is used to calculate the two-dimensional and three-dimensional facial key points and facial models according to the collected facial images, and to perform light radiation calculation, facial reflection calculation, facial light occlusion calculation, camera subsystem response intensity calculation to incident light, and optimization light control method calculation for each lighting unit in the distributed lighting unit group;
[0011] The lighting unit control subsystem is used to continuously control the output mode of a single lighting unit in the distributed lighting unit group according to the above calculation results.
[0012] Preferably, the camera subsystem is connected to the visual information processing subsystem, and the camera subsystem uses a camera with a spectral response band of 380nm-780nm, or a camera with a spectral response band of 380nm-1200nm.
[0013] Preferably, the distributed lighting unit group is connected to the lighting unit control subsystem, and the distributed lighting unit group is composed of at least one lighting unit whose output light effect can be controlled by a circuit, and the lighting unit is an LED lamp, an OLED lamp or a laser lighting lamp.
[0014] Preferably, the visual information processing subsystem is connected to the camera subsystem and the lighting unit control subsystem respectively, and the visual information processing subsystem includes a first processor, which is a single-chip microcomputer circuit, an FPGA circuit, an ARM circuit, or a combination of the above circuits.
[0015] Preferably, the lighting unit control subsystem is connected to the distributed lighting unit group and the visual information processing subsystem, and the lighting unit control subsystem includes a second processor, which is a single-chip microcomputer circuit, an FPGA circuit, an ARM circuit, or a combination of the above circuits. The lighting unit control subsystem can achieve continuous control of the output mode of a single lighting unit.
[0016] On the one hand, a face recognition method based on the above face recognition system is provided, comprising the following steps:
[0017] The camera subsystem collects the face image in the front-view scene;
[0018] The distributed lighting unit group supplements the light in the forward-looking scene of the camera subsystem;
[0019] The visual information processing subsystem calculates the two-dimensional and three-dimensional facial key points and the facial model according to the collected facial image, and performs light radiation calculation, facial reflection calculation, facial light occlusion calculation, camera subsystem response intensity calculation to incident light, and optimization light control method calculation for each lighting unit in the distributed lighting unit group;
[0020] The lighting unit control subsystem continuously controls the output mode of a single lighting unit in the distributed lighting unit group according to the above calculation results.
[0021] Preferably, the visual information processing subsystem calculates the two-dimensional and three-dimensional facial key points and the facial model according to the collected facial image, specifically including:
[0022] Use a support vector machine-based method to quickly detect faces, and then use a regression tree set method to detect facial key points, detecting at least 8 facial feature points;
[0023] At the same time, the binocular camera used in the camera subsystem is calibrated to determine the internal and external parameters of the binocular camera, and the three-dimensional coordinates of the facial feature points in the world coordinate system of the binocular camera are calculated according to the calibration results;
[0024] After completing the preliminary calculation of the two-dimensional and three-dimensional feature points of the face, a three-dimensional face model is established for lighting effect analysis.
[0025] Preferably, after completing the reconstruction of the three-dimensional face model, the method further comprises:
[0026] Perform facial glare and shadow analysis and image enhancement calculation processing;
[0027] Carry out three-dimensional light radiation modeling, reflection modeling and occlusion calculation of light sources at preset positions on the face;
[0028] Calculate the intensity of the camera's response to incident light at a preset position on the face;
[0029] Estimation of facial lighting effects;
[0030] Perform distributed optimal lighting estimation and control.
[0031] Preferably, the method further comprises:
[0032] Based on the above modeling and calculation results, an optimization algorithm is used to calculate the optimal lighting control method.
[0033] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:
[0034] The system described in the present invention can realize fill lighting for a large spatial area, and when performing optimal fill lighting estimation and control, digital image processing, computer vision, pattern recognition and optimization calculation methods are comprehensively adopted to realize the accurate calculation of the whole process of light emission from the light source, facial reflection, and camera response of the facial interest point, while fully considering the occlusion of distributed light sources, the distribution of facial light and shadow, etc., and has the advantages of good lighting effect and high system recognition rate.
[0035] The system and method designed in the present invention have no restrictions on the installation positions of the distributed lighting units and the camera units. As long as the relative position relationship between the light-emitting unit and the camera is known, modeling calculation and light control can be performed. It has the advantages of flexible system layout design and a wide range of applications.
[0036] Compared with the system based on near-infrared camera, the system adopted by the present invention only includes a lighting unit, a visible light camera, medium and high performance computing and control circuits, etc., and has the advantages of low system cost and suitable for popularization and application. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0038] Figure 1 is a schematic diagram of a face recognition system based on distributed intelligent fill light provided by an embodiment of the present invention;
[0039] Figure 2 is a flow chart of a face recognition method based on distributed intelligent fill light provided by an embodiment of the present invention;
[0040] Figure 3 is a schematic diagram of the appearance design of the intelligent fill light device provided by an embodiment of the present invention;
[0041] Figure 4a-4b is a hypothetical diagram of the application of the intelligent fill light device provided by an embodiment of the present invention;
[0042] Figure 5 is a schematic diagram of 68 facial feature points provided by an embodiment of the present invention;
[0043] Figure 6 is a simplified three-dimensional face model diagram provided by an embodiment of the present invention;
[0044] Figure 7 Schematic diagram of facial illumination uniformity sampling points provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0045] To make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
[0046] The embodiment of the present invention provides a face recognition system based on distributed intelligent fill light, such as Figure 1 As shown, the system includes a camera subsystem, a distributed lighting unit group with continuously adjustable brightness of a single lighting unit, a visual information processing subsystem, and a lighting unit control subsystem;
[0047] The camera subsystem is used to collect facial images in the front-view scene;
[0048] The distributed lighting unit group is used to fill in the light in the forward-looking scene of the camera subsystem;
[0049] The visual information processing subsystem is used to calculate the two-dimensional and three-dimensional facial key points and facial models according to the collected facial images, and to perform light radiation calculation, facial reflection calculation, facial light occlusion calculation, camera subsystem response intensity calculation to incident light, and optimization light control method calculation for each lighting unit in the distributed lighting unit group;
[0050] The lighting unit control subsystem is used to continuously control the output mode of a single lighting unit in the distributed lighting unit group according to the above calculation results.
[0051] Furthermore, the camera subsystem is connected to the visual information processing subsystem, and the camera used can be a camera that is sensitive to light and has high imaging details and contrast under sufficient and uniform light conditions. Preferably, the camera subsystem uses a camera with a spectral response band of 380nm-780nm, or a camera with a spectral response band of 380nm-1200nm, etc.
[0052] Furthermore, the distributed lighting unit group is connected to the lighting unit control subsystem, and the distributed lighting unit group is composed of at least one lighting unit whose output light effect can be controlled by a circuit, and the lighting unit is an LED lamp, an OLED lamp or a laser lighting lamp, etc.
[0053] Furthermore, the visual information processing subsystem is connected to the camera subsystem and the lighting unit control subsystem respectively, and is composed of a high-performance processor and circuit with image processing capabilities. Preferably, the visual information processing subsystem includes a first processor, and the first processor is a single-chip circuit, an FPGA circuit, an ARM circuit, etc., or a combination of the above circuits. The visual information processing subsystem can realize the detection of human faces, the calculation of two-dimensional and three-dimensional facial key points and facial models, the calculation of the radiation of light of each lighting unit, the calculation of facial reflected light, the calculation of facial light occlusion, the calculation of the camera's response intensity to incident light, and the calculation function of the optimal light control method for the lighting unit.
[0054] Furthermore, the lighting unit control subsystem is connected to the distributed lighting unit group and the visual information processing subsystem, and is composed of a processor and circuit with lighting unit control output. Preferably, the lighting unit control subsystem includes a second processor, which is a single-chip microcomputer circuit, an FPGA circuit, an ARM circuit, etc., or a combination of the above circuits. The lighting unit control subsystem can realize continuous control of the output mode of a single lighting unit.
[0055] Accordingly, an embodiment of the present invention further provides a face recognition method based on the above face recognition system, such as Figure 2 As shown, the method comprises the following steps:
[0056] The camera subsystem collects facial images in the front-view scene;
[0057] The distributed lighting unit group supplements the light in the forward-looking scene of the camera subsystem;
[0058] The visual information processing subsystem calculates the two-dimensional and three-dimensional facial key points and the facial model according to the collected facial image, and performs light radiation calculation, facial reflection calculation, facial light occlusion calculation, camera subsystem response intensity calculation to incident light, and optimization light control method calculation for each lighting unit in the distributed lighting unit group;
[0059] The lighting unit control subsystem continuously controls the output mode of a single lighting unit in the distributed lighting unit group according to the above calculation results.
[0060] Furthermore, the visual information processing subsystem calculates the two-dimensional and three-dimensional facial key points and the facial model according to the collected facial image, specifically including:
[0061] A support vector machine-based method is used to quickly detect human faces, and then a regression tree set method is used to detect key points of the human face, and at least 8 human face feature points are detected; preferably, in an embodiment of the present invention, 68 human face feature points are detected;
[0062] At the same time, the binocular camera used in the camera subsystem is calibrated to determine the internal and external parameters of the binocular camera, and the three-dimensional coordinates of the facial feature points in the world coordinate system of the binocular camera are calculated according to the calibration results;
[0063] After completing the calculation of the preliminary 2D and 3D feature points of the face, a 3D face model is established for the analysis of the lighting effect. Preferably, in this step, a 3D deformable model 3DMM is used for 3D face reconstruction; specifically, a Basel face model is used for face reconstruction.
[0064] Furthermore, after completing the reconstruction of the three-dimensional face model, the method further includes:
[0065] Perform facial glare and shadow analysis and image enhancement calculation processing;
[0066] Carry out three-dimensional light radiation modeling, reflection modeling and occlusion calculation of light sources at preset positions on the face;
[0067] Calculate the intensity of the camera's response to incident light at a preset position on the face;
[0068] Estimation of facial lighting effects;
[0069] Perform distributed optimal lighting estimation and control.
[0070] Furthermore, the method further comprises:
[0071] Based on the above modeling and calculation results, an optimization algorithm is used to calculate the optimal lighting control method. Preferably, in this step, a genetic algorithm is used as the optimization algorithm to calculate the optimal lighting control method.
[0072] In a specific embodiment, Figure 3 The figure shows a schematic diagram of the appearance design of an intelligent fill light device. To simplify the problem, it is assumed that 8 LED lights as lighting units are installed on a rectangular base in an equidistant, symmetrical and coplanar manner. Any one of the binocular cameras is placed at the geometric center of the rectangular base, and the other camera is placed on one side of the camera at the geometric center. The connecting line of the two binocular cameras is parallel to the two sides of the rectangular base. In the figure, D1=D2=D3=D4, and D5 is the distance between the two cameras of the binocular camera.
[0073] like Figure 4a-4bAs shown in the figure, it is a hypothetical application diagram of an intelligent fill-light device. In order to fill in the light for the human face in a complex dark environment, the intelligent fill-light device is installed on the wall opposite to the human face; and because the light source installed on the wall is easy to cause dazzling interference to the human eye, the output brightness of the intelligent fill-light device should be low. Preferably, the output power of a single LED lamp is ≤1.0W. Assuming that there is also an ordinary lighting source in the application scenario, as shown in Figure 4, the power of the ceiling light is generally large, for example, a LED lamp of dozens of watts commonly seen on the market can be used. Obviously, the ceiling light is also composed of an LED array. It is assumed here that the output light intensity of the LED array of the ceiling light can be multiple levels, and the output of each LED lamp can be controlled at the same time. When any output level is selected, the brightness and output light effect of each LED lamp are consistent.
[0074] In the embodiment of the present invention, a support vector machine (SVM) is used to quickly detect human faces, and then an ensemble of regression trees (ERT) is used to detect key points of the face. For example, 68 facial feature points can be detected. The definition of the 68 facial feature points is as follows: Figure 5 as shown in .
[0075] At the same time, according to the binocular camera used in the system, the internal and external parameters of the binocular camera can also be determined by camera calibration. On this basis, according to the calibration results, the three-dimensional coordinates of the aforementioned 68 facial feature points in the world coordinate system of the binocular camera can be calculated. The calculation method is shown below.
[0076]
[0077] Among them, (x, y) is the coordinate in the two-dimensional image coordinate system, (U, V, W) is the coordinate in the world coordinate system of the binocular camera; s is the scale factor; f x and f y is the focal length of the camera in the x-axis and y-axis directions; u0 and v0 are the coordinates of the origin of the camera coordinate system; R and T are the rotation matrix and translation matrix, which represent the spatial position relationship between the two cameras.
[0078] After completing the calculation of the preliminary two-dimensional and three-dimensional feature points of the face, it is necessary to establish a three-dimensional face model for lighting effect analysis. In an embodiment of the present invention, a three-dimensional deformable model (3D Morphable Model, 3DMM) is used for three-dimensional face reconstruction; specifically, the Basel Face Model (Basel Face Model, BFM) is used for face reconstruction. BFM believes that the face is composed of an average face, shape factors, and expression factors, as shown in the following formula. Considering that 3DMM is a relatively independent model, it is necessary to calculate the coordinate transformation relationship between the model coordinate system and the binocular vision coordinate system. The specific calculation method is shown in formulas (2) and (3).
[0079]
[0080] M Cam =R Cam_3DMM M 3DMM +T Cam_3DMM (3)
[0081] in, represents the average face; s i 、e i Represent the shape and expression factors respectively, α i and β i is the relevant weight factor; M Cam 、M 3DMM Respectively represent the coordinates in the camera coordinate system and the 3DMM coordinate system; R Cam_3DMM 、T Cam_3DMM Represents the rotation matrix and translation matrix of the camera coordinate system and 3DMM coordinate system respectively.
[0082] After completing the three-dimensional face reconstruction and coordinate change matrix calculation, it is necessary to perform calculation steps such as LED light radiation, reflection brightness estimation, light occlusion estimation, and camera response calculation. First, it is assumed that a single LED lighting unit is a Lambertian illuminant. Considering that the light source size is negligible compared to the radiation distance, it is assumed that the wall light source of the present invention is 8 point light sources. Without loss of generality, it is assumed here that the radiation characteristics of the 8 point light sources are exactly the same. Figure 3 In the schematic diagram, the geometric center of the camera at the geometric center of the rectangular base is defined as the coordinate origin, the axis coincident with the optical axis of the central camera is the Z axis, and the directions parallel to the left and right and upper and lower edges of the rectangular base are the X and Y axes to establish a rectangular coordinate system. Then, under the definition framework of this coordinate system, the radiation intensity of the wall light at any point in space can be calculated by the following formula. Obviously, the definition of the above coordinate system coincides with the camera coordinate system, and the radiation intensity of the wall light at any point in space is the algebraic sum of the irradiation intensities of multiple LED lighting units.
[0083]
[0084] Among them, m W is a parameter that characterizes the relationship between observation angle and radiation attenuation; (x W ,y W ,z W ) is the coordinate of the spatial observation point in the above wall light coordinate system, z W >0;I WL_i and A WL_i (i=0,1,…,7) is the intensity output and luminous area factor of the i-th lighting unit; d W is the coordinate distance, obviously d W =D5=D6=D8=D9.
[0085] The application of ceiling lights is mainly to provide floodlighting. Similar to the definition of the wall light coordinate system, it is assumed that the ceiling light is composed of M×N LED lights. The ceiling light consists of a rectangular base surface and LED lights evenly distributed on it. The origin of the ceiling light coordinate system is defined at the geometric center of the ceiling light base surface, the Z axis is perpendicular to the base surface, and the X and Y axes are parallel to the two sides of the base. The output light intensity of the ceiling light can be shown in formula (5). By Figure 6 As can be seen from the relationship, the spatial position relationship between the ceiling light and the wall light can be calculated using formula (6). Finally, by transforming the ceiling light coordinate system to the wall light coordinate system (also the camera coordinate system), the total ambient light irradiance at any point in the space can be calculated using formula (7). It should be emphasized that in the present invention, the ceiling light is not a necessary lighting source. If the specific implementation of the system does not use the ceiling light, the output of the ceiling light is 0, that is, E′ can be set in formula (7) Overhead =0.
[0086]
[0087]
[0088] E s =E Wall +E′ Overhead (7)
[0089] In the formula, (x O ,y O ,z O ) is the ceiling light coordinate system; m O It is a parameter that characterizes the relationship between observation angle and radiation attenuation; I OL and A OL is the intensity and radiation area factor of the ceiling light LED; (X S ,Y S ,Z S ) is the translation matrix of the wall light coordinate system and the ceiling light coordinate system; E′ Overhead For E OverheadThe result calculated using formula (6).
[0090] In order to analyze the lighting effect of the face, it is necessary to further estimate the reflected brightness of the light on the face surface, estimate the camera response intensity, and estimate the light occlusion. When estimating the facial reflection brightness of light, the present invention uses a bidirectional reflectance distribution function (BRDF) for modeling and estimation. Preferably, the Cook-Torrance model is used for calculation. The calculation method of the Cook-Torrance model is calculated as shown in equations (8) to (12). After the reflected light intensity is calculated, the camera response intensity can be further calculated using equation (13).
[0091]
[0092]
[0093]
[0094]
[0095]
[0096]
[0097] Where, L i is the reflected radiation intensity of the i-th observation point; K is the number of light sources; R C_T_ij is the calculation result of the Cook_Torrance model for the i-th observation point under the influence of the j-th light source; δ ij is the angle between the surface source normal of the ith observation point and the line connecting the ith observation point and the jth light source; F ij is the Fresnel coefficient; D ij is the microplane normal distribution function of the i-th observation point to the j-th light source; G ij is the geometric attenuation factor; N i is the normal direction of the microplane at the i-th observation point; L ij is the incident light direction of the line connecting the i-th observation point and the j-th light source; V i is the direction vector of the i-th observation point in the camera coordinate system; n1 and n2 are the light refractive indices of air and skin; r is the surface roughness of the skin; H ij is the incident light direction L of the i-th observation point relative to the j-th light source ij and the observation point direction V i The half-angle direction vector of A and B. iis the intensity response of the camera to the i-th observation point; h is the focal length of the camera; d is the aperture diameter of the camera; is the off-axis angle between the camera optical axis of the i-th observation point and the line connecting the camera center and the observation point.
[0098] In order to quickly judge the face occlusion, the following method is used: Figure 6 The simplified face model shown in FIG. This model regards the face as a model composed of an ellipsoid and three patches. The mathematical model for solving the patch and the ellipsoid is given in equations (14) and (15), where the solution points can be selected from multiple spatial three-dimensional coordinate points in the 3DMM model to perform fitting calculations on the parameters of equations (14) and (15).
[0099] f(x,y,z)=a0x 2 +a1y 2 +a2z 2 +a3xy+a4xz+a5yz+a6x+a7y+a8z+a9 (14)
[0100]
[0101] Where (x, y, z) is the coordinate of the space point; a i (i=0,1,…,9) are the ellipsoid model parameters; coordinates (x1,y1,z1), (x2,y2,z2), (x3,y3,z3) are the coordinates of the space points with known coordinates in the 3DMM model.
[0102] After completing the facial brightness calculation modeling and light occlusion judgment modeling, it is necessary to evaluate the uniformity of facial lighting. Figure 7 As shown in the figure, it is a schematic diagram of the sampling points for face illumination uniformity. Specifically, the present invention samples 30 points for evaluating face illumination uniformity. The evaluation index function of this part includes two parts. The first part is the calculation result of the dynamic time warping (DTW) function. When performing the DTW function calculation, first accumulate more than 20 face images with uniform illumination conditions, and then Figure 7 The observation point sampling method samples the data of 30 points respectively and calculates the mean value of the image brightness of the corresponding observation points; based on the above work, the 30 points are arranged in sequence to form time series data. When an image data under any lighting condition is obtained, according to Figure 7 The first method samples the image intensity of 30 points, arranges them into time series data, and uses the DTW method to calculate the DTW distance between the sequence and the previous standard average sequence. The result is used as one of the indicators for evaluating the lighting effect, namely MDTW. In the second part, the image intensity variance of adjacent points is calculated according to formula (17) and the method in Table 1, and finally the facial lighting uniformity is calculated using formula (16).
[0103]
[0104] VAR7=VAR(MEAN1,MEAN2,MEAN3,MEAN4) (17)
[0105] Where w1 and w2 are weight parameters; M DTW 、M VAR It is the result of DTW function and variance calculation; VAR i (i=1,2,…,6), VAR, MEAN j (j=1,2,3,4) is the function for calculating the variance and mean.
[0106] Table 1 Method for selecting participating points for facial lighting uniformity evaluation
[0107]
[0108] Finally, for the above modeling results, an optimization method can be used to calculate the optimal lighting control method. Specifically, the present invention uses a genetic algorithm to calculate the above modeling results. The relevant calculation method is shown in formula (18).
[0109]
[0110] Where min{*} represents the minimum value of the calculation; IWLMIN and IWLMAX are the minimum and maximum values of the wall light output; if it is assumed that the ceiling light is controlled by three levels of output intensity, then I OHL1 ,I OHL2 ,I OHL3 Represents the 3 controlled intensity outputs of the ceiling light.
[0111] In summary, the system described in the present invention can realize fill lighting for a large range of spatial areas, and when performing optimal fill lighting estimation and control, it comprehensively adopts digital image processing, computer vision, pattern recognition and optimization calculation methods, and realizes the accurate calculation of the entire process of light emission from the light source, facial reflection, and camera response of facial interest points. At the same time, it fully considers the occlusion of distributed light sources, the distribution of facial light and shadow, etc., and has the advantages of good lighting effect and high system recognition rate.
[0112] The system and method designed in the present invention have no restrictions on the installation positions of the distributed lighting units and the camera units. As long as the relative position relationship between the light-emitting unit and the camera is known, modeling calculation and light control can be performed. It has the advantages of flexible system layout design and a wide range of applications.
[0113] Compared with the system based on near-infrared camera, the system adopted by the present invention only includes a lighting unit, a visible light camera, medium and high performance computing and control circuits, etc., and has the advantages of low system cost and suitable for popularization and application.
[0114] Therefore, the present invention effectively overcomes various shortcomings in the prior art and has high industrial utilization value.
[0115] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.
[0116] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A face recognition system based on distributed intelligent fill light, characterized in that: It includes a camera subsystem, a distributed lighting unit group with continuously adjustable brightness of a single lighting unit, a visual information processing subsystem, and a lighting unit control subsystem; The camera subsystem is used to collect facial images in the front-view scene; The distributed lighting unit group is used to fill in the light in the forward-looking scene of the camera subsystem; The visual information processing subsystem is used to calculate the two-dimensional and three-dimensional facial key points and facial models according to the collected facial images, and to perform light radiation calculation, facial reflection calculation, facial light occlusion calculation, camera subsystem response intensity calculation to incident light, and optimization light control method calculation for each lighting unit in the distributed lighting unit group; The lighting unit control subsystem is used to continuously control the output mode of a single lighting unit in the distributed lighting unit group according to the above calculation results; Among them, the distributed lighting unit group is connected to the lighting unit control subsystem, and the distributed lighting unit group is composed of at least one lighting unit whose output light effect is controlled by a circuit, and the lighting unit is an LED lamp, an OLED lamp or a laser lighting lamp.
2. The face recognition system according to claim 1, characterized in that: The camera subsystem is connected to the visual information processing subsystem, and the camera subsystem uses a camera with a spectral response band of 380nm-780nm, or a camera with a spectral response band of 380nm-1200nm.
3. The face recognition system according to claim 1, characterized in that: The visual information processing subsystem is connected to the camera subsystem and the lighting unit control subsystem respectively, and the visual information processing subsystem includes a first processor, which is a single-chip microcomputer circuit, an FPGA circuit, an ARM circuit, or a combination of the above circuits.
4. The face recognition system according to claim 1, characterized in that: The lighting unit control subsystem is connected to the distributed lighting unit group and the visual information processing subsystem. The lighting unit control subsystem includes a second processor, which is a single-chip microcomputer circuit, an FPGA circuit, an ARM circuit, or a combination of the above circuits. The lighting unit control subsystem can achieve continuous control of the output mode of a single lighting unit.
5. A face recognition method based on the face recognition system according to any one of claims 1 to 4, characterized in that: The following steps are involved: The camera subsystem collects facial images in the front-view scene; The distributed lighting unit group supplements the light in the forward-looking scene of the camera subsystem; The visual information processing subsystem calculates the two-dimensional and three-dimensional facial key points and the facial model according to the collected facial image, and performs light radiation calculation, facial reflection calculation, facial light occlusion calculation, camera subsystem response intensity calculation to incident light, and optimization light control method calculation for each lighting unit in the distributed lighting unit group; The lighting unit control subsystem continuously controls the output mode of a single lighting unit in the distributed lighting unit group according to the above calculation results.
6. The face recognition method according to claim 5, characterized in that: The visual information processing subsystem calculates the two-dimensional and three-dimensional face key points and face model according to the collected face image, specifically including: Use a support vector machine-based method to quickly detect faces, and then use a regression tree set method to detect facial key points, detecting at least 8 facial feature points; At the same time, the binocular camera used in the camera subsystem is calibrated to determine the internal and external parameters of the binocular camera, and the three-dimensional coordinates of the facial feature points in the world coordinate system of the binocular camera are calculated according to the calibration results; After completing the preliminary calculation of the two-dimensional and three-dimensional feature points of the face, a three-dimensional face model is established for lighting effect analysis.
7. The face recognition method according to claim 6, characterized in that: After completing the reconstruction of the three-dimensional face model, the method further includes: Perform facial glare and shadow analysis and image enhancement calculation processing; Perform three-dimensional light radiation modeling, reflection modeling and occlusion calculation of the light source at the preset position on the face; Calculate the intensity of the camera's response to incident light at a preset position on the face; Estimation of facial lighting effects; Perform distributed optimal lighting estimation and control.
8. The face recognition method according to claim 7, characterized in that: The method further comprises: Based on the above modeling and calculation results, an optimization algorithm is used to calculate the optimal lighting control method.
