Palm image acquisition method, acquisition system and acquisition device
By adjusting the brightness of the fill light, combining distance and ambient light sensor data, exposure adjustment is quickly completed, which solves the problem of excessive exposure adjustment time in the prior art, and improves image acquisition efficiency and quality.
Patent Information
- Application Number
- CN202311653540.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-05
- Publication Date
- 2025-06-06
AI Technical Summary
In the prior art, the adjustment time of the exposure adjustment process is too long, which affects the image acquisition efficiency.
By adjusting the brightness of the fill light, the exposure adjustment process is quickly completed. The distance sensor and ambient light sensor are used to obtain the distance between the palm and the image acquisition device and the ambient light intensity, and the brightness value of the fill light is set based on these data.
It realizes rapid completion of exposure adjustment, reduces control links, improves image acquisition efficiency, and effectively avoids the problem of too dark or too bright images, and improves image quality.
Smart Images

Figure CN120107992A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image acquisition technology, and in particular to a palm image acquisition method, acquisition system and acquisition device. Background Art
[0002] Palm prints and palm veins are unique biological features of the human body, referring to the skin lines and blood vessel distribution on the palm. Because they are unique and difficult to forge, biometric identification technology based on palm prints and palm veins has been widely used in access control systems, financial information authentication and other fields.
[0003] When collecting palm print information, a color camera is usually used to image the palm, and visible light is needed to fill in the palm light when imaging; when collecting palm vein information, an infrared camera is usually used to image the palm, and infrared light is needed to fill in the palm light when imaging. In this way, the surface pattern image and blood vessel distribution image of the palm can be obtained, and then the palm print features and palm vein features can be extracted through image processing and analysis, and finally the palm print and palm vein recognition process can be realized.
[0004] In order to obtain high-quality palm print and palm vein images, the existing solution is to use the AutoExposure technology to adjust the exposure and gain of the image sensor (such as a camera). The working principle of this technology is to first calculate the brightness value of the current image, then calculate the difference between the current image and the target brightness value, and set the exposure steps and strides of the image sensor to gradually increase or decrease the current brightness to the required brightness range.
[0005] Although this method can accurately achieve the required exposure brightness, it also has obvious disadvantages. Since it adjusts the exposure and gain of the image sensor, it takes a lot of time to complete the exposure adjustment process. Summary of the invention
[0006] In order to solve the problem of long exposure adjustment time in the prior art, the present application provides a palm image acquisition solution, which can quickly complete the exposure adjustment process by adjusting the brightness of the fill light.
[0007] According to a first aspect of the present application, a palm image acquisition method is provided, characterized by comprising:
[0008] Acquire the distance between the palm and the palm image acquisition device;
[0009] When the distance is within a preset range, obtaining the light intensity of the environment in which the palm image acquisition device is located;
[0010] According to the distance and the light intensity, setting the brightness value of the fill light;
[0011] instructing the palm image acquisition device to acquire an image of the palm;
[0012] calculating an image quality of the image; and
[0013] When the image quality meets a preset image quality standard value, the image is output.
[0014] According to a second aspect of the present application, a palm image acquisition system is provided, characterized in that it includes:
[0015] Palm image acquisition equipment;
[0016] A distance sensor, used for detecting the distance between the palm and the palm image acquisition device;
[0017] An ambient light sensor, used to obtain the light intensity of the environment in which the palm image acquisition device is located;
[0018] A processor, configured to execute the method according to the first aspect, wherein the palm image acquisition device is configured to acquire the image of the palm under the instruction of the processor; and
[0019] A fill light is used to provide fill light according to the brightness value determined by the processor.
[0020] According to a third aspect of the present application, a palm image acquisition device is provided, characterized in that it includes:
[0021] A first acquisition module, used to acquire the distance between the palm and the palm image acquisition device;
[0022] A second acquisition module, used for acquiring the light intensity of the environment where the palm image acquisition device is located when the distance is within a preset range;
[0023] A setting module, used to set the brightness value of the fill light according to the distance and the light intensity;
[0024] An instruction module, used for instructing the palm image acquisition device to acquire the image of the palm;
[0025] a calculation module, configured to calculate the image quality of the image; and
[0026] The output module is used to output the image when the image quality meets a preset image quality standard value.
[0027] According to a fourth aspect of the present application, there is provided an electronic device, including:
[0028] Processor; and
[0029] A memory storing computer instructions, which, when executed by the processor, causes the processor to execute the method described in the first aspect.
[0030] According to a fifth aspect of the present application, a non-transitory computer storage medium is provided, storing a computer program, which, when executed by multiple processors, enables the processors to execute the method described in the first aspect.
[0031] According to the palm image acquisition method, acquisition system and acquisition device provided by the present application, on the one hand, the method of adjusting the brightness of the fill light is adopted, which has a fast adjustment speed, fewer control links and simpler logic compared to adjusting the image sensor; on the other hand, when acquiring the palm print image and / or palm vein image of the palm, environmental factors such as palm distance, infrared light, and visible light are considered, which can effectively avoid problems such as the image being too dark or too bright and noise, and improve the image quality. Moreover, the addition of ambient light detection makes the environment more adaptable than only performing distance detection, and can adapt to the needs of palm print and / or palm vein shooting in various illumination environments, and has better universality. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without exceeding the scope of protection required by the present application.
[0033] Figure 1 This is a flowchart of a palm image acquisition method according to an embodiment of the present application.
[0034] Figure 2 It is a schematic diagram of establishing the palm distance set membership in the process of using the fuzzy inference algorithm.
[0035] Figure 3 This is an example of the palm vein ROI area of the palm print.
[0036] Figure 4 This is an example diagram of collecting a palm vein image according to the present application solution.
[0037] Figure 5 This is a flow chart of a palm image acquisition method according to another embodiment of the present application.
[0038] Figure 6 Schematic diagram of the framework of a palm image acquisition system according to an embodiment of the present application.
[0039] Figure 7 It is a schematic diagram of a palm image acquisition device according to an embodiment of the present application.
[0040] Figure 8 It is a schematic diagram of a palm image acquisition device according to another embodiment of the present application.
[0041] Fig. 9 It is a structural diagram of an electronic device provided by this application. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0043] Figure 1 FIG. 1 is a flow chart of a palm image acquisition method according to an embodiment of the present application. Figure 1 As shown, the method includes the following steps.
[0044] Step S101, obtaining the distance between the palm and the palm image acquisition device;
[0045] Step S102, when the distance is within a preset range, obtaining the light intensity of the environment in which the palm image acquisition device is located.
[0046] According to some embodiments, the palm image acquisition device is used to acquire a palm print image and / or a palm vein image of the palm. The palm image acquisition device may be a color camera and an infrared camera, respectively used to acquire a palm print image and a palm vein image of the palm.
[0047] The principle of palm print collection is to convert the palm print's morphological features on the skin surface into a digital image through optical imaging technology. A color camera can be used to shoot the palm to obtain the image information of the palm print. In order to obtain a high-quality palm print image, it is necessary to use a visible light fill light to fill the palm during shooting to improve the brightness and clarity of the image. Commonly used fill lights include white light LED lights, three-color RGB lights, etc. The current palm distance can be obtained through the distance sensor, and the visible light intensity of the environment can be obtained through the ambient light sensor.
[0048] The principle of palm vein acquisition is to use the characteristics of near-infrared light (NIR) that can penetrate human skin tissue to perform non-contact imaging of the palm. The blood in the palm veins contains a high concentration of oxygenated hemoglobin (HbO2), which can absorb near-infrared light, making the palm vein area appear as obvious black lines under near-infrared light. Palm vein acquisition equipment can use these lines for imaging and recognition. The palm can be photographed with an infrared camera to obtain image information of the palm veins. In order to obtain high-quality palm vein images, it is necessary to use an infrared fill light to fill the palm during shooting to improve the brightness and clarity of the image. The infrared fill light usually uses a wavelength of 850nm. The current palm distance is obtained through the distance sensor, and the infrared light intensity of the environment is obtained through the ambient light sensor.
[0049] In order to determine whether the approach of the palm is unintentional or whether the palm image needs to be captured, it is first necessary to set a preset range of the distance between the palm and the palm image capture device, such as 5 to 15 cm. The palm image will not be captured outside the preset range. The distance sensor can be used to detect whether a palm is approaching and the distance between the palm and the palm image capture device. When it is detected that a palm is approaching and the distance between the palm and the palm image capture device is within the preset range, it means that the user wants to capture the image of the palm.
[0050] Then, the light intensity of the environment in which the palm acquisition device is located is obtained, for example, the light intensity can be detected by an ambient light sensor. The type of light intensity collected is related to the type of palm image to be collected. In the case of collecting a palm print image, the light intensity obtained is the visible light intensity, and in the case of collecting a palm vein image, the light intensity obtained is the infrared light intensity; in the case of collecting both a palm print image and a palm vein image, the light intensity obtained is the visible light intensity and the infrared light intensity.
[0051] Step S103, setting the brightness value of the fill light according to the distance and the light intensity.
[0052] According to some embodiments, the initial brightness value of the fill light may be preset according to the acquired distance value and light intensity (infrared light intensity value and / or visible light intensity value).
[0053] Among them, the fill light includes an infrared fill light and a visible fill light, and the type of fill light used is related to the type of palm image to be collected. In the case of collecting palm print images, the light intensity obtained is the visible light intensity, and a visible light fill light is used, while in the case of collecting palm vein images, the light intensity obtained is the infrared light intensity, and an infrared fill light is used; in the case of collecting both palm print images and palm vein images, the light intensity obtained is the visible light intensity and the infrared light intensity, and a visible light fill light and an infrared fill light are used.
[0054] According to some embodiments, after obtaining the distance between the palm and the palm image acquisition device and the light intensity of the environment in which the palm image acquisition device is located, the brightness value of the fill light can be set according to various methods, for example, fuzzy reasoning, table lookup, curve fitting, etc.
[0055] Among them, for fuzzy reasoning, the specific algorithm is: obtain the light intensity of the environment from the ambient light sensor, use the distance between the current palm and the palm image acquisition device and the ambient light intensity as the input of fuzzy reasoning, and obtain the corresponding fill light brightness value through the fuzzy reasoning algorithm.
[0056] For example, when collecting a palm vein image of the palm, the visible light intensity of the environment is obtained from the ambient light sensor, and the distance between the current palm and the palm image acquisition device and the ambient visible light intensity are used as inputs for fuzzy reasoning, and the brightness value of the visible light fill light is obtained through the fuzzy reasoning algorithm; when collecting a palm vein image of the palm, the infrared light intensity of the environment is obtained from the ambient light sensor, and the distance between the current palm and the palm image acquisition device and the ambient infrared light intensity are used as inputs for fuzzy reasoning, and the corresponding brightness value of the infrared light fill light is obtained through the fuzzy reasoning algorithm.
[0057] The specific algorithm process of fuzzy reasoning can be as follows:
[0058] 1) Determine the membership function of the input variable and the output variable
[0059] In order to apply fuzzy control technology, it is necessary to first determine the input and output variables. The input variables are the distance between the palm and the palm image acquisition device (referred to as "palm distance") and the ambient illumination, and the output variable is the brightness of the fill light. Define the membership functions of the input and output variables respectively.
[0060] For example, Figure 2 Indicates the membership of the palm distance set. The X-axis coordinate represents the palm distance (unit can be mm), and the Y-axis represents the corresponding membership. The curve with a function value of 1 on the left represents the membership of the palm distance "near" set, and the curve with a central function value of 1 represents the membership of the palm distance "medium" set. A palm distance of 5 completely belongs to the "near" set, and the "near" set membership is 1. It does not belong to the "medium" set at all, and the membership is 0; a palm distance of 13 partially belongs to the "medium" set and partially belongs to the "far" set, and the membership to the two sets is greater than 0 and less than 1. Similarly, membership functions for ambient illumination and fill light brightness values can be defined.
[0061] 2) Establish a rule base
[0062] The rule base refers to a set of fuzzy rules based on experience or domain knowledge, each of which contains a set of premises and conclusions. The rule base is the core of fuzzy reasoning and its function is to convert input values into output values.
[0063] According to the general rules of palm distance and ambient illumination to fill light brightness value, the fuzzy rules can be defined as follows:
[0064] R1: IF the palm is close AND the ambient light is strong THEN the fill light brightness is small
[0065] R2: IF the palm is far away AND the ambient light is weak THEN the fill light brightness is large R3: ELSE the fill light brightness is medium
[0066] It is understandable that the fuzzy rules defined above are just a simple example, and those skilled in the art can adjust the above module rules according to actual needs, and can also formulate other fuzzy rules according to actual application scenarios and needs.
[0067] 3) Use the inference engine to perform reasoning.
[0068] The inference engine is the core part of the fuzzy inference system, which can calculate the membership function of the output variable according to the membership function of the input variable and the fuzzy rules in the rule base. In this embodiment, the inference engine will pass the membership function of the palm distance and the ambient illumination to the rule base, and determine which rules are available by comparing the premise of each rule in the rule base with the membership function of the input variable. Then, it will combine all available rules to obtain the membership function of the output variable.
[0069] 4) Perform defuzzification operation.
[0070] Finally, the membership function of the output variable is converted into a specific brightness value. This can be achieved through defuzzification techniques, such as weighted average method, central maximum method or fuzzy neural network. The purpose of the defuzzification operation is to convert the fuzzy result into a practical and usable value.
[0071] In this way, through fuzzy reasoning operations, the brightness value that the fill light needs to reach can be obtained.
[0072] Step S104: instruct the palm image acquisition device to acquire the image of the palm.
[0073] Step 105: Calculate the image quality of the image.
[0074] After the brightness value of the fill light is determined, the palm image acquisition device may be instructed to acquire an image of the palm, for example, a palm print image and / or a palm vein image.
[0075] Many measurement methods can be used to evaluate the image quality of an image. In the present application, the average grayscale value of the image can be calculated, specifically, the average grayscale value of the ROI (Region of Interest) of the palm print image and / or the palm vein image can be calculated.
[0076] Figure 3 This is an example of a palm vein ROI area. There are many ways to obtain the location information of the palm vein ROI area from the image. For example, a deep learning model can be used to implement it. It can be implemented as, but not limited to, Caffe (Convolutional Architecture for Fast Feature Embedding, convolutional neural network framework), Tensflow (an open source software library for numerical calculations using data flow graphs), Keras (an open source artificial neural network library written in Python) and other framework models. As long as the location of the palm vein ROI area in the target scene can be obtained, this application does not impose any restrictions on this.
[0077] Step S106, outputting the image when the image quality meets a preset image quality standard value;
[0078] Step S107, when the image quality does not meet the preset image quality standard value, adjust the brightness value of the fill light and return to step S104.
[0079] According to some embodiments, the image quality standard value is first preset. After obtaining the palm image and calculating the image quality, it is necessary to determine whether the image quality meets the image quality standard value. The image quality standard value can be a specific value or a value range, which is not limited in this application. In addition, for palm print images and palm vein images, the image quality standard values can be preset respectively.
[0080] When the image quality meets the image quality standard value, it means that the current exposure brightness meets the requirements, and the currently acquired image can be output for subsequent use. Figure 4 This is an example of capturing a palm vein image according to the present application scheme. If the image quality does not meet the image quality standard value, it means that the current exposure brightness does not meet the requirements and the brightness of the fill light needs to be adjusted.
[0081] According to some embodiments, the specific process of adjusting the fill light may be:
[0082] When the image quality is less than a preset image quality standard value, increasing the brightness of the fill light according to a first preset amplitude; and
[0083] When the image quality is greater than a preset image quality standard value, the brightness of the fill light is reduced according to a second preset amplitude.
[0084] Among them, the first preset amplitude and the second preset amplitude are set according to actual needs, and their specific values can be set according to experience, and can be equal or unequal; and the first preset amplitude and the second preset amplitude adjusted each time can be equal or unequal.
[0085] According to some embodiments, after each adjustment of the fill light brightness, the palm image is captured by the palm image capture device, the image quality of the image is calculated, and it is again determined whether the image quality meets the preset image quality standard value. The adjustment and determination are cyclically performed in this manner until the exposure brightness meets the requirements.
[0086] In the case where both the palm print image and the palm vein image need to be collected, after the palm image collection device collects the palm print image and the palm vein image, the visible light fill light and the infrared fill light can be adjusted separately. For example, the brightness of the two fill lights can be increased together, or the brightness can be reduced together, or one can be increased while the other can be reduced, which is determined based on the comparison result that the respective image qualities are greater than the preset image quality standard value. In addition, the amplitudes of increasing and reducing the brightness of the two fill lights can be equal or unequal.
[0087] Figure 5 This is a flow chart of a palm image acquisition method according to another embodiment of the present application. Figure 5 and Figure 1 In comparison, steps S501 to S507 are the same as steps S101 to S107, except that: Figure 5 Also included is step S508.
[0088] In step S508, the current value of the fill light is determined according to the brightness value.
[0089] According to some embodiments, there is a certain correspondence between the current value of the fill light and its brightness value. After determining the brightness value, the current value of the fill light can be determined. In this way, the required brightness value can be obtained by outputting the corresponding current value. When the brightness of the fill light needs to be adjusted, the current value can be adjusted.
[0090] Figure 6 FIG. 1 is a schematic diagram of a palm image acquisition system according to an embodiment of the present application. Figure 6As shown, the system includes a distance sensor, an environmental sensor, a processor, a palm image acquisition device and a fill light, wherein the palm image acquisition device may include a color camera and an infrared camera, which are respectively used to acquire palm print images and palm vein images, and the fill light may include a visible light fill light and an infrared fill light, which are respectively used to fill light when acquiring palm print images and palm vein images.
[0091] Among them, the distance sensor is used to detect the distance between the palm and the palm image acquisition device; the ambient light sensor is used to obtain the light intensity of the environment in which the palm image acquisition device is located; the palm image acquisition device is used to capture the image of the palm under the instruction of the processor; the fill light is used to fill light according to the brightness value determined by the processor. The processor is used to: obtain the distance between the palm detected by the distance sensor and the palm image acquisition device; when the detected distance is within the preset range, obtain the light intensity of the environment in which the palm image acquisition device is located collected by the ambient light sensor; set the brightness value of the fill light according to the detected distance and the collected light intensity; calculate the image quality of the image captured by the palm image acquisition device; if the image quality meets the preset image quality standard value, output the image; and if the image quality does not meet the preset image quality standard value, instruct to adjust the brightness value of the fill light; after each adjustment of the brightness of the fill light, instruct the palm image acquisition device to capture the image of the palm, calculate the image quality of the image, and again judge whether the image quality meets the preset image quality standard value. In this way, the adjustment and judgment are cyclically performed until the exposure brightness meets the requirements.
[0092] According to some embodiments, the processor may also be used to determine the current value of the fill light according to the brightness value. Figure 6 The system shown also includes a current regulating module, which is used to output the current value of the fill light according to the current value determined by the processor.
[0093] Figure 7 FIG. 1 is a schematic diagram of a palm image acquisition device according to an embodiment of the present application. Figure 7As shown, the device includes a first acquisition module 701, a second acquisition module 702, a setting module 703, an indication module 704, a calculation module 705, an output module 706 and an adjustment module 706. The first acquisition module 701 is used to acquire the distance between the palm and the palm image acquisition device; the second acquisition module 702 is used to acquire the light intensity of the environment where the palm image acquisition device is located when the distance is within a preset range; the setting module 703 is used to set the brightness value of the fill light according to the distance and the light intensity; the indication module 704 is used to instruct the palm image acquisition device to acquire the image of the palm; the calculation module 705 is used to calculate the image quality of the image; the output module 706 is used to output the image when the image quality meets the preset image quality standard value; the adjustment module 707 is used to adjust the brightness value of the fill light based on the comparison result of the image quality and the preset image quality standard value.
[0094] Figure 8 It is a schematic diagram of a palm image acquisition device according to another embodiment of the present application. Figure 8 and Figure 7 In comparison, modules 801 to 807 are the same as modules 701 to 707, except that: Figure 8 It also includes: a current regulating module 808, which is used to determine the current value of the fill light according to the brightness value.
[0095] According to the palm image acquisition method, acquisition system and acquisition device provided by the present application, on the one hand, the method of adjusting the brightness of the fill light is adopted, which has a fast adjustment speed, fewer control links and simpler logic compared to adjusting the image sensor; on the other hand, when acquiring the palm print image and / or palm vein image of the palm, environmental factors such as palm distance, infrared light, and visible light are considered, which can effectively avoid problems such as the image being too dark or too bright and noise, and improve the image quality. Moreover, the addition of ambient light detection makes the environment more adaptable than only performing distance detection, and can adapt to the needs of palm print and / or palm vein shooting in various illumination environments, and has better universality.
[0096] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0097] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0098] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical connection or other forms.
[0099] See also Fig. 9 , Fig. 9 An electronic device is provided, comprising a processor and a memory. The memory stores computer instructions, and when the computer instructions are executed by the processor, the processor executes the computer instructions to achieve the following Figure 1 and Figure 5 The method and refinement scheme shown.
[0100] It should be understood that the above device embodiments are only illustrative, and the device disclosed in the present invention can also be implemented in other ways. For example, the division of units / modules described in the above embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.
[0101] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present invention may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.
[0102] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. If not otherwise specified, the processor or chip may be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. If not otherwise specified, the on-chip cache, the off-chip memory, and the memory may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc.
[0103] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer electronic device (which can be a personal computer, a server or a network electronic device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.
[0104] The present application also provides a non-transitory computer storage medium storing a computer program. When the computer program is executed by a plurality of processors, the processors execute the following Figure 1 and Figure 5 The method and refinement scheme shown.
[0105] The embodiments of the present application are described in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application. At the same time, changes or deformations made by those skilled in the art based on the ideas of the present application, the specific implementation methods and the scope of application of the present application, all belong to the scope of protection of the present application. In summary, the content of this specification should not be construed as a limitation on the present application.
Claims
1. A palm image acquisition method, It is characterized in that include: (a) obtaining the distance between the palm and the palm image acquisition device; (b) obtaining the light intensity of the environment in which the palm image acquisition device is located when the distance is within a preset range; (c) setting the brightness value of the fill light according to the distance and the light intensity; (d) instructing the palm image acquisition device to acquire an image of the palm; (e) calculating the image quality of the image; as well as (f) outputting the image when the image quality meets a preset image quality standard value.
2. The method according to claim 1, It is characterized in that Also includes: (g) When the image quality does not meet the preset image quality standard value, adjust the brightness value of the fill light and return to step (d).
3. The method according to claim 2, It is characterized in that The step (g) comprises: When the image quality is less than the preset image quality standard value, increasing the brightness of the fill light according to a first preset amplitude; and When the image quality is greater than the preset image quality standard value, the brightness of the fill light is reduced according to a second preset amplitude.
4. The method according to any one of claims 1 to 3, It is characterized in that Also includes: The current value of the fill light is determined according to the brightness value.
5. The method according to any one of claims 1 to 3, It is characterized in that The palm image acquisition device is used to acquire a palm print image and / or a palm vein image of the palm; In the case of collecting the palm print image of the palm, the acquired light intensity is the visible light intensity, and the brightness value of the fill light is the brightness value of the visible light fill light; When the palm vein image of the palm is collected, the acquired light intensity is the infrared light intensity, and the brightness value of the fill light is the brightness value of the infrared fill light.
6. A palm image acquisition system, It is characterized in that include: Palm image acquisition equipment; A distance sensor, used for detecting the distance between the palm and the palm image acquisition device; An ambient light sensor, used to obtain the light intensity of the environment in which the palm image acquisition device is located; A processor, configured to execute the method according to any one of claims 1 to 5, wherein the palm image acquisition device is configured to acquire the image of the palm under the instruction of the processor; as well as A fill light is used to provide fill light according to the brightness value determined by the processor.
7. The system of claim 6, It is characterized in that The processor is further used to determine the current value of the fill light according to the brightness value, and the system further includes: A current regulating module is used to output the current value of the fill light according to the current value.
8. The system according to claim 6 or 7, It is characterized in that The palm image acquisition device is used to acquire a palm print image and / or a palm vein image of the palm; In the case of collecting the palm print image of the palm, the acquired light intensity is the visible light intensity, and the brightness value determined by the processor is the brightness value of the visible light fill light; In the case of collecting the palm vein image of the palm, the acquired light intensity is the infrared light intensity, and the brightness value determined by the processor is the brightness value of the infrared fill light.
9. A palm image acquisition device, It is characterized in that include: A first acquisition module, used to acquire the distance between the palm and the palm image acquisition device; A second acquisition module, used for acquiring the light intensity of the environment where the palm image acquisition device is located when the distance is within a preset range; A setting module, used to set the brightness value of the fill light according to the distance and the light intensity; An instruction module, used for instructing the palm image acquisition device to acquire the image of the palm; A calculation module, used for calculating the image quality of the image; as well as The output module is used to output the image when the image quality meets a preset image quality standard value.
10. The device according to claim 9, further comprising: include: The adjustment module is used to adjust the brightness value of the fill light based on the comparison result of the image quality and the preset image quality standard value.
11. An electronic device, It is characterized in that The method comprises a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the method according to any one of claims 1 to 5 when executing the computer program in the memory.
12. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Cited By
Light supplement control method and monitoring system
CN120692467A