CN113364989B - Camera strobe control method and device, electronic equipment and storage medium - Google Patents

Camera strobe control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113364989B
CN113364989B CN202010150500.9A CN202010150500A CN113364989B CN 113364989 B CN113364989 B CN 113364989B CN 202010150500 A CN202010150500 A CN 202010150500A CN 113364989 B CN113364989 B CN 113364989B
Authority
CN
China
Prior art keywords
camera
signal
field signal
delay
cameras
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
CN202010150500.9A
Other languages
Chinese (zh)
Other versions
CN113364989A (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 Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN202010150500.9A priority Critical patent/CN113364989B/en
Publication of CN113364989A publication Critical patent/CN113364989A/en
Application granted granted Critical
Publication of CN113364989B publication Critical patent/CN113364989B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/017Detecting movement of traffic to be counted or controlled identifying vehicles
    • G08G1/0175Detecting movement of traffic to be counted or controlled identifying vehicles by photographing vehicles, e.g. when violating traffic rules
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/052Detecting movement of traffic to be counted or controlled with provision for determining speed or overspeed
    • G08G1/054Detecting movement of traffic to be counted or controlled with provision for determining speed or overspeed photographing overspeeding vehicles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

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

Abstract

The embodiment of the invention discloses a method and a device for controlling camera stroboscopic, electronic equipment and a storage medium, wherein the method comprises the following steps: the first camera and the second camera respectively acquire a first field signal and a second field signal, wherein the first field signal and the second field signal have phase delay, and the field signal is a starting signal of the camera for starting capturing one frame of image; the first camera and the second camera perform video frame image capturing based on the first field signal and the second field signal, respectively. In the embodiment of the invention, the phase delay of the field signals acquired by the two cameras is ensured, so that the shutter time of the two cameras is asynchronous when the cameras capture video frame images, and the mutual influence of stroboscopic lamps of the two cameras is further avoided.

Description

Camera strobe control method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of monitoring, in particular to a method and a device for controlling camera stroboflash, electronic equipment and a storage medium.
Background
In the traffic field, all motor vehicles passing through a gate point need to be detected all day long in real time in special places on roads, such as toll stations, urban entrances and exits, or public security checkpoints and key public security sections, and multiple lanes at the gate point need to be monitored simultaneously for accurate detection.
At present, the solution commonly used is to erect the bayonet socket camera of many little resolution ratios, little target surface sensor, and every camera is responsible for monitoring single lane, gathers in unison the rear end platform control, in order to guarantee the monitoring effect moreover, is equipped with corresponding strobe light for every bayonet socket camera, and the strobe light of every bayonet socket camera should only be responsible for carrying out the light filling for the lane of oneself control.
However, this approach still has certain disadvantages: because the light filling area of the stroboscopic lamp is large, or the installation angle of the stroboscopic lamp slightly deviates due to construction, the stroboscopic lamps of adjacent bayonet cameras are influenced mutually, so that the light filling is too much, the license plate is exposed excessively, and the recognition rate of vehicle capture snapshot is influenced.
Disclosure of Invention
The embodiment of the invention provides a camera stroboscopic control method and device, electronic equipment and a storage medium, and aims to solve the technical problem that stroboscopic lamp supplementary lighting between adjacent bayonet cameras influences each other in the prior art.
In a first aspect, an embodiment of the present invention provides a method for controlling a camera strobe, which is applied to two adjacent first and second cameras, where the first and second cameras are respectively configured with a strobe, and a strobe lighting time of each camera is synchronized with a shutter time of the camera, and the method includes:
the first camera and the second camera respectively acquire a first field signal and a second field signal, wherein the first field signal and the second field signal have phase delay, and the field signal is a starting signal of the camera for starting capturing one frame of image;
the first camera and the second camera perform video frame image capturing according to the first field signal and the second field signal, respectively.
In a second aspect, an embodiment of the present invention provides a method for controlling a camera strobe, which is applied to a camera control end, and the method includes:
responding to configuration operation of a user, configuring a plurality of cameras controlled by the camera control end into a camera sequence, wherein each camera in the camera sequence is provided with a number;
sequentially determining two cameras with adjacent numbers from the camera sequence according to a preset sequence;
and acquiring the association parameters of two adjacent cameras after determining the two cameras with the numbers, determining the delay parameter of one camera according to the association parameters, and sending the delay parameter to the camera, so that the camera acquires the field signal subjected to phase delay according to the delay parameter.
In a third aspect, an embodiment of the present invention further provides a camera strobe control device, configured between two adjacent first cameras and second cameras, the first camera and the second camera are respectively provided with a strobe light, and the pulse signal for controlling the ignition of the strobe light of each camera is synchronized with the shutter time of the camera, the device comprises:
a field signal acquiring module, configured to acquire a first field signal and a second field signal respectively by the first camera and the second camera, where the first field signal and the second field signal have a phase delay, and the field signal is a start signal of a frame of image captured by the camera;
and the image capturing module is used for capturing video frame images by the first camera and the second camera according to the first field signal and the second field signal respectively.
In a fourth aspect, an embodiment of the present invention further provides a device for controlling a camera strobe, where the device is configured at a camera control end, and the device includes:
the response module is used for responding to the configuration operation of a user and configuring the plurality of cameras controlled by the camera control end into a camera sequence, wherein each camera in the camera sequence is provided with a serial number;
the selecting module is used for sequentially determining two cameras with adjacent numbers from the camera sequence according to a preset sequence;
and the parameter determining and issuing module is used for acquiring the association parameters of two adjacent cameras after determining the number of the two cameras, determining the delay parameter of one camera according to the association parameters, and issuing the delay parameter to the camera, so that the camera acquires the field signal subjected to phase delay according to the delay parameter.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for controlling the stroboscopic effect of the camera according to any embodiment of the present invention.
In a sixth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for controlling a strobe of a camera according to any embodiment of the present invention.
In the embodiment of the invention, for two adjacent first cameras and second cameras, the first cameras and the second cameras respectively acquire a first field signal and a second field signal, wherein the first field signal and the second field signal have phase delay, when the first cameras and the second cameras capture video frame images according to respective field signals, the shutter time of the first cameras and the flash lamp lighting time of the second cameras, and the shutter time of the second cameras and the flash lamp lighting time of the first cameras are not synchronous, so that the mutual influence of the flash lamps of the two cameras is avoided, and the recognition rate of the shot video frame images is improved.
Drawings
Fig. 1a is a flowchart of a method for controlling a camera strobe according to a first embodiment of the invention;
fig. 1b is a schematic diagram of processing a commercial power into a field signal according to a first embodiment of the present invention;
FIG. 1c is a diagram illustrating synchronization between the flash lamp lighting time and the shutter time of a camera according to a first embodiment of the present invention;
fig. 1d is a schematic diagram illustrating a phase delay between a field signal of a first camera and a field signal of a second camera according to a first embodiment of the present invention;
fig. 1e is a schematic diagram illustrating a phase delay between a field signal of a first camera and a field signal of a second camera according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for controlling a camera strobe according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a control device for camera stroboscopic in a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a control device for camera stroboscopic in the fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device in a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1a is a flowchart of a camera strobe control method according to an embodiment of the present invention, where this embodiment is applicable to calibrating any two adjacent cameras at a public security gate, and avoids a situation where strobe lights of the two adjacent cameras affect each other, and the method may be executed by a camera strobe control device, which may be implemented in a software and/or hardware manner and may be integrated on an electronic device, such as a gate camera.
For the camera to capture a video frame image, it is necessary for the camera to generate a field signal in the image sensor of the camera itself or input a field signal for the camera from the outside, where the field signal is a start signal for the camera to start capturing a frame image, that is, the camera can start capturing an image of a frame after receiving the field signal. For the case where a field signal is externally input to the camera image sensor, the field signal of the camera may be generated using an alternating current synchronization technique. Specifically, referring to fig. 1b, since the commercial power is usually 50Hz alternating current (the waveform is a sine wave), and the wave crest and the wave trough are high energy regions of the alternating current, from the energy point of view, the commercial power is 100Hz alternating current, and the period thereof is 10ms, and the waveform is referring to fig. 1b, optionally, the alternating current power is rectified and filtered by a hardware circuit to obtain a rectified signal (a pulse signal) having a period and a phase completely consistent with the power signal, and the period of the rectified signal is 10ms. Since asian and other television standards are PAL, the frame rate is 25 frames per second, i.e. one frame of image is captured every 40ms, i.e. the period of the required field signal is also 40ms. Therefore, the rectified signal obtained after rectification needs to be processed to be used as a field signal of the camera, for example, the period of the rectified signal is adjusted to be expanded to the period of the field signal, and the amplitude of the rectified signal is adjusted.
Furthermore, in order to ensure the quality of images captured by the cameras, a strobe light is configured for each camera in advance, wherein the strobe light is concentrated in the field of intelligent transportation, is developed for various snapshot systems and is used as a light supplement light for high-definition digital video camera snapshot. The high-power high-performance light supplement lamp is specially developed according to the working environments and functions of electronic policemen such as public security gates, overspeed snapshot, red light running and the like. When the strobe is used for supplementing light for the camera, the turn-on time of the strobe of the camera needs to be synchronized with the shutter time of the camera, wherein the shutter time refers to the duration of exposure when the camera starts capturing a frame of image according to the field signal, and the turn-on and turn-off of the strobe is determined by a strobe signal of the camera controlling the turn-on of the strobe. Referring to fig. 1c, a schematic diagram of the flash lamp lighting time of a camera synchronized with the shutter time of the camera is shown, wherein, for example, the strobe signal is active high (i.e., high is driving to light the flash lamp), the flash lamp lighting time of the camera is synchronized with the shutter time of the camera, which means: the duration of the high level of the strobe signal intersects the shutter time, i.e. the pulse width of the strobe signal intersects the shutter time, which is shown in fig. 1c as a time period of 2 ms. In order to achieve the above synchronization, a strobe synchronization technology is required to keep the strobe signal consistent with the field signal of the camera, specifically, it is only required to ensure that the period (i.e. the field signal period) of one frame of image captured by the camera is an integral multiple of the strobe signal period, as shown in fig. 1c, the field signal period is 4 times that of the strobe signal. It should be noted that, since the strobe signal is generated by the camera according to the field signal, after the field signal of the camera changes, for example, the field signal is delayed in phase, the strobe signal is automatically delayed in phase accordingly, so as to ensure that the strobe lighting time of the camera is synchronized with the shutter time of the camera.
To sum up, to ensure that the stroboscopic fill-in lights of two adjacent cameras (for example, the camera 1 and the camera 2) do not affect each other, it is required to ensure that the shutter times of the two cameras are not synchronous, specifically, only the shutter time of the camera 1 is not synchronous with the time that the strobe light of the camera 2 is turned on, and the time that the strobe light of the camera 1 is turned on is not synchronous with the shutter time of the camera 2.
On the basis, as shown in fig. 1a, the method for controlling the camera strobe specifically includes the following steps:
s101, the first camera and the second camera respectively acquire a first field signal and a second field signal, wherein the first field signal and the second field signal have phase delay, and the field signal refers to a starting signal of the camera starting to capture a frame of image.
Typically, multiple cameras (i.e., gate cameras) are mounted at a police gate so that each camera monitors a lane. In the embodiment of the invention, the first camera and the second camera are adjacent cameras at any two geographic positions in the erected plurality of cameras. The first field signal and the second field signal are generated based on an alternating current synchronous technology optionally, the first camera and the second camera simultaneously carry out synchronous rectification processing on respective alternating current power supplies, optionally, the rectification processing is completed based on hardware rectification circuits inside the first camera and the second camera, and accordingly the first rectification signal and the second rectification signal are correspondingly obtained, and the period and the phase of the first rectification signal and the phase of the second rectification signal are the same and are consistent with the period and the phase of the power supply signal. It should be noted that the purpose of synchronously rectifying the respective ac power sources by the first camera and the second camera at the same time is to ensure that the start times of the respective field signals of the first camera and the second camera are consistent. It should be noted that, when there is no phase delay between the field signals of the first camera and the second camera, the first camera and the second camera are completely synchronized, that is, the shutter times of the two cameras are synchronized, and the strobe signals of the two cameras are synchronized, which may cause the two cameras to affect each other.
After obtaining a first rectified signal and a second rectified signal, the first camera determines a first field signal of the first camera according to the first rectified signal; and the second camera performs delay processing on the second rectified signal according to the received delay parameter, so that the second rectified signal after delay processing and the power signal have phase delay, and determines a second field signal of the second camera according to the second rectified signal after phase delay.
Specifically, because of different television systems, the corresponding frame rates are different, and the periods of the required field signals are different, for example, the television system is PAL, and the frame rate is 25 frames per second, that is, one frame of image is captured every 40ms, that is, the period of the required field signal is also 40ms. In order to obtain the required field signal, the obtained rectified signal needs to be processed, including processing the period, amplitude, etc. of the rectified signal, so as to meet the requirements of the field signal. Thus, the first camera may obtain the first field signal by processing the first rectified signal.
In the embodiment of the present invention, if the phase delay is not performed on the second rectified signal of the second camera, the second field signal obtained according to the second rectified signal is inevitably the same as the first field signal obtained according to the first rectified signal, i.e., the problem that the stroboscopic fill-in light of the first camera and the stroboscopic fill-in light of the second camera are influenced by each other inevitably exists. Therefore, it is necessary to perform a phase delay on the second rectified signal so that the shutter times of the first camera and the second camera are not synchronized.
Optionally, the second camera may perform phase delay processing on the second rectified signal according to the received delay parameter, where the delay parameter is optionally sent by a control end of the remote camera, so that the second rectified signal after the delay processing and the power signal have phase delay, that is, there is phase delay between the second rectified signal and the first rectified signal, and further, there is phase delay in the field signals of the first camera and the second camera.
As an alternative embodiment, the delay parameter is determined according to the associated parameters of the first camera and the second camera; wherein the associated parameters include: a field signal period T of the first camera and the second camera c Shutter time T of the first camera cexp1 Shutter time T of the second camera cexp2 A period T of a pulse signal for controlling the strobe light of the first camera and the second camera to be turned on p The first camera controls the strobePulse width T of pulse signal for lamp lighting p1 The pulse width T of the pulse signal for controlling the stroboscopic lamp to be turned on by the second camera p2
Illustratively, referring to fig. 1d and fig. 1e, both show schematic diagrams of phase delay between a field signal of a first camera and a field signal of a second camera, and it can be seen from the diagrams that, if it is ensured that shutter times of the first camera and the second camera are not synchronized, a delay parameter needs to satisfy one of the following conditions A, B:
A. if the first camera and the second camera are both post-exposure, wherein post-exposure means that when the camera starts capturing one frame of image according to the field signal, the shutter is delayed for a period of time and then exposed, as shown in fig. 1d. For the case of post exposure, the delay parameter satisfies the following preset conditions:
T exp2 <T delay <(T p -T p1 ); (1)
T p2 <T delay <(T p -T exp1 ); (2)
wherein, T delay For the delay parameter, inequality (1) ensures that the shutter time of the second camera is not synchronous with the flash lamp lighting time of the first camera, i.e. the shutter time is not intersected with the high level duration (i.e. pulse width) of the flash pulse; inequality (2) ensures that the shutter time of the first camera is not synchronized with the strobe light on time of the second camera. Therefore, the delay parameter is any value that meets the preset condition, optionally, the intersection interval of inequalities (1) and (2) is calculated, and the middle value of the intersection interval is used as the delay parameter.
B. If the first camera and the second camera are both front-facing, the front-facing refers to the exposure immediately when the cameras start capturing one frame of image according to the field signal, specifically, see fig. 1e. For the case of pre-exposure, the delay parameter satisfies the following preset conditions:
T p1 <T delay <(T p -T exp2 ); (3)
T exp1 <T delay <(T p -T p2 ); (4)
wherein, T delay For the delay parameter, inequality (3) ensures that the shutter time of the first camera is asynchronous with the flash lamp lighting time of the second camera; inequality (4) ensures that the shutter time of the second camera is not synchronized with the strobe light on time of the first camera. Therefore, the delay parameter is any value that meets the preset condition, optionally, the intersection interval of inequalities (3) and (4) is calculated, and the middle value of the intersection interval is used as the delay parameter.
Here, the front exposure and the back exposure are determined by the manufacturer of the image sensor of the camera.
S102, the first camera and the second camera respectively capture video frame images according to the first field signal and the second field signal.
Through the operation, phase delay exists between the second field signal and the first field signal, so that video frame image capture can be carried out on the first camera and the second camera according to the first field signal and the second field signal respectively, and stroboscopic lamps of the two cameras supplement light completely and independently without mutual influence.
In the embodiment of the invention, for two adjacent first cameras and second cameras, the delay parameter is issued to the second camera, so that the second camera performs phase delay on the second rectified signal according to the delay parameter, so that phase delay exists between the first rectified signal and the second rectified signal, and since the field signal of the camera is determined according to the rectified signal, phase delay also exists between the second field signal of the second camera and the first field signal of the first camera, when the first camera and the second camera capture a video frame image according to respective field signals, the shutter time of the first camera and the flash lamp lighting time of the second camera are asynchronous, and the shutter time of the second camera and the flash lamp lighting time of the first camera are asynchronous, thereby avoiding mutual influence of the flash lamps of the two cameras, and improving the identification rate of the shot video frame image.
Example two
Fig. 2 is a schematic flowchart of a method for controlling a camera strobe according to a second embodiment of the present application, where the method is applied to a camera control end, and referring to fig. 2, the method includes:
s201, responding to configuration operation of a user, configuring a plurality of cameras controlled by the camera control end into a camera sequence, wherein each camera in the camera sequence is provided with a serial number.
S202, according to a preset sequence, two adjacent cameras with numbers are sequentially determined from the camera sequence.
Since a plurality of cameras are usually configured at the security gate at the same time, two adjacent cameras generally affect each other, and therefore, the two adjacent cameras need to be determined from the plurality of cameras. Optionally, in response to a configuration operation of a user, configuring a plurality of cameras controlled by the camera control end into a camera sequence, and setting a number for each camera. And sequentially determining two cameras with adjacent numbers from the camera sequence according to a preset sequence, such as from left to right or from right to left.
S203, acquiring the correlation parameters of two adjacent cameras after determining the two cameras with the numbers, determining the delay parameter of one camera according to the correlation parameters, and sending the delay parameter to the camera, so that the camera acquires the field signal subjected to phase delay according to the delay parameter.
Exemplarily, the camera sequence includes five cameras numbered 1 to 5, and for the cameras numbered 1 and 2, the phase of the field signal of the camera 1 is set to be zero, and then the correlation parameters of the two cameras can be obtained, the specific contents of the correlation parameters refer to the above embodiment, since the pulse widths of the camera shutter and the strobe are generally used for debugging the image effect, and the period of the strobe is a fixed value, the range of the delay parameter of the field signal of the camera 2 can be found according to the relationship between the delay parameter and the correlation parameters in the above embodiment, and the minimum value of the range can be used as the final delay parameter of the rectified signal of the camera 2, and the delay parameter is issued to the camera 2; similarly, since the camera 2 is adjacent to the camera 3, the camera 3 is adjacent to the camera 4, and the camera 4 is adjacent to the camera 5, delay parameters of the camera 3, the camera 4, and the camera 5 can be respectively calculated and issued to the corresponding cameras, so that the cameras perform phase delay processing on rectified signals of the cameras according to the delay parameters, so that a field signal obtained based on the rectified signals has phase delay, and the cameras perform video frame image capture based on the field signals after phase delay.
In the embodiment of the application, only two adjacent cameras need to be selected at the camera control end, the control end can automatically acquire the correlation parameters of the two cameras, so that the delay parameters of the appointed camera are determined and are issued to the appointed camera, so that the appointed camera performs phase delay on the rectification signal of the camera according to the delay parameters, and then the strobe lights of the two cameras completely and independently supplement light without influencing each other.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a camera strobe control apparatus according to a third embodiment of the present invention, the apparatus is configured to two adjacent first cameras and second cameras, each of the first cameras and the second cameras is configured with a strobe, and a pulse signal for controlling the strobe to be turned on is synchronized with a shutter time of the camera, with reference to fig. 3, the apparatus includes:
a field signal acquiring module 301, configured to acquire a first field signal and a second field signal respectively by the first camera and the second camera, where the first field signal and the second field signal have a phase delay, and the field signal is a start signal of a frame of image captured by the camera;
an image capturing module 302, configured to capture video frame images by the first camera and the second camera according to the first field signal and the second field signal, respectively.
Optionally, the apparatus further comprises:
the rectification module is used for synchronously rectifying respective alternating current power supplies by the first camera and the second camera simultaneously to respectively obtain a first rectification signal and a second rectification signal which are synchronous with the power supply signals;
accordingly, the field signal acquisition module comprises:
a first field signal acquisition unit, configured to determine a first field signal of the first camera according to the first rectified signal by the first camera;
and the second field signal acquisition unit is used for the second camera to perform delay processing on the second rectified signal according to the received delay parameter, so that the second rectified signal subjected to delay processing and the power supply signal have phase delay, and determining a second field signal of the second camera according to the second rectified signal subjected to phase delay.
Optionally, the delay parameter is determined according to the associated parameters of the first camera and the second camera;
wherein the associated parameters include: a field signal period T of the first camera and the second camera c Shutter time T of the first camera cexp1 Shutter time T of the second camera cexp2 A period T of a pulse signal for controlling the strobe light of the first camera and the second camera to be turned on p A pulse width T of a pulse signal of the first camera for controlling the strobe lamp to be turned on p1 A pulse width T of a pulse signal of the second camera for controlling the strobe lamp to be turned on p2
Optionally, if the first camera and the second camera are both post-exposure, the delay parameter meets the following preset conditions:
T exp2 <T delay <(T p -T p1 );
T p2 <T delay <(T p -T exp1 );
wherein, T delay Is a delay parameter.
Optionally, if the first camera and the second camera are both front-end exposure, the delay parameter meets the following preset conditions:
T p1 <T delay <(T p -T exp2 );
T exp1 <T delay <(T p -T p2 );
wherein, T delay Is a delay parameter.
Optionally, the delay parameter is any value that satisfies the preset condition.
The camera strobe control device provided by the embodiment of the invention can execute the camera strobe control method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 4 is a schematic structural diagram of a camera strobe control device according to a fourth embodiment of the present invention, the device is configured at a camera control end, and the device shown in fig. 4 includes:
a response module 401, configured to respond to a configuration operation of a user, configure a plurality of cameras controlled by the camera control end into a camera sequence, where each camera in the camera sequence is provided with a number;
a selecting module 402, configured to sequentially determine, according to a preset sequence, two cameras with adjacent numbers from a camera sequence;
the parameter determination issuing module 403 is configured to, after two adjacent cameras are determined to be numbered, acquire association parameters of the two cameras, determine a delay parameter of one camera according to the association parameters, and issue the delay parameter to the camera, so that the camera acquires a field signal after phase delay is performed according to the delay parameter.
The camera strobe control device provided by the embodiment of the invention can execute the camera strobe control method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention. FIG. 5 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 5 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in FIG. 5, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with electronic device 12, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by executing a program stored in the system memory 28, for example, to implement a camera strobe control method provided by an embodiment of the present invention, which is applied to two adjacent first and second cameras, each of which is configured with a strobe, and the strobe lighting time of each camera is synchronized with the shutter time of the camera, and the method includes:
the first camera and the second camera respectively acquire a first field signal and a second field signal, wherein the first field signal and the second field signal have phase delay, and the field signal is a starting signal of the camera for starting capturing one frame of image;
the first camera and the second camera perform video frame image capturing according to the first field signal and the second field signal, respectively.
EXAMPLE six
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for controlling camera stroboscopic, where the method is applied to two adjacent first cameras and second cameras, where each of the first cameras and the second cameras is configured with a strobe, and a strobe lighting time of each camera is synchronized with a shutter time of the camera, and the method includes:
the first camera and the second camera respectively acquire a first field signal and a second field signal, wherein the first field signal and the second field signal have phase delay, and the field signal is a starting signal of the camera for starting capturing one frame of image;
the first camera and the second camera perform video frame image capturing according to the first field signal and the second field signal, respectively.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. A method for controlling camera stroboscopic is characterized in that the method is applied to two adjacent first cameras and second cameras, each of the first cameras and the second cameras is provided with a stroboscopic lamp, and the stroboscopic lamp lighting time of each camera is synchronous with the shutter time of the camera, and the method comprises the following steps:
the first camera and the second camera respectively acquire a first field signal and a second field signal, wherein the first field signal and the second field signal have phase delay, and the field signal is a starting signal of the camera for starting capturing one frame of image;
the first camera and the second camera perform video frame image capturing according to the first field signal and the second field signal, respectively;
before the first camera determines the first field signal of the first camera according to the first rectified signal, the method further comprises the following steps:
the first camera and the second camera simultaneously carry out synchronous rectification processing on respective alternating current power supplies to respectively obtain a first rectification signal and a second rectification signal which are synchronous with the power supply signals;
correspondingly, the first camera and the second camera respectively acquire a first field signal and a second field signal, including:
the first camera determines a first field signal of the first camera according to the first rectified signal;
the second camera performs delay processing on the second rectified signal according to the received delay parameter, so that phase delay exists between the second rectified signal after delay processing and a power supply signal, and determines a second field signal of the second camera according to the second rectified signal after phase delay;
the delay parameter is determined from associated parameters of the first camera and the second camera;
the associated parameters include: a field signal period T of the first camera and the second camera c Shutter time T of the first camera cexp1 Shutter time T of the second camera cexp2 A period T of a pulse signal for controlling the strobe light of the first camera and the second camera to be turned on p Control of the first cameraPulse width T of pulse signal for stroboscopic lamp ignition p1 And the pulse width T of a pulse signal of the second camera for controlling the flash lamp to be turned on p2
2. The method according to claim 1, wherein if the first camera and the second camera are both post-exposure, the delay parameter satisfies the following preset condition:
T exp2 <T delay <(T p -T p1 );
T p2 <T delay <(T p -T exp1 );
wherein, T delay For the delay parameter, the post exposure refers to that when the camera starts capturing an image of one frame according to the field signal, the shutter is delayed for a period of time and then exposed.
3. The method according to claim 1, wherein if the first camera and the second camera are both front-end exposure, the delay parameter satisfies the following preset condition:
T p1 <T delay <(T p -T exp2 );
T exp1 <T delay <(T p -T p2 );
wherein, T delay For the delay parameter, the pre-exposure refers to exposure immediately when the camera starts capturing one frame of image according to the field signal.
4. A method according to claim 2 or 3, characterized in that the delay parameter is any value that satisfies the preset condition.
5. A method for controlling strobe of a camera is applied to a camera control end, and comprises the following steps:
responding to configuration operation of a user, configuring a plurality of cameras controlled by the camera control end into a camera sequence, wherein each camera in the camera sequence is provided with a number;
sequentially determining two cameras with adjacent numbers from the camera sequence according to a preset sequence;
after determining two adjacent cameras with numbers, acquiring association parameters of the two cameras, determining a delay parameter of one camera according to the association parameters, and sending the delay parameter to the camera, so that the camera acquires a field signal subjected to phase delay according to the delay parameter;
the first camera and the second camera which are adjacent in serial number simultaneously carry out synchronous rectification processing on respective alternating current power supplies to respectively obtain a first rectification signal and a second rectification signal which are synchronous with a power supply signal;
the first camera determines a first field signal of the first camera according to the first rectified signal;
the second camera performs delay processing on the second rectified signal according to the received delay parameter, so that phase delay exists between the second rectified signal after delay processing and a power supply signal, and determines a second field signal of the second camera according to the second rectified signal after phase delay;
the delay parameter is determined from associated parameters of the first camera and the second camera;
the associated parameters include: a field signal period T of the first camera and the second camera c Shutter time T of the first camera cexp1 Shutter time T of the second camera cexp2 A period T of a pulse signal for controlling the strobe light of the first camera and the second camera to be turned on p A pulse width T of a pulse signal of the first camera for controlling the strobe lamp to be turned on p1 A pulse width T of a pulse signal of the second camera for controlling the strobe lamp to be turned on p2
6. A camera strobe control apparatus, configured to two adjacent first and second cameras, each of the first and second cameras being configured with a strobe, a pulse signal for controlling the strobe to be turned on being synchronized with a shutter time of the camera, the apparatus comprising:
a field signal acquiring module, configured to acquire a first field signal and a second field signal respectively by the first camera and the second camera, where the first field signal and the second field signal have a phase delay, and the field signal is a start signal of a frame of image captured by the camera;
the image capturing module is used for the first camera and the second camera to respectively capture video frame images according to the first field signal and the second field signal;
the rectification module is used for synchronously rectifying respective alternating current power supplies by the first camera and the second camera simultaneously to respectively obtain a first rectification signal and a second rectification signal which are synchronous with the power supply signal;
a first field signal acquisition unit, configured to determine a first field signal of the first camera according to the first rectified signal by the first camera;
the second field signal acquisition unit is used for the second camera to delay the second rectified signal according to the received delay parameter, so that the second rectified signal after delay processing and the power signal have phase delay, and the second field signal of the second camera is determined according to the second rectified signal after phase delay;
the delay parameter is determined from associated parameters of the first camera and the second camera;
the associated parameters include: a field signal period T of the first camera and the second camera c Shutter time T of the first camera cexp1 Shutter time T of the second camera cexp2 A period T of a pulse signal for controlling the strobe light of the first camera and the second camera to be turned on p A pulse width T of a pulse signal of the first camera for controlling the strobe lamp to be turned on p1 A pulse width T of a pulse signal of the second camera for controlling the strobe lamp to be turned on p2
7. A device for controlling strobe of a camera, the device being disposed at a control end of the camera, the device comprising:
the response module is used for responding to the configuration operation of a user and configuring the plurality of cameras controlled by the camera control end into a camera sequence, wherein each camera in the camera sequence is provided with a serial number;
the selecting module is used for sequentially determining two cameras with adjacent numbers from the camera sequence according to a preset sequence;
the parameter determining and issuing module is used for acquiring the association parameters of two adjacent cameras after determining the serial numbers of the two cameras, determining the delay parameter of one camera according to the association parameters, and issuing the delay parameter to the camera, so that the camera acquires the field signal subjected to phase delay according to the delay parameter;
the first camera and the second camera which are adjacent in serial number simultaneously carry out synchronous rectification processing on respective alternating current power supplies to respectively obtain a first rectification signal and a second rectification signal which are synchronous with a power supply signal;
the first camera determines a first field signal of the first camera according to the first rectified signal;
the second camera performs delay processing on the second rectified signal according to the received delay parameter, so that phase delay exists between the second rectified signal after delay processing and a power supply signal, and determines a second field signal of the second camera according to the second rectified signal after phase delay;
the delay parameter is determined from associated parameters of the first camera and the second camera;
the associated parameters include: a field signal period T of the first camera and the second camera c Shutter time T of the first camera cexp1 Shutter time T of the second camera cexp2 A period T of a pulse signal for controlling the strobe light of the first camera and the second camera to be turned on p A pulse width T of a pulse signal of the first camera for controlling the strobe lamp to be turned on p1 A pulse width T of a pulse signal of the second camera for controlling the strobe lamp to be turned on p2
8. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of controlling camera strobing as claimed in any one of claims 1-5.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the method of controlling a strobe of a camera according to any one of claims 1 to 5.
CN202010150500.9A 2020-03-06 2020-03-06 Camera strobe control method and device, electronic equipment and storage medium Active CN113364989B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010150500.9A CN113364989B (en) 2020-03-06 2020-03-06 Camera strobe control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010150500.9A CN113364989B (en) 2020-03-06 2020-03-06 Camera strobe control method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113364989A CN113364989A (en) 2021-09-07
CN113364989B true CN113364989B (en) 2023-04-07

Family

ID=77523973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010150500.9A Active CN113364989B (en) 2020-03-06 2020-03-06 Camera strobe control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113364989B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117614939B (en) * 2024-01-19 2024-05-28 杭州方千科技有限公司 485 Communication address automatic allocation method for image light supplementing device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5229856A (en) * 1990-10-23 1993-07-20 Ricoh Company, Ltd. Method for the control of stroboscopic light used in electronic still cameras
CN101414095A (en) * 2007-10-19 2009-04-22 上海遥薇实业有限公司 Control method of video camera synchronous LED flash light compensation
CN103338334A (en) * 2013-07-17 2013-10-02 中测新图(北京)遥感技术有限责任公司 System and method for controlling multi-cameral digital aerial photographic camera synchronous exposure
CN107005628A (en) * 2014-12-23 2017-08-01 英特尔公司 The synchronization of Rolling shutter camera and dynamic flash lamp

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6130706A (en) * 1998-03-25 2000-10-10 Lucent Technologies Inc. Process for determining vehicle dynamics
JP4511750B2 (en) * 2001-02-27 2010-07-28 三菱重工業株式会社 Vehicle monitoring system
JP2011193065A (en) * 2010-03-12 2011-09-29 Hitachi Ltd Imaging equipment
CN105530420A (en) * 2014-09-28 2016-04-27 联想(北京)有限公司 Information processing method and electronic device
CN107193228A (en) * 2016-03-15 2017-09-22 北京航空航天大学 The synchronous trigger controller of double camera based on STC89C52 single-chip microcomputers
CN205881171U (en) * 2016-08-08 2017-01-11 安徽蓝盾光电子股份有限公司 Novel bayonet socket device
CN110264729A (en) * 2019-06-05 2019-09-20 宁波北仑港高速公路有限公司 A kind of asynchronous capture System and method for of license plate
CN110557576B (en) * 2019-09-27 2021-06-29 高新兴科技集团股份有限公司 Stroboscopic lamp synchronous control method based on video

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5229856A (en) * 1990-10-23 1993-07-20 Ricoh Company, Ltd. Method for the control of stroboscopic light used in electronic still cameras
CN101414095A (en) * 2007-10-19 2009-04-22 上海遥薇实业有限公司 Control method of video camera synchronous LED flash light compensation
CN103338334A (en) * 2013-07-17 2013-10-02 中测新图(北京)遥感技术有限责任公司 System and method for controlling multi-cameral digital aerial photographic camera synchronous exposure
CN107005628A (en) * 2014-12-23 2017-08-01 英特尔公司 The synchronization of Rolling shutter camera and dynamic flash lamp

Also Published As

Publication number Publication date
CN113364989A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
US11263751B2 (en) Method and apparatus for image segmentation using an event sensor
KR102521357B1 (en) Traffic light signal control method, device, equipment and storage medium
EP3859708A1 (en) Traffic light image processing method and device, and roadside device
CN111063205B (en) Signal lamp control method, device, equipment and storage medium
CN108877269B (en) Intersection vehicle state detection and V2X broadcasting method
US11967228B2 (en) Peccancy monitoring system and peccancy monitoring method
CN111741229A (en) Image processing method and apparatus
CN102568242A (en) Signal lamp state detection method and system based on video processing
CN110874925A (en) Intelligent road side unit and control method thereof
CN111741185A (en) Light supplement control method, device, system and equipment and storage medium
CN110782681A (en) Traffic indicator light self-adaptive control method, device, terminal and storage medium
US11688078B2 (en) Video object detection
JPH09265539A (en) Moving body detecting method, device therefor and moving body counting device
CN106710253B (en) High-reliability intelligent intersection traffic control system and control method
CN113364989B (en) Camera strobe control method and device, electronic equipment and storage medium
CN204759452U (en) Traffic conflagration detecting system based on many characteristics of video smog fuse
JP2009169827A (en) License plate recognition device, method, and program
WO2023207624A1 (en) Data processing method, device, medium, and roadside collaborative device and system
CN115830562A (en) Method for determining lane information, computer device, and medium
WO2022014831A1 (en) Object detection method and device
CN115601738A (en) Parking information acquisition method, device, equipment, storage medium and program product
CN109587303B (en) Electronic equipment and mobile platform
CN113206994B (en) Camera automatic engineering survey method and device, electronic equipment, chip and storage medium
CN112183373A (en) Light source identification method and device, terminal equipment and computer readable storage medium
CN116887058B (en) Image acquisition method, device, acquisition equipment and storage medium

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