Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides image acquisition equipment which can be applied to image acquisition in various fields. For example, the method is applied to the field of face payment and used for acquiring face images; the method is applied to the field of identity authentication, and is used for acquiring face images, eye images and the like; the method is applied to image acquisition in the monitoring field and the like.
Fig. 1 is a schematic structural diagram of an image capturing apparatus provided in an embodiment of the present application, and as shown in fig. 1, the apparatus includes: an image acquisition device 110 and a light supplement device 120;
the image capturing apparatus 110 includes: the first polarization unit 111 is arranged on an incident light path of the image pickup unit 112, and is used for transmitting incident light which is emitted to the image pickup unit 112 to obtain first polarized light;
the light supplement device 120 includes: the light compensation light source 121 and the second polarization unit 122, the second polarization unit 122 is disposed on an emergent light path of the light compensation light source 121, and is configured to perform light transmission processing on compensation light emitted by the light compensation light source 121 to obtain second polarized light.
The first polarization unit 111 and the second polarization unit 112 can allow light rays with the same polarization direction to pass through, and filter light rays with the different polarization directions.
Specifically, the first polarizing unit 111 may be a polarizing plate, a polarizing film, a polarizing filter, or the like, and similarly, the second polarizing unit 122 may be a polarizing plate, a polarizing film, a polarizing filter, or the like.
Preferably, the first polarizing element is a polarizing plate, and the second polarizing element is a polarizing film.
The image pickup unit 112 may be an image pickup device such as a camera, an eyepiece, or the like.
The ambient light in the environment where the photographic subject is located may be irradiated onto the photographic subject, the ambient light is unpolarized light, the ambient light irradiated onto the photographic subject is reflected on the photographic subject, the reflected light is still unpolarized light, and the unpolarized light obtained after reflection has multiple vibration directions, wherein some light rays in the vibration directions are not favorable for the imaging of the image capturing unit 112 and are interference light. In the embodiment of the present application, the first polarization unit 111 is disposed on the incident light path of the image capturing unit 112, and the first polarization unit 111 can let the light in the same vibration direction pass through. The light in a certain vibration direction required for shooting by the camera unit 112 may be transmitted to obtain the first polarized light, and the first polarized light is transmitted into the camera unit to form an image of a shooting object in the camera unit, so that the influence of interference light in reflected light of the shooting object on image acquisition is reduced or eliminated, and the shooting quality of the camera unit is improved.
In some specific application scenarios, for example, under the condition that ambient light is insufficient, in order to improve the shooting quality, a clearer shooting picture is obtained, generally when image acquisition is performed, light supplement is performed through the light supplement light source, however, under the condition that the shooting object is a person, the light supplement light source irradiates on the shooting object, stimulation is generated on the shooting object, and the shooting object is not suitable, and the like, and therefore, in order to reduce stimulation generated by the light supplement light source on the shooting object, in this embodiment of the application, the adopted compensation device 120 includes the second polarization unit 122, and the second polarization unit 122 is disposed on an emergent light path of the light supplement light source 121.
In this embodiment of the application, the second polarization unit 122 may perform a light transmission process on the compensation light emitted by the light supplement light source 121 to obtain second polarization light, so that the stimulation of the compensation light to the shooting object may be reduced.
In order to enable the second polarized light to be absorbed by the image pickup unit after being reflected by the shooting object, in the embodiment of the application, the light transmission angles of the first polarization unit and the second polarization unit are the same.
In addition, in the embodiment of the present application, since the area of the compensation light source 121 is large, the size of the second polarization unit 122 used in the embodiment of the present application is matched with the size of the compensation light source 121.
The arrangement of the first polarization unit and the second polarization unit in the embodiment of the present application has the following specific implementation manners:
(1) the light transmission angles of the first polarizing unit and the second polarizing unit can be adjusted.
The first polarization unit may rotate in a plane perpendicular to incident light entering the imaging unit, a schematic rotation diagram of the first polarization unit is shown in fig. 2, and specifically, the first polarization unit may rotate clockwise in the plane or may rotate counterclockwise in the plane.
Similarly, the second polarizer may rotate in a plane perpendicular to the compensation light incident on the object, and of course, the rotation direction of the second polarizer may be clockwise or counterclockwise.
When the image acquisition equipment provided by the embodiment of the application is adopted for image acquisition, the light transmission angle of the first polarization unit and the light transmission angle of the second polarization unit can be adjusted, so that the light transmission angle of the first polarization unit is the same as the light transmission angle of the second polarization unit.
(2) The first polarization unit is fixedly disposed on an incident light path of the camera unit 112 at a predetermined angle, and a light transmission angle of the second polarization unit 122 is adjustable.
In this embodiment, the light transmission angle of the first polarization unit 111 is not adjustable, and when the image capturing device provided in the embodiment of the present application is used for image capturing, the light transmission angle of the second polarization unit can be adjusted by rotating the second polarization unit, so that the light transmission angle of the second polarization unit is the same as the light transmission angle of the first polarization unit.
(3) The light transmission angle of the first polarization unit is adjustable, and the second polarization unit is fixedly arranged on the emergent light path of the light supplement light source 121 at a preset angle.
In this kind of implementation, the light transmission angle of the second polarization unit is fixed, and may not be adjusted, and when using the image capture device provided in this application embodiment to perform image capture, the light transmission angle of the first polarization unit may be adjusted by rotating the first polarization unit, so that the light transmission angle of the first polarization unit is the same as the light transmission angle of the second polarization unit.
(4) The first polarization unit is fixedly arranged on an incident light path of the camera shooting unit at a preset angle, the second polarization unit is fixedly arranged on an emergent light path of the light supplementing light source at a preset angle, and the light transmission angles of the first polarization unit and the second polarization unit are the same.
In this embodiment, the transmission angles of the first and second polarizing units are not adjustable. When the image acquisition equipment is assembled, the light transmission angles of the first polarization unit and the second polarization unit are adjusted to be proper, the adjusted light transmission angle of the first polarization unit is the same as that of the second polarization unit, the first polarization unit is fixedly arranged on an incident light path of the camera shooting unit according to the adjusted light transmission angle, and the second polarization unit is fixedly arranged on an emergent light path of the light supplementing light source according to the adjusted light transmission angle.
In addition, in many high-precision image recognition application scenes, such as an eyeprint recognition application scene, the eyeball of a photographer may have a large area of specular reflection areas, such as a tear gathering area, and when the reflectivities of these areas are high, an unrecognizable blind area, such as a highlight white area, may occur in the image of the area acquired by the imaging unit, thereby possibly causing the eyeprint to be unrecognizable.
In view of the above, in the embodiment of the present application, the image capturing apparatus 110 further includes: a reflectance adjusting unit;
the light reflection degree adjusting unit is configured to determine the light reflection degree of the image acquired by the camera unit 112 in real time, and adjust the light transmission angle of the first polarization unit 111 according to the determined light reflection degree, so that the light reflection degree of the image acquired by the camera unit 112 at the current position is the minimum.
The reflectivity adjusting unit is specifically configured to continuously adjust a light transmission angle of the first polarization unit along a specified direction, and obtain the reflectivity of an image acquired by the camera unit 112 in real time; if the light reflectivity of the image is determined to be continuously reduced, the light transmission angle of the first polarization unit 111 is continuously adjusted along the fixed direction until the light reflectivity is not reduced any more.
The above-mentioned appointed direction can be clockwise, also can be anticlockwise, and the user can select according to present actual need according to oneself.
In the embodiment of the present application, the reflectivity of the image acquired by the camera unit 112 may be determined through the following process: performing binarization processing on the image acquired by the camera unit 112 to obtain a binarized image of the image; counting the number of the high-brightness pixels on the binary image, wherein the greater the number of the high-brightness pixels on the binary image is, the higher the reflectivity of the image is. Here, the high-luminance pixel refers to a pixel having a gray value of 1.
In a specific embodiment, the image capturing unit 112 captures an image of a photographed object and sends the captured image to the reflectance adjusting unit, the reflectance adjusting unit determines a reflectance of the image and controls the first polarizing unit 111 to rotate clockwise, the image capturing unit 112 continuously captures the image of the photographed object and sends the image to the reflectance adjusting unit while the reflectance adjusting unit controls the first polarizing unit 111 to rotate clockwise, and the reflectance adjusting unit determines a reflectance of the image and compares the reflectance of the image with a reflectance of a previous image.
If the reflectivity of the image is reduced compared with the reflectivity of the previous image, the first polarization unit 111 is continuously rotated clockwise to adjust the light transmission angle of the first polarization unit until the reflectivity of the image of the shooting object collected by the shooting unit 112 is not reduced any more;
if the reflectivity of the image is increased compared with the reflectivity of the previous image, the rotation angle of the first polarization unit is adjusted, and the first polarization unit 111 is controlled to rotate counterclockwise until the reflectivity of the image of the photographic object acquired by the camera unit 112 is not reduced any more.
In the process of adjusting the transmittance of the first polarization unit through the reflectance adjustment unit, it is necessary to ensure that the positions, parameters, and the like of other units in the image acquisition device are unchanged.
In the embodiment of the application, the light transmission angle of the first polarization unit is continuously adjusted through the reflection degree adjusting unit, so that the reflection degree of the collected image is lowest, and the blind area in the collected image can be reduced or even eliminated. An eye image acquired before the transmittance of the first polarizing unit is adjusted by the reflectance adjusting unit is shown in fig. 3(a), and an eye image acquired after the transmittance of the first polarizing unit is adjusted by the reflectance adjusting unit is shown in fig. 3 (b). As can be seen from a comparison of fig. 3(a) and 3(b), the blind area of the eye in fig. 3(b) is reduced.
In the embodiment of the invention, the light transmission angle of the first polarization unit is adjusted by the light reflection degree adjusting unit, so that the automatic adjustment of the light transmission angle of the first polarization unit is realized, the adjustment precision is higher, and meanwhile, the image acquisition precision is also improved.
It can be known from the above description that, in the embodiment of the present application, the light supplementing light source is subjected to filtering processing by using the second polarization unit, so that only polarized light at a specific angle can be irradiated on the photographic subject through the second polarization unit in light emitted by the light supplementing light source, and light supplementation outside the specific angle is filtered out, light stimulation to eyes of the photographic subject can be greatly reduced, and because the intensity of the polarized light irradiated on the specific angle of the photographic subject is not reduced, therefore, the camera unit receives the polarized light at the specific angle reflected by the photographic subject at the same transmission angle, so that the accuracy of the acquired image is not reduced, and the captured image still can be ensured to have high accuracy. According to the embodiment of the application, for scenes such as eye recognition and the like requiring high-precision image acquisition, on one hand, the eye light stimulation to a shooting object can be reduced, and on the other hand, the accuracy of image acquisition can be ensured.
The photographic subject mentioned in the embodiments of the present application may be a light-sensitive living being such as a human being, an animal, or the like or a partial region of a human being, an animal, or may also be a light-sensitive object such as an art work or the like.
According to the image acquisition equipment provided by the embodiment of the application, the first polarization unit is arranged on the incident light path of the camera shooting unit, and the incident light entering the camera shooting unit is subjected to light transmission processing to obtain the first polarized light, so that the influence of interference light on shooting can be eliminated, and the shooting effect is improved; and arranging a second polarization unit on an emergent light path of the light supplementing light source, and performing light transmission treatment on the compensation light emitted by the light supplementing light source to obtain second polarized light, so that the stimulation to a shooting object is reduced.
Based on the same thought as the image acquisition equipment that above-mentioned embodiment provided, this application embodiment still provides an eye image acquisition equipment, and this eye image acquisition equipment mainly used gathers the eye image of shooting objects such as people or animal, can use in fields such as payment, authentication. Fig. 4 is a schematic structural diagram of an image capturing device provided in an embodiment of the present application, and for the device shown in fig. 4, differences from the image capturing device in the above embodiment are mainly introduced, and reference may be made to the description in the above embodiment of the image capturing device for the same points, and details are not repeated here. As shown in fig. 4, the apparatus includes: an eye image acquisition device 310 and a light supplement device 320;
the eye image capture device 310 includes: a first polarization unit 311 and an eye imaging unit 312; the first polarization unit 311 is disposed on an incident light path of the eye imaging unit 312, and is configured to transmit light to the eye imaging unit 312 to obtain first polarized light;
the light supplement device 320 includes: a fill light source 321 and a second polarization unit 322; the second polarization unit 322 is disposed on an exit light path of the light supplement light source 321, and is configured to perform a light transmission process on the compensation light emitted from the light supplement light source 321 to obtain second polarized light.
Each of the first and second polarizing units 311 and 322 may be a polarizing plate, a polarizing film, a polarizing lens, or the like.
In one embodiment, the first polarizing unit 311 is preferably a polarizing plate, and the second polarizing unit 322 is preferably a polarizing film.
In addition, when the eye image of the person is collected, the supplementary lighting source irradiates the eye area of the person, and the supplementary lighting source can stimulate the eye area of the person. The green light is less irritating to human eyes, i.e. less harmful to human eyes. Therefore, in the embodiment of the present application, when the eye imaging unit 312 is an eye pattern capture unit; accordingly, the light supplement device 320 is used for emitting green polarized light.
The eye pattern acquisition unit is mainly used for acquiring the texture of the white part of the eyes of the shooting object, such as blood vessel texture and the like.
In the embodiment of the present application, the polarized light emitted by the light supplement device 320 can be green polarized light by using a specific type of second polarization unit.
In some application scenarios, such as identity authentication, etc., it may be necessary to acquire iris features of a photographic subject, and when the iris features of the photographic subject are adopted, infrared light is generally used. In the prior art, special hardware such as an infrared lamp or an infrared camera is generally adopted to collect iris features, so that the special hardware is required to be equipped, which may be troublesome on one hand and may lead to higher cost. Therefore, in the present embodiment, when the above-described eye imaging unit 312 is an iris imaging unit; accordingly, the light supplement device 320 is configured to emit infrared polarized light.
In this embodiment of the application, polarized light emitted by the light supplement device 320 can be infrared polarized light by using a second polarization unit of a specific type, so that the use of special hardware such as an infrared lamp or an infrared camera is avoided, and only a suitable second polarization unit needs to be selected.
When using eye image acquisition equipment to gather the eye image of shooting the object, need adjust the shooting focus of eye camera unit to make eye camera unit can shoot clear eye image, in order to avoid adjusting the shooting focus of eye camera unit through artifical mode, in this application embodiment, above-mentioned eye image acquisition device 310 still includes: an eye focusing unit;
the eye focusing unit is used for adjusting the shooting focus of the eye shooting unit according to the shooting object image collected by the eye shooting unit and focusing the shooting focus on the eye area of the shooting object.
In one embodiment, the shooting focus of the eye imaging unit can be adjusted by:
the eye image pickup unit is used for collecting images of shot objects, dividing the collected images of the shot objects into a plurality of areas, respectively determining the definition of each area, comparing the definitions corresponding to the areas, and determining the area with the highest definition as the shooting focus of the current eye image pickup unit. And the eye focusing unit adjusts the shooting focus towards the eye region of the shooting object according to the relative position relation between the position of the shooting object corresponding to the region with the highest definition and the eye region.
In order to improve the accuracy of focusing the shooting focus of the eye imaging unit, in the embodiment of the invention, in the process that the eye focusing unit adjusts the shooting focus of the eye imaging unit, the image of the shooting object acquired by the current imaging unit can be continuously acquired, and the adjusting direction of the eye focusing unit to the shooting focus of the eye imaging unit is continuously adjusted.
In addition, in order to acquire clear eye images, in the embodiment of the present invention, the eye imaging unit 312 may select a camera, or the like with high definition.
According to the eye image acquisition equipment provided by the embodiment of the application, the first polarization unit is arranged on the incident light path of the eye photographing unit, and the incident light entering the eye photographing unit is subjected to light transmission treatment to obtain the first polarized light, so that the influence of interference light on photographing can be eliminated, and the photographing effect is improved; and arranging a second polarization unit on an emergent light path of the light supplementing light source, and performing light transmission treatment on the compensation light emitted by the light supplementing light source to obtain second polarized light, so that the stimulation of the compensation light to the eyes of the shooting object is reduced.
Based on the eye image capturing device shown in fig. 4, an embodiment of the present application further provides an eye image capturing method applied to the eye image capturing device shown in fig. 4, fig. 5 shows a flowchart of a method of the eye image capturing method provided in the embodiment of the present application, and in fig. 5, the method includes the following steps:
s402, adjusting the relative positions of the eye region of the shooting object, the first polarization unit and the eye shooting unit, so that the first polarization unit conducts light transmission processing on light reflected by the eye region of the shooting object, and the first polarized light after the light transmission processing is projected to the eye shooting unit;
s404, adjusting the relative positions of the second polarization unit and the light supplement light source to enable the second polarization unit to perform light transmission processing on emergent light of the light supplement light source, and projecting the second polarized light after the light transmission processing to the eye region of the shooting object.
The emergent light of the light supplement light source refers to compensation light emitted by the light supplement light source.
S406, the light transmission angles of the second polarization unit and the first polarization unit are adjusted to be consistent.
Specifically, in adjusting the relative position indexes of the eye region of the shooting object, the first polarization unit and the eye shooting unit, the method provided by the embodiment of the application further comprises the following steps (a) and (b);
step (a), determining the reflectivity of an image acquired by a camera unit in real time;
and (b) adjusting the light transmission angle of the first polarization unit according to the determined reflection degree so as to enable the reflection degree of the image collected by the camera unit at the current position to be minimum.
In an embodiment of the present application, the specific process of determining the reflectivity of the image acquired by the camera unit includes: carrying out binarization processing on the image acquired by the camera shooting unit to obtain a binarized image of the image; counting the number of the high-brightness pixels on the binary image, wherein the greater the number of the high-brightness pixels on the binary image is, the higher the reflectivity of the image is. Here, the high-luminance pixel refers to a pixel having a gray value of 1.
Specifically, the above steps (a) and (b) are both performed by the light reflectance adjusting unit in the eye image capturing apparatus. The light reflection degree adjusting unit can be arranged in an eye image acquisition device on the eye image acquisition equipment.
In this embodiment of the application, in the step (b), adjusting a light transmission angle of the first polarizing unit to minimize a light reflection degree of an image collected by the eye imaging unit specifically includes:
continuously adjusting the light transmission angle of the first polarization unit along the designated direction, and acquiring the light reflection degree of the image acquired by the eye shooting unit in real time; if the reflection degree of the image is judged to be continuously reduced, the light transmission angle of the first polarization unit is continuously adjusted along the specified direction until the reflection degree is not reduced any more.
In a specific implementation mode, the eye imaging unit acquires an image of a shot object and sends the acquired image to the reflectivity adjusting unit, the reflectivity adjusting unit determines the reflectivity of the image and controls the first polarizing unit to rotate clockwise, the eye imaging unit continuously acquires the image of the shot object and sends the image to the reflectivity adjusting unit in the process that the reflectivity adjusting unit controls the first polarizing unit to rotate clockwise, and the reflectivity adjusting unit determines the reflectivity of the image and compares the reflectivity of the image with the reflectivity of the previous image.
If the reflectivity of the image is reduced compared with the reflectivity of the previous image, the first polarization unit is continuously rotated in the clockwise direction to adjust the light transmission angle of the first polarization unit until the reflectivity of the image of the shooting object collected by the shooting unit is not reduced any more;
and if the reflectivity of the image is increased compared with the reflectivity of the previous image, adjusting the rotation angle of the first polarization unit, and controlling the first polarization unit to rotate in the anticlockwise direction until the reflectivity of the image of the shooting object, which is acquired by the shooting unit, is not reduced any more.
In the process of adjusting the transmittance of the first polarization unit through the reflectance adjustment unit, it is necessary to ensure that the positions, parameters, and the like of other units in the image acquisition device are unchanged.
In the embodiment of the application, the light transmission angle of the first polarization unit is continuously adjusted through the reflection degree adjusting unit, so that the reflection degree of the collected image is lowest, and the blind area in the collected image can be reduced or even eliminated.
Fig. 6 shows a flowchart of a second method of an eye image capturing method provided by the embodiment of the present application, where in fig. 6, the method includes the following steps:
s502, adjusting the relative positions of the eye region of the shooting object, the first polarization unit and the eye shooting unit so that the first polarization unit conducts light transmission processing on light reflected by the eye region of the shooting object, and the first polarized light after the light transmission processing is projected to the eye shooting unit;
s504, collecting the image of the camera object through the eye camera unit, and sending the collected image to the reflection degree adjusting unit;
s505, the reflectivity adjusting unit determines the reflectivity of the image acquired by the camera unit in real time;
s506, the reflection degree adjusting unit controls the first polarizing unit to rotate along the designated direction so as to adjust the light transmission angle of the first polarizing unit;
s510, in the process that the reflection adjusting unit controls the first polarization unit to rotate, the reflection adjusting unit determines the reflection of the image in real time according to the image collected by the eye shooting unit;
s512, if the reflectivity of the image is judged to be continuously reduced, the light transmission angle of the first polarization unit is continuously rotated along the specified direction until the reflectivity is not reduced any more;
s514, adjusting the relative positions of the second polarization unit and the light supplement light source to enable the second polarization unit to perform light transmission processing on emergent light of the light supplement light source, and projecting the second polarized light after the light transmission processing to the eye region of the shooting object;
and S516, adjusting the light transmission angles of the first polarization unit and the second polarization unit to be consistent.
In step S516, the transmission angles of the first and second polarization units may be made to coincide by rotating the transmission angle of the first polarization unit.
According to the eye image acquisition method provided by the embodiment of the application, the incident light entering the eye photographing unit is subjected to light transmission treatment through the first polarization unit arranged on the incident light path of the eye photographing unit to obtain the first polarized light, so that the influence of interference light on photographing can be eliminated, and the photographing effect is improved; through the second polarization unit arranged on the emergent light path of the light supplementing light source, the compensation light emitted by the light supplementing light source is subjected to light transmission treatment to obtain second polarized light, so that the stimulation of the compensation light to the eyes of a shooting object is reduced.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.