Palm plane image acquisition method and device, electronic equipment and medium
By acquiring multiple distance parameters between the palm and the camera, dynamically selecting supplementary lighting strategies and adjusting camera shutter parameters, the stability and consistency issues of image acquisition in palm recognition technology are solved, achieving high-quality image acquisition under different lighting and postures, and improving the robustness of recognition.
Patent Information
- Application Number
- CN202511758415.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-27
- Publication Date
- 2026-03-17
AI Technical Summary
Existing palm recognition technology suffers from insufficient stability and consistency in image acquisition under different ambient lighting conditions and variations in palm distance and posture, which affects recognition accuracy.
By acquiring multiple distance parameters between the hand and the camera, a comprehensive distance value is determined, and a supplementary lighting strategy and camera shutter parameters are dynamically selected to ensure that the image quality meets the preset requirements.
Achieve stable and high-quality hand image acquisition under different lighting conditions and hand postures, thereby improving the robustness and consistency of recognition.
Smart Images

Figure CN121691889A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of image acquisition technology, and in particular to a method, apparatus, electronic device, and medium for acquiring planar images of a hand. Background Technology
[0002] With the deepening of informatization and digitalization, the reliance on identity recognition technology in fields such as financial payment, mobile terminals, security monitoring, access control, and attendance management is increasing. Biometric recognition is gradually becoming a key technology for ensuring system security and ease of use. However, existing traditional solutions such as facial recognition and fingerprint recognition still have certain limitations in practical applications. For example, fingerprint recognition is easily affected by damage, dirt, or changes in humidity on the finger surface, leading to recognition failure; facial recognition also often suffers from false recognition or rejection due to unstable lighting conditions, changes in shooting angle, or interference from obstructions. In addition, long-term exposure of facial features may also pose a risk of privacy leakage, making it difficult to meet the high reliability requirements in some scenarios.
[0003] As a novel biometric method, palm recognition technology has gradually gained attention in recent years. By combining palm print structure, vein distribution features, and geometric morphology information, this technology can provide relatively stable biometric features with enhanced concealment. With the development of multimodal recognition strategies, more and more systems are beginning to simultaneously acquire palm print images, vein images, and geometric features to improve recognition accuracy and environmental adaptability. Palm print images can capture the surface texture of the palm, including ridges, grooves, and folds, using visible light imaging devices; while vein images rely on the strong absorption characteristics of hemoglobin for specific near-infrared wavelengths. By illuminating the veins with infrared light and receiving the reflected light through an imaging device, vein distribution information can be revealed.
[0004] Despite the numerous advantages of palm recognition, it still faces a series of challenges in practical use. Differences in the distance between the palm and the camera, variations in hand posture, and fluctuations in external lighting conditions can all affect the stability and consistency of image acquisition, thus impacting the accuracy of subsequent recognition. In low-light, backlight, or strong-light environments, the brightness, contrast, and clarity of palmprint or vein images may not meet recognition requirements, limiting system performance.
[0005] Therefore, how to obtain stable, high-quality and consistent multimodal palm images under different lighting conditions and with constantly changing hand distance and posture has become a key problem that current palm recognition technology urgently needs to solve. Summary of the Invention
[0006] This invention aims to at least partially solve one of the technical problems in related technologies. Therefore, the objective of this invention is to provide a method, apparatus, electronic device, and medium for acquiring planar images of a hand, so as to stably acquire hand images that meet quality requirements under different acquisition distances and lighting conditions.
[0007] To achieve the above objectives, a first aspect of the present invention provides a method for acquiring a planar image of a hand, comprising: Obtain multiple distance parameters between the palm plane and the camera, and determine the comprehensive distance value of the palm plane relative to the camera based on the multiple distance parameters; The supplementary lighting strategy for the palm plane is determined based on the comprehensive distance value; Acquire the palm plane image captured by the camera under the supplementary lighting strategy and the quality parameters of the palm plane image; When the quality parameter of the palm-shaped image is less than the preset quality parameter, the shutter parameter of the camera is adjusted so that the quality parameter of the palm-shaped image is greater than or equal to the preset quality parameter.
[0008] In addition, the palm planar image acquisition method of the above embodiments of the present invention may also have the following additional technical features: According to an embodiment of the present invention, determining the supplementary lighting strategy for the palm plane based on the comprehensive distance value includes: Based on the comprehensive distance value, a target fill light is selected from the fill light components, and the fill light parameters of the target fill light are determined; The target fill light is controlled according to the fill light parameters to complete the fill light application to the palm surface.
[0009] According to one embodiment of the present invention, the supplementary lighting assembly includes a first infrared supplementary light, a second infrared supplementary light, and a white light supplementary light; wherein, the first infrared supplementary light is a batwing lens, and the second infrared supplementary light is a compound eye lens.
[0010] According to one embodiment of the present invention, selecting a target fill light from the fill light assembly based on the comprehensive distance value includes: If the overall distance value is greater than or equal to the first distance threshold, the first infrared fill light is selected as the target fill light; If the overall distance value is less than or equal to the second distance threshold, the second infrared fill light is selected as the target fill light; If the overall distance value is less than the first distance threshold and greater than the second distance threshold, then the first infrared fill light and the second infrared fill light are selected as the target fill light; wherein, the first distance threshold is greater than the second distance threshold.
[0011] According to one embodiment of the present invention, adjusting the shutter parameters of the camera includes: The palm detection algorithm is used to determine the palm region in the palm planar image, and the average brightness value of the palm region is calculated. The target shutter parameters of the camera are determined based on the average brightness value; The shutter parameters of the camera are adjusted according to the target shutter parameters.
[0012] According to one embodiment of the present invention, the target shutter parameter is negatively correlated with the average brightness value.
[0013] According to one embodiment of the present invention, determining the comprehensive distance value of the palm plane relative to the camera based on the plurality of distance parameters includes: The posture parameters, predicted distance change trend, and average distance value of the palm plane are calculated based on the multiple distance parameters; the posture parameters include the front-back tilt of the palm plane and the left-right tilt of the palm plane. The comprehensive distance value is determined based on the attitude parameters, the predicted distance change trend, and the average distance value.
[0014] To achieve the above objectives, a second aspect of the present invention provides a palm planar image acquisition device, comprising: The comprehensive distance value determination module is used to obtain multiple distance parameters between the palm plane and the camera, and determine the comprehensive distance value of the palm plane relative to the camera based on the multiple distance parameters; A supplementary lighting strategy determination module is used to determine the supplementary lighting strategy for the palm plane based on the comprehensive distance value; A palm plane image acquisition module is used to acquire a palm plane image captured by the camera under the supplementary lighting strategy and the quality parameters of the palm plane image; The shutter parameter adjustment module is used to adjust the shutter parameter of the camera when the quality parameter of the palm plane image is less than the preset quality parameter, so that the quality parameter of the palm plane image is greater than or equal to the preset quality parameter.
[0015] To achieve the above objectives, a third aspect of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described palm planar image acquisition method.
[0016] To achieve the above objectives, a fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed, implements the steps of the above-described palm planar image acquisition method.
[0017] The palm plane image acquisition method, device, electronic device, and medium of this invention can dynamically select an appropriate supplementary lighting strategy based on the actual distance between the palm plane and the camera, and perform real-time evaluation using quality parameters after image acquisition. When the image quality is insufficient, the camera's shutter parameters are automatically adjusted, achieving dual adaptive control of acquisition lighting and imaging effect. Therefore, even under conditions of varying palm distance, slight posture shifts, or unstable external lighting, it is still possible to obtain palm plane images with suitable brightness, stable clarity, and that meet preset quality requirements, thereby improving the overall consistency and reliability of acquisition and providing a more robust input data foundation for subsequent palm recognition. Attached Figure Description
[0018] Figure 1 This is a schematic diagram of the system architecture used in a palm plane image acquisition method in one embodiment; Figure 2 This is a flowchart illustrating a method for acquiring a planar image of a hand in one embodiment; Figure 3 This is a schematic diagram showing the distribution of the ranging sensors in one embodiment; Figure 4 This is a curve showing the relationship between the light intensity of the infrared supplementary light lamp and the overall distance value in one embodiment; Figure 5 This is a curve showing the relationship between the light intensity of a white light supplemental lamp and the overall distance value in one embodiment; Figure 6 This is a schematic diagram of the infrared illumination component in the near-field range in one embodiment; Figure 7 This is a schematic diagram of the infrared supplementary lighting component in a long-distance range in one embodiment; Figure 8 This is a structural block diagram of a palm plane image acquisition device in one embodiment. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0020] To facilitate understanding and implementation of the method of this invention by those skilled in the art, the system architecture carrying the method of this invention will be described first below, followed by a detailed explanation of the method steps. The palm planar image acquisition method of this invention can be... Figure 1The system framework shown is implemented as follows. The system as a whole consists of modules such as a controller, cameras, infrared illumination components, white light illumination lamps, distance sensors, data storage units, communication interfaces, speakers, buzzers, displays, and QR code recognition units. The cameras include RGB cameras and infrared cameras. During system operation, the controller first uses the distance sensor to monitor in real time whether the palm is within the effective acquisition range of the cameras, and triggers the system to enter working mode accordingly. Subsequently, the controller adjusts the output light intensity of the infrared illumination components and white light illumination lamps according to the position of the palm and the ambient lighting conditions, so that the RGB camera can acquire a clear palmprint image and the infrared camera can acquire a stable palm vein image. The system can also prompt the user through the speaker or buzzer to guide them to adjust their palm posture to ensure image quality. The acquired images and related lighting parameters are temporarily stored in the data storage unit. When the image quality reaches the preset standard, the controller sends the image to the backend server through the communication interface to perform identity recognition and displays the recognition results on the display screen in real time, thereby realizing an efficient, convenient, and secure palm identity authentication process. In addition, the QR code recognition unit can be used to parse QR code information associated with user identity, providing rapid information binding capabilities for registration or recognition scenarios.
[0021] Through the coordinated work of the various modules in the above system, it is possible to acquire planar images of the palm.
[0022] The implementation steps of the palm plane image acquisition method of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. In one embodiment, such as Figure 2 The diagram illustrates a method for acquiring a planar image of a hand, which may include the following steps: Step S101: Obtain multiple distance parameters between the palm plane and the camera, and determine the comprehensive distance value of the palm plane relative to the camera based on the multiple distance parameters.
[0023] Here, distance data for the palm plane can be collected at multiple points using range sensors positioned around the camera. Specifically, after the palm enters the camera area, the range sensors acquire multiple distance parameters from the palm plane to the camera from different measurement orientations. After acquiring these multiple distance parameters, they are calculated and processed to determine the overall distance value between the palm plane and the camera.
[0024] In practical applications, multiple range sensors can be evenly arranged on the same plane around the camera lens to sense the spatial information of the hand's position within different angular ranges. The specific location of the range sensors is not strictly limited and can be flexibly deployed according to the device's shape and optical structure. (Refer to...) Figure 3 The diagram shows the distribution of a ranging sensor.
[0025] In one embodiment, after acquiring multiple distance parameters between the palm plane and the camera, these distance parameters are first analyzed to calculate the palm plane's pose parameters, predicted distance change trends, and average distance values. For example, three ranging sensors are positioned around the camera, such as... Figure 3 As shown, this is used to acquire multiple distance parameters between the palm plane and the camera in real time. The three sensors output the distance parameters respectively. , , Wherein, the physical distance between ranging sensor 1 and ranging sensor 2 is denoted as . The physical distance between range sensor 2 and range sensor 3 is .
[0026] After receiving the three distance parameters, the attitude parameters of the palm plane can be calculated based on the spatial layout of the sensors. These attitude parameters include the left-right tilt of the palm plane in the left-right direction and the forward-backward tilt in the forward-backward direction. Specifically:
[0027]
[0028] in, The degree of tilt is left and right. The angle of inclination is the forward and backward tilt.
[0029] Meanwhile, the distance data acquired by multiple range sensors are averaged to obtain an average distance value that represents the overall palm plane position. This is used to reflect the horizontal distance between the palm and the camera on an overall plane. The calculation process for the average distance value is as follows:
[0030] Furthermore, the trend of distance change between the palm plane and the camera can be predicted by calculating the change between two temporally adjacent average distance values. This indicates whether the palm plane is moving closer to or away from the camera. Distance prediction trend. The calculation process is as follows:
[0031] After obtaining the above posture parameters, average distance value, and distance prediction trend, the comprehensive distance value between the palm plane and the camera is calculated according to the preset weighted combination relationship, as follows:
[0032] In the above formula, , , , Preset weight parameters, usually The value is set to 1.
[0033] Step S102: Determine the supplementary lighting strategy for the palm plane based on the comprehensive distance value.
[0034] After obtaining the overall distance value of the palm plane relative to the camera, the imaging conditions of the palm plane are judged based on this overall distance value, and a supplementary lighting strategy matching the current overall distance value is selected from a preset set of supplementary lighting strategies. For example, when the overall distance value indicates that the palm plane is relatively close, relatively far, or within a suitable range, different supplementary lighting strategies are selected accordingly to ensure that the subsequent image acquisition process can obtain a more uniform and clear palm plane image.
[0035] It is understandable that the spatial distance between the palm plane and the camera varies in practical applications. To adapt to different lighting coverage and imaging conditions, in one embodiment, after obtaining the comprehensive distance value between the palm plane and the camera, a target supplementary light is selected from the supplementary lighting components, and its supplementary lighting parameters, including the supplementary light intensity, are calculated. The supplementary light intensity can be calculated using the following formula:
[0036] in, This represents the combined distance between the palm plane and the camera. , , The weighting parameter is used to adjust the relationship between light intensity and the distance from the palm. Through the unified formula described above, dynamic light intensity adjustment can be performed on different supplementary lighting components.
[0037] The supplementary lighting parameters are then sent to the target supplementary light for adjustment, ensuring high-definition and uniform illumination of the palm surface. By dynamically adjusting the supplementary light intensity, the quality of the palm image can be guaranteed at different distances and palm postures, while reducing image brightness unevenness caused by palm position deviations, thus providing stable lighting conditions for subsequent palm print and palm vein image acquisition.
[0038] In one embodiment, the supplementary lighting component includes a first infrared supplementary light, a second infrared supplementary light, and a white light supplementary light. The first infrared supplementary light employs a batwing lens design to output a concentrated infrared beam; the second infrared supplementary light employs a compound eye lens design to output a diffused infrared beam; and the white light supplementary light provides visible light supplementary illumination. The first and second infrared supplementary lights are suitable for different working distance ranges, allowing the appropriate infrared supplementary light to be activated based on comprehensive distance parameters, ensuring suitable infrared illumination conditions for the palm surface within the camera's imaging range.
[0039] When acquiring planar images of the palm, infrared fill lights are mainly used to obtain images of the palm veins. Infrared light can penetrate the skin of the palm to obtain information about the vein structure. White light fill lights are mainly used to obtain images of the palm texture. Visible light is used to illuminate the surface of the palm to obtain texture information such as wrinkles, ridges and grooves.
[0040] Based on this, while the infrared fill light provides illumination for the palm vein image, the white light fill light provides illumination for the palm print image of the RGB camera, enabling the system to simultaneously collect palm texture and palm vein information, thus achieving multimodal palm recognition.
[0041] in, Figure 4 The figure shows the relationship between the light intensity of the infrared supplementary light and the overall distance value Tilt. The output channels of the first infrared supplementary light (labeled IR1_output) and the second infrared supplementary light (labeled IR2_output) are shown in the figure. As the overall distance value Tilt gradually increases from near to far, the outputs of the two channels exhibit a complementary trend: in the near-distance range, the second infrared supplementary light preferentially provides wide-angle diffused infrared illumination to expand the illumination coverage in the near-distance range and avoid local overexposure, while IR2_output remains lower but increases slightly with distance. When entering the mid-range, the infrared illuminance gradually decreases as the palm moves away from the camera. At this time, IR2_output increases significantly to compensate for the decrease in infrared illuminance caused by the increased distance, while IR1_output maintains a gradual increase to gradually expand the illumination coverage. The light intensity of the two channels achieves a smooth transition and coordinated supplementary lighting in this stage, thereby taking into account both the brightness of the center and the balance of the edge illumination.
[0042] When moving to a longer distance, a second infrared filler lamp is used to provide supplementary lighting. Its small-angle, high-power focusing characteristics can effectively improve the infrared illumination and imaging clarity at long distances. The increase in IR1_output is increased to ensure the uniformity of infrared illumination and the imaging signal-to-noise ratio of the entire palm area.
[0043] Figure 5 The curve shown is the relationship between the light intensity of the white light fill light and the overall distance value Tilt, labeled RGB_output. This curve increases monotonically with Tilt: in the near-distance range, RGB_output maintains a low, stable value to prevent overexposure of visible light and protect detail reproduction; in the mid-distance range, RGB_output gradually increases to compensate for white light attenuation; in the far-distance range, the rate of increase of RGB_output further accelerates to improve the overall brightness and contrast of long-distance imaging.
[0044] The white light fill light works in conjunction with the infrared fill light to allocate light intensity weights under different comprehensive distance values (Tilt values), thus maintaining the stability of the brightness and contrast of the palm image under different distances and postures.
[0045] In one embodiment, a first distance threshold and a second distance threshold are preset to distinguish the spatial positional relationship between the palm and the camera, wherein the first distance threshold is greater than the second distance threshold.
[0046] When the detected comprehensive distance value is greater than or equal to the first distance threshold, it is determined that the palm is too far away, and the first infrared supplementary light is activated for supplementary lighting. The projection surface of the first infrared supplementary light is a rectangular cross-section to ensure sufficient light energy is reflected back from the palm to obtain a clear palm vein image, while maintaining uniform brightness across the entire palm and avoiding the problem of the center being too bright and the edges being too dark. Figure 6 As shown.
[0047] When the detected comprehensive distance value is less than or equal to the second distance threshold, it is determined that the palm is too close, and the second infrared fill light is activated for supplemental lighting. The second infrared fill light projects a circular shape, covering a larger palm area, improving ease of use for the user, while maintaining uniform image brightness. Figure 7 As shown.
[0048] When the detected comprehensive distance value is between the first distance threshold and the second distance threshold, the first infrared fill light and the second infrared fill light are activated simultaneously to provide fill light, thereby ensuring uniform and clear image brightness and achieving adaptive fill light control for different palm distances.
[0049] Step S103: Obtain the palm plane image and the quality parameters of the palm plane image captured by the camera under the supplementary lighting strategy.
[0050] The camera captures an image of the palm of the target object using a predetermined lighting strategy. The acquired palm image is then evaluated for quality, and corresponding quality parameters are calculated. These parameters may include, but are not limited to, image brightness, contrast, sharpness, or noise level, and are used to characterize whether the captured image meets preset quality requirements, providing a basis for subsequent judgments on whether camera parameters need to be adjusted or re-captured.
[0051] Step S104: When the quality parameters of the palm plane image are less than the preset quality parameters, adjust the shutter parameters of the camera.
[0052] The system determines whether the quality parameters of the acquired palm image meet the preset quality standards. If the quality parameters are below the preset threshold, it indicates that the acquired palm image has problems such as insufficient brightness, low contrast, or insufficient sharpness. In this case, the camera's shutter parameters are automatically adjusted, such as adjusting the exposure time or gain, to improve image brightness and sharpness.
[0053] In practical applications, after adjusting the shutter parameters, the camera re-acquires a planar image of the palm and recalculates the image quality parameters until the image quality parameters reach or exceed the preset quality parameters. For hand planar images that meet or exceed the preset quality parameters, the images are sent to the backend server via a communication interface for palm recognition processing, enabling identity verification, data storage, or other subsequent applications.
[0054] In one embodiment, when the quality parameters of the palm planar image are lower than a preset standard, a palm detection algorithm is used to determine the palm center region in the palm planar image, and the average brightness value of this region is calculated to characterize the overall exposure of the core palm region. Specifically, in the segmented palm center region, the brightness components of all pixels are extracted (e.g., the L component is extracted after converting from RGB to HSL color space), and the arithmetic mean of the brightness components is taken to obtain the average brightness index reflecting the light intensity of the region.
[0055] Under normal circumstances, the camera shutter parameters can be determined based on the overall distance value. Set as:
[0056] In the above formula, , , As a weighting parameter, when the comprehensive distance value The larger the value, the larger the camera shutter parameter, in order to compensate for insufficient brightness caused by light attenuation at greater distances.
[0057] However, when the palm plane image that meets the preset quality requirements cannot be obtained under the conventional shutter parameter configuration, the average brightness value of the palm area will be further introduced to dynamically adjust the shutter parameters in order to improve the brightness and clarity of the acquired image.
[0058] Based on this, the shutter parameters can be adjusted a second time using the following methods:
[0059] In the above formula, , , The weighted parameters are used to obtain the adjusted shutter parameters, so that the camera can capture a clear and uniformly bright palm image under these shutter parameters, providing a reliable data foundation for subsequent palm print and palm vein recognition.
[0060] In practical applications, the shutter speed parameters of the RGB camera are dynamically adjusted. This is because RGB cameras are primarily responsible for capturing information such as texture, detail, and color of the palm surface. Their image quality is extremely sensitive to brightness, exposure, and sharpness, and adjusting the shutter speed parameters can directly improve these imaging parameters, thereby significantly enhancing image quality. In contrast, infrared cameras are mainly used to capture biometric information in specific wavelengths, such as palm veins. Their imaging process is less dependent on visible light brightness, and they typically employ fixed or stable exposure modes.
[0061] In one embodiment, the target shutter parameter is negatively correlated with the average brightness value of the palm area. When the average brightness value of the palm area is high, the camera shutter parameter is reduced to avoid overexposure; when the average brightness value of the palm area is low, the shutter parameter is increased to improve image brightness and sharpness. This negative correlation adjustment strategy ensures that the palm planar image meets the preset quality standard under different lighting conditions.
[0062] Through the implementation of this invention, a supplementary lighting strategy is dynamically determined based on comprehensive distance values. Under this strategy, a palm plane image and corresponding quality parameters are acquired. The camera shutter parameters are then adaptively adjusted based on the quality detection results, enabling the system to maintain stable image quality under different palm positions, lighting conditions, and user postures. Automatic selection of the supplementary lighting component and real-time adjustment of the supplementary lighting parameters ensure that the palm plane receives a uniform, sufficient, and distance-appropriate illumination strip. Simultaneously, closed-loop optimization of the camera shutter parameters effectively improves image brightness, sharpness, and contrast, reducing quality fluctuations caused by distance changes, insufficient supplementary lighting, or local overexposure, resulting in more reliable and consistent final palm plane images. Through this multi-dimensional collaborative control mechanism, this invention not only improves the stability and applicability of palmprint and palm vein feature acquisition but also enhances the system's adaptability to environmental changes and user differences, providing high-quality and reliable image input for subsequent identity recognition processing.
[0063] In one embodiment, a palm plane image acquisition device is provided, with reference to... Figure 8 As shown, the palm plane image acquisition device 700 may include: a comprehensive distance value determination module 701, a supplementary lighting strategy determination module 702, a palm plane image acquisition module 703, and a shutter parameter adjustment module 704. Among them, The comprehensive distance value determination module 701 is used to acquire multiple distance parameters between the palm plane and the camera, and determine the comprehensive distance value between the palm plane and the camera based on the multiple distance parameters. The supplementary lighting strategy determination module 702 is used to determine the supplementary lighting strategy for the palm plane based on the comprehensive distance value; The palm plane image acquisition module 703 is used to acquire the palm plane image and the quality parameters of the palm plane image captured by the camera under the supplementary lighting strategy. The shutter parameter adjustment module 704 is used to adjust the shutter parameter of the camera when the quality parameter of the palm plane image is less than the preset quality parameter, so that the quality parameter of the palm plane image is greater than or equal to the preset quality parameter.
[0064] In one embodiment, the supplementary lighting strategy determination module 702 is specifically used for: Based on the overall distance value, select the target fill light from the fill light components and determine the fill light parameters of the target fill light; The target fill light is controlled according to the fill light parameters to complete the fill light for the palm surface.
[0065] In one embodiment, the supplementary lighting assembly includes a first infrared supplementary light, a second infrared supplementary light, and a white light supplementary light; wherein the first infrared supplementary light adopts a batwing lens, and the second infrared supplementary light adopts a compound eye lens.
[0066] In one embodiment, the supplementary lighting strategy determination module 702 is specifically used for: If the overall distance value is greater than or equal to the first distance threshold, select the first infrared fill light as the target fill light; If the overall distance value is less than or equal to the second distance threshold, select the second infrared fill light as the target fill light; If the overall distance value is less than the first distance threshold but greater than the second distance threshold, both the first infrared fill light and the second infrared fill light are selected as the target fill light; wherein, the first distance threshold is greater than the second distance threshold.
[0067] In one embodiment, the shutter parameter adjustment module 704 is specifically used for: The palm detection algorithm is used to determine the palm region in the palm plane image, and the average brightness value of the palm region is calculated. Determine the target shutter parameters of the camera based on the average brightness value; Adjust the camera's shutter parameters according to the target shutter parameters.
[0068] In one embodiment, the target shutter parameter is negatively correlated with the average brightness value.
[0069] In one embodiment, the comprehensive distance value determination module 701 is specifically used for: The posture parameters of the palm plane, the predicted trend of distance change, and the average distance value are calculated based on multiple distance parameters; the posture parameters include the anterior and posterior tilt of the palm plane and the lateral tilt of the palm plane. The comprehensive distance value is determined based on attitude parameters, predicted distance change trends, and average distance values.
[0070] Specific limitations regarding the palm planar image acquisition device 700 can be found in the limitations of the palm planar image acquisition method described above, and will not be repeated here. Each module in the aforementioned palm planar image acquisition device 700 can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0071] In one embodiment, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement a method for acquiring a planar image of a hand.
[0072] In one embodiment, a computer storage medium is provided on which a computer program is stored, which, when executed by a processor, implements a method for acquiring planar images of a hand.
[0073] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0074] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0075] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0076] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0077] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
Claims
1. A palm planform image acquisition method, characterized in that, The method comprises the following steps: acquiring a plurality of distance parameters between the palm plane and the camera, and determining a comprehensive distance value of the palm plane relative to the camera according to the plurality of distance parameters; determining a light compensation strategy of the palm plane according to the comprehensive distance value; acquiring a palm plane image captured by the camera under the light compensation strategy and a quality parameter of the palm plane image; when the quality parameter of the palm plane image is less than a preset quality parameter, adjusting a shutter parameter of the camera so that the quality parameter of the palm plane image is greater than or equal to the preset quality parameter.
2. The palm plane image acquisition method of claim 1, wherein, The method comprises the following steps: selecting a target light compensation lamp from a light compensation assembly according to the comprehensive distance value, and determining a light compensation parameter of the target light compensation lamp; controlling the target light compensation lamp according to the light compensation parameter to complete light compensation of the palm plane.
3. The palm plane image acquisition method of claim 2, wherein, The light compensation assembly comprises a first infrared light compensation lamp, a second infrared light compensation lamp and a white light compensation lamp; wherein the first infrared light compensation lamp adopts a bat-wing lens, and the second infrared light compensation lamp adopts a compound eye lens.
4. The palm plane image acquisition method of claim 3, wherein, The method comprises the following steps: if the comprehensive distance value is greater than or equal to a first distance threshold value, selecting the first infrared light compensation lamp as the target light compensation lamp; if the comprehensive distance value is less than or equal to a second distance threshold value, selecting the second infrared light compensation lamp as the target light compensation lamp; if the comprehensive distance value is less than the first distance threshold value and greater than the second distance threshold value, simultaneously selecting the first infrared light compensation lamp and the second infrared light compensation lamp as the target light compensation lamp; wherein the first distance threshold value is greater than the second distance threshold value.
5. The palm plane image acquisition method of claim 1, wherein, The method comprises the following steps: determining a palm center region in the palm plane image by combining a palm detection algorithm, and calculating an average brightness value of the palm center region; determining a target shutter parameter of the camera according to the average brightness value; adjusting the shutter parameter of the camera according to the target shutter parameter.
6. The palm plane image acquisition method of claim 5, wherein, The target shutter parameter and the average brightness value are in a negative correlation relationship.
7. The palm plane image acquisition method of claim 1, wherein, The method comprises the following steps: calculating a posture parameter, a distance prediction change trend and an average distance value of the palm plane based on the plurality of distance parameters; the posture parameter comprises a front-back inclination and a left-right inclination of the palm plane; determining the comprehensive distance value according to the posture parameter, the distance prediction change trend and the average distance value.
8. A palm plane image acquisition device, characterized by, The method comprises the following steps: a comprehensive distance value determination module is configured to acquire a plurality of distance parameters between the palm plane and the camera, and determine a comprehensive distance value of the palm plane relative to the camera according to the plurality of distance parameters; a light compensation strategy determination module is configured to determine a light compensation strategy of the palm plane according to the comprehensive distance value; a palm plane image acquisition module is configured to acquire a palm plane image captured by the camera under the light compensation strategy and a quality parameter of the palm plane image; A shutter parameter adjusting module is configured to adjust a shutter parameter of the camera when the quality parameter of the palm plane image is less than a preset quality parameter, so that the quality parameter of the palm plane image is greater than or equal to the preset quality parameter. 9.An electronic device comprising a memory and a processor, the memory storing a computer program, wherein, The processor executes the computer program to implement the steps of the palm plane image acquisition method in any one of claims 1 to 7.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the palm plane image acquisition method in any one of claims 1 to 7.
