CN111654639A - Control method and system for camera light supplement, computer equipment and storage medium - Google Patents

Control method and system for camera light supplement, computer equipment and storage medium Download PDF

Info

Publication number
CN111654639A
CN111654639A CN202010434657.4A CN202010434657A CN111654639A CN 111654639 A CN111654639 A CN 111654639A CN 202010434657 A CN202010434657 A CN 202010434657A CN 111654639 A CN111654639 A CN 111654639A
Authority
CN
China
Prior art keywords
brightness
light supplement
light
control device
supplement lamp
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.)
Pending
Application number
CN202010434657.4A
Other languages
Chinese (zh)
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 CN202010434657.4A priority Critical patent/CN111654639A/en
Publication of CN111654639A publication Critical patent/CN111654639A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/56Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a method, a system, computer equipment and a storage medium for supplementing light for a camera, wherein the system comprises: the camera comprises a camera body, a first light supplement lamp and a main control device; the camera body is connected with the input end of the main control device and is used for monitoring a target object; the output end of the main control device is connected with the first light supplement lamp; the main control device is used for acquiring the movement speed of the target object; the method comprises the steps that under the condition that the movement speed is greater than or equal to a preset speed, the main control device sets the brightness of a first light supplement lamp to be first brightness, and sets the stroboscopic time of the first light supplement lamp to be first stroboscopic time; the main control device sets the brightness of the first light supplement lamp to be a second brightness and sets the stroboscopic time of the first light supplement lamp to be a second stroboscopic time under the condition that the movement speed is smaller than a preset speed; the first brightness is larger than the second brightness, and the first stroboscopic time is smaller than the second stroboscopic time, so that the problem of high light pollution in a camera light supplement control method is solved.

Description

Control method and system for camera light supplement, computer equipment and storage medium
Technical Field
The present application relates to the field of road monitoring technologies, and in particular, to a method and a system for controlling light supplement of a camera, a computer device, and a storage medium.
Background
In the field of intelligent transportation, the video monitoring technology is widely applied. Video analysis becomes an important means for acquiring vehicle information and identifying vehicle violation in intelligent traffic. In order to effectively understand and collect road information and realize monitoring of passing vehicles, photographing and recording of the vehicles are needed. The requirement of the camera on the light is higher, and particularly, in order to obtain clear images of vehicles and license plates in an environment with extremely low illumination at night, a light supplement lamp for road monitoring is very necessary. According to the national standard GA/T496-.
Aiming at the problem of large light pollution in a control method of camera light supplement in the related art, an effective solution is not provided at present.
Disclosure of Invention
The invention provides a method, a system, computer equipment and a storage medium for controlling camera supplementary lighting, aiming at the problem of high light pollution in a camera supplementary lighting control method in the related art, and at least solving the problem.
According to one aspect of the invention, a control system for supplementary lighting of a camera is provided, and the system comprises a camera body, a first supplementary lighting lamp and a main control device;
the camera body is connected with the input end of the main control device and is used for monitoring a target object;
the output end of the main control device is connected with the first light supplement lamp; the main control device is used for acquiring the movement speed of the target object;
the main control device sets the brightness of the first light supplement lamp to be first brightness and sets the stroboscopic time of the first light supplement lamp to be first stroboscopic time when the movement speed is greater than or equal to a preset speed;
the main control device sets the brightness of the first light supplement lamp to be a second brightness and sets the stroboscopic time of the first light supplement lamp to be a second stroboscopic time under the condition that the movement speed is smaller than the preset speed;
the first brightness is greater than the second brightness, and the first strobe time is less than the second strobe time.
In one embodiment, the manner of acquiring the movement speed of the target object by the master control device at least comprises one of the following manners;
under the condition that the output end of the distance measuring sensing device is connected with the input end of the main control device, the distance measuring sensing device detects the movement distance of the target object and sends a distance signal to the main control device according to the movement distance; the main control device calculates and obtains the movement speed according to the distance signal;
and the main control device receives the real-time streaming video sent by the camera body and acquires the motion speed according to the real-time streaming video.
In one embodiment, the system further includes a second supplementary lighting lamp, and the second supplementary lighting lamp is connected with the output end of the main control device;
the master control device acquires the motion position of the target object;
the main control device sends a control signal to control the first light supplement lamp to supplement light to the target object under the condition that the movement position is located in the first area;
the main control device sends the control signal to control the second light supplement lamp to supplement light to the target object under the condition that the movement position is located in a second area;
the first light supplement angle of the first light supplement lamp is matched with the first area; and a second light supplement angle of the second light supplement lamp is matched with the second area.
In one embodiment, the main control device is further configured to output a synchronization signal to the first fill-in light according to the real-time streaming video acquired by the camera body; and the first light supplement lamp carries out stroboscopic according to the synchronous signal.
In one embodiment, the system further comprises a brightness adjusting device, the brightness adjusting device is connected with the output end of the main control device, and the brightness adjusting device is further connected with the first supplementary lighting lamp;
the brightness adjusting device receives the signal parameters output by the main control device, sets the brightness of the first light supplement lamp to be the first brightness according to the signal parameters, and sets the stroboscopic time of the first light supplement lamp to be the first stroboscopic time; or the brightness adjusting device sets the brightness of the first supplementary lighting lamp to be the second brightness, and sets the stroboscopic time of the first supplementary lighting lamp to be the second stroboscopic time.
According to another aspect of the present invention, there is provided a method for controlling fill-in light of a camera, the method including:
acquiring the movement speed of a target object;
setting the brightness of a first light supplement lamp as a first brightness and setting the stroboscopic time of the first light supplement lamp as a first stroboscopic time when the movement speed is greater than or equal to a preset speed;
setting the brightness of the first light supplement lamp as a second brightness and setting the stroboscopic time of the first light supplement lamp as a second stroboscopic time under the condition that the movement speed is smaller than the preset speed;
the first brightness is greater than the second brightness, and the first strobe time is less than the second strobe time.
In one embodiment, before the setting the brightness of the fill-in light to the first brightness when the moving speed is greater than the preset speed, the method further includes:
acquiring the motion position of the target object;
under the condition that the movement position is located in a first area, sending a control signal to control the first light supplement lamp to supplement light to the target object;
under the condition that the movement position is located in a second area, sending the control signal to control a second light supplement lamp to supplement light to the target object;
the first light supplement angle of the first light supplement lamp is matched with the first area; and a second light supplement angle of the second light supplement lamp is matched with the second area.
In one embodiment, after the obtaining the moving speed of the target object, before the setting the brightness of the fill-in light to the first brightness when the moving speed is greater than a preset speed includes:
outputting a synchronous signal to the first light supplement lamp according to the acquired real-time streaming video; and the first light supplement lamp carries out stroboflash according to the synchronous signal.
According to another aspect of the present invention, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the methods described above when executing the computer program.
According to another aspect of the invention, a computer-readable storage medium is provided, on which a computer program is stored, characterized in that the computer program realizes the steps of any of the methods described above when executed by a processor.
The invention adopts a method, a system, computer equipment and a storage medium for supplementing light by a camera, wherein the system comprises: the camera comprises a camera body, a first light supplement lamp and a main control device; the camera body is connected with the input end of the main control device and is used for monitoring a target object; the output end of the main control device is connected with the first light supplement lamp; the main control device is used for acquiring the movement speed of the target object; the method comprises the steps that under the condition that the movement speed is greater than or equal to a preset speed, the main control device sets the brightness of a first light supplement lamp to be first brightness, and sets the stroboscopic time of the first light supplement lamp to be first stroboscopic time; the main control device sets the brightness of the first light supplement lamp to be a second brightness and sets the stroboscopic time of the first light supplement lamp to be a second stroboscopic time under the condition that the movement speed is smaller than a preset speed; the first brightness is larger than the second brightness, and the first stroboscopic time is smaller than the second stroboscopic time, so that the problem of high light pollution in a camera light supplement control method is solved.
Drawings
Fig. 1 is a schematic diagram of an application scenario of a light supplement control system of a camera according to an embodiment of the present invention;
fig. 2 is a first block diagram of a control system for supplementing light to a camera according to an embodiment of the present invention;
fig. 3 is a first schematic diagram of a strobe of a fill light according to an embodiment of the invention;
fig. 4 is a second schematic diagram of a strobe of a fill light according to an embodiment of the invention;
fig. 5 is a block diagram of a second configuration of a control system for supplementing light to a camera according to an embodiment of the present invention;
fig. 6 is a block diagram of a third structural diagram of a control system for supplementing light to a camera according to an embodiment of the present invention;
fig. 7 is a block diagram of a control system for supplementing light to a camera according to an embodiment of the present invention;
fig. 8 is a first flowchart of a method for controlling light supplement of a camera according to an embodiment of the present invention;
fig. 9 is a flowchart illustrating a second method for controlling light supplement of a camera according to an embodiment of the present invention;
fig. 10 is a flowchart illustrating a method for controlling light supplement of a camera according to an embodiment of the present invention;
fig. 11 is a fourth flowchart of a method for controlling light supplement of a camera according to an embodiment of the present invention;
fig. 12 is a block diagram of the inside of a computer apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The terms "first", "second" and "third" in the embodiments of the present application are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include at least one of the feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless explicitly specifically limited otherwise. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In this embodiment, an application scenario of a control system for camera light supplement is provided, and fig. 1 is a schematic view of an application scenario of a control system for camera light supplement according to an embodiment of the present invention, as shown in fig. 1. The camera body 12 selects and registers the first supplementary lighting lamp 14 or the second supplementary lighting lamp 16 according to the snapshot position of the target object to perform flashing supplementary lighting; meanwhile, the camera body 12 selects different light supplement schemes according to the movement speed of the target object, and sets the brightness and stroboscopic time of the first light supplement lamp 14 or the second light supplement lamp 16 according to the light supplement schemes.
In this embodiment, a control system for supplementing light to a camera is provided, and fig. 2 is a block diagram of a structure of the control system for supplementing light to the camera according to the embodiment of the present invention, as shown in fig. 2, the system includes: the camera body 12, the first fill-in light 14 and the main control device 22;
the camera body 12 is connected to the input end of the main control device 22 for monitoring the target object; the output end of the main control device 22 is connected to the first fill-in light 14; the main control device 22 is configured to obtain a moving speed of the target object, and compare the moving speed with a preset speed, where the preset speed may be 100 km/h.
When the moving speed is greater than or equal to the preset speed, which indicates that the target object is in a high-speed moving state, the main control device 22 controls the current of the driving power supply of the first fill-in light 14,setting the brightness of the first fill-in light 14 as a first brightness, and setting the stroboscopic time of the first fill-in light 14 as a first stroboscopic time; fig. 3 is a first schematic view of a strobe of a fill light according to an embodiment of the invention, as shown in fig. 3. Wherein, under the condition that the first light supplement lamp 14 works normally, the illumination brightness of the first light supplement lamp 14 is a cd/m2And the stroboscopic time interval of the first fill-in light lamp 14 is Δ Tms; when the first fill-in light lamp 14 fills in light of a target object moving at a high speed, the luminance of the light illuminated by the first fill-in light lamp 14 is set to nacd/m2And the stroboscopic time interval of the first fill-in light 14 is set to be delta T/n2ms; wherein a is a positive number and n is a number greater than 1; meanwhile, the calculation formula of the luminous flux is shown in formula 1:
Figure BDA0002501780860000061
wherein the content of the first and second substances,
Figure BDA0002501780860000062
representing luminous flux, R representing a first fill-in lamp resistor, T representing stroboscopic time of the first fill-in lamp, I representing current flowing through the first fill-in lamp, and I being in direct proportion to brightness of the first fill-in lamp; the total luminous flux of the first fill-in lamp 14 is unchanged under this scheme.
When the movement speed is lower than the preset speed, the target object is in a low-speed movement state, and because the displacement of the target object in unit time is very small, the light supplement brightness can be reduced during snapshot light supplement, and the light supplement duration is prolonged; the main control device 22 sets the brightness of the first fill-in light 14 to a second brightness, and sets the stroboscopic time of the first fill-in light 14 to a second stroboscopic time; the first brightness is larger than the second brightness, and the first strobe time is smaller than the second strobe time. Fig. 4 is a second schematic diagram of a fill-in lamp stroboscopic method according to an embodiment of the invention, as shown in fig. 4, when the first fill-in lamp 14 fills in a target object moving at a high speed, the luminance of the illumination of the first fill-in lamp 14 is set to a/n cd/m2And the firstA time interval of 14 stroboflash of a fill light is set as n2Δ T ms; it is understood that this solution also ensures that the total luminous flux of the first fill-in lamp 14 is constant.
In the related art, a pulse type light supplement lamp needs to be configured in an environment with extremely low night illumination, but according to the embodiment of the present invention, the main control device 22 adaptively selects different light supplement schemes according to the calculated movement speed of the target object, controls the first light supplement lamp 14 to supplement light to the target object according to the light supplement schemes, and simultaneously ensures that the total luminous flux of the first light supplement lamp 14 is unchanged, so that light pollution caused by light supplement of a camera is effectively reduced, and the control system has a simple structure and does not need an additional infrared light supplement lamp to supplement light.
In one embodiment, the manner of acquiring the moving speed of the target object by the master control device 22 includes at least one of the following;
the system further includes a distance measuring sensing device 52, fig. 5 is a structural block diagram of a control system for supplementing light to a camera according to an embodiment of the present invention, as shown in fig. 5, an output end of the distance measuring sensing device 52 is connected to an input end of the main control device 22, and is used for detecting a movement distance of the target object; the distance measuring sensor 52 may be a radar distance measuring sensor, which emits electromagnetic wave signals before the radar distance measuring sensor, and when the emitted signals meet the target object, the electromagnetic wave signals are reflected back to be received by the same antenna, and are amplified by frequency mixing to output difference frequency signals, and the difference frequency signals can be used to represent the distance between the radar distance measuring sensor and the target object.
The distance measuring sensor 52 may also be an ultrasonic distance measuring sensor; the ultrasonic distance measuring sensor comprises an ultrasonic transmitter, a counter, an ultrasonic receiver and a distance measuring sensor, wherein the ultrasonic transmitter of the ultrasonic distance measuring sensor transmits ultrasonic forward, the counter starts timing at the time of transmitting, when the ultrasonic touches a target object, the ultrasonic is reflected back to be received by the ultrasonic receiver, and the counter stops timing immediately, so that the distance between a transmitting point of the ultrasonic distance measuring sensor and the target object is calculated.
The distance measuring sensor 52 may also be a transmission time laser distance sensor, which is installed outside the camera body 12 and mainly includes a laser diode, an avalanche photodiode and a sensor receiver, wherein the laser diode emits laser pulses to a target object, the laser light is scattered in all directions after being reflected by the target object, and part of the scattered light returns to the sensor receiver, and is received by an optical system and imaged on the avalanche photodiode; the avalanche photodiode is an optical sensor having an amplification function inside, and therefore it can detect an extremely weak optical signal; the ranging sensing device records and processes the time elapsed from the emission of the light pulse to the return receipt, thereby measuring the distance of the target object from the sensor.
The distance measuring sensor 52 sends a distance signal to the master control device 22 according to the moving distance, and the master control device 22 calculates the moving speed according to the distance signal and the time interval for receiving the distance signal.
The method for the main control device 22 to obtain the movement speed of the target object may also be an optical flow method: the main control device 22 receives the real-time streaming video sent by the camera body 12, stores the real-time streaming video as a static image, calculates an optical flow field according to the denoised static images of two adjacent frames, and calculates and obtains the motion speed according to the optical flow field.
Through the above embodiment, the moving speed of the target object is obtained through the distance measurement sensing device 52 or the real-time streaming video sent by the camera body 12, so that the moving speed of the target object is quickly and accurately judged, and the camera light supplement control system is optimized.
In an embodiment, a control system for supplementing light to a camera is provided, and fig. 6 is a block diagram of a structure of the control system for supplementing light to a camera according to the embodiment of the present invention, as shown in fig. 6, the system further includes a second light supplementing lamp 16, and the second light supplementing lamp 16 is connected to an output end of the main control device 22; wherein, the first fill-in light angle of the first fill-in light 14 matches the first area; the second fill-in angle of the second fill-in lamp 16 matches the second area.
The main control device 22 receives the real-time streaming video acquired by the camera body 12, and acquires the motion position of the target object according to the real-time streaming video. When the moving position is located in the first area, the main control device 22 sends a control signal to the first light supplement lamp 14 according to a serial port communication protocol for registration, so as to control the first light supplement lamp 14 to supplement light to the target object, and determines a light supplement scheme of the first light supplement lamp by judging the moving speed of the target object; wherein, the first area can be a nearer area which is 10-20 m away from the camera body 12; after the camera body 12 is installed, calibrating the camera body 12 to establish a conversion relationship between pixel coordinates on an image and actual world coordinates, converting the pixel coordinates of the motion position into the world coordinates according to the conversion relationship, and detecting whether the world coordinates of the motion position are within a range of 10-20 m from the camera body 12 to judge whether the motion position is located in the first area; the serial communication protocol may be an RS485 protocol.
When the moving position is located in the second area, the main control device 22 sends a control signal to the second light supplement lamp 16 according to a serial port communication protocol for registration, so as to control the second light supplement lamp 16 to supplement light to the target object, and determine a light supplement scheme of the second light supplement lamp by judging the moving speed of the target object; wherein, the second area can be a distant area with a distance of 20-40 m from the camera body 12; it is understood that the manner in which the master control device 22 detects whether the movement location is located in the second area may be the same as the manner in which the movement location is detected in the first area.
Through above-mentioned embodiment, with the light filling lamp of different angles of this camera light filling control system configuration, according to the actual candid photograph position of target object and confirm the light filling region, the LED light filling lamp that controls the correspondence in different regions selects the optimum light filling scheme to explode and dodge, carries out local light filling to through the average light filling power that accurate judgement light filling scope and light filling intensity reduce LED light filling lamp, the amazing intensity in the twinkling of an eye of work of weakening passing the car, light pollution in the road light filling has further been reduced.
In one embodiment, the main control device 22 is further configured to output a synchronization signal according to the real-time streaming video sampling frequency obtained by the camera body 12, and trigger the first fill-in light 14 according to the synchronization signal; the synchronous signal is a pulse signal, so that the camera snapshot frequency and the light supplement lamp frequency are synchronized, image stripes or flicker caused by the fact that the light supplement lamp and the camera are asynchronous is avoided, and energy consumption is saved.
In an embodiment, a control system for supplementary lighting of a camera is provided, and fig. 7 is a block diagram of a fourth structure of the control system for supplementary lighting of a camera according to the embodiment of the present invention, as shown in fig. 7, the system further includes a brightness adjusting device 72, an input end of the brightness adjusting device 72 is connected to an output end of the main control device 22, and an input end of the brightness adjusting device 72 is connected to the first supplementary lighting lamp 14.
The main control device 22 triggers signal parameters according to the acquired movement speed; the brightness adjusting device 72 receives the signal parameter outputted by the main control device 22, wherein the signal parameter is a pulse signal; setting the brightness of the first fill light 14 as the first brightness according to the signal parameter, and setting the stroboscopic time of the first fill light 14 as the first stroboscopic time; alternatively, the brightness adjusting device 72 sets the brightness of the first fill-in light 14 to the second brightness, and sets the strobe time of the first fill-in light 14 to the second strobe time.
Through the above embodiment, the brightness adjusting device 72 sets the brightness and the strobe time of the first fill light 14 according to the received signal parameters, thereby further optimizing the camera fill light control system.
In this embodiment, a method for controlling camera fill-in light is provided, and fig. 8 is a first flowchart of a method for controlling camera fill-in light according to an embodiment of the present invention, as shown in fig. 8, the method includes the following steps:
step S802, obtaining the movement speed of the target object;
step S804, when the movement speed is greater than or equal to the preset speed, setting the brightness of the first fill-in light 14 to a first brightness, and setting the stroboscopic time of the first fill-in light 14 to a first stroboscopic time;
step S806, when the movement speed is lower than the preset speed, setting the brightness of the first fill-in light 14 to a second brightness, and setting the stroboscopic time of the first fill-in light 14 to a second stroboscopic time; the first brightness is larger than the second brightness, and the first strobe time is smaller than the second strobe time.
Through the steps S802 to S806, different light supplement schemes are adaptively selected according to the motion speed of the target object obtained through calculation, the first light supplement lamp 14 is controlled to supplement light to the target object according to the light supplement scheme, and the total luminous flux of the first light supplement lamp 14 is ensured to be unchanged, so that light pollution caused by camera light supplement is effectively reduced, and the control system is simple in structure and does not need an additional infrared light supplement lamp to supplement light.
In an embodiment, a method for controlling camera fill-in light is provided, and fig. 9 is a second flowchart of the method for controlling camera fill-in light according to the embodiment of the present invention, as shown in fig. 9, the method includes the following steps:
step S902, obtaining the movement position of the target object;
step S904, sending a control signal to control the first light supplement lamp 14 to supplement light to the target object when the motion position is in the first area;
step S906, when the moving position is located in the second area, sending the control signal to control the second light supplement lamp 16 to supplement light to the target object; wherein, the first fill-in light angle of the first fill-in light 14 matches the first area; the second fill-in angle of the second fill-in lamp 16 matches the second area.
In an embodiment, a method for controlling camera fill-in light is provided, and fig. 10 is a flowchart illustrating a third method for controlling camera fill-in light according to an embodiment of the present invention, as shown in fig. 10, the method includes the following steps:
step S1002, outputting a synchronization signal to the first fill-in light 14 according to the acquired real-time streaming video; the first fill-in light 14 strobes according to the synchronization signal.
It should be understood that, although the respective steps in the flowcharts of fig. 8 to 10 are sequentially shown as indicated by arrows, the steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 8-10 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
An embodiment of the present invention is described in detail below with reference to an actual application scenario, and fig. 11 is a flowchart of a method for controlling camera fill-in light according to the embodiment of the present invention, where specific implementation steps of the method for controlling camera fill-in light are shown in fig. 11.
Step S1102, acquiring a real-time streaming video for detection.
And step S1104, judging according to the target snapshot position.
Step 1106, if the target snapshot position falls in a first area, controlling the LED light supplement lamp corresponding to the first area to perform flashing light supplement, wherein the brightness of other light supplement lamps is unchanged; and if the target snapshot position falls in the second area, controlling the LED light supplement lamps corresponding to the second area to perform flashing light supplement, wherein the brightness of other light supplement lamps is unchanged.
And step S1108, selecting different LED supplementary lighting lamps for flashing through the step S1106 according to the difference of the target snapshot positions.
In step S1110, the movement speed of the target object is determined.
Step S1112, when the moving speed of the target object is high, controlling an exposure time of a capture frame of the camera to ensure that no smear is generated during object displacement, and controlling a corresponding fill-in light to fill in light using a first scheme, where the first scheme is to increase the brightness of the fill-in light and reduce the stroboscopic time; under the condition that the motion speed of the target object is low, the camera is controlled to capture the exposure time of the frame, no displacement of the object is guaranteed, the corresponding light supplement lamp is controlled to supplement light by using a second scheme, and the second scheme is used for reducing the brightness of the light supplement lamp and increasing the stroboscopic time.
Step S1114 is to determine a light supplement scheme of the LED light supplement lamp through the step S1110.
In step S1116, the light supplement lamp is controlled to supplement light according to the light supplement lamp determined in step S1108 for flashing and the light supplement scheme determined in step S1114.
In one embodiment, a computer device is provided, and the computer device may be a server, and fig. 12 is a structural diagram of the inside of a computer device according to an embodiment of the present invention, as shown in fig. 12. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing real-time video stream data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method for controlling camera fill-in light.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps in the camera fill-in light control method provided in the foregoing embodiments are implemented.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps in the camera fill-in light control method provided in the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A control system for camera light supplement is characterized by comprising a camera body, a first light supplement lamp and a main control device;
the camera body is connected with the input end of the main control device and is used for monitoring a target object;
the output end of the main control device is connected with the first light supplement lamp; the main control device is used for acquiring the movement speed of the target object;
the main control device sets the brightness of the first light supplement lamp to be first brightness and sets the stroboscopic time of the first light supplement lamp to be first stroboscopic time when the movement speed is greater than or equal to a preset speed;
the main control device sets the brightness of the first light supplement lamp to be a second brightness and sets the stroboscopic time of the first light supplement lamp to be a second stroboscopic time under the condition that the movement speed is smaller than the preset speed;
the first brightness is greater than the second brightness, and the first strobe time is less than the second strobe time.
2. The control system of claim 1, wherein the master control device obtains the movement speed of the target object in at least one of the following manners;
under the condition that the output end of the distance measuring sensing device is connected with the input end of the main control device, the distance measuring sensing device detects the movement distance of the target object and sends a distance signal to the main control device according to the movement distance; the main control device calculates and obtains the movement speed according to the distance signal;
and the main control device receives the real-time streaming video sent by the camera body and acquires the motion speed according to the real-time streaming video.
3. The control system according to claim 1, further comprising a second supplementary lighting lamp, wherein the second supplementary lighting lamp is connected to an output end of the main control device;
the master control device acquires the motion position of the target object;
the main control device sends a control signal to control the first light supplement lamp to supplement light to the target object under the condition that the movement position is located in the first area;
the main control device sends the control signal to control the second light supplement lamp to supplement light to the target object under the condition that the movement position is located in a second area;
the first light supplement angle of the first light supplement lamp is matched with the first area; and a second light supplement angle of the second light supplement lamp is matched with the second area.
4. The control system according to claim 1, wherein the main control device is further configured to output a synchronization signal to the first fill-in light according to the real-time streaming video acquired by the camera body; and the first light supplement lamp carries out stroboscopic according to the synchronous signal.
5. The control system according to claim 1, further comprising a brightness adjusting device, wherein the brightness adjusting device is connected to an output end of the main control device, and the brightness adjusting device is further connected to the first fill-in light;
the brightness adjusting device receives the signal parameters output by the main control device, sets the brightness of the first light supplement lamp to be the first brightness according to the signal parameters, and sets the stroboscopic time of the first light supplement lamp to be the first stroboscopic time; or the brightness adjusting device sets the brightness of the first supplementary lighting lamp to be the second brightness, and sets the stroboscopic time of the first supplementary lighting lamp to be the second stroboscopic time.
6. A method for controlling supplementary lighting of a camera is characterized by comprising the following steps:
acquiring the movement speed of a target object;
setting the brightness of a first light supplement lamp as a first brightness and setting the stroboscopic time of the first light supplement lamp as a first stroboscopic time when the movement speed is greater than or equal to a preset speed;
setting the brightness of the first light supplement lamp as a second brightness and setting the stroboscopic time of the first light supplement lamp as a second stroboscopic time under the condition that the movement speed is smaller than the preset speed;
the first brightness is greater than the second brightness, and the first strobe time is less than the second strobe time.
7. The control method according to claim 6, wherein before the setting the brightness of the fill-in light to the first brightness when the moving speed is greater than a preset speed, the method further comprises:
acquiring the motion position of the target object;
under the condition that the movement position is located in a first area, sending a control signal to control the first light supplement lamp to supplement light to the target object;
under the condition that the movement position is located in a second area, sending the control signal to control a second light supplement lamp to supplement light to the target object;
the first light supplement angle of the first light supplement lamp is matched with the first area; and a second light supplement angle of the second light supplement lamp is matched with the second area.
8. The control method according to claim 6, wherein after the obtaining the moving speed of the target object, before the setting the brightness of the fill-in light to the first brightness when the moving speed is greater than a preset speed comprises:
outputting a synchronous signal to the first light supplement lamp according to the acquired real-time streaming video; and the first light supplement lamp carries out stroboflash according to the synchronous signal.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 6 to 8 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 6 to 8.
CN202010434657.4A 2020-05-21 2020-05-21 Control method and system for camera light supplement, computer equipment and storage medium Pending CN111654639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010434657.4A CN111654639A (en) 2020-05-21 2020-05-21 Control method and system for camera light supplement, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010434657.4A CN111654639A (en) 2020-05-21 2020-05-21 Control method and system for camera light supplement, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111654639A true CN111654639A (en) 2020-09-11

Family

ID=72348129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010434657.4A Pending CN111654639A (en) 2020-05-21 2020-05-21 Control method and system for camera light supplement, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111654639A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768803A (en) * 2012-07-31 2012-11-07 株洲南车时代电气股份有限公司 Vehicle intelligent monitoring and recording system and method based on radar and video detection
CN102932603A (en) * 2012-08-16 2013-02-13 浙江宇视科技有限公司 Light supplementation control method and camera
CN104700622A (en) * 2013-12-10 2015-06-10 三星泰科威株式会社 Method and apparatus for recognizing information
CN107257428A (en) * 2017-07-19 2017-10-17 上海浩创亘永科技有限公司 A kind of camera light compensation method
CN107995436A (en) * 2017-12-19 2018-05-04 浙江大华技术股份有限公司 A kind of light compensation method and device
CN109842763A (en) * 2017-11-29 2019-06-04 深圳市海洋王照明工程有限公司 A kind of automatic light-supplementing method, system and video camera

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768803A (en) * 2012-07-31 2012-11-07 株洲南车时代电气股份有限公司 Vehicle intelligent monitoring and recording system and method based on radar and video detection
CN102932603A (en) * 2012-08-16 2013-02-13 浙江宇视科技有限公司 Light supplementation control method and camera
CN104700622A (en) * 2013-12-10 2015-06-10 三星泰科威株式会社 Method and apparatus for recognizing information
CN107257428A (en) * 2017-07-19 2017-10-17 上海浩创亘永科技有限公司 A kind of camera light compensation method
CN109842763A (en) * 2017-11-29 2019-06-04 深圳市海洋王照明工程有限公司 A kind of automatic light-supplementing method, system and video camera
CN107995436A (en) * 2017-12-19 2018-05-04 浙江大华技术股份有限公司 A kind of light compensation method and device

Similar Documents

Publication Publication Date Title
US11194023B2 (en) Image acquiring apparatus for vehicle, control device, vehicle having image acquiring apparatus for vehicle or control device, and image acquiring method for vehicle
JP6536984B2 (en) Ranging imaging system, solid-state imaging device, and ranging imaging method
US11412139B2 (en) Traffic monitoring device capable of switching camera mode
JP6868570B2 (en) Vehicle and vehicle image acquisition method equipped with vehicle image acquisition device, control device, vehicle image acquisition device or control device
EP2910971A1 (en) Object recognition apparatus and object recognition method
US11325522B2 (en) Automatic light system
CN108431629B (en) Vehicle image acquisition device, control device, vehicle including vehicle image acquisition device or control device, and vehicle image acquisition method
EP1767960A1 (en) Front image taking device
CN103987575A (en) Method and device for identifying a braking situation
CN101223053A (en) Image recording system
CN114520880B (en) Exposure parameter adjusting method and device
US20120162431A1 (en) Methods and systems for monitoring traffic flow
US8373754B2 (en) Method and system for evaluating brightness values in sensor images of image-evaluating adaptive cruise control systems
CN110874923B (en) Intelligent road side unit and control method
CN111654639A (en) Control method and system for camera light supplement, computer equipment and storage medium
JP2009257982A (en) Device for generating distance image data for vehicle
CN110874922A (en) Intelligent road side unit and information processing method thereof
US11657526B2 (en) Distance measurement device
CN112565618A (en) Exposure control device
JP5151814B2 (en) Traveling zone detection device and program for traveling zone detection device
CN114760420A (en) Image processing method, device, chip, system, medium, and program product
JP2009086782A (en) License number reading device
WO2021147995A1 (en) Control method and apparatus for intelligent vehicle, and related device
JP2009259070A (en) Device for generating distance image data for vehicle
JP2003156558A (en) On-vehicle speed measuring apparatus

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200911