Systems and methods for video surveillance
The present disclosure relates to systems and methods for video surveillance. The systems may obtain an initial time period corresponding to at least part of a time period during which at least one target image frame is captured by the monitoring equipment based on at least one parameter of a monitoring equipment. The systems may obtain a warning scheme associated with the initial time period. The warning scheme may include controlling an operation of a light associated with the monitoring equipment within at least one candidate time period in the initial time period and processing the at least one target image frame.
1 . A system, comprising:
at least one storage device including a set of instructions; and
at least one processor in communication with the at least one storage device, wherein when executing the set of instructions, the at least one processor is directed to perform operations including:
obtaining, based on at least one parameter of a monitoring equipment, an initial time period corresponding to at least part of a time period during which at least one target image frame is captured by the monitoring equipment, wherein the at least one parameter of the monitoring equipment includes frames per second (FPS), a count n of rows that are sequentially exposed by a shutter of the monitoring equipment, an exposure interval Δt between two adjacent rows, a shutter time T, and a buffer time T buffer between two adjacent frames, and the initial time period is obtained by:
obtaining a first image frame and a second image frame associated with the at least one target image frame, wherein the first image frame, the at least one target image frame, and the second image frame are sequentially captured by the monitoring equipment;
obtaining an end exposure time of a last row among a plurality of rows of the first image frame that are sequentially exposed by the shutter of the monitoring equipment;
obtaining a start exposure time of a first row among a plurality of rows of the second image frame that are sequentially exposed by the shutter of the monitoring equipment, wherein it is assumed that a start exposure time of the first image frame is 0, the end exposure time of the last row corresponding to the first image frame is (1/FPS)+ (n−1)*Δt, and the start exposure time of the first row corresponding to the second image frame is (3/FPS)+(2T buffer )−T; and
determining the initial time period based on a difference between the end exposure time of the last row of the first image frame and the start exposure time of the first row of the second image frame; and
obtaining a warning scheme associated with the initial time period, wherein the warning scheme includes:
controlling an operation of a light associated with the monitoring equipment within at least one candidate time period in the initial time period by:
setting different flashing schemes of the light according to a switch status of the light by:
determining whether the light is turned on, wherein the light being turned on indicates that an environmental brightness is relatively low and the light is used for supplementary light, and the light being turned off indicates that the environmental brightness is relatively high and the light is not used for supplementary light;
if the light is turned off, controlling the light to turn on and off alternately within the at least one candidate time period so as to realize a flicker of the light; and
if the light is turned on, increasing and decreasing a brightness of the light alternately within the at least one candidate time period so as to realize the flicker of the light under a premise of ensuring that the environmental brightness can meet monitoring requirements; and
processing the at least one target image frame.
2 . The system of claim 1 , wherein the controlling the operation of the light associated with the monitoring equipment within at least one candidate time period in the initial time period includes:
controlling the light to flicker within the at least one candidate time period based on a parameter of the light.
3 . The system of claim 2 , wherein the controlling the light to flicker within the at least one candidate time period based on the parameter of the light includes:
obtaining a distance between the monitoring equipment and a monitoring area of the monitoring equipment where an abnormal event occurs; and
controlling at least one of a flicker frequency or a brightness of the light based on the parameter of the light and the distance.
4 . The system of claim 1 , wherein the processing the at least one target image frame includes:
when a count of the at least one target image frame is less than or equal to a threshold, discarding the at least one target image frame from a plurality of image frames that have been captured by the monitoring equipment; and
when the count of the at least one target image frame is larger than the threshold, replacing the at least one target image frame with one or more image frames among the plurality of image frames.
5 . The system of claim 4 , wherein the replacing the at least one target image frame with one or more image frames among the plurality of image frames includes:
replacing the at least one target image frame with at least one of a first image frame or a second image frame.
6 . The system of claim 1 , wherein the at least one processor is directed to perform operations further including:
obtaining one or more image frames associated with a monitoring area captured by the monitoring equipment, the at least one target image frame being determined based on the one or more image frames;
determining whether an abnormal event occurs in the monitoring area based on the one or more image frames; and
in response to determining that the abnormal event occurs in the monitoring area, executing the warning scheme.
7 . The system of claim 6 , wherein the abnormal event includes at least one of an object appearing in the monitoring area, a fire breaking out, an object displacement, a conflict, or an accident.
8 . The system of claim 6 , wherein the at least one processor is directed to perform operations further including:
determining whether the abnormal event disappears in the monitoring area based on the one or more image frames; and
in response to determining that the abnormal event disappears in the monitoring area, stopping execution of the warning scheme.
9 . A method implemented on a computing device including at least one processor, at least one storage medium, and a communication platform connected to a network, the method comprising:
obtaining, based on at least one parameter of a monitoring equipment, an initial time period corresponding to at least part of a time period during which at least one target image frame is captured by the monitoring equipment, wherein the at least one parameter of the monitoring equipment includes frames per second (FPS), a count n of rows that are sequentially exposed by a shutter of the monitoring equipment, an exposure interval Δt between two adjacent rows, a shutter time T, and a buffer time T buffer between two adjacent frames, and the initial time period is obtained by:
obtaining a first image frame and a second image frame associated with the at least one target image frame, wherein the first image frame, the at least one target image frame, and the second image frame are sequentially captured by the monitoring equipment;
obtaining an end exposure time of a last row among a plurality of rows of the first image frame that are sequentially exposed by the shutter of the monitoring equipment;
obtaining a start exposure time of a first row among a plurality of rows of the second image frame that are sequentially exposed by the shutter of the monitoring equipment, wherein it is assumed that a start exposure time of the first image frame is 0, the end exposure time of the last row corresponding to the first image frame is (1/FPS)+ (n−1)*Δt, and the start exposure time of the first row corresponding to the second image frame is (3/FPS)+ (2T buffer )−T; and
determining the initial time period based on a difference between the end exposure time of the last row of the first image frame and the start exposure time of the first row of the second image frame; and
obtaining a warning scheme associated with the initial time period, wherein the warning scheme includes:
controlling an operation of a light associated with the monitoring equipment within at least one candidate time period in the initial time period by:
setting different flashing schemes of the light according to a switch status of the light by:
determining whether the light is turned on, wherein the light being turned on indicates that an environmental brightness is relatively low and the light is used for supplementary light, and the light being turned off indicates that the environmental brightness is relatively high and the light is not used for supplementary light;
if the light is turned off, controlling the light to turn on and off alternately within the at least one candidate time period so as to realize a flicker of the light; and
if the light is turned on, increasing and decreasing a brightness of the light alternately within the at least one candidate time period so as to realize the flicker of the light under a premise of ensuring that the environmental brightness can meet monitoring requirements; and
processing the at least one target image frame.
10 . A non-transitory computer readable medium, comprising executable instructions that, when executed by at least one processor, direct the at least one processor to perform a method, the method comprising:
obtaining, based on at least one parameter of a monitoring equipment, an initial time period corresponding to at least part of a time period during which at least one target image frame is captured by the monitoring equipment, wherein the at least one parameter of the monitoring equipment includes frames per second (FPS), a count n of rows that are sequentially exposed by a shutter of the monitoring equipment, an exposure interval Δt between two adjacent rows, a shutter time T, and a buffer time T buffer between two adjacent frames, and the initial time period is obtained by:
obtaining a first image frame and a second image frame associated with the at least one target image frame, wherein the first image frame, the at least one target image frame, and the second image frame are sequentially captured by the monitoring equipment;
obtaining an end exposure time of a last row among a plurality of rows of the first image frame that are sequentially exposed by the shutter of the monitoring equipment;
obtaining a start exposure time of a first row among a plurality of rows of the second image frame that are sequentially exposed by the shutter of the monitoring equipment, wherein it is assumed that a start exposure time of the first image frame is 0, the end exposure time of the last row corresponding to the first image frame is—(1/FPS)+ (n−1)*Δt, and the start exposure time of the first row corresponding to the second image frame is (3/FPS)+(2T buffer )−T); and
determining the initial time period based on a difference between the end exposure time of the last row of the first image frame and the start exposure time of the first row of the second image frame; and
obtaining a warning scheme associated with the initial time period, wherein the warning scheme includes:
controlling an operation of a light associated with the monitoring equipment within at least one candidate time period in the initial time period by:
setting different flashing schemes of the light according to a switch status of the light by:
determining whether the light is turned on, wherein the light being turned on indicates that an environmental brightness is relatively low and the light is used for supplementary light, and the light being turned off indicates that the environmental brightness is relatively high and the light is not used for supplementary light;
if the light is turned off, controlling the light to turn on and off alternately within the at least one candidate time period so as to realize a flicker of the light; and
if the light is turned on, increasing and decreasing a brightness of the light alternately within the at least one candidate time period so as to realize the flicker of the light under a premise of ensuring that the environmental brightness can meet monitoring requirements; and
processing the at least one target image frame.
11 . The method of claim 3 , wherein controlling at least one of a flicker frequency or a brightness of the light based on the parameter of the light and the distance includes:
dividing the distance into a plurality of distance sections; and
setting different flicker frequencies or different brightnesses of the light in different distance sections based on a flicker timing and an electrical level parameter of the light.
12 . The method of claim 11 , wherein the at least one target image frame is determined by:
determining a required time for the light to implement at least one flicker based on a parameter of the light, the parameter of the light including at least one of a type of the light, a status of the light, a flicker frequency of the light, a brightness of the light, or a high level duration and a low level duration of a flicker of the light; and
determining a count of the at least one target image frame based on the required time for the light to implement the at least one flicker and an exposure time of each target image frame.
13 . The method of claim 12 , wherein the controlling an operation of a light associated with the monitoring equipment includes:
determining a required initial time period based on the required time for the light to implement the at least one flicker;
determining whether the initial time period is less than the required initial time period; and
if the initial time period is less than the required initial time period, adjusting the at least one parameter of the monitoring equipment to adjust the initial time period to make the adjusted initial time period larger than or equal to the required initial time period; and
controlling the operation of the light within at least one candidate time period in the adjusted initial time period.
14 . The method of claim 13 , wherein the processing the at least one target image frame includes:
processing the at least one target image frame by adjusting a brightness of the at least one target image frame.
15 . The method of claim 12 , wherein the at least one target image frame is determined by:
extracting even-numbered frames or odd-numbered frames from a plurality of image frames that are continuously captured by the monitoring equipment in sequence; and
specifying each of the even-numbered frames or odd-numbered frames as the at least one target image frame.