Infrared lamp brightness dynamic adjustment method and device for wireless camera, electronic equipment and computer readable medium

By dynamically adjusting the brightness of the infrared light of the wireless camera, the problem of lower standby time and image quality caused by the high brightness of the infrared light is solved, and the effect of extending the standby time and improving image clarity is achieved.

CN119052656AActive Publication Date: 2024-11-29SHENZHEN ADDX INNOVATION TECH CO LTD

Patent Information

Application Number
CN202411093350.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-11-29
Estimated Expiration
2044-08-09

AI Technical Summary

Technical Problem

When shooting with wireless cameras, long-term high brightness of infrared lights leads to a decrease in standby time, and only reducing brightness adjustments can easily lead to image contrast, saturation and noise increase, reducing image clarity.

Method used

By controlling the wireless camera to turn on the infrared light according to the preset duty cycle threshold, dynamically adjust the infrared light brightness according to the scene image and exposure value, so that it reaches the minimum brightness to meet the shooting conditions, extend the standby time and improve image clarity.

Benefits of technology

It effectively extends the standby time of wireless cameras, reduces battery consumption, and improves image contrast and clarity, avoiding image quality reduction caused by too low brightness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119052656A_ABST
    Figure CN119052656A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an infrared lamp brightness dynamic adjustment method and device for a wireless camera, electronic equipment and a computer readable medium. A specific embodiment of the method comprises the following steps: controlling a wireless camera to turn on an infrared lamp on the wireless camera according to a first preset duty ratio threshold value and shoot to obtain a scene image; determining an exposure value of the wireless camera when the scene image is shot; based on the scene image, the exposure value and a preset exposure value range, the brightness of the infrared lamp is adjusted, and the adjustment is that the brightness of the infrared lamp is adjusted to be the minimum brightness meeting the shooting condition; and in response to determining that the exposure value of the wireless camera corresponding to the adjusted infrared lamp meets a preset exposure value condition, determining that the brightness adjustment of the infrared lamp is completed, and controlling the wireless camera to continue shooting. According to the embodiment, the standby time of the wireless camera can be prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a method, device, electronic device, and computer-readable medium for dynamically adjusting the brightness of an infrared lamp of a wireless camera. Background Art

[0002] The infrared light of the camera can be used to assist the camera in shooting. At present, when the camera is shooting, the brightness of the infrared light is often adjusted to be higher so that the camera can shoot clearer images.

[0003] However, it is found in practice that when the above method is applied to wireless camera shooting, the following technical problems often occur:

[0004] First, since the built-in battery of the wireless camera has a certain usage time, if the brightness of the infrared light (for example, running at maximum power) is at a high brightness for a long time, it is easy to cause the standby time of the wireless camera to be reduced;

[0005] Second, if the brightness of the infrared lamp is adjusted only for the purpose of reducing energy consumption, it is easy for the image contrast, saturation and other values ​​to be reduced due to the low brightness, and the image to have too much noise, thereby reducing the image clarity.

[0006] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention

[0007] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.

[0008] Some embodiments of the present disclosure propose a method, device, electronic device and computer-readable medium for dynamically adjusting the brightness of an infrared light of a wireless camera to solve one or more of the technical problems mentioned in the above background technology section.

[0009] In a first aspect, some embodiments of the present disclosure provide a method for dynamically adjusting the brightness of an infrared lamp of a wireless camera, the method comprising: controlling the wireless camera to turn on the infrared lamp on the wireless camera and take pictures according to a first preset duty cycle threshold value to obtain a scene image, wherein the first preset duty cycle threshold value represents a preset pulse duty cycle of the infrared lamp in the turned-on state; determining the exposure value of the wireless camera when taking pictures of the scene image; adjusting the brightness of the infrared lamp based on the scene image, the exposure value and the preset exposure value range, wherein the adjustment is to adjust the brightness of the infrared lamp to the minimum brightness that meets the shooting conditions, and the shooting conditions change dynamically according to the scene image taken by the wireless camera and the corresponding exposure value; in response to determining that the exposure value of the wireless camera corresponding to the adjusted infrared lamp meets the preset exposure value condition, determining that the infrared lamp brightness adjustment is completed, and controlling the wireless camera to continue shooting.

[0010] In a second aspect, some embodiments of the present disclosure provide an infrared light brightness dynamic adjustment device for a wireless camera, the device comprising: a shooting control unit, configured to control the wireless camera to turn on the infrared light on the wireless camera and shoot according to a first preset duty cycle threshold value to obtain a scene image, wherein the first preset duty cycle threshold value represents a preset pulse duty cycle of the infrared light in the turned-on state; a determination unit, configured to determine the exposure value of the wireless camera when shooting the scene image; an adjustment unit, configured to adjust the brightness of the infrared light based on the scene image, the exposure value and a preset exposure value range, wherein the adjustment is to adjust the brightness of the infrared light to a minimum brightness that meets the shooting conditions, and the shooting conditions change dynamically according to the scene image shot by the wireless camera and the corresponding exposure value; a completion and control unit, configured to determine that the infrared light brightness adjustment is completed in response to determining that the exposure value of the wireless camera corresponding to the adjusted infrared light meets the preset exposure value condition, and control the wireless camera to continue shooting.

[0011] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.

[0012] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.

[0013] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through the infrared light brightness dynamic adjustment method for wireless cameras of some embodiments of the present disclosure, the standby time of the wireless camera can be improved. Specifically, the reason for the reduction of the standby time of the wireless camera is that: since the built-in battery of the wireless camera has a certain usage time, if the brightness of the infrared light (for example, maximum power operation) is in a high brightness state for a long time, it is easy to cause the standby time of the wireless camera to be reduced. Based on this, the infrared light brightness dynamic adjustment method for wireless cameras of some embodiments of the present disclosure, first, controls the wireless camera to turn on the infrared light on the above-mentioned wireless camera according to the first preset duty cycle threshold and shoots to obtain a scene image. Among them, the above-mentioned first preset duty cycle threshold represents the preset pulse duty cycle of the infrared light in the turned-on state. Here, by setting the duty cycle of the infrared light to shoot the scene image, it can be used to control the variable of the infrared light brightness to determine the effect of the scene image. Then, determine the exposure value of the above-mentioned wireless camera when shooting the above-mentioned scene image. Afterwards, based on the above-mentioned scene image, the above-mentioned exposure value and the preset exposure value range, the brightness of the above-mentioned infrared light is adjusted. Among them, the adjustment is to adjust the brightness of the infrared lamp to the minimum brightness that meets the shooting conditions, and the above-mentioned shooting conditions change dynamically according to the scene image captured by the wireless camera and the corresponding exposure value. Therefore, the brightness of the infrared lamp can be adjusted according to the dynamic changes of the scene image and the exposure value, so as to achieve the purpose of dynamic adjustment of the brightness of the infrared lamp. At the same time, because the brightness of the infrared lamp is adjusted to the minimum brightness that meets the shooting conditions, the power of the infrared lamp can be further reduced. Thus, the power consumption of the wireless camera is reduced. Finally, in response to determining that the exposure value of the wireless camera corresponding to the adjusted infrared lamp meets the preset exposure value condition, it is determined that the brightness adjustment of the infrared lamp is completed, and the wireless camera is controlled to continue shooting. Therefore, by dynamically adjusting the brightness of the infrared lamp, the power consumption of the wireless camera shooting is reduced. In this way, the standby time of the wireless camera is extended. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.

[0015] Figure 1 is a flow chart of some embodiments of a method for dynamically adjusting the brightness of an infrared lamp of a wireless camera according to the present disclosure;

[0016] Figure 2 It is a structural schematic diagram of some embodiments of the infrared light brightness dynamic adjustment device for a wireless camera according to the present disclosure;

[0017] Figure 3It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

[0018] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0019] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.

[0020] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0021] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0022] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0023] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0024] Figure 1 The flowchart 100 of some embodiments of the method for dynamically adjusting the brightness of an infrared light of a wireless camera according to the present disclosure is shown. The method for dynamically adjusting the brightness of an infrared light of a wireless camera comprises the following steps:

[0025] Step 101, controlling the wireless camera to turn on the infrared light on the wireless camera according to a first preset duty cycle threshold and to shoot, to obtain a scene image.

[0026] In some embodiments, the execution body of the method for dynamically adjusting the brightness of an infrared lamp of a wireless camera can control the wireless camera to turn on the infrared lamp on the wireless camera and shoot according to a first preset duty cycle threshold value to obtain a scene image. The first preset duty cycle threshold value can represent the preset pulse duty cycle of the infrared lamp in the turned-on state. Here, the preset pulse duty cycle can be a maximum pulse duty cycle of 100% or a minimum pulse duty cycle of 0%. In the state of maximum pulse duty cycle, the infrared lamp is in the brightest state, and the exposure value of the captured scene image is lower. If the infrared lamp is in the brightest state, the exposure value of the captured scene image is higher. In addition, the wireless camera may include a battery-powered camera or a charging camera.

[0027] Specifically, the pulse duty cycle of an infrared light refers to the ratio of the time occupied by the high level to the entire pulse cycle time in the infrared light pulse signal. This ratio is usually expressed as a percentage, ranging from 0% to 100%. For example, if the cycle of a pulse signal is 4 microseconds, of which the high level time is 1 microsecond, then the duty cycle of this pulse signal is 25%.

[0028] In addition, in the same scene, if the external ambient light is darker, the EV (Exposure Values) value will be larger, and the image noise will increase accordingly. The brighter the external light, the smaller the EV value will be, and the image noise will decrease accordingly. The quality of the current image can be judged by the EV value.

[0029] Step 102, determining the exposure value of the wireless camera when capturing the scene image.

[0030] In some embodiments, the execution subject may determine the exposure value of the wireless camera when shooting the scene image, wherein the exposure value is the EV value.

[0031] Specifically, when adjusting the brightness of the infrared light, the image quality needs to be considered. Therefore, the brightness of the infrared light is first controlled to be at the target value. Then the brightness of the infrared light can be adjusted back according to the exposure value of the wireless camera by controlling the variable.

[0032] Step 103: Adjust the brightness of the infrared light based on the scene image, the exposure value and the preset exposure value range.

[0033] In some embodiments, the execution subject may adjust the brightness of the infrared lamp based on the scene image, the exposure value and the preset exposure value range. The adjustment may be to adjust the brightness of the infrared lamp to the minimum brightness that meets the shooting conditions. The shooting conditions may change dynamically according to the scene image captured by the wireless camera and the corresponding exposure value.

[0034] As an example, the clarity of the scene image changes with the exposure value of the wireless camera. Therefore, the brightness condition of the infrared light should make the exposure value of the wireless camera change within the preset exposure value range to ensure that when the clarity of the captured scene image is greater than the preset clarity threshold, the brightness of the infrared light is the lowest.

[0035] Here, the preset exposure value range may be a range interval of the exposure of the wireless camera. The preset exposure value range may be a pre-set available range of the camera exposure while ensuring image clarity.

[0036] As an example, the preset exposure value range may be [36000, 44000].

[0037] In some optional implementations of some embodiments, the execution subject adjusts the brightness of the infrared light based on the scene image, the exposure value and the preset exposure value range, which may include the following steps:

[0038] The first step is to adjust the preset exposure value range according to the current time point and camera direction to obtain the adjusted exposure value range. If the wireless camera is a directional camera, the camera direction remains unchanged, so there is no need to adjust the preset exposure value range. If it is a surround camera, the camera direction changes, and there is a large brightness deviation of natural light in different directions. Therefore, by adjusting the preset exposure value range, the infrared light brightness can be adjusted faster when it is adjusted based on the exposure.

[0039] Optionally, the execution subject adjusts the preset exposure value range according to the current time point and the camera direction to obtain the adjusted exposure value range, which may include the following steps:

[0040] Step 1. In response to determining that the wireless camera is a surround view camera, scene videos captured by the wireless camera at different times are obtained to obtain a scene video set, wherein the different times may be various time points within a preset day at the same time interval. The captured scene video may include a preset number of frames or a preset duration video.

[0041] In the second step, brightness sampling detection is performed on each frame scene graph of each scene video in the above scene video set to generate a brightness detection value sequence, and obtain a brightness exposure value sequence set. Each brightness exposure value sequence can correspond to a scene video. Here, the step of performing brightness sampling detection on each scene video can be:

[0042] First, the scene graphs of each frame in the scene video are sampled at equal intervals to obtain a sampled scene graph group, wherein the equal interval sampling can be equal frame sampling from continuous frame images.

[0043] Then, each sampled scene graph in the sampled scene graph group is cropped according to a preset image position to obtain a cropped scene graph group. The preset image position may be a position of a middle area of ​​the image, such as a 200-pixel-width area in the middle of the image. Then, the image cropping may be cropping a 200-pixel-width area in the middle of the image as the cropped scene graph.

[0044] Finally, brightness detection is performed on each cropped scene graph in the cropped scene graph group to obtain a brightness exposure value sequence, wherein the brightness detection may be to determine the exposure of the wireless camera at the time of shooting of each cropped scene graph as the brightness exposure value.

[0045] The third step is to determine the camera optical axis vector corresponding to each brightness exposure value in the brightness exposure value sequence to obtain a camera optical axis vector sequence. The camera optical axis vector in the camera optical axis vector sequence is a vector in the camera coordinate system of the wireless camera. Secondly, the camera orientation vector can be solved by the camera pose matrix as the camera optical axis vector. The normal vector of the camera optical axis of the wireless camera in the camera coordinate system can also be used as the camera optical axis vector.

[0046] In the fourth step, the scanning fan arc of the optical axis of the wireless camera is equally divided according to each camera optical axis vector sequence in the camera optical axis vector sequence to generate a divided scanning arc sequence. The values ​​of each divided scanning arc in the divided scanning arc sequence are the same, but the arc directions are different, and the camera optical axis vector corresponds to the center line of the divided scanning arc.

[0047] In the fifth step, each post-division scanning arc in the post-division scanning arc sequence is combined with the corresponding camera optical axis vector to form exposure value adjustment interval information, wherein the exposure adjustment interval information can represent a shooting arc range of the wireless camera.

[0048] In the sixth step, for each brightness exposure value in the brightness exposure value sequence, the area extending in the forward and reverse directions of the brightness axis by a preset length with the brightness exposure value as the midpoint of the brightness axis is used as the adjusted exposure value range, and the exposure value adjustment interval information corresponding to the brightness exposure value is associated, so as to determine that when the shooting direction of the wireless camera is in the interval corresponding to the exposure value adjustment interval information, the preset exposure value range is adjusted according to the adjusted exposure value range. The brightness axis may be a number axis representing the arrangement of brightness values ​​from small to large. Secondly, the association may be to establish an association between the brightness exposure value and the shooting arc range represented by the exposure value adjustment interval information. In this way, when the camera is swung into the shooting arc range during shooting, the exposure value is adjusted according to the adjusted exposure value range corresponding to the brightness exposure value. In this way, the surround view camera can cope with the situation where the brightness and darkness of different areas are greatly different. Thus, it can be used to improve the clarity of the captured image.

[0049] In the second step, in response to determining that the exposure value is less than the adjusted exposure value range, the pulse duty cycle of the infrared lamp is adjusted downward to obtain the adjusted duty cycle. If the pulse duty cycle of the infrared lamp is at the maximum value, the preset value (for example, 1%, 2%, etc., not specifically limited) can be adjusted downward each time to obtain the adjusted duty cycle. If the pulse duty cycle of the infrared lamp is at the minimum value, the preset value (for example, 1%, 2%, etc., not specifically limited) can be adjusted upward each time to obtain the adjusted duty cycle.

[0050] Specifically, by adjusting the pulse duty cycle of the infrared light in sequence, the brightness of the infrared light can be adjusted in reverse from the brightest or darkest in sequence, so that the exposure of the wireless camera changes when shooting images, so that the exposure is within the adjusted exposure value range.

[0051] In the third step, in response to determining that the exposure value of the above-mentioned wireless camera is within the above-mentioned adjusted exposure value range when the infrared lamp is in the state of the duty cycle after the infrared lamp is adjusted downward, it is determined that the brightness adjustment of the above-mentioned infrared lamp is completed.

[0052] Optionally, after the execution subject adjusts the brightness of the infrared lamp based on the scene image, the exposure value and the preset exposure value range, the execution subject may further include the following steps:

[0053] The first step is to perform quality detection on the scene image to generate a detection result. The quality detection includes but is not limited to performing at least one of the following on the scene image: contrast detection, structural similarity detection, resolution detection, color gamut saturation detection, image noise number detection, image peak signal-to-noise ratio detection and image subjective quality detection, so as to obtain the detection results including: quality contrast value, structural similarity value, color gamut saturation, image noise number, image peak signal-to-noise ratio and image subjective quality detection value.

[0054] Specifically, the contrast of the scene image can be detected by an image contrast function to obtain a quality contrast value. The structural similarity value between the scene image and the image taken by the wireless camera at the same position with a clarity greater than a preset clarity threshold can be determined by an SSIM (Structural Similarity) algorithm. The color gamut saturation of the scene image can be detected by a red, green, and blue color model to obtain the color gamut saturation. The number of image noise points in the scene image can be detected by a Fourier transform algorithm to obtain the number of image noise points. The image peak signal-to-noise ratio can be detected by a peak signal-to-noise ratio algorithm to obtain the image peak signal-to-noise ratio. The subjective image quality of the scene image can be detected by a MOS (Meanopin-ionscore, average subjective score) model or a DMOS (Differential mean opinion score, average subjective score difference) model to obtain an image subjective quality detection value.

[0055] The second step is to generate an image quality detection value based on the quality contrast value, structural similarity value, resolution, color gamut saturation, number of image noise points, image peak signal-to-noise ratio and image subjective quality detection value included in the above detection results. Among them, the quality contrast value, structural similarity value, resolution, color gamut saturation, number of image noise points, image peak signal-to-noise ratio and image subjective quality detection value can be normalized. Then, the normalized quality contrast value, structural similarity value, resolution, color gamut saturation, number of image noise points, image peak signal-to-noise ratio and image subjective quality detection value can be weighted and summed according to a preset weight coefficient to obtain the image quality detection value. Here, the image quality detection value can be used to characterize the quality level of the above scene image.

[0056] The third step is to perform dynamic detection on the scene image to generate a dynamic detection result. The dynamic detection result indicates whether the wireless camera detects a moving target. Secondly, the scene image can be dynamically detected by a preset dynamic detection algorithm to generate a dynamic detection result. The dynamic detection result can indicate whether a moving target is detected in the scene image in the form of a numerical value, an identifier, etc.

[0057] As an example, the dynamic detection algorithm may include but is not limited to at least one of the following: a convolutional neural network, a recurrent neural network, a support vector machine, etc.

[0058] In the fourth step, in response to determining that the above dynamic detection result is information indicating that a moving target is detected, and determining that the above image quality detection value is less than a preset quality threshold, the preset exposure value of the above wireless camera is adjusted to obtain an adjusted exposure value. If a moving target is detected in the scene image, then after the infrared light brightness is adjusted, the quality of the captured image can be improved by adjusting the preset exposure value.

[0059] Specifically, adjusting the preset exposure value may be to lower the preset exposure value so that the current exposure value exceeds the preset exposure value range, thereby triggering the infrared light to adjust and increase the brightness. Affected by the increase in the brightness of the external light, the ISP (Image Signal Processor) image processing module or chip built into the wireless camera again lowers the current exposure value of the camera according to the brightness of the external light to ensure that the image contrast reaches a stable state. Thus, the clarity of the captured image is improved.

[0060] Optionally, the above preset exposure value range can be generated by the following steps:

[0061] The first step is to obtain a sampling scene image group corresponding to different brightness values ​​to obtain a sampling scene image group set. Among them, the brightness value of each sampling scene image is pre-detected. Each sampling scene image in each sampling scene image group corresponds to a continuous camera exposure. Here, the camera exposure can be continuous in the form of exposure increasing by 1 in sequence, or it can be equidistantly continuous at preset exposure intervals. Corresponding to different brightness values ​​are different infrared light brightness. Secondly, each sampling scene image group is composed of multiple images with different exposures under the same infrared light brightness.

[0062] In the second step, sampling scene images whose image clarity is greater than a preset clarity threshold are selected from the above sampling scene image group set to generate a target sampling scene image set.

[0063] In the third step, the average value of the camera exposure corresponding to each target sampling scene image in the target sampling scene image set is determined as the calibrated exposure.

[0064] In the fourth step, a preset exposure range centered on the calibrated exposure is determined as a preset exposure value range.

[0065] As an example, the calibrated exposure is 40000. The preset exposure range is a floating range of plus or minus 10%. Then, the preset exposure value range is [36000, 44000]. Therefore, if the calibrated exposure (ie, the preset exposure value) is adjusted, the preset exposure value range can be adjusted accordingly.

[0066] Step 104, in response to determining that the exposure value of the wireless camera corresponding to the adjusted infrared light meets the preset exposure value condition, determining that the infrared light brightness adjustment is completed, and controlling the wireless camera to continue shooting.

[0067] In some embodiments, the execution subject may determine that the infrared light brightness adjustment is complete and control the wireless camera to continue shooting in response to determining that the exposure value of the wireless camera corresponding to the adjusted infrared light meets the preset exposure value condition. The preset exposure value condition may be that the exposure value is within a preset exposure range.

[0068] Optionally, the above execution entity may further include the following steps:

[0069] The first step is to determine the power consumption rate of the wireless camera when the infrared lamp is in a first preset duty cycle threshold state. The first preset duty cycle threshold here can be the maximum pulse ratio. Thus, the power of the infrared lamp can be determined. Thus, the overall power of the wireless camera can be determined. Thus, the power consumption rate of the wireless camera can be determined by an electrical formula.

[0070] The second step is to determine the remaining working time of the wireless camera at the power consumption speed according to the remaining power of the wireless camera.

[0071] The third step is to trigger a battery replacement prompt operation in response to determining that the remaining working time is less than a preset time threshold. The battery replacement prompt operation includes sending a battery replacement prompt message and the remaining working time to the user terminal. For example, the preset time threshold may be 2 hours.

[0072] Optionally, the above execution entity may further include the following steps:

[0073] The first step is to detect the image exposure value of the image captured by the wireless camera at a preset time interval after the infrared light brightness adjustment is completed, and obtain the adjusted image exposure value. The preset time interval can be 1 second or 1 minute, without specific limitation. The exposure value detection can be to obtain the exposure of the wireless camera when shooting.

[0074] In the second step, in response to detecting that the image exposure value is outside the preset exposure value range, the brightness adjustment step of the infrared lamp is performed again. The brightness adjustment step can be the above-mentioned step 103 and subsequent steps and implementation methods.

[0075] The above 104 and its related contents, as an inventive point of the embodiment of the present disclosure, solve the technical problem 2 mentioned in the background technology: "If the brightness of the infrared lamp is adjusted only for the purpose of reducing energy consumption, it is easy to reduce the contrast, saturation and other values ​​of the image due to too low brightness, and cause too many image noise points, thereby reducing the clarity of the image". The factors that reduce the clarity of the image are often as follows: If the brightness of the infrared lamp is adjusted only for the purpose of reducing energy consumption, it is easy to reduce the contrast, saturation and other values ​​of the image due to too low brightness, and cause too many image noise points. If the above factors are solved, the clarity of the image taken by the wireless camera after the brightness of the infrared lamp is adjusted can be improved. In order to achieve this effect, first of all, considering that after adjusting the brightness of the above infrared lamp, although the brightness of the infrared lamp has been adjusted to an appropriate degree, there is still a situation where the image clarity is low. Therefore, the aperture size level, shutter speed, sensitivity and other setting options of the wireless camera can be automatically adjusted, so that the exposure of the image taken by the adjusted wireless camera is determined as the adjusted exposure value. In this way, the purpose of adjusting the exposure value is achieved. At the same time, considering the large difference in natural light sensitivity when the surround view camera faces different positions, corresponding exposure value ranges are set for different arc directions. Therefore, the corresponding adjusted exposure value range can be used when the camera faces different directions. In this way, it is possible to avoid the situation where the adjusted exposure exceeds the exposure range, resulting in a decrease in the contrast, saturation and other values ​​of the image, excessive image noise, etc. Therefore, the above implementation method can improve the image clarity by controlling the exposure of the wireless camera on the basis of increasing the standby time of the wireless camera.

[0076] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through the infrared light brightness dynamic adjustment method for wireless cameras of some embodiments of the present disclosure, the standby time of the wireless camera can be improved. Specifically, the reason for the reduction of the standby time of the wireless camera is that: since the built-in battery of the wireless camera has a certain usage time, if the brightness of the infrared light (for example, maximum power operation) is in a high brightness state for a long time, it is easy to cause the standby time of the wireless camera to be reduced. Based on this, the infrared light brightness dynamic adjustment method for wireless cameras of some embodiments of the present disclosure, first, controls the wireless camera to turn on the infrared light on the above-mentioned wireless camera according to the first preset duty cycle threshold and shoots to obtain a scene image. Among them, the above-mentioned first preset duty cycle threshold represents the preset pulse duty cycle of the infrared light in the turned-on state. Here, by setting the duty cycle of the infrared light to shoot the scene image, it can be used to control the variable of the infrared light brightness to determine the effect of the scene image. Then, determine the exposure value of the above-mentioned wireless camera when shooting the above-mentioned scene image. Afterwards, based on the above-mentioned scene image, the above-mentioned exposure value and the preset exposure value range, the brightness of the above-mentioned infrared light is adjusted. Among them, the adjustment is to adjust the brightness of the infrared lamp to the minimum brightness that meets the shooting conditions, and the above-mentioned shooting conditions change dynamically according to the scene image captured by the wireless camera and the corresponding exposure value. Therefore, the brightness of the infrared lamp can be adjusted according to the dynamic changes of the scene image and the exposure value, so as to achieve the purpose of dynamic adjustment of the brightness of the infrared lamp. At the same time, because the brightness of the infrared lamp is adjusted to the minimum brightness that meets the shooting conditions, the power of the infrared lamp can be further reduced. Thus, the power consumption of the wireless camera is reduced. Finally, in response to determining that the exposure value of the wireless camera corresponding to the adjusted infrared lamp meets the preset exposure value condition, it is determined that the brightness adjustment of the infrared lamp is completed, and the wireless camera is controlled to continue shooting. Therefore, by dynamically adjusting the brightness of the infrared lamp, the power consumption of the wireless camera shooting is reduced. In this way, the standby time of the wireless camera is extended.

[0077] Further references Figure 2 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of an infrared light brightness dynamic adjustment device for a wireless camera. These device embodiments are similar to Figure 1 Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.

[0078] like Figure 2As shown, in some embodiments, the infrared light brightness dynamic adjustment device 200 for wireless cameras includes: a control shooting unit 201, a determination unit 202, an adjustment unit 203 and a completion and control unit 204. The control shooting unit 201 is configured to control the wireless camera to turn on the infrared light on the wireless camera and shoot according to a first preset duty cycle threshold value to obtain a scene image, wherein the first preset duty cycle threshold value represents a preset pulse duty cycle of the infrared light in the turned-on state; the determination unit 202 is configured to determine the exposure value of the wireless camera when shooting the scene image; the adjustment unit 203 is configured to adjust the brightness of the infrared light based on the scene image, the exposure value and the preset exposure value range, wherein the adjustment is to adjust the brightness of the infrared light to the minimum brightness that meets the shooting conditions, and the shooting conditions change dynamically according to the scene image shot by the wireless camera and the corresponding exposure value; the completion and control unit 204 is configured to determine that the infrared light brightness adjustment is completed in response to determining that the exposure value of the wireless camera corresponding to the adjusted infrared light meets the preset exposure value condition, and control the wireless camera to continue shooting.

[0079] It is understood that the units described in the device 200 are similar to those described in the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the device 200 and the units included therein, and will not be described in detail here.

[0080] Reference below Figure 3 , which shows a structural schematic diagram of an electronic device (eg, a computing device) 300 suitable for implementing some embodiments of the present disclosure. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0081] like Figure 3 As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory 302 or a program loaded from a storage device 308 into a random access memory 303. Various programs and data required for the operation of the electronic device 300 are also stored in the random access memory 303. The processing device 301, the read-only memory 302, and the random access memory 303 are connected to each other via a bus 304. An input / output interface 305 is also connected to the bus 304.

[0082] Typically, the following devices may be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 308 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 309. The communication devices 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0083] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the read-only memory 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.

[0084] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0085] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0086] The computer-readable medium may be included in the electronic device; or it may exist independently without being assembled into the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: controls the wireless camera to turn on the infrared light on the wireless camera and shoot according to the first preset duty cycle threshold value to obtain a scene image, wherein the first preset duty cycle threshold value represents the preset pulse duty cycle of the infrared light in the turned-on state; determines the exposure value of the wireless camera when shooting the scene image; adjusts the brightness of the infrared light based on the scene image, the exposure value and the preset exposure value range, wherein the adjustment is to adjust the brightness of the infrared light to the minimum brightness that meets the shooting conditions, and the shooting conditions change dynamically according to the scene image shot by the wireless camera and the corresponding exposure value; in response to determining that the exposure value of the wireless camera corresponding to the adjusted infrared light meets the preset exposure value condition, determines that the infrared light brightness adjustment is completed, and controls the wireless camera to continue shooting.

[0087] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0088] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0089] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The described units may also be provided in a processor, for example, may be described as: a processor including a control shooting unit, a determination unit, an adjustment unit, and a completion and control unit. Among them, the names of these units do not constitute a limitation on the units themselves in certain cases, for example, the control shooting unit may also be described as "a unit that controls the wireless camera to turn on the infrared light on the above-mentioned wireless camera and to shoot according to a first preset duty cycle threshold value".

[0090] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0091] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.

Claims

1. A method for dynamically adjusting the brightness of an infrared lamp for a wireless camera, comprising: Controlling the wireless camera to turn on the infrared light on the wireless camera and take pictures according to a first preset duty cycle threshold value to obtain a scene image, wherein the first preset duty cycle threshold value represents a preset pulse duty cycle of the infrared light in the turned-on state; Determining an exposure value of the wireless camera when capturing the scene image; Based on the scene image, the exposure value and the preset exposure value range, the brightness of the infrared lamp is adjusted, wherein the adjustment is to adjust the brightness of the infrared lamp to a minimum brightness that meets the shooting conditions, and the shooting conditions change dynamically according to the scene image captured by the wireless camera and the corresponding exposure value; In response to determining that the exposure value of the wireless camera corresponding to the adjusted infrared light meets the preset exposure value condition, it is determined that the infrared light brightness adjustment is completed, and the wireless camera is controlled to continue shooting.

2. The method according to claim 1, wherein: The method further comprises: Determine the power consumption rate of the wireless camera when the infrared light is in a first preset duty cycle threshold state; Determine, according to the remaining power of the wireless camera, the remaining working time of the wireless camera at the power consumption speed; In response to determining that the remaining working time is less than a preset time threshold, a battery replacement prompt operation is triggered, wherein the battery replacement prompt operation includes sending battery replacement prompt information and the remaining working time to the user terminal.

3. The method according to claim 1, wherein: The method further comprises: After the infrared light brightness is adjusted, the image exposure value of the image captured by the wireless camera is detected at a preset time interval to obtain an adjusted image exposure value; In response to detecting an image exposure value outside a preset exposure value range, the step of adjusting the brightness of the infrared lamp is performed again.

4. The method according to claim 1, wherein: The adjusting the brightness of the infrared lamp based on the scene image, the exposure value and the preset exposure value range includes: According to the current time point and the camera direction, the preset exposure value range is adjusted to obtain the adjusted exposure value range; In response to determining that the exposure value is less than the adjusted exposure value range, lowering the pulse duty cycle of the infrared lamp to obtain an adjusted duty cycle; In response to determining that the exposure value of the wireless camera is within the adjusted exposure value range when the infrared lamp is in the adjusted duty cycle state, it is determined that the brightness adjustment of the infrared lamp is completed.

5. The method according to claim 4, wherein: The preset exposure value range is generated by the following steps: Acquire sampling scene image groups corresponding to different brightness values ​​to obtain a sampling scene image group set, wherein the brightness value of each sampling scene image is pre-detected, and each sampling scene image in each sampling scene image group corresponds to a continuous camera exposure; Selecting sampling scene images whose image clarity is greater than a preset clarity threshold from the sampling scene image group set to generate a target sampling scene image set; Determine the average value of the camera exposure corresponding to each target sampling scene image in the target sampling scene image set as the calibrated exposure; A preset exposure range centered on the calibrated exposure is determined as a preset exposure value range.

6. A device for dynamically adjusting the brightness of an infrared lamp for a wireless camera, comprising: A control shooting unit is configured to control the wireless camera to turn on the infrared light on the wireless camera and shoot according to a first preset duty cycle threshold value to obtain a scene image, wherein the first preset duty cycle threshold value represents a preset pulse duty cycle of the infrared light in the turned-on state; a determining unit, configured to determine an exposure value of the wireless camera when capturing the scene image; an adjusting unit configured to adjust the brightness of the infrared lamp based on the scene image, the exposure value and a preset exposure value range, wherein the adjustment is to adjust the brightness of the infrared lamp to a minimum brightness that meets a shooting condition, and the shooting condition changes dynamically according to the scene image captured by the wireless camera and the corresponding exposure value; The completion and control unit is configured to determine that the infrared light brightness adjustment is completed in response to determining that the exposure value of the wireless camera corresponding to the adjusted infrared light meets the preset exposure value condition, and control the wireless camera to continue shooting.

7. An electronic device comprising: one or more processors; a storage device having one or more programs stored thereon, A photographing device, comprising one or more wireless cameras, wherein the wireless cameras are configured to capture images; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 75.

8. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Dual-camera synchronous exposure method and system

    CN107040726A

  • Infrared lamp power adjustment method and camera device

    CN108243311A

  • Camera shooting method and device, storage medium and camera

    CN110958394A

  • Shooting parameter adjusting method, device and equipment and storage medium

    CN111629146A

  • Systems and methods for image processing

    EP3826294A1

Cited By

  • Brightness adjusting method of night vision camera

    CN120264152A

  • Brightness adjustment method for night vision camera

    CN120264152B