CN111131811B - Device and method for detecting flicker of light supplement lamp, camera equipment and storage medium - Google Patents

Device and method for detecting flicker of light supplement lamp, camera equipment and storage medium Download PDF

Info

Publication number
CN111131811B
CN111131811B CN201911399264.8A CN201911399264A CN111131811B CN 111131811 B CN111131811 B CN 111131811B CN 201911399264 A CN201911399264 A CN 201911399264A CN 111131811 B CN111131811 B CN 111131811B
Authority
CN
China
Prior art keywords
current
flicker
supplement lamp
light supplement
light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911399264.8A
Other languages
Chinese (zh)
Other versions
CN111131811A (en
Inventor
何边边
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201911399264.8A priority Critical patent/CN111131811B/en
Publication of CN111131811A publication Critical patent/CN111131811A/en
Application granted granted Critical
Publication of CN111131811B publication Critical patent/CN111131811B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the application provides a device and a method for detecting flicker of a light supplement lamp, a camera device and a storage medium, and the device and the method are used for automatically detecting flicker of the light supplement lamp and improving the reliability of flicker detection of the light supplement lamp. The device comprises: the device comprises a current sampling module and a flicker judging module; wherein: the current sampling module is used for collecting the actual working current flowing through the light supplementing lamp; and the flicker judgment module is used for acquiring the driving current provided by the current driving module for the light supplement lamp and determining whether the light supplement lamp flickers according to the actual working current and the driving current.

Description

Device and method for detecting flicker of light supplement lamp, camera equipment and storage medium
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a device and a method for detecting flicker of a fill-in light, an image capturing apparatus, and a storage medium.
Background
Under the night environment, the camera has weak light in the environment, and the light signals received by the image sensor are less, so that the image of the shot scene is blurred, and the effect of restoring the scene cannot be achieved. Therefore, an auxiliary light source is needed, and a uniform light source environment is provided for the camera at night or under the condition of dark light, so that the clear shooting content is ensured.
In practical application, if the light supplement lamp flickers continuously due to a fault, a light and dark stripe may appear in a shot image, which affects the quality of a shot picture, and because the flickering frequency of the light supplement lamp is generally not directly judged by naked eyes, how to automatically detect the flickering of the light supplement lamp becomes a technical problem to be solved urgently at present.
Disclosure of Invention
The embodiment of the application provides a device and a method for detecting flicker of a light supplement lamp, a camera device and a storage medium, and the device and the method are used for automatically detecting flicker of the light supplement lamp and improving the reliability of flicker detection of the light supplement lamp.
The device for detecting the flicker of the light supplement lamp comprises a current sampling module and a flicker judging module; wherein:
the current sampling module is used for collecting the actual working current flowing through the light supplementing lamp;
the flicker judging module is used for acquiring the driving current provided by the current driving module for the light supplement lamp and determining whether the light supplement lamp flickers according to the actual working current and the driving current.
In one possible design, the current sampling module includes a sampling electronic component and a current collecting device, the sampling electronic component is connected in series with the light supplement lamp, the current collecting device is connected in parallel with the sampling electronic component, and the current collecting device is used for collecting the current flowing through the sampling electronic component; the actual working current flowing through the light supplement lamp is the current acquired by the current acquisition device.
In one possible design, the flicker determination module is configured to:
determining a current difference between the actual working current and the driving current;
if the current difference is smaller than or equal to a preset current threshold, determining that the light supplement lamp does not flicker;
and if the current difference is larger than the preset current threshold, determining that the light supplement lamp flickers.
In one possible design, the apparatus further includes a prompt module to:
when the flicker judging module determines that the light supplement lamp flickers, flicker prompt information is output; alternatively, the first and second electrodes may be,
and outputting flicker warning information when the flicker frequency of the light supplement lamp is not an integral multiple of the preset shooting frame rate.
In a second aspect, a method for detecting flicker of a fill light is provided, the method comprising:
acquiring actual working current flowing through a light supplement lamp and acquiring driving current provided by a current driving module for the light supplement lamp;
comparing the actual working current with the driving current;
and determining whether the light supplement lamp flickers according to the comparison result.
In one possible design, determining whether the fill light flashes according to the comparison result includes:
determining a current difference between the actual operating current and the driving current;
if the current difference is smaller than or equal to a preset current threshold, determining that the light supplement lamp does not flicker;
and if the current difference is larger than the preset current threshold, determining that the light supplement lamp flickers.
In one possible design, before comparing the actual operating current with the driving current, the method further includes:
determining whether the driving current provided by the current driving module for the light supplement lamp is stable within a preset time period;
and if the current is stable, comparing the actual working current with the driving current.
In one possible design, the method further includes:
when the flicker judging module determines that the light supplement lamp flickers, flicker prompt information is output; alternatively, the first and second electrodes may be,
and determining the flicker frequency of the light supplement lamp, and outputting flicker warning information when the flicker frequency is not an integral multiple of the preset shooting frame rate.
In a third aspect, there is provided an image pickup apparatus comprising:
a shooting component;
the light supplement lamp is used for providing an auxiliary light source when the shooting assembly works;
a memory for storing program instructions;
a processor for calling the program instructions stored in the memory and executing the steps included in the method of any of the second aspect according to the obtained program instructions.
In a fourth aspect, there is provided a storage medium having stored thereon computer-executable instructions for causing a computer to perform the steps included in the method of any one of the second aspects.
In the embodiment of the application, the flicker condition of the light supplement lamp can be determined by collecting the actual working current flowing through the light supplement lamp, specifically, the driving current provided for the light supplement lamp and the actual working current flowing through the light supplement lamp can be compared, and then the flicker condition of the light supplement lamp is determined according to the comparison result of the driving current and the actual working current, so that the flicker detection of the flash lamp is realized through the detection of the physical signal (namely, the current signal), and a high-performance processor or a special image sensor is not needed, the implementation mode is simple, and when the light supplement lamp normally and stably works, the driving current provided by the current driving module is constant, so that the reliability of judging whether the light supplement lamp flickers or not through the comparison of the actual working current of the light supplement lamp and the driving current provided is also high.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application.
Fig. 1 is a schematic structural diagram of a device for detecting flicker of a fill-in light according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a method for detecting flicker of a fill-in light according to an embodiment of the present disclosure;
fig. 3a is a block diagram of a structure of a device for detecting flicker of a fill-in light according to an embodiment of the present disclosure;
fig. 3b is another structural block diagram of the apparatus for detecting flicker of a fill-in light according to the embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an image capturing apparatus according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. In the present application, the embodiments and features of the embodiments may be arbitrarily combined with each other without conflict. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
The terms "first" and "second" in the description and claims of the present application and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the term "comprises" and any variations thereof, which are intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The "plurality" in the present application may mean at least two, for example, two, three or more, and the embodiments of the present application are not limited.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in this document generally indicates that the preceding and following related objects are in an "or" relationship unless otherwise specified.
For ease of understanding, the technical background of the embodiments of the present invention will be described below.
As mentioned above, if the fill-in light flashes continuously due to a failure, bright and dark stripes may appear in the captured image, which may affect the quality of the captured image. At present, when the flash of the fill-in light is detected, a stripe region of a shot picture is obtained, gray level processing is performed on the stripe region, the stripe picture is converted into a gray level picture frame, and then a relation between a certain characteristic value of a light and dark stripe picture and the flash frequency of the fill-in light is obtained through mathematical modeling, so that the flash frequency of the fill-in light is detected, that is, the flash frequency of the fill-in light is detected by extracting information of the image in the related art. In practice, an image is imaged at a certain frame rate in the shooting process, and if the flicker frequency of the fill-in light is an integral multiple of the imaging frame rate of the image, bright and dark stripes do not necessarily appear on the image, so that when the image is detected by extracting the information of the image, the flicker may not be detected. And a special image sensor is needed when the flicker of the fill-in light is detected by extracting the information of the image, the complex processing is needed to be added to the image algorithm, and the requirement on a processor is higher.
In order to reduce the requirement on a processor and improve the reliability of the flicker detection of the fill-in Light, the embodiment of the present application provides a scheme for detecting the flicker of the fill-in Light, because the fill-in Light is substantially a Light Emitting Diode (LED), whose current-voltage characteristics are similar to those of a conventional LED, but the current-voltage curve is steeper, and a very large current change may be caused by a small voltage change, so that when the LED flickers, the current passing through the LED changes, that is, it can be determined whether the LED flickers by detecting the current of the LED, therefore, the technical scheme of the embodiment of the present application adds a current sampling module and a flicker determining module in a working circuit of the fill-in Light, obtains the actual working current flowing through the fill-in Light through the current sampling module, and obtains the actual working current of the fill-in Light and the driving current of the fill-in Light through the flicker determining module, and then, whether the light supplement lamp flickers is judged according to the actual working current and the driving current, the implementation mode is simple, a high-performance processor and a special image sensor are not needed, and the influence of the image imaging frame rate is small and the detection reliability is high because whether the light supplement lamp flickers is determined before the image is output.
After introducing the design concept of the embodiment of the present application, some simple descriptions are provided below for application scenarios to which the technical solution of the embodiment of the present application can be applied, and it should be noted that the application scenarios described below are only used for describing the embodiment of the present application and are not limited. In specific implementation, the technical scheme provided by the embodiment of the application can be flexibly applied according to actual needs.
In the embodiment of the present application, the apparatus for detecting the flash of the fill-in light and the method for detecting the flash of the fill-in light can be applied to an image acquisition system, and in the image acquisition system, a shooting device is provided, for example, a camera, a device such as a mobile phone or a tablet with a camera function, a monitoring device, and the like, which can shoot images. The shooting device comprises a shooting component, a light supplementing lamp, a current driving module, a current sampling module and a flicker judging module, wherein the shooting component is used for shooting images and can determine the frame rate of image imaging in the image shooting process; the light supplement lamp is used for providing an auxiliary light source when the ambient light is dark in the image acquisition process so as to achieve the purpose of light supplement; the current driving module is used for providing driving current for the light supplement lamp, and the current driving module can be a direct current power supply for example; the current sampling module is used for sampling the actual working current of the light supplement lamp, for example, a resistor R is connected in a loop in series, and the current information in the loop can be obtained by collecting the voltage U and the voltage U/R at the two ends of the resistor through an operational amplifier; or the Hall element is connected in series to output current information in the loop; the current or voltage information may be generally received at an Analog to Digital Converter (ADC) port of a Digital Signal Processor (DSP) for sampling. The flicker determination module may be implemented by the DSP of the camera.
The device for detecting the flicker of the fill-in light and the method for detecting the flicker of the fill-in light provided by the embodiments of the present application are described in detail below with reference to the drawings of the specification.
Please refer to fig. 1, fig. 1 is a schematic structural diagram of a device for detecting the flicker of a fill-in light, wherein a current driving module, a current sampling module and the fill-in light are connected in series in a loop, a flicker determining module is electrically connected to the current sampling module, and meanwhile, the flicker determining module is also electrically connected to the current driving module, and the flicker determining module can obtain the driving current provided by the current driving module for the fill-in light and can obtain the sampling current obtained by current sampling of the current sampling module for the fill-in light and the like. It should be noted that the connection manner between the above modules is only used for illustrating the embodiment of the present application and is not limited. In specific implementation, the technical scheme provided by the embodiment of the application can be flexibly applied according to actual needs.
The current sampling module is used for collecting the actual working current flowing through the light supplementing lamp; the flicker judgment module is used for acquiring the driving current provided by the current driving module for the light supplement lamp and determining whether the light supplement lamp flickers according to the actual working current and the driving current.
In a possible implementation mode, the current sampling module comprises a sampling electronic component and a current collecting device, the sampling electronic component is connected with the light supplement lamp in series, the current collecting device is connected with the sampling electronic component in parallel, and the current collected by the current collecting device is determined as the actual working current flowing through the light supplement lamp.
In one possible implementation, the flicker determination module is configured to:
determining a current difference value between the actual working current and the driving current;
if the current difference is smaller than or equal to the preset current threshold, determining that the light supplement lamp does not flicker;
and if the current difference is larger than the preset current threshold, determining that the light supplement lamp flickers.
In this application embodiment, the device that detects light filling lamp scintillation that provides can detect the state of light filling lamp, including current sampling module and scintillation judgement module, wherein, current sampling module is used for gathering the actual operating current of flowing through the light filling lamp, and the scintillation judgement module is used for judging whether the light filling lamp is twinkling according to the actual operating current of the drive current that the electric current drive module who obtains provided and light filling lamp. That is to say, can confirm the scintillation condition of light filling lamp through the actual operating current of gathering the light filling lamp of flowing through, it does not need high performance's treater or special image sensor, and implementation is simple, and because the light filling lamp is normal when working steadily, the driving current that current drive module provided is invariable, consequently also higher through the reliability of the actual operating current who detects the light filling lamp.
Based on the same inventive concept, please refer to fig. 2, an embodiment of the present application provides a method for detecting flicker of a fill-in light, where the method includes the following steps:
step 201: and acquiring the actual working current flowing through the light supplement lamp, and acquiring the driving current provided by the current driving module for the light supplement lamp.
In the embodiment of the application, the actual current flowing through the light supplement lamp is obtained by the current sampling module, wherein the current sampling module comprises a sampling electronic component and a current collecting device, the sampling electronic component is used for being connected with the light supplement lamp and the driving current module in series, the current collecting device is connected with the sampling electronic component in parallel and is used for collecting the current at two ends of the electronic component, and the current in the series circuit is equal, so that the current of the electronic component collected by the current collecting device is the actual working current flowing through the light supplement lamp; the driving current of the fill-in lamp is provided by the current driving module, that is, the current driving module may also be referred to as a current source, for example; the flicker judging module obtains the actual working current flowing through the light supplementing lamp from the current sampling module, and obtains the driving current of the light supplementing lamp from the current driving module.
In specific implementation process, because only a current sampling module and a flicker judgment module are added in the working circuit of the light supplement lamp, the implementation mode is simpler, and the electronic component and the current acquisition device in the current sampling module are easy to obtain and low in cost.
Step 202: and judging whether the driving current of the light supplement lamp is stable.
In this application embodiment, the driving current of the light filling lamp is provided by the current driving module, when the brightness of the ambient light changes, the brightness of the light filling lamp also needs to be adjusted, at this time, the camera device can change the driving current of the light filling lamp by changing the control signal of the Dimming Pin (Dimming Pin) of the light filling lamp driving chip, and further adjust the brightness of the light filling lamp, at this time, the actual working current flowing through the light filling lamp also changes, in order to ensure that the change of the actual working current of the light filling lamp collected by the current collecting device is the normal change generated by the brightness adjustment of the light filling lamp, or the abnormal change generated by the abnormal flashing of the light filling lamp, before comparing the actual working current with the driving current, it needs to judge whether the driving current is stable.
In a possible implementation manner, whether a driving current provided by the current driving module for the fill-in lamp is stable within a certain time period is detected, where stability may be that the driving current is a constant current value within the certain time period, or that the driving current fluctuates within a certain time period within an error allowable range, and it should be noted that a criterion for determining whether the driving current is stable is not specifically limited in the embodiment of the present application. And comparing the actual working current of the light supplementing lamp with the driving current after the driving current is determined to be stable.
In a specific implementation process, when the brightness of the light supplement lamp is adjusted, the driving current of the light supplement lamp can change, so that the actual working current of the light supplement lamp collected by the current collection device can also change, whether the driving current is stable or not is determined, the reason why the current collected by the current collection device changes is ensured, and the detection accuracy is improved.
Step 203: and comparing the actual working current with the driving current.
In the embodiment of the application, when it is determined that the driving current of the light supplement lamp is stable, the actual working current flowing through the light supplement lamp is compared with the driving current, and the comparison mode can be a difference value between a current value acquired by the current acquisition device and the driving current value.
Step 204: and determining whether the supplementary lighting lamp flickers.
In the embodiment of the application, whether the light supplement lamp flickers or not is determined according to the result of comparison between the actual working current flowing through the light supplement lamp and the driving current provided by the current driving module.
In a possible implementation manner, a current difference value between an actual working current flowing through the light supplement lamp and a driving current provided by the driving module is determined, and whether the current difference value is within a preset current threshold value is judged, wherein the preset current threshold value refers to a preset variation range which may cause current variation due to errors, if the current difference value is smaller than or equal to the preset current threshold value, it is determined that the light supplement lamp does not flicker, and if the current difference value is larger than the preset current threshold value, it is determined that the light supplement lamp flickers. For example, the variation range of the preset current threshold is ± 10%, the driving current set by the current driving module is 200mA, and when the actual working current flowing through the light supplement lamp is detected to be lower than 180mA or higher than 220mA, the light supplement lamp is considered to flicker; otherwise, the light supplement lamp is not flickered.
In a specific implementation process, because the current detection device may consume a part of current or have a part of extra current, the current detected by the current detection device may have a certain error with the current actually flowing through the sampling electronic component, and therefore, the error caused by the reason of the current detection device can be avoided by setting a certain error range, so that an erroneous judgment result is obtained, and the judgment accuracy is improved.
In the embodiment of the application, when the flicker judging module determines that the fill-in light flickers, the flicker prompting information may be output, or it may also be determined that the flicker frequency of the fill-in light is not an integral multiple of a predetermined shooting frame rate, where the predetermined shooting frame rate is an imaging frame rate of an image when the image pickup apparatus shoots, if the flicker frequency of the fill-in light is an integral multiple of the predetermined shooting frame rate, the flicker prompting information is output, and if the flicker frequency of the fill-in light is not an integral multiple of the predetermined shooting frame rate, the flicker warning information is output. Like this, can in time feed back the condition of light filling lamp trouble through output scintillation suggestion information or scintillation warning message information, simultaneously, also can let the maintenance personal confirm more easily that the light filling lamp breaks down the reason to reduce the work load of maintenance personal maintenance in-process.
Based on the same inventive concept, the embodiment of the application provides a device for detecting the flicker of a fill-in light, and the device for detecting the flicker of the fill-in light can realize the corresponding function of the method for detecting the flicker of the fill-in light. The device for detecting the flicker of the fill light can be a hardware structure, a software module or a hardware structure and a software module. The device of the shooting device can be realized by a chip system, and the chip system can be formed by a chip and can also comprise the chip and other discrete devices. Referring to fig. 3a, the apparatus for detecting the blinking of the fill-in light includes an obtaining unit 301, a comparing unit 302, and a determining unit 303. Wherein:
an obtaining unit 301, configured to obtain an actual working current flowing through the light supplement lamp, and obtain a driving current provided by the current driving module to the light supplement lamp;
a comparison unit 302, configured to compare the actual working current with the driving current;
and the determining unit 303 is configured to determine whether the fill light flashes according to the comparison result.
In a possible implementation, the determining unit 303 is configured to:
determining a current difference value between the actual working current and the driving current;
if the current difference is smaller than or equal to the preset current threshold, determining that the light supplement lamp does not flicker;
and if the current difference is larger than the preset current threshold, determining that the light supplement lamp flickers.
In a possible embodiment, the alignment unit 302 is configured to:
determining whether the driving current provided by the current driving module for the light supplement lamp is stable within a preset time period;
and if the current is stable, comparing the actual working current with the driving current.
In a possible implementation manner, please refer to fig. 3b, the apparatus for detecting the flash of the fill light in the embodiment of the present application further includes a prompting unit 304, configured to:
when the light supplement lamp is determined to flicker, outputting flicker prompt information; alternatively, the first and second electrodes may be,
and determining the flicker frequency of the fill-in light, and outputting flicker warning information when the flicker frequency is not an integral multiple of the preset shooting frame rate.
All relevant contents of each step related to the embodiment of the method for detecting the flash of the light supplement lamp can be cited to the functional description of the functional module corresponding to the device for detecting the flash of the light supplement lamp in the embodiment of the present application, and are not described herein again.
Based on the same inventive concept, the present application provides a shooting device, which may refer to the shooting device in the foregoing application scenarios, for example, a camera, a device such as a mobile phone or a tablet with an image capturing function, a monitoring device, and the like, which can capture an image. Referring to fig. 4, the photographing apparatus includes at least one processor 401 and a memory 402 connected to the at least one processor, a specific connection medium between the processor 401 and the memory 402 is not limited in this embodiment, in fig. 4, the processor 401 and the memory 402 are connected through a bus 400 as an example, the bus 400 is represented by a thick line in fig. 4, and connection manners between other components are only schematically illustrated and not limited. The bus 400 may be divided into an address bus, a data bus, a control bus, etc., and is shown with only one thick line in fig. 4 for ease of illustration, but does not represent only one bus or type of bus.
The shooting device in the embodiment of the present application may further include a shooting component 403 and a light supplement lamp 404, and the shooting component 403 and the light supplement lamp 404 may refer to the shooting component and the light supplement lamp in the foregoing application scene for the same understanding.
In this embodiment, the memory 402 stores instructions executable by the at least one processor 401, and the at least one processor 401 may execute the steps included in the method for detecting the flash of the fill light by executing the instructions stored in the memory 402.
The processor 401 is a control center of the shooting device, and may connect various parts of the whole shooting device by using various interfaces and lines, and perform various functions and process data of the shooting device by operating or executing instructions stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring on the shooting device. Optionally, the processor 401 may include one or more processing units, and the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, application programs, and the like, and the modem processor mainly handles wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 401. In some embodiments, processor 401 and memory 402 may be implemented on the same chip, or in some embodiments, they may be implemented separately on separate chips.
The processor 401 may be a general-purpose processor, such as a Central Processing Unit (CPU), digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like, that may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method for detecting the flicker of the fill light disclosed in the embodiment of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
Memory 402, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory 402 may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charge Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory 402 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 402 in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
By programming the processor 401, the code corresponding to the method for detecting the flicker of the fill-in light described in the foregoing embodiment may be solidified in the chip, so that the chip can execute the steps of the method for detecting the flicker of the fill-in light when running.
Based on the same inventive concept, embodiments of the present application further provide a storage medium, where the storage medium stores computer instructions, and when the computer instructions are run on a computer, the computer is caused to perform the steps of the method for detecting the flicker of the fill-in light as described above.
In some possible embodiments, aspects of the method for detecting a flicker of a fill light provided by the present application may also be implemented in the form of a program product including program code for causing a detection device to perform the steps of the method for detecting a flicker of a fill light according to various exemplary embodiments of the present application described above in this specification when the program product is run on a photographing device.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (9)

1. A device for detecting the flicker of a fill light is characterized by comprising a current sampling module and a flicker judging module; wherein:
the current sampling module is used for collecting the actual working current flowing through the light supplementing lamp;
the flicker judgment module is used for acquiring the driving current provided by the current driving module for the light supplement lamp and determining whether the driving current is stable within a preset time; and if so, determining whether the light supplement lamp flickers or not according to a current difference value between the actual working current and the driving current and a preset current threshold value.
2. The device of claim 1, wherein the current sampling module comprises sampling electronics and a current collection device, the sampling electronics is connected in series with the fill light, the current collection device is connected in parallel with the sampling electronics, and the current collection device is configured to collect current flowing through the sampling electronics; the actual working current flowing through the light supplement lamp is the current acquired by the current acquisition device.
3. The apparatus of claim 1, wherein the flicker determination module is to:
determining a current difference between the actual working current and the driving current;
if the current difference is smaller than or equal to a preset current threshold, determining that the light supplement lamp does not flicker;
and if the current difference is larger than the preset current threshold, determining that the light supplement lamp flickers.
4. The apparatus of claim 1, wherein the apparatus further comprises a prompting module to:
when the flicker judging module determines that the light supplement lamp flickers, flicker prompt information is output; alternatively, the first and second electrodes may be,
and outputting flicker warning information when the flicker frequency of the light supplement lamp is not an integral multiple of the preset shooting frame rate.
5. A method for detecting fill light flash, the method comprising:
acquiring actual working current flowing through a light supplement lamp and acquiring driving current provided by a current driving module for the light supplement lamp;
determining whether the driving current is stable for a predetermined period of time;
if the current difference value is stable, comparing the current difference value between the actual working current and the driving current with a preset current threshold value;
and determining whether the light supplement lamp flickers according to the comparison result.
6. The method of claim 5, wherein determining whether the fill light flashes according to the comparison comprises:
determining a current difference between the actual operating current and the driving current;
if the current difference is smaller than or equal to a preset current threshold, determining that the light supplement lamp does not flicker;
and if the current difference is larger than the preset current threshold, determining that the light supplement lamp flickers.
7. The method of claim 5 or 6, further comprising:
when the light supplement lamp is determined to flicker, outputting flicker prompt information; alternatively, the first and second electrodes may be,
and determining the flicker frequency of the light supplement lamp, and outputting flicker warning information when the flicker frequency is not an integral multiple of the preset shooting frame rate.
8. An image pickup apparatus characterized by comprising:
a shooting component;
the light supplement lamp is used for providing an auxiliary light source when the shooting assembly works;
a memory for storing program instructions;
a processor for calling program instructions stored in said memory and for executing the steps comprised in the method of any one of claims 5 to 7 in accordance with the obtained program instructions.
9. A storage medium storing computer-executable instructions for causing a computer to perform the steps comprising the method of any one of claims 5 to 7.
CN201911399264.8A 2019-12-30 2019-12-30 Device and method for detecting flicker of light supplement lamp, camera equipment and storage medium Active CN111131811B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911399264.8A CN111131811B (en) 2019-12-30 2019-12-30 Device and method for detecting flicker of light supplement lamp, camera equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911399264.8A CN111131811B (en) 2019-12-30 2019-12-30 Device and method for detecting flicker of light supplement lamp, camera equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111131811A CN111131811A (en) 2020-05-08
CN111131811B true CN111131811B (en) 2021-10-15

Family

ID=70505528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911399264.8A Active CN111131811B (en) 2019-12-30 2019-12-30 Device and method for detecting flicker of light supplement lamp, camera equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111131811B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111352390B (en) * 2020-03-03 2020-12-08 马鞍山职业技术学院 Visual intelligent robot control system based on real-time analysis
CN112557939A (en) * 2020-11-19 2021-03-26 浙江远望通信技术有限公司 Explosion flash lamp fault analysis method based on current characteristic analysis
CN114590199B (en) * 2021-11-30 2023-08-11 常州市辉睿车业有限公司 LED car light fault diagnosis feedback system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102076145A (en) * 2010-11-02 2011-05-25 深圳市航盛电子股份有限公司 Accurate detection and control method and device for automobile LED steering lamp
CN104320882A (en) * 2014-10-30 2015-01-28 欧普照明股份有限公司 Illumination control device, lamp with sleep aid mode and control method of lamp with sleep aid mode
CN109195254A (en) * 2018-09-27 2019-01-11 厦门普为光电科技有限公司 A kind of anti-flashing light protection system and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4221309B2 (en) * 2004-01-19 2009-02-12 Necディスプレイソリューションズ株式会社 Flicker detection apparatus, flicker detection method, and projector apparatus
CN110133541B (en) * 2019-04-30 2021-03-23 武汉微创光电股份有限公司 Fault detection method and device for light supplement lamp

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102076145A (en) * 2010-11-02 2011-05-25 深圳市航盛电子股份有限公司 Accurate detection and control method and device for automobile LED steering lamp
CN104320882A (en) * 2014-10-30 2015-01-28 欧普照明股份有限公司 Illumination control device, lamp with sleep aid mode and control method of lamp with sleep aid mode
CN109195254A (en) * 2018-09-27 2019-01-11 厦门普为光电科技有限公司 A kind of anti-flashing light protection system and method

Also Published As

Publication number Publication date
CN111131811A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN111131811B (en) Device and method for detecting flicker of light supplement lamp, camera equipment and storage medium
CN103026720B (en) The optics self diagnosis of stereo camera system
CN105979125A (en) Photographing method and system based on screen light supplement
US20160012796A1 (en) Method and system for replacing theme of a mobile terminal on the basis of a user's clothes color
CN100565323C (en) Imaging device, imaging apparatus control method
KR20170036601A (en) Imaging apparatus, flicker detection method, and program
CN111383206B (en) Image processing method and device, electronic equipment and storage medium
CN111654692B (en) Camera detection method and device, camera and storage medium
CN111160187B (en) Method, device and system for detecting left-behind object
CN111510637A (en) Brightness adjusting method and device of light supplementing device, road light supplementing device and electronic equipment
CN107748882B (en) Lane line detection method and device
CN108093183B (en) Camera day and night mode switching method and terminal equipment
KR101241803B1 (en) Multi-camera video recording device and method for vehicle using multi-camera system
CN113747008B (en) Camera and light supplementing method
CN114155241A (en) Foreign matter detection method and device and electronic equipment
CN102572274B (en) Image signal processing apparatus and image signal processing method
CN117376671A (en) Unmanned aerial vehicle image shooting method and device, unmanned aerial vehicle and storage medium
CN116506737A (en) Method, device, equipment and storage medium for determining exposure parameters
CN111665249B (en) Light intensity adjusting method and system and optical detection equipment
CN111462074A (en) Bearing appearance detection method, device and system, computer equipment and storage medium
CN112770021B (en) Camera and filter switching method
CN113055580B (en) Environment recognition method, shooting mode switching method, terminal and storage medium
CN112513609B (en) Street lamp flicker effect analysis method and terminal
CN113747149A (en) Method and device for detecting abnormality of optical filter, electronic device, and storage medium
JP7155870B2 (en) VEHICLE DETECTION APPARATUS AND METHOD AND ELECTRONICS

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant