Image acquisition device and security equipment
By combining a visible lens and a near-infrared lens in the image acquisition device, adjusting the lens focal length and fill light brightness according to the image type, the complexity and high cost problems of various image acquisition devices in the prior art are solved, and multimodal fusion recognition and clear image acquisition are realized.
Patent Information
- Application Number
- CN202411734499.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-03-11
AI Technical Summary
In the existing security technology, it is necessary to collect information on different objects through multiple different image acquisition devices, resulting in high acquisition costs and complex operation.
An image acquisition device is designed, including a visible light lens, a near-infrared lens and a processor. By acquiring and identifying the image type of the prejudged image, the focal length of the lens and the brightness of the fill light are adjusted to meet the focus clarity range of different image types.
Multimodal fusion recognition is realized, including QR code, palm and face, reducing acquisition costs and operational complexity, and obtaining clearer images.
Smart Images

Figure CN119603529A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of security, and in particular to an image acquisition device and security equipment. Background Art
[0002] In the field of security, the object of information collection may be a non-biometric image, such as a QR code or a barcode, or it may be a different type of biometric feature, such as a palm, face, etc. In the related art, it is necessary to use multiple different image acquisition devices to collect information on different objects, which is costly and complicated to operate. Summary of the invention
[0003] In order to solve the related technical problems, the embodiments of the present application provide an image acquisition device and an image acquisition method.
[0004] The embodiment of the present application provides an image acquisition device, the image acquisition device comprising: a visible light lens, a near infrared lens and a processor, the visible light lens and the near infrared lens being arranged in the same set area of the image acquisition device;
[0005] The processor is used to obtain a first predicted image taken by the visible light lens, and identify an image type of the first predicted image, wherein the image type includes: a first image type, a second image type, or a third image type; wherein the first image type represents an image with a one-dimensional barcode or a two-dimensional barcode; the second image type represents an image with palm vein information; and the third image type represents an image with facial information;
[0006] The processor is further used to adjust the focal length of the visible light lens, or adjust the focal length of the visible light lens and the focal length of the near-infrared lens based on the image type of the first predicted image, so that the adjusted lens satisfies the focus clarity range corresponding to the image type of the first predicted image; the focus clarity range represents an effective distance range in which the lens can clearly form an image, and the effective distance represents the distance between the lens and the object being photographed;
[0007] The processor is further used to control the visible light lens, or control the visible light lens and the near infrared lens to shoot simultaneously, so as to obtain a first image.
[0008] In the above-mentioned image acquisition device, adjusting the focal length of the visible light lens, or adjusting the focal length of the visible light lens and the focal length of the near-infrared lens based on the image type of the first predicted image, so that the adjusted lens satisfies the focus clarity range corresponding to the image type of the first predicted image, includes:
[0009] When the image type of the first predicted image is the first image type, adjusting the focal length of the visible light lens so that the visible light lens satisfies a first focusing clarity range corresponding to the first image type;
[0010] When the image type of the first predicted image is the second image type, adjusting the focal length of the visible light lens and the focal length of the near infrared lens so that both the visible light lens and the near infrared lens meet a second focus clarity range corresponding to the second image type;
[0011] When the image type of the first prediction image is the third image type, adjusting the focal length of the visible light lens and the focal length of the near infrared lens so that both the visible light lens and the near infrared lens meet the third focus clarity range corresponding to the third image type; wherein,
[0012] The first focus clarity range and the second focus clarity range overlap in whole or in part; the maximum values in the first focus clarity range and the second focus clarity range are both smaller than the minimum value in the third focus clarity range.
[0013] In the above-mentioned image acquisition device, the processor is also used to adjust the focal length of the visible light lens when the image type of the first predicted image is the first image type, so that the viewing angle range of the visible light lens is not less than the first set viewing angle range; when the image type of the first predicted image is the second image type, adjust the focal length of the visible light lens and the focal length of the near-infrared lens, so that the viewing angle range of the visible light lens and the viewing angle range of the near-infrared lens are both not less than the first set viewing angle range.
[0014] In the above-mentioned image acquisition device, the processor is also used to adjust the focal length of the visible light lens and the focal length of the near-infrared lens based on the first distance when the image type of the first predicted image is the third image type, so that the viewing angle range of the visible light lens and the viewing angle range of the near-infrared lens are not less than the first set viewing angle range, or the viewing angle range of the visible light lens and the viewing angle range of the near-infrared lens are not greater than the second set viewing angle range; the first distance represents the distance between the visible light lens or the near-infrared lens and the subject.
[0015] In the above-mentioned image acquisition device, the image acquisition device includes a visible light fill light, a first near-infrared fill light and a second near-infrared fill light; wherein the light emitting angle range of the first near-infrared fill light is greater than the light emitting angle range of the second near-infrared fill light.
[0016] The processor is further used to turn on the visible light fill light when the image type of the first predicted image is the first image type; turn on the visible light fill light and the first near-infrared fill light when the image type of the first predicted image is the second image type; and turn on the second near-infrared fill light when the image type of the first predicted image is the third image type.
[0017] In the above-mentioned image acquisition device, the processor is also used to adjust the brightness of the visible light fill light and / or adjust the brightness of the first near-infrared fill light or the second near-infrared fill light based on the first distance; the first distance represents the distance between the visible light lens or the near-infrared lens and the object being photographed.
[0018] In the above-mentioned image acquisition device, the image acquisition device further comprises at least one distance sensor;
[0019] The first distance is obtained based on an analysis of the second distance and / or the third distance; the second distance represents a distance calculated based on the first prediction image; and the third distance represents a distance received from the distance sensor.
[0020] In the above-mentioned image acquisition device, the step of controlling the visible light lens and the near infrared lens to shoot simultaneously comprises:
[0021] Controlling the visible light lens to shoot and obtain a second image;
[0022] While controlling the visible light lens to shoot, the near infrared lens is controlled to shoot at the same time to obtain a third image; the second image and the third image are used together by the processor to process to obtain the first image.
[0023] In the above-mentioned image acquisition device, the image acquisition device further includes:
[0024] The communication module is used to send the first image to a setting authentication system, so that the setting authentication system performs identity authentication based on the first image.
[0025] An embodiment of the present application further provides a security device, which includes the image acquisition device described in any one of the above items.
[0026] In an embodiment of the present application, an image acquisition device includes: a visible light lens, a near-infrared lens and a processor, wherein the visible light lens and the near-infrared lens are arranged in the same set area of the image acquisition device. By acquiring a first prejudgment image taken by the visible light lens and identifying the image type of the first prejudgment image, based on the image type of the first prejudgment image, the focal length of the visible light lens is adjusted, or the focal length of the visible light lens and the focal length of the near-infrared lens are adjusted, so that the adjusted lens satisfies the focus clarity range corresponding to the image type of the first prejudgment image, the focus clarity range represents the effective distance range in which the lens can form a clear image, and the effective distance represents the distance between the lens and the object being photographed. Wherein, the image type includes: a first image type or a second image type or a third image type; the first image type represents an image with a one-dimensional barcode or a two-dimensional barcode; the second image type represents an image with palm vein information; the third image type represents an image with face information. By adjusting the lens to meet the corresponding focusing clarity range, the visible light lens can be controlled, or the visible light lens and the near-infrared lens can be controlled to shoot simultaneously, which not only realizes the multimodal fusion recognition of QR codes, palms and faces, but also enables the lens to meet the focusing clarity range corresponding to different image types, thereby obtaining a clearer first image. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A schematic diagram of an image acquisition device according to an embodiment of the present application;
[0028] Figure 2 A schematic diagram of another image acquisition device according to an embodiment of the present application;
[0029] Figure 3 Schematic diagram of the process of the image acquisition method according to an embodiment of the present application. DETAILED DESCRIPTION
[0030] In scenarios where information authentication or identification is required, different objects are generally captured using different image acquisition devices, such as using a palm print recognition device placed flat on a table to identify palm veins, using a vertical or tilted face recognition device to identify faces, and using dedicated equipment to capture one-dimensional or two-dimensional barcodes. Since different types of objects are at different distances from the camera, and different types of objects have different shape features and detail features, the same image acquisition device in the related art cannot simultaneously meet the shooting clarity requirements of different types of objects.
[0031] In an embodiment of the present application, an image acquisition device includes: a visible light lens, a near-infrared lens and a processor, wherein the visible light lens and the near-infrared lens are arranged in the same set area of the image acquisition device. By acquiring a first prejudgment image taken by the visible light lens and identifying the image type of the first prejudgment image, based on the image type of the first prejudgment image, the focal length of the visible light lens is adjusted, or the focal length of the visible light lens and the focal length of the near-infrared lens are adjusted, so that the adjusted lens satisfies the focus clarity range corresponding to the image type of the first prejudgment image, the focus clarity range represents the effective distance range in which the lens can form a clear image, and the effective distance represents the distance between the lens and the object being photographed. Wherein, the image type includes: a first image type or a second image type or a third image type; the first image type represents an image with a one-dimensional barcode or a two-dimensional barcode; the second image type represents an image with palm vein information; the third image type represents an image with face information. By adjusting the lens to meet the corresponding focusing clarity range, the visible light lens can be controlled, or the visible light lens and the near-infrared lens can be controlled to shoot simultaneously, which not only realizes the multimodal fusion recognition of QR codes, palms and faces, but also enables the lens to meet the focusing clarity range corresponding to different image types, thereby obtaining a clearer first image.
[0032] The present application embodiment provides an image acquisition device, referring to Figure 1 , the image acquisition device comprises: a visible light lens 101, a near infrared lens 102 and a processor 103, wherein the visible light lens and the near infrared lens are arranged in the same set area of the image acquisition device;
[0033] The processor 103 is used to obtain a first predicted image taken by the visible light lens, and identify an image type of the first predicted image, where the image type includes: a first image type, a second image type, or a third image type; wherein the first image type represents an image with a one-dimensional barcode or a two-dimensional barcode; the second image type represents an image with palm vein information; and the third image type represents an image with face information;
[0034] The processor 103 is further configured to adjust the focal length of the visible light lens, or adjust the focal length of the visible light lens and the focal length of the near-infrared lens based on the image type of the first predicted image, so that the adjusted lens satisfies a focus clarity range corresponding to the image type of the first predicted image; the focus clarity range represents an effective distance range in which the lens can clearly form an image, and the effective distance represents a distance between the lens and the object being photographed;
[0035] The processor 103 is further configured to control the visible light lens, or control the visible light lens and the near infrared lens to shoot simultaneously, so as to acquire a first image.
[0036] In the embodiment of the present application, the visible light lens includes an RGB lens, that is, a lens that uses the standard red (Red), green (Green), and blue (Blue) channels to capture color information and texture information within the visible light spectrum; the near-infrared lens is a lens that shoots based on the reflective characteristics of near-infrared light, and the lens can avoid interference from factors such as weak light, reflections, and color.
[0037] In the embodiment of the present application, the visible light lens and the near infrared lens are arranged in the same set area of the image acquisition device, and the shape and area size of the set area are determined by the actual image acquisition requirements. For example, in most security or identity authentication scenarios, the shape of the set area can be rectangular, circular or elliptical. In some special cases, when it is necessary to cover multiple different areas, the shape of the set area can be irregular. The visible light lens and the near infrared lens can be combined to form a binocular lens or a binocular camera. In actual imaging, the visible light lens and the near infrared lens can share the same image sensor, or each lens uses an image sensor. The image sensor can convert the optical signal captured by the lens into an electrical signal, and then convert it into a digital signal through an internal analog-to-digital converter. The image sensor can also be called an imaging element or an imaging unit. The image sensor can be a complementary metal oxide semiconductor (CMOS, Complementary Metal Oxide Semiconductor), a charge coupled device (CCD, Charge Coupled Device), a contact image sensor (CIS, Contact Image Sensor), a 3D-ToF (Time of Flight 3D Image Sensors) image sensor or a thermal image sensor (TIS, Thermal Image Sensor). Furthermore, different image sensor parameters may be used to perform image processing for different types of images, thereby obtaining clearer images.
[0038] In an embodiment of the present application, the image acquisition device includes a processor, and the processor is used to obtain a first prediction image taken by the visible light lens. In actual application, the visible light lens in the image acquisition device can be kept in an open state and periodically take images. In actual application, the first prediction image can be taken only by the visible light lens without the participation of the near-infrared lens. The first prediction image can be a clear or slightly blurred image, that is, the requirements for the clarity or quality of the first prediction image are not high, and it is only necessary to meet the requirements that the detection algorithm can be used to judge or identify what type of image is in the first prediction image. Since the requirements for clarity or quality are not high and the near-infrared lens does not need to be involved in the shooting, the image shooting speed can be improved to a certain extent.
[0039] In an embodiment of the present application, the detection algorithm includes one or more of a liveness detection algorithm, a scale-invariant feature transform algorithm (SIFT), a classification algorithm based on machine learning, or an algorithm based on deep learning. The detection algorithm is used to identify the image type of the first prediction image, and the image type includes: a first image type, a second image type, or a third image type. Among them, the first image type represents an image with a one-dimensional barcode or a two-dimensional barcode, and the image of the two-dimensional barcode can also be called a two-dimensional code; the second image type represents an image with palm vein information; the third image type represents an image with face information.
[0040] In an embodiment of the present application, the focal length of the visible light lens can be adjusted based on the image type of the first predicted image, or the focal lengths of the visible light lens and the near-infrared lens can be adjusted so that the adjusted lens meets the focusing clarity range corresponding to the image type of the first predicted image.
[0041] In the embodiment of the present application, the focus clarity range refers to the effective distance range in which the lens can clearly image. For example, the focus clarity range of the lens for the palm is 5cm to 15cm. When the palm is between 5cm and 15cm away from the lens, the parameters of the lens can be adjusted (for example, adjusting the aperture, shutter, ISO or the distance between the lens and the imaging sensor) to focus; but when the palm is less than 5cm away from the lens or the palm is greater than 15cm away from the lens, no matter how the parameters of the lens are adjusted, a clear palm image cannot be obtained. Among them, the distance in the focus clarity range refers to the distance between the lens and the object being photographed. Furthermore, the related art adopts a single lens solution with fixed focus, in which the focus clarity range cannot be adjusted, so when the object being captured is far or close, a clearer picture cannot be obtained.
[0042] In one embodiment, in the above-mentioned image acquisition device, adjusting the focal length of the visible light lens, or adjusting the focal length of the visible light lens and the focal length of the near-infrared lens based on the image type of the first predicted image, so that the adjusted lens satisfies the focus clarity range corresponding to the image type of the first predicted image, includes:
[0043] When the image type of the first predicted image is the first image type, adjusting the focal length of the visible light lens so that the visible light lens satisfies a first focusing clarity range corresponding to the first image type;
[0044] When the image type of the first predicted image is the second image type, adjusting the focal length of the visible light lens and the focal length of the near infrared lens so that both the visible light lens and the near infrared lens meet a second focus clarity range corresponding to the second image type;
[0045] When the image type of the first prediction image is the third image type, adjusting the focal length of the visible light lens and the focal length of the near infrared lens so that both the visible light lens and the near infrared lens meet the third focus clarity range corresponding to the third image type; wherein,
[0046] The first focus clarity range and the second focus clarity range overlap in whole or in part; the maximum values in the first focus clarity range and the second focus clarity range are both smaller than the minimum value in the third focus clarity range.
[0047] In an embodiment of the present application, when the image type of the first predicted image is the first image type, that is, when the first predicted image is a one-dimensional or two-dimensional barcode, it is not necessary to shoot with a near-infrared lens, and a visible light lens can be used for shooting. The focal length of the visible light is adjusted so that the visible light lens meets the first focusing clarity range corresponding to the first image type. Exemplarily, the first focusing clarity range can be 5cm to 20cm. At the same time, when adjusting the visible light lens, the sensitivity ISO parameters and automatic exposure (AE, Auto Exposure) parameters corresponding to the first image type can also be used.
[0048] In an embodiment of the present application, when the image type of the first predicted image is the second image type, that is, when the first predicted image is an image with palm vein information, the focal length of the visible light lens and the focal length of the near-infrared lens are adjusted so that both the visible light lens and the near-infrared lens meet the second focus clarity range corresponding to the second image type. Exemplarily, the second focus clarity range can be 5cmm to 15cm or 5cm to 20cm. At the same time, when adjusting the visible light lens and the near-infrared lens, the ISO parameters and AE parameters corresponding to the second image type can also be used.
[0049] In an embodiment of the present application, when the image type of the first predicted image is the third image type, that is, when the first predicted image is an image with facial information, the focal length of the visible light lens and the focal length of the near-infrared lens are adjusted so that both the visible light lens and the near-infrared lens meet the third focus clarity range corresponding to the third image type. Exemplarily, the third focus clarity range can be 40cm to 200cm. At the same time, when adjusting the visible light lens and the near-infrared lens, the ISO parameters and AE parameters corresponding to the third image type can also be used.
[0050] In an embodiment of the present application, in view of the different sizes and distances of the captured objects in different image types, the first focus clarity range and the second focus clarity range overlap in whole or in part; the maximum values of the first focus clarity range and the second focus clarity range are both smaller than the minimum value of the third focus clarity range.
[0051] In the embodiment of the present application, the focal length of the visible light lens is adjusted based on the image type of the first predicted image, or the focal length of the visible light lens and the focal length of the near-infrared lens are adjusted, that is, different lenses are used for different image types, so that the adjusted lens meets the focus clarity range corresponding to the image type of the first predicted image. For each image type, not only the corresponding lens is used, but also different focus clarity ranges are set, and the relationship between different focus clarity ranges is specified, which can help the visible light lens, or the visible light lens and the near-infrared lens, to capture clearer pictures.
[0052] In one embodiment, in the above-mentioned image acquisition device, the processor is further used for:
[0053] When the image type of the first predicted image is the first image type, adjust the focal length of the visible light lens so that the viewing angle range of the visible light lens is not less than the first set viewing angle range; when the image type of the first predicted image is the second image type, adjust the focal length of the visible light lens and the focal length of the near-infrared lens so that the viewing angle range of the visible light lens and the viewing angle range of the near-infrared lens are both not less than the first set viewing angle range.
[0054] In the embodiment of the present application, after adjusting different focus clarity ranges for different image types, the proportion of the object in the captured image occupying the entire image may be too large. At this time, it is necessary to further adjust the focal length for different image types. When the image type of the first pre-judgment image is the first image type, that is, when the first pre-judgment image is a one-dimensional or two-dimensional barcode, the focal length of the visible light lens is adjusted so that the viewing angle range of the visible light lens is not less than the first set viewing angle range. When the image type of the first pre-judgment image is the second image type, that is, the first pre-judgment image is an image with palm vein information, since the near-infrared lens can collect deep line information of the palm print, the focal length of the visible light lens and the focal length of the near-infrared lens are adjusted so that the viewing angle range of the visible light lens and the viewing angle range of the near-infrared lens are not less than the first set viewing angle range. Exemplarily, the first set viewing angle range can be 110 degrees. In actual application, a lens not less than 110 degrees can also be called an ultra-wide-angle lens. To ensure that the lens is adjusted to the first set viewing angle range, the focal length of the lens can be adjusted to a shorter focal length, for example, less than 16 mm, wherein the smaller the focal length, the larger the viewing angle, and the more content of the captured picture. Furthermore, the processor can also automatically perform distortion correction on the captured picture.
[0055] In an embodiment of the present application, when the first predicted image is of the first or second image type, by further adjusting the focal length of the visible light lens, or adjusting the focal lengths of the visible light lens and the near-infrared lens so that the viewing angle range of the lens is not less than the first set viewing angle range, it can be ensured that the lens captures a complete barcode image or a complete palm image, thereby preventing the viewing angle range from being too small and only capturing missing or partial images.
[0056] In one embodiment, in the above-mentioned image acquisition device, the processor is further used for:
[0057] When the image type of the first prediction image is the third image type, based on the first distance, the focal length of the visible light lens and the focal length of the near-infrared lens are adjusted so that the viewing angle range of the visible light lens and the viewing angle range of the near-infrared lens are not less than the first set viewing angle range, or the viewing angle range of the visible light lens and the viewing angle range of the near-infrared lens are not greater than the second set viewing angle range; the first distance represents the distance between the visible light lens or the near-infrared lens and the subject.
[0058] In the embodiment of the present application, after adjusting different focus clarity ranges for different image types, the proportion of the object in the captured image to the overall image may be too large or too small. At this time, it is necessary to further adjust the focal length for different image types and the distance of different image types. In the case where the image type of the first predicted image is the third image type, that is, when the first predicted image is an image with facial information, the distance between the face and the lens may be far or near, so it is necessary to adjust the focal length of the visible light lens and the focal length of the near-infrared lens based on the first distance, when the face distance is close, so that the viewing angle range of these two lenses is not less than the first set viewing angle range, ensuring that the image of the complete face can be captured; when the face distance is far, adjust the focal length of the visible light lens and the focal length of the near-infrared lens, so that the viewing angle range of these two lenses is not greater than the second set viewing angle range, to prevent the area of the face from occupying too small a proportion of the entire image area. The first distance represents the distance between the visible light lens and the object, or the distance between the near infrared lens and the object. In actual application, since the visible light lens and the near infrared lens are set in the same set area, the present application considers that the distance between the object and the visible light lens or the near infrared lens is the same, which is the first distance. For example, the second set viewing angle range can be a viewing angle range of 90 degrees. In actual application, the viewing angle range can be set to 60 degrees to 90 degrees.
[0059] In an embodiment of the present application, when the first predicted image is of the third image type, by further adjusting the focal lengths of the visible light lens and the near-infrared lens based on the first distance, not only can it be ensured that both lenses capture a complete facial image, but it can also prevent the area of the face from occupying too small a proportion of the entire image area, thereby capturing more facial information.
[0060] In one embodiment, in the above-mentioned image acquisition device, controlling the visible light lens and the near infrared lens to shoot simultaneously includes:
[0061] Controlling the visible light lens to shoot and obtain a second image;
[0062] While controlling the visible light lens to shoot, the near infrared lens is controlled to shoot at the same time to obtain a third image; the second image and the third image are used together by the processor to process to obtain the first image.
[0063] In the embodiment of the present application, the first image can be acquired by controlling the visible light lens; or the first image can be acquired by controlling the visible light lens and the near infrared lens to shoot at the same time. Controlling the visible light lens and the near infrared lens to shoot at the same time includes: shooting with the visible light lens to obtain the second image, and at the same time, controlling the near infrared lens to shoot at the same time to obtain the third image. The processor can synthesize the second image and the third image together to obtain the first image.
[0064] In an embodiment of the present application, the second image is obtained by shooting through a visible light lens, and at the same time, the near-infrared lens is controlled to shoot simultaneously to obtain a third image. A first image having visible light reflection information and near-infrared light reflection information can be obtained, thereby increasing the information richness of the collected image and being beneficial to improving the quality of the collected image.
[0065] In one embodiment, the image acquisition device includes a visible light fill light, a first near-infrared fill light and a second near-infrared fill light; wherein the light emitting angle range of the first near-infrared fill light is greater than the light emitting angle range of the second near-infrared fill light.
[0066] The processor is further used to turn on the visible light fill light when the image type of the first predicted image is the first image type; turn on the visible light fill light and the first near-infrared fill light when the image type of the first predicted image is the second image type; and turn on the second near-infrared fill light when the image type of the first predicted image is the third image type.
[0067] In the embodiment of the present application, since the barcode or palm is close to the lens, light blocking may occur, so the visible light fill light is used to fill light when the image of the first predicted image is of the first image type or the second image type, that is, a one-dimensional barcode or a two-dimensional barcode or an image of palm vein information. Exemplarily, the visible light fill light can be a visible light LED lamp with a light emitting angle range of 120 degrees and a wavelength of 420nm to 660nm.
[0068] In an embodiment of the present application, when the first predicted image includes biometric features, it is necessary to turn on the near-infrared fill light to obtain more biometric feature information. When the image type of the first predicted image is the second image type, turn on the visible light fill light and the first near-infrared fill light. Exemplarily, the first near-infrared fill light is a fill light with an angle range greater than or equal to H130°*V110°, wherein H130° indicates that in the horizontal direction, the light of the fill light can cover an angle range of 130 degrees; V110° indicates that in the vertical direction, the light of the fill light can cover an angle range of 110 degrees. Exemplarily, the first near-infrared fill light uses a fill light with a wavelength of 850nm. Exemplarily, the first near-infrared fill light uses 1.5-times light source technology, so that its light distribution is more uniform, and the edge intensity is relatively high, that is, the edge intensity of the 1.5-times integrated light source is higher than the middle intensity, so that its light forms a more uniform light intensity distribution on a certain specific plane.
[0069] In an embodiment of the present application, when the first predicted image includes biometric features, it is necessary to turn on a near-infrared fill light to obtain more biometric feature information. When the image type of the first predicted image is the third image type, turn on the second near-infrared fill light. In order to obtain better lighting conditions, the visible light fill light and the second near-infrared fill light can also be turned on at the same time. Among them, exemplarily, the second near-infrared fill light adopts a near-infrared fill light with a wavelength of 850nm and a light-emitting angle range of 90 degrees or 60 degrees. Exemplarily, the visible light fill light can adopt a visible light LED lamp with a wavelength of 420nm to 660nm and a light-emitting angle range of 90 degrees or 60 degrees.
[0070] In an embodiment of the present application, by turning on different visible light fill lights or near-infrared fill lights for different image types of the first predicted image, the brightness of the captured image can be increased, the color reproduction can be enhanced, and the image quality can be improved.
[0071] In one embodiment, in the above-mentioned image acquisition device, the processor is further used for:
[0072] Based on a first distance, the brightness of the visible light fill light is adjusted, and / or the brightness of the first near-infrared fill light or the second near-infrared fill light is adjusted; the first distance represents the distance between the visible light lens or the near-infrared lens and the object.
[0073] In an embodiment of the present application, first, different visible light or near-infrared fill lights can be turned on according to the image type of the first predicted image, and the brightness of the corresponding fill lights can be adjusted based on the first distance. When the object or organism being collected is far away, the brightness of the corresponding fill light can be increased. When the object or organism being collected is close, the brightness of the corresponding fill light can be reduced. By adjusting the brightness, not only high-quality images can be collected, overexposure or underexposure can be prevented, and the picture is clearer and brighter, but also electricity can be saved and the service life of the fill light can be extended.
[0074] In one embodiment, the image acquisition device also includes at least one distance sensor; the first distance is obtained based on the analysis of the second distance and / or the third distance; the second distance represents the distance calculated based on the first prediction image; and the third distance represents the distance received from the distance sensor.
[0075] In the embodiment of the present application, the first distance can be obtained based on the analysis of the second distance, wherein the distance between the lens and the object can be obtained based on the first prediction image through a related distance calculation algorithm; the first distance can also be obtained based on the analysis of the third distance, wherein the third distance can be obtained through a distance sensor, which can be an ultrasonic sensor, an infrared sensor, a lidar sensor, a time of flight (ToF) sensor, or a photoelectric sensor. In practical applications, the selection can be made based on cost or portability. Further, the first distance can also be obtained by jointly analyzing the second distance and the third distance obtained above, and a more accurate first distance can be obtained through a specific algorithm.
[0076] In an embodiment of the present application, the first distance can be obtained based on the analysis of the second distance and / or the third distance, which increases the flexibility of measuring the distance. In practical applications, different methods can be used to measure the distance between the lens and the subject based on cost, sensitivity requirements of the fill light to adjust the light, or imaging quality requirements, which helps the image acquisition device to flexibly adjust the brightness of the fill light and / or the viewing angle range of the lens.
[0077] In one embodiment, the image acquisition device further includes:
[0078] The communication module is used to send the first image to a setting authentication system, so that the setting authentication system performs identity authentication based on the first image.
[0079] In the embodiment of the present application, the authentication system can be one or more of a security system, an access control system, a gate authentication system, a face authentication system, a palm print authentication system, and a QR code authentication system. The collected clear first image helps to improve the speed and accuracy of the authentication system in identity authentication.
[0080] The present application is further described in detail below in conjunction with application examples.
[0081] like Figure 2 In the image acquisition device shown, a visible light zoom lens 201 and a near infrared zoom lens 202 are arranged together in a circular area, a first near infrared fill light 203 and a second near infrared fill light 204 are arranged at the upper and lower parts of the two lenses respectively, one or more visible light fill lights 205 are arranged around the outer side of the circular area, a distance sensor 206 is arranged inside the circular area, and a processor is arranged on the main board 207. By combining the image detection algorithm and the distance sensor 206, it is determined what type of image the object being photographed is, and the processor quickly drives the corresponding fill light to turn on or off, and the visible light zoom lens 201 and / or the near infrared zoom lens 202 quickly focus according to different image types and take pictures. Finally, the collected image is sent to the processor for quality judgment, liveness recognition, etc. Among them, when a QR code is detected, the visible light lens quickly focuses on the QR code position to capture a clear QR code image; when a palm is detected, the visible light lens and the near-infrared lens simultaneously and quickly focus on the palm position to capture a clear palm image; when a face is detected, the visible light lens and the near-infrared lens simultaneously and quickly focus on the face position to capture a clear face image. Through the above steps, not only can the recognition rate be improved, the anti-counterfeiting ability and reliability of the product be improved, and the misjudgment rate be reduced, but also multi-modal fusion recognition of QR codes, palms and faces can be realized. Furthermore, the image acquisition device of the present application can reduce the volume and cost of the acquisition device through integration and miniaturization, making the miniaturized product easier to embed in other devices.
[0082] The embodiment of the present application also provides a security device, which includes any of the above-mentioned image acquisition devices. Specifically, the security device can be an intelligent monitoring device, an access control device, an intrusion alarm device, an intelligent vehicle management device, an intelligent home device, an intelligent medical identification device, an intelligent community management device, or an airport security management device.
[0083] The embodiment of the present application also provides an image acquisition method, which can be applied to the image acquisition device of each of the above embodiments. Figure 3 The flowchart of the method includes:
[0084] Step 301: Acquire a first prediction image captured by a visible light lens, and identify the image type of the first prediction image.
[0085] Among them, the image type includes: a first image type or a second image type or a third image type; wherein, the first image type represents an image with a one-dimensional barcode or a two-dimensional barcode; the second image type represents an image with palm vein information; and the third image type represents an image with facial information.
[0086] Step 302: Based on the image type of the first predicted image, adjust the focal length of the visible light lens, or adjust the focal length of the visible light lens and the focal length of the near-infrared lens, so that the adjusted lens meets the focusing clarity range corresponding to the image type of the first predicted image.
[0087] The focus clarity range represents the effective distance range within which the lens can produce clear images, and the effective distance represents the distance between the lens and the object being photographed.
[0088] Step 303: Control the visible light lens, or control the visible light lens and the near infrared lens to shoot simultaneously, so as to obtain a first image.
[0089] In one embodiment, adjusting the focal length of the visible light lens, or adjusting the focal length of the visible light lens and the focal length of the near-infrared lens based on the image type of the first predicted image, so that the adjusted lenses meet the focus clarity range corresponding to the image type of the first predicted image, includes:
[0090] When the image type of the first predicted image is the first image type, adjusting the focal length of the visible light lens so that the visible light lens satisfies a first focusing clarity range corresponding to the first image type;
[0091] When the image type of the first predicted image is the second image type, adjusting the focal length of the visible light lens and the focal length of the near infrared lens so that both the visible light lens and the near infrared lens meet a second focus clarity range corresponding to the second image type;
[0092] When the image type of the first prediction image is the third image type, adjusting the focal length of the visible light lens and the focal length of the near infrared lens so that both the visible light lens and the near infrared lens meet the third focus clarity range corresponding to the third image type; wherein,
[0093] The first focus clarity range and the second focus clarity range overlap in whole or in part; the maximum values in the first focus clarity range and the second focus clarity range are both smaller than the minimum value in the third focus clarity range.
[0094] In one embodiment, the method further comprises:
[0095] When the image type of the first predicted image is the first image type, adjust the focal length of the visible light lens so that the viewing angle range of the visible light lens is not less than the first set viewing angle range; when the image type of the first predicted image is the second image type, adjust the focal length of the visible light lens and the focal length of the near-infrared lens so that the viewing angle range of the visible light lens and the viewing angle range of the near-infrared lens are both not less than the first set viewing angle range.
[0096] In one embodiment, the method further comprises:
[0097] When the image type of the first prediction image is the third image type, based on the first distance, the focal length of the visible light lens and the focal length of the near-infrared lens are adjusted so that the viewing angle range of the visible light lens and the viewing angle range of the near-infrared lens are not less than the first set viewing angle range, or the viewing angle range of the visible light lens and the viewing angle range of the near-infrared lens are not greater than the second set viewing angle range; the first distance represents the distance between the visible light lens or the near-infrared lens and the subject.
[0098] In one embodiment, the method further comprises:
[0099] When the image type of the first predicted image is the first image type, turn on the visible light fill light; when the image type of the first predicted image is the second image type, turn on the visible light fill light and the first near-infrared fill light; when the image type of the first predicted image is the third image type, turn on the second near-infrared fill light.
[0100] In one embodiment, the method further comprises:
[0101] Based on a first distance, the brightness of the visible light fill light is adjusted, and / or the brightness of the first near-infrared fill light or the second near-infrared fill light is adjusted; the first distance represents the distance between the visible light lens or the near-infrared lens and the object.
[0102] In one embodiment, the method further comprises:
[0103] The first distance is obtained based on an analysis of the second distance and / or the third distance; the second distance represents a distance calculated based on the first prediction image; and the third distance represents a distance received from the distance sensor.
[0104] In one embodiment, controlling the visible light lens and the near infrared lens to shoot simultaneously includes:
[0105] Controlling the visible light lens to shoot and obtain a second image;
[0106] While controlling the visible light lens to shoot, the near infrared lens is controlled to shoot at the same time to obtain a third image; the second image and the third image are used together by the processor to process to obtain the first image.
[0107] In one embodiment, the method further comprises:
[0108] The first image is sent to a setting authentication system so that the setting authentication system performs identity authentication based on the first image.
[0109] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0110] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0111] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. An image acquisition device, characterized in that: The image acquisition device comprises: a visible light lens, a near infrared lens and a processor, wherein the visible light lens and the near infrared lens are arranged in the same set area of the image acquisition device; The processor is used to obtain a first predicted image taken by the visible light lens, and identify an image type of the first predicted image, wherein the image type includes: a first image type, a second image type, or a third image type; wherein the first image type represents an image with a one-dimensional barcode or a two-dimensional barcode; the second image type represents an image with palm vein information; and the third image type represents an image with facial information; The processor is further used to adjust the focal length of the visible light lens, or adjust the focal length of the visible light lens and the focal length of the near-infrared lens based on the image type of the first predicted image, so that the adjusted lens satisfies the focus clarity range corresponding to the image type of the first predicted image; the focus clarity range represents an effective distance range in which the lens can clearly form an image, and the effective distance represents the distance between the lens and the object being photographed; The processor is further used to control the visible light lens, or control the visible light lens and the near infrared lens to shoot simultaneously, so as to obtain a first image.
2. The image acquisition device according to claim 1, characterized in that: The adjusting, based on the image type of the first predicted image, the focal length of the visible light lens, or adjusting the focal length of the visible light lens and the focal length of the near infrared lens, so that the adjusted lens satisfies a focus clarity range corresponding to the image type of the first predicted image, includes: When the image type of the first predicted image is the first image type, adjusting the focal length of the visible light lens so that the visible light lens satisfies a first focusing clarity range corresponding to the first image type; When the image type of the first predicted image is the second image type, adjusting the focal length of the visible light lens and the focal length of the near infrared lens so that both the visible light lens and the near infrared lens meet a second focus clarity range corresponding to the second image type; When the image type of the first prediction image is the third image type, adjusting the focal length of the visible light lens and the focal length of the near infrared lens so that both the visible light lens and the near infrared lens meet the third focus clarity range corresponding to the third image type; wherein, The first focus clarity range and the second focus clarity range overlap in whole or in part; the maximum values in the first focus clarity range and the second focus clarity range are both smaller than the minimum value in the third focus clarity range.
3. The image acquisition device according to claim 1, characterized in that: The processor is further used to, when the image type of the first predicted image is the first image type, adjust the focal length of the visible light lens so that the viewing angle range of the visible light lens is not less than a first set viewing angle range; and when the image type of the first predicted image is the second image type, adjust the focal length of the visible light lens and the focal length of the near-infrared lens so that the viewing angle range of the visible light lens and the viewing angle range of the near-infrared lens are both not less than the first set viewing angle range.
4. The image acquisition device according to claim 1, characterized in that: The processor is further used to adjust the focal length of the visible light lens and the focal length of the near-infrared lens based on a first distance when the image type of the first predicted image is the third image type, so that the viewing angle range of the visible light lens and the viewing angle range of the near-infrared lens are not less than a first set viewing angle range, or the viewing angle range of the visible light lens and the viewing angle range of the near-infrared lens are not greater than a second set viewing angle range; the first distance represents the distance between the visible light lens or the near-infrared lens and the object being photographed.
5. The image acquisition device according to claim 1, characterized in that: The image acquisition device includes a visible light fill light, a first near-infrared fill light and a second near-infrared fill light; wherein the light emitting angle range of the first near-infrared fill light is greater than the light emitting angle range of the second near-infrared fill light. The processor is further used to turn on the visible light fill light when the image type of the first predicted image is the first image type; turn on the visible light fill light and the first near-infrared fill light when the image type of the first predicted image is the second image type; and turn on the second near-infrared fill light when the image type of the first predicted image is the third image type.
6. The image acquisition device according to claim 5, characterized in that: The processor is also used to adjust the brightness of the visible light fill light and / or the brightness of the first near-infrared fill light or the second near-infrared fill light based on a first distance; the first distance represents the distance between the visible light lens or the near-infrared lens and the object being photographed.
7. The image acquisition device according to claim 4 or 6, characterized in that: The image acquisition device also includes at least one distance sensor; The first distance is obtained based on an analysis of the second distance and / or the third distance; the second distance represents a distance calculated based on the first prediction image; and the third distance represents a distance received from the distance sensor.
8. The image acquisition device according to claim 1, characterized in that: The controlling the visible light lens and the near infrared lens to shoot simultaneously comprises: Controlling the visible light lens to shoot and obtain a second image; While controlling the visible light lens to shoot, the near infrared lens is controlled to shoot at the same time to obtain a third image; the second image and the third image are used together by the processor to process to obtain the first image.
9. The image acquisition device according to claim 1, characterized in that: The image acquisition device also includes: The communication module is used to send the first image to a setting authentication system, so that the setting authentication system performs identity authentication based on the first image.
10. A security device, characterized in that: The security equipment comprises the image acquisition device according to any one of claims 1 to 9.