Shooting control method and related device
By setting the lighting mode of the lamp in the brush palm payment and adjusting the exposure mode to automatic exposure, the problem of low image clarity caused by ambient light changes is solved, the success rate of brush palm payment is improved, and it is adapted to a variety of light scenes.
Patent Information
- Application Number
- CN202310884155.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-17
- Publication Date
- 2025-01-17
AI Technical Summary
In the prior art, changes in ambient light lead to low clarity of palm print images, resulting in failure of palm brush payment, and the existing exposure mode is long in automatic exposure time or small in fixed exposure adaptation range, which cannot meet the needs of various light scenes.
By setting the lamp to illuminate the palm of your hand in the lighting mode and adjusting the exposure mode to automatic exposure after illumination, ensure that the palm image is clearly imaged in sufficient light, and improve the success rate of palm brushing.
It has achieved the improvement of palm image clarity and success rate of palm brush payment in various light scenarios, and adapted to indoor and outdoor light changes.
Smart Images

Figure CN119325030A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a shooting control method and related devices. Background Art
[0002] With the continuous development of Internet technology and smart terminal devices, people's work and life have undergone tremendous changes. For example, in the payment scenario, the currently commonly used payment methods include face payment and code scanning payment, that is, face recognition verification after facial features are collected by face scanning devices, or payment codes are verified by code scanning devices.
[0003] Palm texture and veins are unique in terms of biometric features, just like face, fingerprint, and iris, which provides theoretical support for palm-swipe payment. Unlike fingerprint recognition, which reads the epidermal texture of the fingertips, palm-print recognition reads the vascular texture of the palm, which is more difficult to forge and better ensures payment security. Palm-swipe payment may be a good balance between personal privacy protection and convenient payment methods, and may be more conducive to promotion, popularization, and compliance in the future.
[0004] In order to clearly image the palm, the focal plane of the camera needs to be basically located on the palm. At the same time, in order to facilitate palm swiping, the palm swiping device is usually set parallel to the ceiling. However, when the palm is extended for palm swiping, it will block the original light. Due to the large changes in ambient light, the collected palm print image cannot be clearly imaged, resulting in palm swiping failure. Summary of the invention
[0005] The embodiments of the present application provide a shooting control method and related devices, which solve the problem of low image clarity caused by ambient light in the prior art.
[0006] One aspect of the present application provides a shooting control method, which is applied to an image acquisition device, wherein the image acquisition device includes a camera and a lamp, and the shooting control method includes:
[0007] In response to the image acquisition instruction, a lighting mode is turned on, wherein the lighting mode is used to indicate that the indicator light is in a high-brightness state;
[0008] Adjust the shooting mode to automatic exposure mode;
[0009] Perform image acquisition based on the automatic exposure mode to obtain M captured images, where M is an integer greater than or equal to 1;
[0010] A target captured image is determined from the M captured images, wherein the target captured image is a captured image having a resolution greater than a preset resolution.
[0011] Another aspect of the present application provides a shooting control device, including: an image acquisition instruction response module, an automatic exposure mode adjustment module, a shooting module and a target shooting image determination module; specifically:
[0012] An image acquisition instruction response module, used to respond to the image acquisition instruction and turn on the lighting mode, wherein the lighting mode is used to indicate that the indicator light is in a high-brightness state;
[0013] An automatic exposure mode adjustment module, used to adjust the shooting mode to the automatic exposure mode;
[0014] A shooting module, used for performing image acquisition based on an automatic exposure mode to obtain M captured images, where M is an integer greater than or equal to 1;
[0015] The target shot image determination module is used to determine the target shot image from the M shot images, wherein the target shot image is a shot image having a resolution greater than a preset resolution.
[0016] In another implementation of the embodiment of the present application, the automatic exposure mode adjustment module is further used to:
[0017] The fixed exposure mode is adjusted to the automatic exposure mode, wherein the fixed exposure parameter value corresponding to the fixed exposure mode is determined according to the historical exposure parameter.
[0018] In another implementation of the embodiment of the present application, the shooting control device further includes: an exposure parameter value storage module, which is used to:
[0019] Get the exposure parameter value corresponding to the target captured image;
[0020] The exposure parameter value corresponding to the target captured image is stored in a historical exposure parameter database, wherein the historical exposure parameters in the historical exposure parameter database are used to adjust the fixed exposure parameter value.
[0021] In another implementation of the embodiment of the present application, the shooting control device further includes: a distance detection module and an image acquisition instruction generation module; specifically:
[0022] The distance detection module is used to obtain the distance value between the target object and the camera based on the detection of the distance sensor;
[0023] The image acquisition instruction generation module is used to generate an image acquisition instruction if the distance value between the target object and the camera is less than a distance threshold.
[0024] In another implementation of the embodiment of the present application, the shooting control device further includes: a fixed exposure mode adjustment module; specifically:
[0025] The fixed exposure mode adjustment module is used to set the shooting mode to the fixed exposure mode if the distance value between the target object and the camera is greater than or equal to the distance threshold.
[0026] In another implementation of the embodiment of the present application, the fixed exposure mode adjustment module is further used to:
[0027] Get fixed exposure parameter value;
[0028] According to the fixed exposure parameter value, the shooting mode is set to the fixed exposure mode.
[0029] In another implementation of the embodiment of the present application, the fixed exposure mode adjustment module is further used to:
[0030] Obtain N historical exposure parameters, where the historical exposure parameters are exposure parameters corresponding to the captured images that meet the preset resolution;
[0031] A fixed exposure parameter value is calculated based on N historical exposure parameters.
[0032] In another implementation of the embodiment of the present application, the fixed exposure mode adjustment module is further used to:
[0033] Obtaining N exposure times and N exposure gain values corresponding to N captured images, where N is an integer greater than 1;
[0034] The fixed exposure parameter value is calculated based on N historical exposure parameters, including:
[0035] A fixed exposure time is calculated based on the N exposure times, and a fixed exposure gain value is calculated based on the N exposure gain values.
[0036] In another implementation of the embodiment of the present application, the shooting control device further includes: a breathing light mode adjustment module, which is used to set the operating mode of the lamp to a breathing light mode.
[0037] In another implementation of the embodiment of the present application, the shooting module is further used for:
[0038] Get the current exposure and current ambient brightness;
[0039] Determine the target exposure according to the current exposure and the current ambient brightness;
[0040] Determine an exposure adjustment value according to the current exposure and the target exposure;
[0041] According to the exposure adjustment value, the current exposure is adjusted to the target exposure;
[0042] Image acquisition is performed based on the target exposure.
[0043] In another implementation of the embodiment of the present application, the target captured image determination module is further used to:
[0044] Get M resolution values corresponding to M captured images;
[0045] According to the M resolution values, a captured image having a resolution value greater than a preset resolution is determined from the M captured images as a target captured image.
[0046] Another aspect of the present application provides a computer device, comprising:
[0047] memories, transceivers, processors, and bus systems;
[0048] Wherein, the memory is used to store programs;
[0049] The processor is used to execute the program in the memory, including executing the above-mentioned methods;
[0050] The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.
[0051] Another aspect of the present application provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer is enabled to execute the above-mentioned methods.
[0052] Another aspect of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided by the above aspects.
[0053] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0054] The present application provides a shooting control method and related devices, the method is applied to an image acquisition device, the image acquisition device includes a camera and a lamp, the method includes: responding to an image acquisition instruction, setting the operating mode of the lamp to a lighting mode, wherein the lighting mode is used to indicate that the lamp is in a high-brightness state; adjusting the shooting mode to an automatic exposure mode; performing image acquisition based on the automatic exposure mode to obtain M captured images, wherein M is an integer greater than or equal to 1; determining a target captured image from the M captured images, wherein the target captured image is a captured image with a resolution greater than a preset resolution. The present application provides a shooting control method, when responding to an image acquisition instruction, setting the lamp to a lighting mode to illuminate a target object so that the target object can be clearly imaged under sufficient light, adjusting the fixed exposure to automatic exposure for shooting after illuminating the target object, so that the captured image of the target object can be clearly imaged, thereby improving the success rate of target object verification. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 A schematic diagram of the architecture of a shooting control system provided by a certain embodiment of the present application;
[0056] Figure 2 A diagram of an application environment of a method for controlling a photograph in a palm-swipe payment scenario provided by a certain embodiment of the present application;
[0057] Figure 3 A flowchart of a shooting control method provided in one embodiment of the present application;
[0058] Figure 4 A flowchart of a shooting control method provided by another embodiment of the present application;
[0059] Figure 5 A flowchart of a shooting control method provided by another embodiment of the present application;
[0060] Figure 6 A flowchart of a shooting control method provided by another embodiment of the present application;
[0061] Figure 7 A flowchart of a shooting control method provided by another embodiment of the present application;
[0062] Figure 8 A flowchart of a shooting control method provided by another embodiment of the present application;
[0063] Fig. 9 A flowchart of a shooting control method provided by another embodiment of the present application;
[0064] Fig.10 A flowchart of a shooting control method provided by another embodiment of the present application;
[0065] Fig.11 A flowchart of a shooting control method provided by another embodiment of the present application;
[0066] Fig.12 A flowchart of a shooting control method provided by another embodiment of the present application;
[0067] Fig.13 A flowchart of a shooting control method provided by another embodiment of the present application;
[0068] Fig.14 A flowchart of a shooting control method applied to a palm-swiping scenario provided by a certain embodiment of the present application;
[0069] Fig.15 An exposure timing diagram in shooting control provided by a certain embodiment of the present application;
[0070] Fig.16 A schematic diagram of the structure of a shooting control device provided in one embodiment of the present application;
[0071] Fig.17 A schematic diagram of the structure of a shooting control device provided in another embodiment of the present application;
[0072] Fig.18 A schematic diagram of the structure of a shooting control device provided in another embodiment of the present application;
[0073] Fig.19 A schematic diagram of the structure of a shooting control device provided in another embodiment of the present application;
[0074] Fig. 20 A structural schematic diagram of a shooting control device provided in yet another embodiment of the present application;
[0075] Fig.21 A schematic diagram of a server structure provided for a certain embodiment of the present application. DETAILED DESCRIPTION
[0076] An embodiment of the present application provides a shooting control method, which, in response to an image acquisition instruction, sets the lamp to a lighting mode to illuminate the target object so that the target object can be clearly imaged under sufficient light. After illuminating the target object, the fixed exposure is adjusted to automatic exposure for shooting, so that the image of the target object captured can be clearly imaged, thereby improving the success rate of target object verification.
[0077] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "corresponding to" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0078] To facilitate understanding of the technical solutions provided in the embodiments of the present application, some key terms used in the embodiments of the present application are explained here:
[0079] Palm area detection: Use target detection technology to locate the finger gaps and extract the palm area image from the image.
[0080] Palmprint recognition: Identify the identity information of different users based on the image of the palmprint area.
[0081] Cross-device registration and identification: Register and identify on two very different devices, such as registering on a mobile phone and identifying IoT devices.
[0082] Color image: A color image acquired by a color sensor using natural light. It is generally used for face / palm optimization and comparative recognition in face / palm payment.
[0083] Infrared image: An infrared image captured by an infrared sensor using infrared light imaging. It is generally used for liveness detection in face-scanning / palm-scanning payment.
[0084] Optimization: Select a group of color images, depth images, and infrared images that meet the preconditions of liveness detection and contrast recognition algorithms (face scanning: color, depth, infrared, palm scanning: color, infrared). Optimization is performed by optimizing the angle, size, centering, and clarity of the face / palm for color images, the brightness of infrared images for infrared images, and the completeness of the depth image (face scanning) for depth images.
[0085] Preferred payment frame: A set of color images, depth images, and infrared images (face scanning: color, depth, infrared; palm scanning: color, infrared) that are preferably passed can be used for liveness detection and comparative identification.
[0086] Automatic exposure (AE) automatically adjusts the exposure according to the light intensity to prevent overexposure or underexposure.
[0087] With the development of Internet technology and smart terminals, people's work and life have undergone tremendous changes. In payment scenarios, face recognition payment and QR code scanning payment have become commonly used payment methods; in Internet ticket purchase scenarios, entering railway stations and airports by electronic ticket QR code or face recognition is also gradually becoming popular.
[0088] Palm texture and veins are unique in terms of biometric features, just like face, fingerprint, and iris, which provides theoretical support for palm-swipe payment. Unlike fingerprint recognition, which reads the epidermal texture of the fingertips, palm-print recognition reads the vascular texture of the palm, which is more difficult to forge and better ensures payment security. Palm-swipe payment may be a good balance between personal privacy protection and convenient payment methods, and may be more conducive to promotion, popularization, and compliance in the future.
[0089] In addition, compared with facial payment, palm payment can greatly reduce people's psychological pressure on sensitive facial parts, reduce the demand for personal privacy, and is more stable and unique. Compared with scanning code payment, palm payment can greatly simplify the payment process and improve the user's non-sensitive payment experience. At the same time, it can also be convenient to use the product, with better affinity and better acceptance for users. Palm payment can achieve natural, non-sensitive, and ergonomic interaction. Non-sensitive biometric information reduces psychological burden and privacy concerns, and is more easily accepted. It can replace QR code payment in the retail field, and can complete the extremely fast payment experience in small payment scenarios. In the public transportation field, it can achieve rapid passage through smart gates. It also has a large space for convenience in private office scenes such as access control recognition and clocking in.
[0090] In order to clearly image the palm, the focal plane of the camera needs to be basically located on the palm. At the same time, in order to facilitate palm scanning, the palm scanning device is usually set parallel to the ceiling. However, when the palm is extended for palm scanning, it will block the original light. Due to the large changes in ambient light, the collected palm print image cannot be clearly imaged, resulting in palm scanning failure.
[0091] In the related art, there are two exposure methods: one is automatic exposure, but the automatic exposure time is relatively long, generally requiring 200-400ms. In the palm-swiping process, it completely relies on automatic exposure, resulting in a long exposure time, which cannot achieve a high user palm-swiping experience. The other is fixed exposure, which saves the exposure adjustment time and increases the exposure speed, but has a small adaptability range and light scene. For indoor scenes, when the range between the palm and the palm-swiping terminal is within 6-9CM, a good palm-swiping experience can be achieved, but it cannot adapt to the full range of 3-12CM defined by the palm-swiping terminal, nor can it adapt to outdoor light-changing scenes.
[0092] The present application provides a shooting control method, which, in response to an image acquisition instruction, sets the lamp to a lighting mode to illuminate the palm so that the palm can be clearly imaged under sufficient light. After illuminating the palm, the fixed exposure is adjusted to automatic exposure for shooting, so that the captured image of the palm can be clearly imaged, thereby improving the success rate of palm swiping.
[0093] For easier understanding, see Figure 1 , Figure 1 For the shooting control system in the embodiment of the present application, Figure 1 As shown, the shooting control system in the embodiment of the present application includes: a server and a terminal device; wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms. The terminal can be a smart phone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, etc., but is not limited to this. The server is used to verify the target object in the target captured image. The terminal device is an image acquisition device, which is used to acquire images of the target object. The terminal and the server can be directly or indirectly connected via wired or wireless communication, and the embodiment of the present application is not limited here.
[0094] The image acquisition device first responds to the image acquisition instruction and sets the operating mode of the lamp to the lighting mode, wherein the lighting mode is used to indicate that the lamp is in a high-brightness state; then, the image acquisition device adjusts the shooting mode to the automatic exposure mode; then, the image acquisition device performs image acquisition based on the automatic exposure mode to obtain M captured images, wherein M is an integer greater than or equal to 1; finally, the image acquisition device determines a target captured image from the M captured images, wherein the target captured image is a captured image having a resolution greater than a preset resolution.
[0095] For easier understanding, see Figure 2 , Figure 2 FIG. 1 is an application environment diagram of the shooting control method in the embodiment of the present application, such as Figure 2 As shown, the shooting control method in the embodiment of the present application is applied to a shooting control system. The shooting control system includes: a payment system 100 and a merchant acquiring system 200.
[0096] The merchant acquiring system 200 may include an image acquisition device 200-1 and an acquiring device 200-2, wherein the image acquisition device 200-1 includes a camera, a lamp and a distance sensor. First, when the distance sensor (such as a PSensor sensor) on the image acquisition device determines that a palm is approaching, the lamp is turned on to the lighting mode to turn on the white light / infrared light to illuminate the palm. Then, the exposure mode is adjusted from the fixed exposure mode to the automatic exposure mode, and the palm is photographed in the automatic exposure mode. Finally, a target image that can be identified and verified is selected from the photographed image to obtain payment information, and the payment information is sent to the acquiring device 200-2. The acquiring device 200-2 generates order information based on the payment information, and then sends the order information to the payment system 100. The payment system 100 can be considered as the merchant's settlement center. After receiving the order information, the acquiring device 200-2 verifies the user's identity information and the target captured image based on the user identifier in the order information, and deducts the payment after the verification is passed.
[0097] The following is an introduction to the shooting control method in this application from the perspective of the image acquisition device. Figure 3 The shooting control method provided in the embodiment of the present application is applied to an image acquisition device, the image acquisition device includes a camera and a lamp, and the shooting control method includes: step S110 to step S140. Specifically:
[0098] S110. In response to the image acquisition instruction, the operating mode of the lamp is set to the lighting mode.
[0099] Among them, the lighting mode is used to indicate that the indicator light is in a high-brightness state.
[0100] It is understandable that when the image acquisition conditions are not met, the operation mode of the lamp is the breathing light mode, and the exposure mode is the fixed exposure mode; wherein the breathing light mode means that the lamp emits green light, and the light is in a flashing state, and the green light gradually changes from bright to dark, which feels like a person breathing; the fixed exposure mode means setting fixed exposure parameters (including fixed exposure time and fixed exposure gain (GAIN) value). The fixed exposure parameters are determined according to the exposure parameters corresponding to the successful target shooting images in the historical automatic exposure mode.
[0101] When the image acquisition conditions are met, an image acquisition instruction is generated. In response to the image acquisition instruction, the operating mode of the lamp is adjusted to the lighting mode, so that the lamp on the image acquisition device is in a high-brightness state of white light / infrared light to illuminate the palm.
[0102] Image acquisition conditions refer to the judgment based on the distance value between the target object and the camera collected by the distance sensor (such as P-Sensor sensor) on the image acquisition device and the distance threshold. For example, the distance threshold is 15CM. When the distance value between the collected target object and the camera is less than 15CM, there is a possibility that a palm is approaching or there is a possibility that a palm is approaching.
[0103] S120, adjusting the shooting mode to the automatic exposure mode.
[0104] It is understandable that when the image acquisition condition is not met, the exposure mode is a fixed exposure mode, and when the image acquisition condition is not met, the fixed exposure mode needs to be adjusted to an automatic exposure mode. The fixed exposure parameters of the fixed exposure mode are determined according to the historical exposure parameters.
[0105] The fixed exposure parameters can be obtained by processing M groups of exposure parameters (each group of exposure parameters includes exposure time and exposure gain) using the fixed exposure parameter adjustment model; M is an integer greater than 1. Specifically:
[0106] If the shooting control method provided by the embodiment of the present application has been performed more than M times according to the method provided by the embodiment of the present application before executing the embodiment of the present application, and the shooting control method provided by the embodiment of the present application for the M times is in the same region as the method performed this time, or is an image acquired by the same image acquisition device, then M groups of historical exposure parameters corresponding to the target captured images of the recent M times are obtained, and then the M groups of historical exposure parameters are used as the output of the fixed exposure parameter adjustment model, and the M groups of historical exposure parameters are processed by the fixed exposure parameter adjustment model to obtain fixed exposure parameters (including fixed exposure time and fixed exposure gain). The fixed exposure parameter adjustment model is used to generate fixed exposure parameters according to the M groups of historical exposure parameters and the recognition time of the historical target captured images corresponding to the M groups of historical exposure parameters, and the difference range between the fixed exposure parameters and the automatic exposure parameters corresponding to the automatic exposure mode is less than the difference range threshold, thereby reducing the exposure parameter adjustment time and improving the accuracy of the exposure parameters.
[0107] If the shooting control method provided by the embodiment of the present application is performed less than M times according to the method provided by the embodiment of the present application before executing the embodiment of the present application, then M training reference images are obtained, and the regional / environmental big data of the M training reference images are the same as the regional / environmental big data during this execution. Then, the M training reference images are used as the input of the picture exposure parameter analysis model, and the M training reference images are analyzed by the picture exposure parameter analysis model to obtain M groups of reference exposure parameters corresponding to the M training reference images; then, the M groups of reference exposure parameters are used as the output of the fixed exposure parameter adjustment model, and the M groups of reference exposure parameters are processed by the fixed exposure parameter adjustment model to obtain fixed exposure parameters (including fixed exposure time and fixed exposure gain). The fixed exposure parameter adjustment model is used to generate fixed exposure parameters based on the M groups of reference exposure parameters, and the difference range between the fixed exposure parameters and the automatic exposure parameters corresponding to the automatic exposure mode is less than the difference range threshold, thereby reducing the exposure parameter adjustment time and improving the accuracy of the exposure parameters. It can be understood that the difference range between the fixed exposure parameter and the automatic exposure parameter corresponding to the automatic exposure mode is less than the difference range threshold, thereby reducing the exposure parameter adjustment time. This is because when the difference range between the fixed exposure parameter and the automatic exposure parameter corresponding to the automatic exposure mode is less than the difference range threshold, the convergence time required to adjust from the fixed exposure mode to the automatic exposure mode is small. For example, to adjust the fixed exposure mode to the automatic exposure mode, first determine the brightness of the fixed exposure mode to be 800 according to the exposure parameters corresponding to the successful target shooting image in the historical automatic exposure mode, and calculate according to exposure time = target brightness / light brightness, exposure time = 1000 / 800 = 1.25 (ms). If a user swipes his palm and meets the image acquisition conditions, and the palm is 9 cm away from the image acquisition device, set the operating mode of the lamp to the lighting mode, turn on the white light fill light, and perform image acquisition. According to image brightness = exposure time × fill light intensity, it can be calculated that the brightness of this frame image = 1.25 (ms) × 750 (white light fill light intensity when the palm is 9 cm away from the image acquisition device) = 937.5. In this case, the exposure process needs to be adjusted from 937.5 to a target brightness of 1000, and the exposure adjustment value is 1000-937.5=62.5. The exposure time required to capture an image that meets the target brightness is shorter and the convergence speed is faster.
[0108] S130 , performing image acquisition based on the automatic exposure mode to obtain M photographed images.
[0109] Wherein, M is an integer greater than or equal to 1.
[0110] It can be understood that, by performing continuous shooting based on the automatic exposure mode, M images are obtained by continuous shooting.
[0111] S140: Determine a target captured image from the M captured images.
[0112] The target captured image is a captured image with a resolution greater than a preset resolution.
[0113] It can be understood that, from the M captured images, a captured image having a resolution greater than a preset resolution is determined as the target captured image.
[0114] For example, the shooting control method is used in two situations, one is that the image acquisition condition is not met, and the other is that the image acquisition condition is met.
[0115] First, the scene that does not meet the image acquisition conditions is explained: the automatic exposure parameters corresponding to the target captured images when the palm is swiped successfully nearly 1000 times are obtained. The automatic exposure parameters corresponding to the target captured images when the palm is swiped successfully nearly 1000 times are historical exposure parameters, which are stored in the historical exposure parameter database. The fixed exposure parameters are determined according to the historical exposure parameters of the past 1000 times; specifically, the historical exposure parameters include exposure time and exposure gain (GAIN) value, the average of the exposure time of nearly 1000 times is used as the fixed exposure time of the fixed exposure parameter, and the average of the exposure gain (GAIN) values of nearly 1000 times is used as the exposure gain (GAIN) value of the fixed exposure parameter; or, the median value of the exposure time of nearly 1000 times is used as the fixed exposure time of the fixed exposure parameter, and the median value of the exposure gain (GAIN) values of nearly 1000 times is used as the exposure gain (GAIN) value of the fixed exposure parameter. When the image acquisition conditions are not met, the operation mode of the lamp is the breathing lamp mode, that is, the lamp emits green light, and the light is in a flashing state, and the green light gradually changes from bright to dark, which feels like a person breathing.
[0116] Next, the scenarios that meet the image acquisition conditions are explained: Based on experience, it is known that the distance between the palm and the image acquisition device is usually 5cm to 12cm when swiping the palm, and the distance threshold is set to 15cm based on experience. Based on the detection of the distance sensor, the distance between the palm and the image acquisition device is obtained. If the distance between the palm and the image acquisition device is less than the distance threshold of 15cm, the image acquisition instruction is responded to; if the distance between the palm and the image acquisition device is greater than the distance threshold of 15cm, the image acquisition instruction is not responded to. Preferably, 4 P-Sensor sensors are arranged on the image acquisition device. When one of the P-Sensor sensors detects that the distance between the palm and the image acquisition device is less than the distance threshold of 15cm, the image acquisition instruction is responded to.
[0117] When the distance between the palm and the image acquisition device is less than the distance threshold of 15cm, the image acquisition instruction is responded to and the operation mode of the lamp is changed from the breathing lamp mode to the lighting mode, that is, the lamp on the image acquisition device is in the white light lamp / infrared lamp high brightness state to illuminate the palm, and then after illuminating the palm, the camera mode is adjusted from the fixed exposure mode to the automatic exposure mode. The palm is continuously photographed based on the automatic exposure mode to obtain M photographed images, and the photographed images with a resolution greater than the preset resolution are selected from the M photographed images as the target photographed images, and finally the target photographed images are subjected to palmprint recognition verification.
[0118] The present application provides a shooting control method, which, in response to an image acquisition instruction, sets the lamp to a lighting mode to illuminate the target object so that the target object can be clearly imaged under sufficient light. After illuminating the target object, the fixed exposure is adjusted to automatic exposure for shooting, so that the image of the target object captured can be clearly imaged, thereby improving the success rate of target object verification.
[0119] In the related art, there are two exposure methods: one is automatic exposure, but the automatic exposure time is relatively long, generally requiring 200-400ms. In the palm-swiping process, it completely relies on automatic exposure, resulting in a long exposure time, which cannot achieve a high user palm-swiping experience. The other is fixed exposure, which saves the exposure adjustment time and increases the exposure speed, but has a small adaptability range and light scene. For indoor scenes, when the range between the palm and the palm-swiping terminal is within 6-9CM, a good palm-swiping experience can be achieved, but it cannot adapt to the full range of 3-12CM defined by the palm-swiping terminal, nor can it adapt to outdoor light-changing scenes.
[0120] In order to be able to expose in the full range of 3-12CM defined by the palm terminal and shorten the exposure time to achieve a better palm swiping experience, in this application Figure 3 In an optional embodiment of the shooting control method provided in the corresponding embodiment, please refer to Figure 4 , step S120 further includes sub-step S121. Specifically:
[0121] S121. Adjust the fixed exposure mode to the automatic exposure mode.
[0122] The fixed exposure parameter value corresponding to the fixed exposure mode is determined according to the historical exposure parameter.
[0123] It can be understood that when the difference between the fixed exposure parameter of the fixed exposure mode and the target exposure parameter of the automatic exposure mode is smaller, the exposure time can be greatly reduced. Therefore, setting a reasonable fixed exposure parameter plays an important role in reducing the exposure time. The fixed exposure parameter is determined according to the exposure parameter corresponding to the successful target shooting image in the automatic exposure mode in the past.
[0124] For example, in an indoor scene, assuming that the average indoor light intensity is 100, the lamp on the image acquisition device is in the operating lighting mode, the intensity of the white light fill light at a distance of 7 cm from the image acquisition device is 800, and the target brightness is 1000.
[0125] If the automatic exposure mode is used directly, the exposure time can be calculated based on exposure time = target brightness / average indoor light intensity, and the exposure time = 1000 / 100 = 10 (ms). If a user swipes his palm and meets the image acquisition conditions, and the palm is 7 cm away from the image acquisition device, the image is directly acquired. According to image brightness = exposure time × fill light intensity, it can be calculated that the brightness of this frame of image = 10 (ms) × 800 = 8000. In this case, the exposure process needs to be adjusted from a brightness of 8000 to a target brightness of 1000, and the exposure adjustment value is 8000-1000 = 7000. The exposure time required to capture an image that meets the target brightness is longer, and the convergence speed is slower.
[0126] If the method of step S121 of the embodiment of the present application is adopted, that is, the fixed exposure mode is adjusted to the automatic exposure mode, first, the brightness of the fixed exposure mode is determined to be 800 according to the exposure parameters corresponding to the successful target shooting image in the historical automatic exposure mode, and the exposure time is calculated to be 1000 / 800=1.25 (ms) according to the exposure time=target brightness / light brightness. If a user swipes his palm and meets the image acquisition conditions, and the palm is 9 cm away from the image acquisition device, the operation mode of the lamp is set to the lighting mode, the white light fill light is turned on, and the image is collected. According to the image brightness=exposure time×fill light intensity, it can be calculated that the brightness of this frame image=1.25 (ms)×750 (white light fill light intensity when the palm is 9 cm away from the image acquisition device)=937.5. For this situation, the exposure process needs to be adjusted from 937.5 to a target brightness of 1000, and the exposure adjustment value is 1000-937.5=62.5. The exposure time required to shoot an image that meets the target brightness is shorter, and the convergence speed is faster.
[0127] The present application provides a shooting control method, which sets a fixed exposure mode based on fixed exposure parameters determined according to exposure parameters corresponding to successful target shooting images in historical automatic exposure mode, and adjusts the fixed exposure mode to automatic exposure mode when image acquisition conditions are met, thereby achieving shorter exposure time and faster convergence speed by reducing the exposure adjustment value.
[0128] In this application Figure 4 In an optional embodiment of the shooting control method provided in the corresponding embodiment, please refer to Figure 5 , after step S140, it also includes steps S150 to S160. Specifically:
[0129] S150: Obtain exposure parameter values corresponding to the target captured image.
[0130] S160 stores the exposure parameter value corresponding to the target captured image in a historical exposure parameter database.
[0131] The historical exposure parameters in the historical exposure parameter database are used to adjust the fixed exposure parameter values.
[0132] It can be understood that when the difference between the fixed exposure parameter of the fixed exposure mode and the target exposure parameter of the automatic exposure mode is smaller, the exposure time can be greatly reduced. Therefore, setting a reasonable fixed exposure parameter plays an important role in reducing the exposure time. The fixed exposure parameter is determined based on the exposure parameter corresponding to the successful target shot image in the automatic exposure mode in the past. Therefore, the exposure parameter value corresponding to the target shot image needs to be stored for subsequent adjustment of the fixed exposure parameter value.
[0133] For example, in a scenario that meets the image acquisition conditions, based on experience, it is known that the distance between the palm and the image acquisition device is usually 5cm to 12cm when swiping the palm, and the distance threshold is set to 15cm based on experience. Based on the detection of the distance sensor, the distance between the palm and the image acquisition device is obtained. If the distance between the palm and the image acquisition device is less than the distance threshold of 15cm, the image acquisition instruction is responded to; if the distance between the palm and the image acquisition device is greater than the distance threshold of 15cm, the image acquisition instruction is not responded to. Preferably, four P-Sensor sensors are arranged on the image acquisition device. When one of the P-Sensor sensors detects that the distance between the palm and the image acquisition device is less than the distance threshold of 15cm, the image acquisition instruction is responded to.
[0134] When the distance between the palm and the image acquisition device is less than the distance threshold of 15cm, the operating mode of the lamp is changed from the breathing lamp mode to the lighting mode in response to the image acquisition instruction, that is, the lamp on the image acquisition device is in the white light lamp / infrared lamp high brightness state to illuminate the palm. After illuminating the palm, the camera mode is adjusted from the fixed exposure mode to the automatic exposure mode. The palm is continuously photographed based on the automatic exposure mode to obtain M photographed images. From the M photographed images, a photographed image with a resolution greater than a preset resolution is selected as the target photographed image, and the target photographed image is used for palmprint recognition verification. Finally, the exposure parameter value corresponding to the target photographed image is obtained, and the exposure parameter value corresponding to the target photographed image is stored in the historical exposure parameter database for subsequent adjustment of the fixed exposure parameter value.
[0135] The fixed exposure parameters are used in scenarios that do not meet the image acquisition conditions, namely: obtaining the automatic exposure parameters corresponding to the target captured images when the palm is swiped successfully nearly 1000 times, and the automatic exposure parameters corresponding to the target captured images when the palm is swiped successfully nearly 1000 times are historical exposure parameters, which are stored in the historical exposure parameter database, and the fixed exposure parameters are determined according to the historical exposure parameters of the past 1000 times; specifically, the historical exposure parameters include exposure time and exposure gain (GAIN) value, and the average of the exposure time of nearly 1000 times is used as the fixed exposure time of the fixed exposure parameters, and the average of the exposure gain (GAIN) values of nearly 1000 times is used as the exposure gain (GAIN) value of the fixed exposure parameters; or, the median value of the exposure time of nearly 1000 times is used as the fixed exposure time of the fixed exposure parameters, and the median value of the exposure gain (GAIN) values of nearly 1000 times is used as the exposure gain (GAIN) value of the fixed exposure parameters.
[0136] The present application provides a shooting control method, which stores the exposure parameter values corresponding to the target shot image for subsequent adjustment of the fixed exposure parameter values, so as to reduce the exposure adjustment value of the target exposure parameter corresponding to the fixed exposure parameter value and the automatic exposure mode, laying the foundation for reducing the exposure adjustment value and achieving a shorter exposure time and a faster convergence speed.
[0137] In this application Figure 3 In an optional embodiment of the shooting control method provided by the corresponding embodiment, the image acquisition device also includes a distance sensor. Figure 6 , step S110 also includes sub-steps S111 to S112. Specifically:
[0138] S111. Based on detection by the distance sensor, obtain a distance value between the target object and the camera.
[0139] It can be understood that the distance sensor in the embodiment of the present application can be a P-Sensor sensor, which can sense the distance between the image acquisition device and the palm, thereby determining whether to respond to the image acquisition instruction.
[0140] S112: If the distance between the target object and the camera is less than the distance threshold, respond to the image acquisition instruction.
[0141] It can be understood that the distance threshold is set based on experience, and when the distance value between the target object and the camera is less than the distance threshold, the image acquisition instruction is responded to.
[0142] For example, based on experience, it is known that the distance between the palm and the image acquisition device is usually 5cm to 12cm when swiping the palm, and the distance threshold is set to 15cm based on experience. Based on the detection of the distance sensor, the distance between the palm and the image acquisition device is obtained. If the distance between the palm and the image acquisition device is less than the distance threshold of 15cm, the image acquisition instruction is responded to; if the distance between the palm and the image acquisition device is greater than the distance threshold of 15cm, the image acquisition instruction is not responded to. Preferably, 4 P-Sensor sensors are arranged on the image acquisition device, and when one of the P-Sensor sensors detects that the distance between the palm and the image acquisition device is less than the distance threshold of 15cm, the image acquisition instruction is responded to.
[0143] In scenarios that meet the image acquisition conditions, based on experience, it is known that the distance between the palm and the image acquisition device is usually 5cm to 12cm when swiping the palm, and the distance threshold is set to 15cm based on experience. Based on the detection of the distance sensor, the distance between the palm and the image acquisition device is obtained. If the distance between the palm and the image acquisition device is less than the distance threshold of 15cm, the image acquisition instruction is responded to; if the distance between the palm and the image acquisition device is greater than the distance threshold of 15cm, the image acquisition instruction is not responded to. Preferably, 4 P-Sensor sensors are arranged on the image acquisition device, and when one of the P-Sensor sensors detects that the distance between the palm and the image acquisition device is less than the distance threshold of 15cm, the image acquisition instruction is responded to.
[0144] When the distance between the palm and the image acquisition device is less than the distance threshold of 15cm, the image acquisition instruction is responded to and the operation mode of the lamp is changed from the breathing lamp mode to the lighting mode, that is, the lamp on the image acquisition device is in the white light lamp / infrared lamp high brightness state to illuminate the palm, and then after illuminating the palm, the camera mode is adjusted from the fixed exposure mode to the automatic exposure mode. The palm is continuously photographed based on the automatic exposure mode to obtain M photographed images, and the photographed images with a resolution greater than the preset resolution are selected from the M photographed images as the target photographed images, and finally the target photographed images are subjected to palmprint recognition verification.
[0145] The present application provides a shooting control method, which compares the distance value between the target object and the camera obtained by detection based on the distance sensor with the distance threshold to determine whether to respond to the image acquisition instruction, laying the foundation for reducing the exposure adjustment value, achieving a shorter exposure time and a faster convergence speed.
[0146] In this application Figure 6 In an optional embodiment of the shooting control method provided in the corresponding embodiment, please refer to Figure 7 , sub-step S112 also includes sub-step S113. Specifically:
[0147] S113: If the distance between the target object and the camera is greater than or equal to the distance threshold, the shooting mode is set to a fixed exposure mode.
[0148] It is understandable that the distance threshold is set based on experience, and when the distance value between the target object and the camera is equal to the distance threshold, the shooting mode is set to the fixed exposure mode. When the distance value between the target object and the camera is equal to the distance threshold, it can be understood that the palm swipe is not performed.
[0149] Based on experience, it is known that the distance between the palm and the image acquisition device is usually 5cm to 12cm when swiping the palm, and the distance threshold is set to 15cm based on experience. Based on the detection of the distance sensor, the distance between the palm and the image acquisition device is obtained. If the distance between the palm and the image acquisition device is less than the distance threshold of 15cm, the image acquisition instruction is responded to; if the distance between the palm and the image acquisition device is equal to the distance threshold of 15cm, the image acquisition instruction is not responded to. Preferably, 4 P-Sensor sensors are arranged on the image acquisition device. When one of the P-Sensor sensors detects that the distance between the palm and the image acquisition device is less than the distance threshold of 15cm, the image acquisition instruction is responded to. If none of the 4 P-Sensor sensors detects that the distance between the palm and the image acquisition device is less than the distance threshold of 15cm, the image acquisition instruction is not responded to, and the shooting mode continues to be maintained as a fixed exposure mode.
[0150] The fixed exposure parameters of the fixed exposure mode are determined by the following steps: obtaining automatic exposure parameters corresponding to the target captured images when the palm is swiped successfully nearly 1000 times, and the automatic exposure parameters corresponding to the target captured images when the palm is swiped successfully nearly 1000 times are historical exposure parameters, which are stored in a historical exposure parameter database, and the fixed exposure parameters are determined according to the historical exposure parameters of the past 1000 times; specifically, the historical exposure parameters include exposure time and exposure gain (GAIN) value, and the average of the exposure time of nearly 1000 times is used as the fixed exposure time of the fixed exposure parameter, and the average of the exposure gain (GAIN) values of nearly 1000 times is used as the exposure gain (GAIN) value of the fixed exposure parameter; or, the median value of the exposure time of nearly 1000 times is used as the fixed exposure time of the fixed exposure parameter, and the median value of the exposure gain (GAIN) values of nearly 1000 times is used as the exposure gain (GAIN) value of the fixed exposure parameter.
[0151] The present application provides a shooting control method, which compares the distance value between the target object and the camera obtained by detection based on the distance sensor with the distance threshold to determine whether to respond to the image acquisition instruction, laying the foundation for reducing the exposure adjustment value, achieving a shorter exposure time and a faster convergence speed.
[0152] In this application Figure 7In an optional embodiment of the shooting control method provided in the corresponding embodiment, please refer to Figure 8 , step S113 further includes sub-steps S1131 to S1132. Specifically:
[0153] S1131. Obtain a fixed exposure parameter value.
[0154] It can be understood that the fixed exposure parameter value is calculated in advance, and the fixed exposure parameter value is calculated based on the automatic exposure parameter corresponding to the target captured image when the palm is swiped successfully nearly 1000 times, specifically: the automatic exposure parameter corresponding to the target captured image when the palm is swiped successfully nearly 1000 times is obtained, and the automatic exposure parameter corresponding to the target captured image when the palm is swiped successfully nearly 1000 times is the historical exposure parameter, which is stored in the historical exposure parameter database, and the fixed exposure parameter is determined based on the historical exposure parameters of nearly 1000 times; specifically, the historical exposure parameter includes exposure time and exposure gain (GAIN) value, and the average of the exposure time of nearly 1000 times is used as the fixed exposure time of the fixed exposure parameter, and the average of the exposure gain (GAIN) values of nearly 1000 times is used as the exposure gain (GAIN) value of the fixed exposure parameter; or, the median value of the exposure time of nearly 1000 times is used as the fixed exposure time of the fixed exposure parameter, and the median value of the exposure gain (GAIN) values of nearly 1000 times is used as the exposure gain (GAIN) value of the fixed exposure parameter. The difference between the fixed exposure parameter value and the target fixed exposure parameter value is small.
[0155] S1132. According to the fixed exposure parameter value, set the shooting mode to the fixed exposure mode.
[0156] It is understandable that according to the fixed exposure parameter value, the shooting mode is set to the fixed exposure mode. In the scene that does not meet the image acquisition conditions, the shooting mode is set to the fixed exposure mode by default. The scene that does not meet the image acquisition conditions means that based on experience, the distance between the palm and the image acquisition device is usually 5cm to 12cm when swiping the palm, and the distance threshold is set to 15cm based on experience. Based on the detection of the distance sensor, the distance between the palm and the image acquisition device is obtained. If the distance between the palm and the image acquisition device is equal to the distance threshold of 15cm, it is a scene that does not meet the image acquisition conditions.
[0157] For example, automatic exposure parameters corresponding to target captured images when palm swiping is successful nearly 1000 times are obtained. The automatic exposure parameters corresponding to target captured images when palm swiping is successful nearly 1000 times are historical exposure parameters, which are stored in a historical exposure parameter database, and fixed exposure parameters are determined based on the historical exposure parameters of nearly 1000 times; specifically, the historical exposure parameters include exposure time and exposure gain (GAIN) value, and the average of the exposure time of nearly 1000 times is used as the fixed exposure time of the fixed exposure parameter, and the average of the exposure gain (GAIN) values of nearly 1000 times is used as the exposure gain (GAIN) value of the fixed exposure parameter; or, the median value of the exposure time of nearly 1000 times is used as the fixed exposure time of the fixed exposure parameter, and the median value of the exposure gain (GAIN) values of nearly 1000 times is used as the exposure gain (GAIN) value of the fixed exposure parameter, and according to the fixed exposure parameter value, the shooting mode is set to the fixed exposure mode.
[0158] The present application provides a shooting control method, which sets the shooting mode to a fixed exposure mode according to a fixed exposure parameter value. The difference between the fixed exposure parameter value and the target exposure parameter value is small, that is, the exposure adjustment value is small, so as to achieve a shorter exposure time and a faster convergence speed.
[0159] In this application Figure 8 In an optional embodiment of the shooting control method provided in the corresponding embodiment, please refer to Fig. 9 , sub-step S1131 further includes sub-steps S11311 to S11312. Specifically:
[0160] S11311. Obtain N historical exposure parameters.
[0161] The historical exposure parameter is an exposure parameter corresponding to a captured image that meets a preset resolution, and N is an integer greater than or equal to 1.
[0162] It can be understood that the historical exposure parameter refers to the exposure parameter corresponding to the captured image that meets the preset resolution, and the captured image that meets the preset resolution is the target captured image when the palm swiping is successful.
[0163] S11312. Calculate a fixed exposure parameter value according to N historical exposure parameters.
[0164] It can be understood that the automatic exposure parameters corresponding to the target captured images when the palm swiping is successful nearly 1000 times are obtained. The automatic exposure parameters corresponding to the target captured images when the palm swiping is successful nearly 1000 times are historical exposure parameters, which are stored in the historical exposure parameter database, and the fixed exposure parameters are determined according to the historical exposure parameters of the past 1000 times; specifically, the historical exposure parameters include exposure time and exposure gain (GAIN) value, and the average of the exposure time of nearly 1000 times is used as the fixed exposure time of the fixed exposure parameter, and the average of the exposure gain (GAIN) values of nearly 1000 times is used as the exposure gain (GAIN) value of the fixed exposure parameter; or, the median value of the exposure time of nearly 1000 times is used as the fixed exposure time of the fixed exposure parameter, and the median value of the exposure gain (GAIN) values of nearly 1000 times is used as the exposure gain (GAIN) value of the fixed exposure parameter.
[0165] The present application provides a shooting control method, which obtains a fixed exposure parameter value by calculating the automatic exposure parameters corresponding to the target shooting image when the palm is swiped successfully nearly 1000 times. The difference between the fixed exposure parameter value and the target fixed exposure parameter value is small, that is, the exposure adjustment value is small, so the exposure time is shorter and the convergence speed is faster.
[0166] In this application Fig. 9 In an optional embodiment of the shooting control method provided in the corresponding embodiment, please refer to Fig.10 , sub-step S11311 further includes sub-step S113110, and sub-step S11312 further includes S113120. Specifically:
[0167] S113110. Obtain N exposure times and N exposure gain values corresponding to the N captured images.
[0168] S113120. Calculate a fixed exposure time based on the N exposure times, and calculate a fixed exposure gain value based on the N exposure gain values.
[0169] It can be understood that the automatic exposure parameters corresponding to the target captured images when the palm swiping is successful nearly 1000 times are obtained. The automatic exposure parameters corresponding to the target captured images when the palm swiping is successful nearly 1000 times are historical exposure parameters, which are stored in the historical exposure parameter database, and the fixed exposure parameters are determined according to the historical exposure parameters of the past 1000 times; specifically, the historical exposure parameters include exposure time and exposure gain (GAIN) value, and the average of the exposure time of nearly 1000 times is used as the fixed exposure time of the fixed exposure parameter, and the average of the exposure gain (GAIN) values of nearly 1000 times is used as the exposure gain (GAIN) value of the fixed exposure parameter; or, the median value of the exposure time of nearly 1000 times is used as the fixed exposure time of the fixed exposure parameter, and the median value of the exposure gain (GAIN) values of nearly 1000 times is used as the exposure gain (GAIN) value of the fixed exposure parameter.
[0170] The present application provides a shooting control method, which obtains a fixed exposure parameter value by calculating the automatic exposure parameters corresponding to the target shooting image when the palm is swiped successfully nearly 1000 times. The difference between the fixed exposure parameter value and the target fixed exposure parameter value is small, that is, the exposure adjustment value is small, so the exposure time is shorter and the convergence speed is faster.
[0171] In this application Figure 7 In an optional embodiment of the shooting control method provided in the corresponding embodiment, please refer to Fig.11 , after step S1132, step S1133 is also included. Specifically:
[0172] S1133. Set the operating mode of the lamp to breathing light mode.
[0173] It can be understood that in scenes that do not meet the image acquisition conditions, the operating mode of the lamp is the breathing light mode, that is, the lamp emits green light, and the light is in a flashing state, and the green light gradually changes from bright to dark, which feels like a person breathing.
[0174] When the image acquisition conditions are met, the operation mode of the lamp is changed from the breathing light mode to the lighting mode, that is, the lamp on the image acquisition device is in the white light / infrared light high-brightness state to illuminate the palm for taking pictures.
[0175] The present application provides a shooting control method, which sets the operating mode of a lamp to a breathing light mode in a scene that meets the image acquisition conditions, and indicates that the image acquisition device is in an operating state by setting the breathing light.
[0176] In this application Figure 3 In an optional embodiment of the shooting control method provided in the corresponding embodiment, please refer to Fig.12 , step S130 includes sub-steps S131 to S135. Specifically:
[0177] S131. Obtain current exposure and current ambient brightness.
[0178] S132: Determine a target exposure according to the current exposure and the current ambient brightness.
[0179] S133: Determine an exposure adjustment value according to the current exposure and the target exposure.
[0180] S134: Adjust the current exposure to the target exposure according to the exposure adjustment value.
[0181] S135: Capture images based on the target exposure.
[0182] It can be understood that after the target exposure is determined based on the current exposure and the current ambient brightness, when performing automatic exposure adjustment, the difference between the target exposure and the current exposure is determined as the adjustment step value, and the exposure is directly adjusted from the current exposure to the target exposure, thereby achieving breakthrough exposure and reducing the exposure time.
[0183] For example, in an indoor scene, assuming that the average indoor light intensity is 100, the lamp on the image acquisition device is in the operating lighting mode, the intensity of the white light fill light at a distance of 7 cm from the image acquisition device is 800, and the target brightness is 1000.
[0184] If the automatic exposure mode is used directly, the exposure time can be calculated based on exposure time = target brightness / average indoor light intensity, and the exposure time = 1000 / 100 = 10 (ms). If a user swipes his palm and meets the image acquisition conditions, and the palm is 7 cm away from the image acquisition device, the image is directly acquired. According to image brightness = exposure time × fill light intensity, it can be calculated that the brightness of this frame of image = 10 (ms) × 800 = 8000. In this case, the exposure process needs to be adjusted from a brightness of 8000 to a target brightness of 1000, and the exposure adjustment value is 8000-1000 = 7000. The exposure time required to capture an image that meets the target brightness is longer, and the convergence speed is slower.
[0185] If the method of the embodiment of the present application is adopted, that is, the fixed exposure mode is adjusted to the automatic exposure mode, first, the brightness of the fixed exposure mode is determined to be 800 according to the exposure parameters corresponding to the successful target shooting image in the historical automatic exposure mode, and the exposure time is calculated to be 1000 / 800=1.25 (ms) according to the exposure time=target brightness / light brightness. If a user swipes his palm and meets the image acquisition conditions, and the palm is 9 cm away from the image acquisition device, the operating mode of the lamp is set to the lighting mode, the white light fill light is turned on, and the image is collected. According to the image brightness=exposure time×fill light intensity, it can be calculated that the brightness of this frame image=1.25 (ms)×750 (white light fill light intensity when the palm is 9 cm away from the image acquisition device)=937.5. For this situation, the exposure process needs to be adjusted from 937.5 to a target brightness of 1000, and the exposure adjustment value is 1000-937.5=62.5. The exposure time required to shoot an image that meets the target brightness is shorter, and the convergence speed is faster.
[0186] In an outdoor scene, assuming that the average outdoor light intensity is 1000, the lamp on the image acquisition device is in the operating lighting mode, the intensity of the white light fill light at a distance of 7 cm from the image acquisition device is 800, and the target brightness is 1000.
[0187] Adopt the method of the embodiment of the present application, that is, adjust the fixed exposure mode to the automatic exposure mode, first determine the brightness of the fixed exposure mode to 800 according to the exposure parameters corresponding to the successful target shooting image in the automatic exposure mode in history, and calculate according to exposure time = target brightness / light brightness, exposure time = 1000 / 800 = 1.25 (ms). If a user swipes his palm and meets the image acquisition conditions, and the palm is 9 cm away from the image acquisition device, set the operating mode of the lamp to the lighting mode, turn on the white light fill light, and perform image acquisition. According to image brightness = exposure time × fill light intensity, it can be calculated that the brightness of this frame image = 1.25 (ms) × 1000 (the average outdoor light intensity is 1000) = 1250. For this situation, the exposure process needs to be adjusted from 1250 to a target brightness of 1000, and the exposure adjustment value is 1250-1000 = 250. The exposure time required to shoot an image that meets the target brightness is shorter, and the convergence speed is faster.
[0188] The present application provides a shooting control method, which determines the target exposure according to the current ambient brightness and the current exposure, calculates the exposure adjustment value according to the target exposure, and achieves a shorter exposure time and a faster convergence speed by reducing the exposure adjustment value.
[0189] In this application Figure 3 In an optional embodiment of the shooting control method provided in the corresponding embodiment, please refer to Fig.13, step S140 includes sub-steps S141 to S142. Specifically:
[0190] S141. Obtain M resolution values corresponding to the M captured images.
[0191] S142. According to the M resolution values, determine, from the M captured images, a captured image having a resolution value greater than a preset resolution as a target captured image.
[0192] It can be understood that, according to the resolution of the continuously captured images, the captured image with a resolution value greater than the preset resolution is selected as the target captured image. If there are multiple captured images with resolution values greater than the preset resolution, the captured image with the largest resolution is selected as the target captured image. If there is no captured image with a resolution value greater than the preset resolution, the shooting failure is returned and a request is made to reshoot.
[0193] The present application provides a shooting control method, which selects a target shooting image according to the shooting resolution of the image, improves the accuracy of determining the target shooting image, and then adjusts the fixed exposure parameter value through the exposure parameter value of the target shooting image, laying the foundation for shortening the exposure time and improving the convergence speed.
[0194] For ease of understanding, the following will combine Fig.14 A shooting control method applied to a palm-swiping scene is introduced. The shooting control method applied to a palm-swiping scene includes four steps, specifically:
[0195] Step 1: Use the P-Sensor to determine whether a palm is approaching.
[0196] Based on experience, it is known that the distance between the palm and the image acquisition device is usually between 5cm and 12cm when brushing the palm, and the distance threshold is set to 15cm based on experience. Based on the detection of the distance sensor, the distance between the palm and the image acquisition device is obtained. If the distance between the palm and the image acquisition device is less than the distance threshold of 15cm, the image acquisition instruction is responded to; if the distance between the palm and the image acquisition device is equal to the distance threshold of 15cm, the image acquisition instruction is not responded to. Preferably, 4 P-Sensor sensors are arranged on the image acquisition device. When one of the P-Sensor sensors detects that the distance between the palm and the image acquisition device is less than the distance threshold of 15cm, the image acquisition instruction is responded to. Preferably, if the distance between the palm and the image acquisition device is equal to 12cm, the success rate of palm brushing can be improved, and 12cm is used as the optimal distance value for palm brushing to provide a better palm brushing experience.
[0197] Step 2: When there is no palm close to the image acquisition device, the shooting mode is a fixed exposure mode.
[0198] The automatic exposure parameters corresponding to the target captured images when the palm is swiped successfully nearly 1000 times are obtained. The automatic exposure parameters corresponding to the target captured images when the palm is swiped successfully nearly 1000 times are historical exposure parameters, which are stored in the historical exposure parameter database. The fixed exposure parameters are determined according to the historical exposure parameters of the past 1000 times; specifically, the historical exposure parameters include exposure time and exposure gain (GAIN) value, the average of the exposure time of nearly 1000 times is used as the fixed exposure time of the fixed exposure parameter, and the average of the exposure gain (GAIN) values of nearly 1000 times is used as the exposure gain (GAIN) value of the fixed exposure parameter; or, the median value of the exposure time of nearly 1000 times is used as the fixed exposure time of the fixed exposure parameter, and the median value of the exposure gain (GAIN) values of nearly 1000 times is used as the exposure gain (GAIN) value of the fixed exposure parameter. When the image acquisition conditions are not met, the operation mode of the lamp is the breathing lamp mode, that is, the lamp emits green light, and the light is in a flashing state, and the green light gradually changes from bright to dark, which feels like a person breathing.
[0199] Step 3: When a palm is close to the image acquisition device, the shooting mode is the automatic exposure mode.
[0200] When the distance between the palm and the image acquisition device is less than the distance threshold of 15cm, the image acquisition instruction is responded to and the operation mode of the lamp is changed from the breathing lamp mode to the lighting mode, that is, the lamp on the image acquisition device is in the white light lamp / infrared lamp high brightness state to illuminate the palm, and then after illuminating the palm, the camera mode is adjusted from the fixed exposure mode to the automatic exposure mode. The palm is continuously photographed based on the automatic exposure mode to obtain M photographed images, and the photographed images with a resolution greater than the preset resolution are selected from the M photographed images as the target photographed images, and finally the target photographed images are subjected to palmprint recognition verification.
[0201] Please note that Fig.15 , Fig.15 This is an exposure timing diagram. To ensure the success rate, you need to illuminate the palm first and then adjust the shooting mode to automatic exposure mode, so that the first frame obtained by the ISP is an image with lighting + experience value fixed AE. Only in this way can the palm swipe fast AE take effect. If the first frame obtained by the ISP does not match the lighting: the first frame given to the ISP automatic AE has not been illuminated, which will cause the ISP first frame AE to fail, and there will be a very long AE convergence process, resulting in a slow palm swipe speed.
[0202] Step 4: Store the exposure parameter value corresponding to the target image successfully identified this time into the historical exposure parameter database.
[0203] When the difference between the fixed exposure parameter of the fixed exposure mode and the target exposure parameter of the automatic exposure mode is smaller, the exposure time can be greatly reduced. Therefore, setting a reasonable fixed exposure parameter plays an important role in reducing the exposure time. The fixed exposure parameter is determined based on the exposure parameter corresponding to the successful target shot image in the automatic exposure mode in the past. Therefore, the exposure parameter value corresponding to the target shot image needs to be stored for subsequent adjustment of the fixed exposure parameter value.
[0204] For example, in an indoor scene, assuming that the average indoor light intensity is 100, the lamp on the image acquisition device is in the operating lighting mode, the intensity of the white light fill light at a distance of 7 cm from the image acquisition device is 800, and the target brightness is 1000.
[0205] If the automatic exposure mode is used directly, the exposure time can be calculated based on exposure time = target brightness / average indoor light intensity, and the exposure time = 1000 / 100 = 10 (ms). If a user swipes his palm and meets the image acquisition conditions, and the palm is 7 cm away from the image acquisition device, the image is directly acquired. According to image brightness = exposure time × fill light intensity, it can be calculated that the brightness of this frame of image = 10 (ms) × 800 = 8000. In this case, the exposure process needs to be adjusted from a brightness of 8000 to a target brightness of 1000, and the exposure adjustment value is 8000-1000 = 7000. The exposure time required to capture an image that meets the target brightness is longer, and the convergence speed is slower.
[0206] If the method of the embodiment of the present application is adopted, that is, the fixed exposure mode is adjusted to the automatic exposure mode, first, the brightness of the fixed exposure mode is determined to be 800 according to the exposure parameters corresponding to the successful target shooting image in the historical automatic exposure mode, and the exposure time is calculated to be 1000 / 800=1.25 (ms) according to the exposure time=target brightness / light brightness. If a user swipes his palm and meets the image acquisition conditions, and the palm is 9 cm away from the image acquisition device, the operating mode of the lamp is set to the lighting mode, the white light fill light is turned on, and the image is collected. According to the image brightness=exposure time×fill light intensity, it can be calculated that the brightness of this frame image=1.25 (ms)×750 (white light fill light intensity when the palm is 9 cm away from the image acquisition device)=937.5. For this situation, the exposure process needs to be adjusted from 937.5 to a target brightness of 1000, and the exposure adjustment value is 1000-937.5=62.5. The exposure time required to shoot an image that meets the target brightness is shorter, and the convergence speed is faster.
[0207] In an outdoor scene, assuming that the average outdoor light intensity is 1000, the lamp on the image acquisition device is in the operating lighting mode, the intensity of the white light fill light at a distance of 7 cm from the image acquisition device is 800, and the target brightness is 1000.
[0208] Adopt the method of the embodiment of the present application, that is, adjust the fixed exposure mode to the automatic exposure mode, first determine the brightness of the fixed exposure mode to 800 according to the exposure parameters corresponding to the successful target shooting image in the automatic exposure mode in history, and calculate according to exposure time = target brightness / light brightness, exposure time = 1000 / 800 = 1.25 (ms). If a user swipes his palm and meets the image acquisition conditions, and the palm is 9 cm away from the image acquisition device, set the operating mode of the lamp to the lighting mode, turn on the white light fill light, and perform image acquisition. According to image brightness = exposure time × fill light intensity, it can be calculated that the brightness of this frame image = 1.25 (ms) × 1000 (the average outdoor light intensity is 1000) = 1250. For this situation, the exposure process needs to be adjusted from 1250 to a target brightness of 1000, and the exposure adjustment value is 1250-1000 = 250. The exposure time required to shoot an image that meets the target brightness is shorter, and the convergence speed is faster.
[0209] The present application provides a shooting control method, which, in response to an image acquisition instruction, sets a lamp to a lighting mode to illuminate a target object so that the target object can be clearly imaged under sufficient light, and after illuminating the target object, adjusts the fixed exposure to automatic exposure for shooting, so that the acquired image of the target object can be clearly imaged, thereby improving the success rate of target object verification; sets a fixed exposure mode according to fixed exposure parameters determined based on exposure parameters corresponding to successful target shooting images under historical automatic exposure mode, and adjusts the fixed exposure mode to automatic exposure mode when image acquisition conditions are met, and achieves a shorter exposure time and a faster convergence speed by reducing the exposure adjustment value.
[0210] The following is a detailed description of the shooting control device in this application. Fig.16 . Fig.16 1 is a schematic diagram of an embodiment of a shooting control device 10 in an embodiment of the present application. The shooting control device 10 includes: an image acquisition instruction response module 110, an automatic exposure mode adjustment module 120, a shooting module 130 and a target shooting image determination module 140. Specifically:
[0211] The image acquisition instruction response module 110 is used to respond to the image acquisition instruction and start the lighting mode.
[0212] Among them, the lighting mode is used to indicate that the lamp is in a high-brightness state;
[0213] The automatic exposure mode adjustment module 120 is used to adjust the shooting mode to the automatic exposure mode.
[0214] The shooting module 130 is used to capture images based on the automatic exposure mode to obtain M captured images.
[0215] Wherein, M is an integer greater than or equal to 1;
[0216] The target shot image determination module 140 is used to determine the target shot image from the M shot images.
[0217] The target captured image is a captured image with a resolution greater than a preset resolution.
[0218] The present application provides a shooting control device, which, when responding to an image acquisition instruction, sets the lamp to a lighting mode to illuminate the target object so that the target object can be clearly imaged under sufficient light. After illuminating the target object, the fixed exposure is adjusted to automatic exposure for shooting, so that the image of the target object captured can be clearly imaged, thereby improving the success rate of target object verification.
[0219] In this application Fig.16 In an optional embodiment of the shooting control device provided by the corresponding embodiment, the automatic exposure mode adjustment module 120 is further used to:
[0220] The fixed exposure mode is adjusted to the automatic exposure mode, wherein the fixed exposure parameter value corresponding to the fixed exposure mode is determined according to the historical exposure parameter.
[0221] The present application provides a shooting mode control device, which sets a fixed exposure mode based on fixed exposure parameters determined according to exposure parameters corresponding to successful target shooting images in historical automatic exposure mode. When image acquisition conditions are met, the fixed exposure mode is adjusted to the automatic exposure mode. By reducing the exposure adjustment value, a shorter exposure time and a faster convergence speed are achieved.
[0222] In this application Fig.16 In an optional embodiment of the shooting control device provided in the corresponding embodiment, please refer to Fig.17 The shooting control device 10 further includes: an exposure parameter value storage module 150, which is used to:
[0223] Get the exposure parameter value corresponding to the target captured image.
[0224] The exposure parameter values corresponding to the target captured image are stored in the historical exposure parameter database.
[0225] The historical exposure parameters in the historical exposure parameter database are used to adjust the fixed exposure parameter values.
[0226] The present application provides a shooting mode control device, which stores the exposure parameter value corresponding to the target shot image for subsequent adjustment of the fixed exposure parameter value, so as to reduce the exposure adjustment value of the fixed exposure parameter value and the target exposure parameter corresponding to the automatic exposure mode, laying the foundation for reducing the exposure adjustment value and achieving a shorter exposure time and a faster convergence speed.
[0227] In this application Fig.16 In an optional embodiment of the shooting control device provided in the corresponding embodiment, please refer to Fig.18 The shooting control device 10 further includes: a distance detection module 160 and an image acquisition instruction generation module 170; specifically:
[0228] The distance detection module 160 is used to obtain the distance value between the target object and the camera based on the detection of the distance sensor.
[0229] The image acquisition instruction generating module 170 is used to generate an image acquisition instruction if the distance value between the target object and the camera is less than a distance threshold.
[0230] The present application provides a control device for a shooting mode, which compares the distance value between the target object and the camera obtained by detection based on the distance sensor with the distance threshold to determine whether to respond to the image acquisition instruction, laying the foundation for reducing the exposure adjustment value, achieving a shorter exposure time and a faster convergence speed.
[0231] In this application Fig.16 In an optional embodiment of the shooting control device provided in the corresponding embodiment, please refer to Fig.19 The shooting control device 10 further includes: a fixed exposure mode adjustment module 180. Specifically:
[0232] The fixed exposure mode adjustment module 180 is used to set the shooting mode to the fixed exposure mode if the distance value between the target object and the camera is greater than or equal to a distance threshold.
[0233] The present application provides a control device for a shooting mode, which compares the distance value between the target object and the camera obtained by detection based on the distance sensor with the distance threshold to determine whether to respond to the image acquisition instruction, laying the foundation for reducing the exposure adjustment value, achieving a shorter exposure time and a faster convergence speed.
[0234] In this application Fig.19 In an optional embodiment of the shooting control device provided by the corresponding embodiment, the fixed exposure mode adjustment module 180 is further used for:
[0235] Gets the fixed exposure parameter value.
[0236] According to the fixed exposure parameter value, the shooting mode is set to the fixed exposure mode.
[0237] The present application provides a shooting mode control device, which sets the shooting mode to a fixed exposure mode according to a fixed exposure parameter value. The difference between the fixed exposure parameter value and the target exposure parameter value is small, that is, the exposure adjustment value is small, thereby achieving a shorter exposure time and a faster convergence speed.
[0238] In this application Fig.19 In an optional embodiment of the shooting control device provided by the corresponding embodiment, the fixed exposure mode adjustment module 180 is further used for:
[0239] Get N historical exposure parameters.
[0240] The historical exposure parameters are exposure parameters corresponding to the captured images that meet the preset resolution.
[0241] A fixed exposure parameter value is calculated based on N historical exposure parameters.
[0242] The present application provides a control device for a shooting mode, which obtains a fixed exposure parameter value by calculating the automatic exposure parameters corresponding to the target shot image. The difference between the fixed exposure parameter value and the target fixed exposure parameter value is small, that is, the exposure adjustment value is small, thereby achieving a shorter exposure time and a faster convergence speed.
[0243] In this application Fig.19 In an optional embodiment of the shooting control device provided by the corresponding embodiment, the fixed exposure mode adjustment module 180 is further used for:
[0244] Obtaining N exposure times and N exposure gain values corresponding to N captured images, where N is an integer greater than 1;
[0245] The fixed exposure parameter value is calculated based on N historical exposure parameters, including:
[0246] A fixed exposure time is calculated based on the N exposure times, and a fixed exposure gain value is calculated based on the N exposure gain values.
[0247] The present application provides a control device for a shooting mode, which obtains a fixed exposure parameter value by calculating the automatic exposure parameters corresponding to the target shot image. The difference between the fixed exposure parameter value and the target fixed exposure parameter value is small, that is, the exposure adjustment value is small, thereby achieving a shorter exposure time and a faster convergence speed.
[0248] In this application Fig.19 In an optional embodiment of the shooting control device provided in the corresponding embodiment, please refer to Fig. 20 The shooting control device 10 also includes: a breathing light mode adjustment module 190, which is used to set the operating mode of the lamp to the breathing light mode.
[0249] The present application provides a control device for a shooting mode, which sets the operating mode of a lamp to a breathing light mode in a scene that meets the image acquisition conditions, and indicates that the image acquisition device is in an operating state by setting the breathing light.
[0250] In this application Fig.16 In an optional embodiment of the shooting control device provided in the corresponding embodiment, the shooting module 110 is further used for:
[0251] Get the current exposure and current ambient brightness.
[0252] The target exposure is determined based on the current exposure and the current ambient brightness.
[0253] The exposure adjustment value is determined according to the current exposure and the target exposure.
[0254] Adjust the current exposure to the target exposure according to the exposure adjustment value.
[0255] Image acquisition is performed based on the target exposure.
[0256] The present application provides a control device for a shooting mode, which determines a target exposure according to the current ambient brightness and the current exposure, calculates an exposure adjustment value according to the target exposure, and achieves a shorter exposure time and a faster convergence speed by reducing the exposure adjustment value.
[0257] The present application provides a control device for a shooting mode, which determines a target exposure according to the current ambient brightness and the current exposure, calculates an exposure adjustment value according to the target exposure, and achieves a shorter exposure time and a faster convergence speed by reducing the exposure adjustment value.
[0258] In this application Fig.16 In an optional embodiment of the shooting control device provided by the corresponding embodiment, the target shooting image determination module 140 is further used to:
[0259] Get M resolution values corresponding to M captured images.
[0260] According to the M resolution values, a captured image having a resolution value greater than a preset resolution is determined from the M captured images as a target captured image.
[0261] The present application provides a control device for a shooting mode, which selects a target shooting image according to the shooting resolution of the image, thereby improving the accuracy of determining the target shooting image, and then adjusting the fixed exposure parameter value through the exposure parameter value of the target shooting image, laying the foundation for shortening the exposure time and improving the convergence speed.
[0262] Fig.21: is a schematic diagram of a server structure provided in an embodiment of the present application. The server 300 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 322 (for example, one or more processors) and memory 332, and one or more storage media 330 (for example, one or more mass storage devices) storing application programs 342 or data 344. Among them, the memory 332 and the storage medium 330 can be short-term storage or permanent storage. The program stored in the storage medium 330 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the server. Furthermore, the central processing unit 322 can be configured to communicate with the storage medium 330 to execute a series of instruction operations in the storage medium 330 on the server 300.
[0263] The server 300 may also include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input and output interfaces 358, and / or one or more operating systems 341, such as Windows Server 2000. TM , Mac OS X TM , Unix TM ,Linux TM , FreeBSD TM etc.
[0264] The steps performed by the server in the above embodiment can be based on the Fig.21 The server structure shown.
[0265] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0266] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, 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 an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0267] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0268] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0269] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, 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 storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., and other media that can store program codes.
[0270] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some of the technical features therein by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A shooting control method, characterized in that: Applied to an image acquisition device, the image acquisition device includes a camera and a lamp, and the method includes: In response to the image acquisition instruction, the operation mode of the lamp is set to the lighting mode, wherein the lighting mode is used to indicate that the lamp is in a high-brightness state; Adjust the shooting mode to automatic exposure mode; Performing image acquisition based on the automatic exposure mode to obtain M captured images, where M is an integer greater than or equal to 1; A target captured image is determined from the M captured images, wherein the target captured image is a captured image having a resolution greater than a preset resolution.
2. The shooting control method according to claim 1, characterized in that: The adjusting shooting mode to the automatic exposure mode includes: The fixed exposure mode is adjusted to the automatic exposure mode, wherein the fixed exposure parameter value corresponding to the fixed exposure mode is determined according to the historical exposure parameter.
3. The shooting control method according to claim 2, characterized in that: After determining the target captured image from the M captured images, the method further includes: Obtaining an exposure parameter value corresponding to the target captured image; The exposure parameter value corresponding to the target captured image is stored in a historical exposure parameter database, wherein the historical exposure parameters in the historical exposure parameter database are used to adjust the fixed exposure parameter value.
4. The shooting control method according to claim 1, characterized in that: The image acquisition device also includes a distance sensor; the response image acquisition instruction includes: Based on the detection of the distance sensor, obtaining the distance value between the target object and the camera; If the distance between the target object and the camera is less than the distance threshold, the image acquisition instruction is responded to.
5. The shooting control method according to claim 4, characterized in that: After obtaining the distance value between the target object and the camera, the method further includes: If the distance value between the target object and the camera is greater than or equal to a distance threshold, the shooting mode is set to a fixed exposure mode.
6. The shooting control method according to claim 5, characterized in that: The step of setting the shooting mode to a fixed exposure mode includes: Get fixed exposure parameter value; According to the fixed exposure parameter value, the shooting mode is set to the fixed exposure mode.
7. The shooting control method according to claim 6, characterized in that: The step of obtaining a fixed exposure parameter value includes: Obtaining N historical exposure parameters, wherein the historical exposure parameters are exposure parameters corresponding to the captured images meeting the preset resolution, and N is an integer greater than or equal to 1; The fixed exposure parameter value is calculated according to the N historical exposure parameters.
8. The shooting control method according to claim 7, characterized in that: The obtaining of N historical exposure parameters includes: Obtain N exposure times and N exposure gain values corresponding to N captured images; The step of calculating the fixed exposure parameter value according to the N historical exposure parameters includes: A fixed exposure time is calculated based on the N exposure times, and a fixed exposure gain value is calculated based on the N exposure gain values.
9. The shooting control method according to claim 5, characterized in that: If the distance between the target object and the camera is greater than or equal to the distance threshold, after setting the shooting mode to the fixed exposure mode, the method further includes: The operating mode of the lamp is set to breathing light mode.
10. The shooting control method according to claim 1, characterized in that: The image acquisition based on the automatic exposure mode includes: Get the current exposure and current ambient brightness; Determine a target exposure according to the current exposure and the current ambient brightness; Determining an exposure adjustment value according to the current exposure and the target exposure; According to the exposure adjustment value, adjusting the current exposure to the target exposure; Image acquisition is performed based on the target exposure.
11. The shooting control method according to claim 1, characterized in that: The step of determining a target captured image from the M captured images comprises: Obtaining M resolution values corresponding to the M captured images; According to the M resolution values, a captured image having a resolution value greater than a preset resolution is determined from the M captured images as the target captured image.
12. A shooting control device, characterized in that: include: An image acquisition instruction response module, used to respond to the image acquisition instruction and turn on the lighting mode, wherein the lighting mode is used to indicate that the lamp is in a high-brightness state; An automatic exposure mode adjustment module, used to adjust the shooting mode to the automatic exposure mode; A shooting module, used for performing image acquisition based on the automatic exposure mode to obtain M captured images, where M is an integer greater than or equal to 1; The target shot image determination module is used to determine a target shot image from the M shot images, wherein the target shot image is a shot image having a resolution greater than a preset resolution.
13. A computer device, characterized in that: include: memories, transceivers, processors, and bus systems; Wherein, the memory is used to store programs; The processor is used to execute the program in the memory, including executing the shooting control method according to any one of claims 1 to 11; The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.
14. A computer-readable storage medium comprising instructions, characterized in that: When the method is executed on a computer, the computer is enabled to execute the shooting control method according to any one of claims 1 to 11.
15. A computer program product comprising a computer program, characterized in that The computer program is used by a processor to execute the shooting control method according to any one of claims 1 to 11.