WO2021120867A1 - High toss act monitoring method and device, electronic device and storage medium - Google Patents
High toss act monitoring method and device, electronic device and storage medium Download PDFInfo
- Publication number
- WO2021120867A1 WO2021120867A1 PCT/CN2020/124096 CN2020124096W WO2021120867A1 WO 2021120867 A1 WO2021120867 A1 WO 2021120867A1 CN 2020124096 W CN2020124096 W CN 2020124096W WO 2021120867 A1 WO2021120867 A1 WO 2021120867A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- foreground image
- pixel
- foreground
- altitude
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
- G06V20/41—Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
- G06V20/46—Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames
Definitions
- the present invention relates to the field of artificial intelligence technology, and in particular to a method, device, electronic equipment and storage medium for monitoring high-altitude parabolas.
- the embodiment of the present invention provides a method for monitoring high-altitude parabolic events, which can improve the monitoring effect of high-altitude parabolic events.
- an embodiment of the present invention provides a method for monitoring a parabola at high altitude, including:
- the motion information of the foreground image is continuously acquired, and the motion trajectory of the foreground image is calculated according to the motion information;
- the foreground image Based on the movement trajectory of the foreground image, it is determined whether the foreground image is a parabola at high altitude.
- the acquiring video information of the current monitoring scene and performing dynamic background modeling of the current monitoring scene through normal distribution to obtain a background image of the monitoring scene includes:
- each pixel in the continuous frame image corresponds to K normal distributions, K is greater than 1, and the normal distribution includes a mean parameter, a variance parameter, and a weight parameter;
- N normal distributions Based on the variance parameter and/or weight parameter of the normal distribution, select N normal distributions, and determine whether the corresponding pixel is a background pixel according to the N normal distributions, where N is greater than or equal to 1, and N Less than or equal to K;
- the frame background of the current frame image is constructed, and the frame background of the current frame image is updated to the background image of the monitoring scene.
- the determining whether a foreground image appears in the image information according to the background image includes:
- the pixel that does not match the normal distribution that meets the preset condition is a foreground pixel
- the frame foreground of the current frame image is constructed, and the frame foreground of the frame image is updated to the foreground image of the monitoring scene.
- the judging whether the foreground image is a parabola at high altitude based on the movement trajectory of the foreground image includes:
- the movement trajectory of the foreground image conforms to the preset parabolic trajectory, it is determined that the foreground image is a parabola at high altitude
- the motion trajectory of the foreground image does not conform to the preset parabolic trajectory, it is determined that the foreground image is not a high-altitude parabola.
- the judging whether the foreground image is a parabola at high altitude based on the movement trajectory of the foreground image includes:
- the foreground image is not a parabola at high altitude.
- the method further includes:
- a high-altitude parabola prompt alarm is issued to the current monitoring scene and/or the management department.
- sending a high-altitude parabola to the current monitoring scene and/or management department includes:
- a corresponding-level high-altitude parabolic alert is issued to the current monitoring scene and/or the management department.
- an embodiment of the present invention provides a high-altitude parabolic monitoring device, including:
- the first acquisition module is used to acquire video information of the current monitoring scene, and perform dynamic background modeling of the current monitoring scene through normal distribution to obtain a background image of the monitoring scene, and the dynamic background modeling is a pair Background modeling is performed on each frame of image in the video information;
- the first judgment module is configured to judge whether a foreground image appears in the video information according to the background image
- the second acquisition module is configured to continuously acquire the motion information of the foreground image when a foreground image appears in the video information, and calculate the motion trajectory of the foreground image according to the motion information;
- the second judgment module is used for judging whether the foreground image is a parabola at high altitude based on the movement trajectory of the foreground image.
- an embodiment of the present invention provides an electronic device including: a memory, a processor, and a computer program stored on the memory and capable of running on the processor, and when the processor executes the computer program The steps in the high-altitude parabola monitoring method provided by the embodiment of the present invention are realized.
- an embodiment of the present invention provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for monitoring a parabola at high altitude provided by the embodiment of the invention is implemented Steps in.
- real-time video information of the current monitoring scene is continuously acquired, and dynamic background modeling of the current monitoring scene is performed according to the real-time video information to obtain a background image of the monitoring scene; according to the background image , Determine whether a foreground image appears in the image information; when a foreground image appears in the image information, continue to acquire the motion information of the foreground image, and calculate the motion trajectory of the foreground image according to the motion information; based on The motion track of the foreground image determines whether the foreground image is a parabola at high altitude.
- the background image is separated from the foreground image, and whether the foreground image is a high-altitude parabola is judged separately without manual judgment. Since the background image is obtained by dynamic modeling, it can be judged in real time whether there is a high-altitude parabola. Circumstances, thereby improving the monitoring effect of high-altitude parabolic.
- FIG. 1 is a flowchart of a method for monitoring a parabola at high altitude according to an embodiment of the present invention
- FIG. 2 is a flowchart of a dynamic background modeling method provided by an embodiment of the present invention.
- Figure 3 is a schematic structural diagram of a high-altitude parabolic monitoring device provided by an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of another high-altitude parabolic monitoring device provided by an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of another high-altitude parabolic monitoring device provided by an embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of another high-altitude parabolic monitoring device provided by an embodiment of the present invention.
- Figure 7 is a schematic structural diagram of another high-altitude parabolic monitoring device provided by an embodiment of the present invention.
- FIG. 8 is a schematic structural diagram of another high-altitude parabolic monitoring device provided by an embodiment of the present invention.
- FIG. 9 is a schematic structural diagram of another high-altitude parabolic monitoring device provided by an embodiment of the present invention.
- FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.
- FIG. 1 is a flowchart of a method for monitoring a parabola at high altitude according to an embodiment of the present invention. As shown in FIG. 1, it includes the following steps:
- the foregoing current monitoring scene may be a residential building, a commercial building, or an office building that is being monitored by the camera.
- the above-mentioned camera monitoring range can be all floors of the building or floors above a certain number of floors, such as floors above the 4th floor.
- it can be determined as needed, and the shooting angle of the camera can be adjusted so that the camera can Monitor the floors in the corresponding range.
- the above-mentioned video information can be understood as a continuous image sequence captured by a camera.
- the above-mentioned video information may be target video information captured by the camera in real time, or target video information captured by the camera periodically, or target video information uploaded after the user retrieves the video information captured by the camera.
- the aforementioned dynamic background modeling refers to the establishment of different background images based on different current frame images, that is, each frame image corresponds to a background image.
- the above-mentioned background image is embodied in the continuous image sequence as: in the continuous image sequence, the pixel value of the pixel as the background image does not change or the pixel value changes within a certain range.
- the above-mentioned dynamic background modeling relies on the association of pixels in different frames of images in a continuous image sequence. It can be understood that the change in the pixel value of a pixel in the continuous image sequence as a background pixel obeys a normal distribution.
- the pixel value of the background pixel is distributed in a range, and the range is determined by the mean value of the pixel value of the background pixel. It can be considered that the pixel value of the background pixel changes distribution On both sides of the mean of this change.
- Figure 2 is a flowchart of a dynamic background modeling method provided by an embodiment of the present invention. As shown in Figure 2, the above dynamic background modeling method includes the following steps:
- the above-mentioned continuous frame images refer to continuous images in a time series.
- the normal distribution includes a mean parameter, a variance parameter, and a weight parameter.
- the K normal distributions corresponding to each pixel of the first frame of image can be initialized to make the K normal distributions, wherein the K normal distributions can be performed by the following formula expression:
- the above P(x j ) represents the normal distribution model of the j-th pixel
- the normal distribution model includes K normal distributions of the j-th pixel
- x j,t represents the j-th pixel.
- the pixel value of the pixel the above Represents the weight parameter of the i-th normal distribution of the j-th pixel in the t-th frame image
- the above ⁇ is the density function of the normal distribution
- the above ⁇ is the standard deviation, and get.
- one normal distribution in each pixel of the first frame of image can be initialized, and the above-mentioned initialization can be
- the mean parameter in a normal distribution is assigned the pixel value of the corresponding pixel, and the weight parameter is assigned a value of 1, and the variance is 0 at this time.
- the mean parameter and weight parameter of the other normal distributions except the normal distribution are assigned as 0.
- the weight parameter is assigned the value 0. Since each pixel in the first frame of image is not dependent on the previous sequence, it is necessary to initialize the normal distribution of each pixel in the first frame of image.
- random initialization can be used to randomly assign all the normal distributions of each pixel in the first frame of image. It should be noted that in the random assignment process, all normal distributions The sum of the assigned weight parameters of the distribution needs to be equal to 1.
- the above-mentioned current frame image is not the first frame image.
- the mean parameter is from the first frame image to the t-1 frame image
- the sum of all the pixel values of the middle pixel point j, and then dividing by the data of the frame image, that is, dividing by t-1, the mean value parameter is
- the variance parameter of pixel j is the pixel value corresponding to pixel j in the t-1 frame image minus the mean parameter Then square to get the variance parameter as
- the K normal distributions of the pixel point j in the t-1 frame image can be obtained:
- the pixel value x j of the pixel point j satisfies one or more of the above k normal distributions. This is because in the monitoring scene, the pixel value corresponding to the background pixel is usually unchanged or changes little. That is to say, the pixel value distribution corresponding to the background pixel can be predicted within a certain range of pixel value.
- a random variable that follows a normal distribution has a high probability of being a value near the mean parameter, and a small probability of being a value far from the mean parameter. For example, consider the pixel value x j, t of pixel j in the t- th frame of image as a random variable. If pixel j is a background pixel, then x j, t is Near value. Therefore, we can pass x j, t and To match the K normal distributions corresponding to pixel j.
- step 205 If there are M pixels with a pixel value matching the normal distribution that meet the preset condition, then go to step 205; if there are pixels with a pixel value that does not match the normal distribution that meets the preset condition, then go to step 206 .
- the above preset conditions can be x j, t and The difference value satisfies the preset difference value threshold.
- the preset difference value threshold value may be determined according to the standard deviation in the normal distribution of x j, t-1, and the standard deviation is determined by get. Specifically, it can be judged that x j, t and Whether the difference of is less than the coefficient multiple of the standard deviation, such as judging x j, t and Whether the difference of is less than 1.5 times, 2.5 times and other standard deviations.
- M is greater than or equal to 1, and M is less than or equal to K.
- the M normal distributions that meet the preset conditions are updated.
- the above-mentioned first parameter update refers to the update of the mean parameter and the variance parameter in the normal distribution, for example, Update to the new mean will Update to the new mean.
- the current normal distribution of pixel j in the t-th frame can be obtained.
- M normal distributions meeting the preset conditions are updated, and the parameters of the remaining KM normal distributions are kept unchanged.
- the aforementioned mean distance is the difference between the pixel value of the pixel and the mean parameter in the normal distribution.
- the above-mentioned second parameter update refers to the update of the weight parameter in the normal distribution, for example, Update to the new mean Specifically, after the update, it is determined again whether the pixel matches the new normal distribution.
- the weight parameter in the normal distribution can be updated by the following formula:
- ⁇ i,t (1-a) ⁇ i,t-1 +a ⁇ M i,t
- the above a is the learning rate of the algorithm
- the above Mi ,t is the updated matching result. If the pixel can match the new normal distribution after the weight is updated , the value of Mi,t is 1, If the pixel still cannot match the new normal distribution after the weight is updated , the value of Mi,t is 0.
- the background pixel is subject to a normal distribution
- the above-mentioned pixel can match the new normal distribution, it means that the pixel is a background point, if it cannot match the new normal distribution, it means This pixel is the former scenic spot.
- the weight parameter update formula it can be known that if the pixel can match the new normal distribution, the weight parameter in the final normal distribution is increased. If the pixel cannot match the new normal distribution Normal distribution, the weight parameter in the final normal distribution is reduced.
- N is that the ratio of the weight parameter to the variance parameter in K normal distributions is the largest than N normal distributions, N is greater than or equal to 1, and N is less than or equal to K.
- the aforementioned variance parameter characterizes the degree of dispersion of the data distribution.
- the above weight parameters represent the degree of data support of each normal distribution.
- the distribution data corresponding to the background pixels in the background will continue to accumulate, and the supported normal distribution weight ratio will be higher. The higher the probability of falling into the normal distribution. Therefore, a background pixel can select the N normal distributions with the largest weight parameters among the K normal distributions as the best description of the background. It should be noted that in the K normal distributions corresponding to a pixel, the sum of the K weight parameters is 1.
- a background pixel can select the N normal distributions with the largest ratio of the weight parameter to the variance parameter among K broken distributions as the background. The best description.
- each pixel in the current t-th frame image is matched with the corresponding N normal distributions again.
- the corresponding Pixels are background pixels, and go to step 208. If it fails to match any normal distribution, it means that the pixel is a foreground pixel, and then go to step 209.
- the background pixel of the current frame image can be masked to distinguish it from the foreground part, and the frame background corresponding to the current frame image is obtained, and the frame background is updated to the video Corresponding frame images in the information, so as to obtain the background image of each frame of the monitoring scene.
- the background pixel of the background image is judged by normal distribution, and the past data distribution of a pixel can be used to predict whether the pixel is a background pixel, and the accuracy of dynamic background modeling can be improved.
- the pixel value of each pixel of the current frame image is matched with the corresponding N normal distributions, and it is judged whether each pixel matches the normal distribution that meets the preset conditions; if there is a pixel matching If the normal distribution does not meet the preset condition, it means that the pixel does not obey the normal distribution of the background pixel, and then it is determined that the pixel that does not match the normal distribution that meets the preset condition is the foreground pixel. Through the foreground pixels, it can be judged whether there is a foreground image in the video information.
- the pixel value of each pixel of the current frame image is matched with the corresponding N normal distributions, and it is judged whether each pixel matches the normal distribution that meets the preset conditions; if there is a pixel matching If the normal distribution does not meet the preset conditions, it is judged that the pixels that do not match the normal distribution that meets the preset conditions are foreground pixels; based on the foreground pixels, the frame foreground of the current frame image is constructed, and the frame image The frame foreground is updated to the foreground image of the monitoring scene.
- the foreground pixel of the current frame image can be masked to distinguish it from the background part to obtain the frame foreground corresponding to the current frame image, and update the frame foreground to the video information In the corresponding frame image, the foreground image of each frame of the monitoring scene is thus obtained.
- the motion information of the foreground image is continuously acquired, and the motion trajectory of the foreground image is calculated according to the motion information.
- the foreground image when a foreground image appears in the video information, the foreground image can be continuously tracked by the tracking algorithm to obtain the displacement data of the foreground image in the background image in the sequence corresponding to the continuous frame image, and calculate according to the displacement data The trajectory of the foreground image.
- the aforementioned displacement data refers to the displacement data of the pixel point coordinates of the foreground image in the frame image.
- the movement trajectory of the foreground image can be compared with a preset parabolic trajectory, and if the movement trajectory of the foreground image conforms to the preset parabolic trajectory, it can be determined that the foreground image is a parabola at high altitude. If the motion trajectory of the foreground image does not conform to the preset parabolic trajectory, it is determined that the foreground image is not a parabola at high altitude.
- the aforementioned preset motion trajectory may be a downward straight line or a parabolic trajectory.
- the motion trajectory can be preset based on the position of the camera.
- the preset motion trajectory can be a downward linear trajectory, a parabolic trajectory toward the lower left or right Three types of motion trajectories such as the parabolic trajectory below.
- the aforementioned preset motion trajectory can be a downward linear trajectory, or a characteristic line trajectory that is biased to one side, etc. In this case, only two types can be preset Movement trajectory. It should be noted that the above-mentioned building to be monitored may also be referred to as a monitoring scene.
- this step it is also possible to determine whether the foreground image is a high-altitude parabola by constructing a horizontal detection line in the background image. Specifically, multiple horizontal detection lines are constructed in the background image; it is determined whether the number of intersections between the movement trajectory of the foreground image and the horizontal detection line is greater than the preset number of intersection thresholds; if the number of intersections between the movement trajectory of the foreground image and the horizontal detection line is greater than The preset number of intersection thresholds determines that the foreground image is a parabola at high altitude; if the number of intersections between the motion trajectory of the foreground image and the horizontal detection line is less than the threshold number of intersections, it is determined that the foreground image is not a parabola at high altitude.
- the above-mentioned horizontal detection line can be constructed according to the floor.
- each floor can construct a horizontal detection line
- the horizontal detection line can be constructed according to the upper window edge or the lower window edge outside each floor.
- the height of the high-altitude parabola can be determined according to the number of intersections between the movement trajectory of the foreground image and the horizontal detection line, that is, which floor is performing the high-altitude parabolic behavior.
- different high-altitude parabolic levels can be set according to the number of intersections of the horizontal detection line.
- a warning of high-altitude parabola can be automatically issued to the current monitoring scene and/or the management department.
- the above-mentioned current monitoring scene refers to the scene where the corresponding camera is deployed, such as unit C in building B in residential area A.
- a hazard warning will be issued at unit C of building B in residential area A to alert people in the vicinity of unit C in building B in residential area A.
- the above-mentioned management department may be the property management department or the city management department or other organizations with management authority, and other organizations with management authority, such as the owners' committee, the garden club, etc.
- the reminder alarm sent to the management department also includes video information of the current monitoring scene.
- the video information includes continuous frame images of high-altitude parabolic events.
- the alarm can be notified through various contact methods.
- the information is sent to the contact terminal of the management department or related personnel, such as mail, mobile APP or WeChat official account push, etc.
- the foreground image can also be extracted and feature recognition is performed on the foreground image to identify the category to which the foreground image belongs; according to the category of the foreground image, the corresponding high-altitude parabolic level is matched; Based on the matched high-altitude parabolic level, a corresponding level of high-altitude parabolic alert is issued to the current monitoring scene and/or the management department.
- the foreground image when it is recognized that the foreground image is a paper sheet or plastic bag, it can be judged that the high-altitude parabola level of the foreground image is low; when the foreground image is recognized as a flower pot or a mobile phone, it can be judged that the high-altitude parabola level of the foreground image is high .
- the above-mentioned high-altitude parabolic level can be positively correlated with the hazard level. Different high-altitude parabolic reminders can be set for different high-altitude parabolic levels.
- real-time video information of the current monitoring scene is continuously acquired, and dynamic background modeling of the current monitoring scene is performed according to the real-time video information to obtain the background image of the monitoring scene; according to the background Image, judging whether a foreground image appears in the image information; when a foreground image appears in the image information, continuously acquiring the motion information of the foreground image, and calculating the motion trajectory of the foreground image according to the motion information; Based on the movement trajectory of the foreground image, it is determined whether the foreground image is a parabola at high altitude.
- the background image is separated from the foreground image, and whether the foreground image is a high-altitude parabola is judged separately without manual judgment. Since the background image is obtained by dynamic modeling, it can be judged in real time whether there is a high-altitude parabola. Circumstances, thereby improving the monitoring effect of high-altitude parabolic.
- the high-altitude parabolic monitoring method provided by the embodiment of the present invention can be applied to mobile terminals, monitors, computers, servers and other equipment that need to monitor high-altitude parabolic behavior.
- FIG. 3 is a schematic structural diagram of a high-altitude parabolic monitoring device provided by an embodiment of the present invention. As shown in FIG. 3, the device includes:
- the first acquisition module 301 is configured to acquire video information of the current monitoring scene, and perform dynamic background modeling of the current monitoring scene through a normal distribution to obtain a background image of the monitoring scene, and the dynamic background modeling is Perform background modeling on each frame of image in the video information;
- the first determining module 302 is configured to determine whether a foreground image appears in the image information according to the background image;
- the second acquisition module 303 is configured to continuously acquire the motion information of the foreground image when a foreground image appears in the video information, and calculate the motion trajectory of the foreground image according to the motion information;
- the second judgment module 304 is configured to judge whether the foreground image is a parabola at high altitude based on the movement trajectory of the foreground image.
- the above-mentioned first acquisition module 301 and the second acquisition module 302 may be the same acquisition module, and the above-mentioned first acquisition module 301 and the second acquisition module 302 may also be integrated in the same acquisition module.
- the first obtaining module 301 includes:
- the acquiring unit 3011 is configured to acquire continuous frame images in the video information, wherein each pixel in the continuous frame image corresponds to K normal distributions, K is greater than 1, and the normal distribution includes a mean parameter and a variance Parameters and weight parameters;
- the first determining unit 3012 is configured to match the pixel value of each pixel of the current frame image with the corresponding K normal distributions, and determine whether each pixel matches a normal distribution that meets a preset condition;
- the first update unit 3013 is configured to update the first parameter of the M normal distributions if there are pixel values matching the M normal distributions that meet the preset condition, and keep the remaining KM normal distributions The parameters of the distribution remain unchanged, where M is greater than or equal to 1, and M is less than or equal to K;
- the second update unit 3014 is configured to select the normal distribution with the largest mean distance from the K normal distributions corresponding to the pixel points if there are pixels whose pixel values do not match the normal distribution that meets the preset conditions. Weight assignment, performing a second parameter update on the K normal distributions based on the weight assignment, and the mean distance is the difference between the pixel value of the pixel and the mean parameter in the normal distribution;
- the second determining unit 3015 is configured to select N normal distributions based on the variance parameter and/or weight parameter of the normal distribution, and determine whether the corresponding pixel is a background pixel according to the N normal distributions, wherein , N is greater than or equal to 1, and N is less than or equal to K;
- the first construction unit 3016 is configured to construct the frame background of the current frame image based on the background pixels, and update the frame background of the current frame image to the background image of the monitoring scene.
- the first judgment module 302 includes:
- the third determining unit 3021 is configured to match the pixel value of each pixel of the current frame image with the corresponding N normal distributions, and determine whether each pixel matches a normal distribution that meets a preset condition;
- the fourth determining unit 3022 is configured to determine that if there is a pixel that does not match the normal distribution that meets the preset condition, determine that the pixel that does not match the normal distribution that meets the preset condition is a foreground pixel;
- the second construction unit 3023 is configured to construct the frame foreground of the current frame image based on the foreground pixels, and update the frame foreground of the frame image to the foreground image of the monitoring scene.
- the second judgment module 304 includes:
- the fifth judging unit 3041 is used to judge whether the motion trajectory of the foreground image conforms to a preset parabolic trajectory
- the sixth determining unit 3042 is configured to determine that the foreground image is a parabola at high altitude if the motion trajectory of the foreground image conforms to the preset parabolic trajectory;
- the seventh determining unit 3043 is configured to determine that the foreground image is not a high-altitude parabola if the motion trajectory of the foreground image does not conform to the preset parabolic trajectory.
- the second judgment module 304 includes:
- the constructing unit 3044 is configured to construct multiple horizontal detection lines in the background image
- An eighth judging unit 3045 configured to judge whether the number of intersections between the motion trajectory of the foreground image and the horizontal detection line is greater than a preset threshold for the number of intersections;
- a ninth determining unit 3046 configured to determine that the foreground image is a parabola at high altitude if the number of intersections between the motion trajectory of the foreground image and the horizontal detection line is greater than a preset number of intersection thresholds;
- the tenth determining unit 3047 is configured to determine that the foreground image is not a parabola at high altitude if the number of intersections between the motion trajectory of the foreground image and the horizontal detection line is less than a preset number of intersection thresholds.
- the device further includes:
- the prompting module 305 is configured to, if the foreground image is a high-altitude parabola, send a high-altitude parabola to the current monitoring scene and/or the management department.
- the prompt module 305 includes:
- the extraction unit 3051 is used to extract the foreground image
- the recognition unit 3052 is configured to perform feature recognition on the foreground image to recognize the category to which the foreground image belongs;
- the matching unit 3053 is configured to match the corresponding high-altitude parabolic level according to the category of the foreground image
- the prompting unit 3054 is configured to issue a corresponding level of high-altitude parabolic prompt alarm to the current monitoring scene and/or management department based on the high-altitude parabolic level.
- the high-altitude parabolic monitoring device provided in the embodiment of the present invention can be applied to mobile terminals, monitors, computers, servers and other equipment that need to monitor high-altitude parabolic behavior.
- the high-altitude parabolic monitoring device provided by the embodiment of the present invention can realize the various processes realized by the high-altitude parabolic monitoring method in the foregoing method embodiment, and can achieve the same beneficial effects. To avoid repetition, I won’t repeat them here.
- FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. As shown in FIG. 10, it includes: a memory 1002, a processor 1001, and a memory 1002 that is stored on the memory 1002 and can be stored in the processor. A computer program running on 1001, where:
- the processor 1001 is configured to call a computer program stored in the memory 1002, and execute the following steps:
- the motion information of the foreground image is continuously acquired, and the motion trajectory of the foreground image is calculated according to the motion information;
- the foreground image Based on the movement trajectory of the foreground image, it is determined whether the foreground image is a parabola at high altitude.
- the acquiring video information of the current monitoring scene performed by the processor 1001 and performing dynamic background modeling of the current monitoring scene through normal distribution to obtain a background image of the monitoring scene includes:
- each pixel in the continuous frame image corresponds to K normal distributions, K is greater than 1, and the normal distribution includes a mean parameter, a variance parameter, and a weight parameter;
- N normal distributions Based on the variance parameter and/or weight parameter of the normal distribution, select N normal distributions, and determine whether the corresponding pixel is a background pixel according to the N normal distributions, where N is greater than or equal to 1, and N Less than or equal to K;
- the frame background of the current frame image is constructed, and the frame background of the current frame image is updated to the background image of the monitoring scene.
- the determining whether a foreground image appears in the video information according to the background image performed by the processor 1001 includes:
- the pixel that does not match the normal distribution that meets the preset condition is a foreground pixel
- the frame foreground of the current frame image is constructed, and the frame foreground of the frame image is updated to the foreground image of the monitoring scene.
- the determination by the processor 1001 to determine whether the foreground image is a high-altitude parabola based on the movement trajectory of the foreground image includes:
- the motion trajectory of the foreground image does not conform to the preset parabolic trajectory, it is determined that the foreground image is not a high-altitude parabola.
- the determination by the processor 1001 to determine whether the foreground image is a high-altitude parabola based on the movement trajectory of the foreground image includes:
- the foreground image is not a parabola at high altitude.
- processor 1001 further executes including:
- a high-altitude parabola prompt alarm is issued to the current monitoring scene and/or the management department.
- issuing a high-altitude parabola to the current monitoring scene and/or management department includes:
- a corresponding-level high-altitude parabolic alert is issued to the current monitoring scene and/or the management department.
- the electronic equipment provided by the embodiments of the present invention can be applied to mobile terminals, monitors, computers, servers and other equipment that need to monitor parabolic behavior at high altitude.
- the electronic device provided by the embodiment of the present invention can implement each process implemented by the method for monitoring parabola at high altitude in the foregoing method embodiment, and can achieve the same beneficial effects. To avoid repetition, details are not repeated here.
- the embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored.
- a computer program is stored on which a computer program is stored.
- the program can be stored in a computer readable storage medium, and the program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments.
- the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM for short), etc.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Image Analysis (AREA)
Abstract
The present invention provides a high toss act monitoring method and device, an electronic device and a storage medium, wherein the method comprises: acquiring video information of a current monitoring scene, and performing dynamic background modeling of the current monitoring scene through a normal distribution, so as to obtain a background image of the monitoring scene; determining whether a foreground image appears in the image information according to the background image; when the foreground image appears in the image information, continuing to obtain motion information of the foreground image, and calculating a motion trajectory of the foreground image according to the motion information; and determining whether the foreground image is a high toss act according to the motion trajectory of the foreground image. By modeling the background of the current monitoring scene, the background image is separated from the foreground image, and it can be determined separately whether the foreground image is a high toss act, which can determine the presence of the high toss act in real time, thereby improving the high toss act monitoring effect.
Description
本申请要求于2019年12月19日提交中国专利局,申请号为201911320015.5、发明名称为“高空抛物的监测方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the Chinese Patent Office on December 19, 2019, the application number is 201911320015.5, and the invention title is "High-altitude parabolic monitoring methods, devices, electronic equipment and storage media". The entire content of the Chinese patent application is approved. The reference is incorporated in this application.
本发明涉及人工智能技术领域,尤其涉及一种高空抛物的监测方法、装置、电子设备及存储介质。The present invention relates to the field of artificial intelligence technology, and in particular to a method, device, electronic equipment and storage medium for monitoring high-altitude parabolas.
随着房地产的发展,新建居民小区的楼层越来越高,高空抛物的问题越来越突出。现在的居民小区中大多安装有监控摄像头对小区内的情况进行监控,在发生高空抛物的事件时,相关人员可以根据采集到该高空抛物事件的监控视频进行调用查看,但是具体的高空抛物情况需要人工逐帧进行查看或通过慢放镜头进行查看,不仅工作量大,还容易发生遗漏,而且,无法及时的发现高空抛物情况。因此,现有的高空抛物事件的监测效果不好。With the development of real estate, the floors of newly-built residential quarters are getting higher and higher, and the problem of high-altitude parabolic is becoming more and more prominent. Most of the current residential communities are equipped with surveillance cameras to monitor the situation in the community. When a high-altitude parabolic event occurs, the relevant personnel can call and check according to the monitoring video collected by the high-altitude parabolic event, but the specific high-altitude parabolic situation requires Viewing manually frame by frame or through slow-motion cameras is not only a lot of work, but also easy to miss, and it is impossible to find high-altitude parabolic situations in time. Therefore, the existing high-altitude parabolic event monitoring effect is not good.
发明内容Summary of the invention
本发明实施例提供一种高空抛物的监测方法,能够提高高空抛物事件的监测效果。The embodiment of the present invention provides a method for monitoring high-altitude parabolic events, which can improve the monitoring effect of high-altitude parabolic events.
第一方面,本发明实施例提供一种高空抛物的监测方法,包括:In the first aspect, an embodiment of the present invention provides a method for monitoring a parabola at high altitude, including:
获取当前监测场景的视频信息,并通过正态分布对所述当前监测场景进行动态背景建模,以得到所述监测场景的背景图像,所述动态背景建模为对所述视频信息中每一帧图像都进行背景建模;Obtain the video information of the current monitoring scene, and perform dynamic background modeling of the current monitoring scene through normal distribution to obtain the background image of the monitoring scene, and the dynamic background modeling is to model each of the video information Frame images are all background modeling;
根据所述背景图像,判断所述视频信息中是否出现前景图像;Judging whether a foreground image appears in the video information according to the background image;
当所述视频信息中出现前景图像时,则持续获取所述前景图像的运动信息,并根据所述运动信息计算所述前景图像的运动轨迹;When a foreground image appears in the video information, the motion information of the foreground image is continuously acquired, and the motion trajectory of the foreground image is calculated according to the motion information;
基于所述前景图像的运动轨迹,判断所述前景图像是否为高空抛物。Based on the movement trajectory of the foreground image, it is determined whether the foreground image is a parabola at high altitude.
可选的,所述获取当前监测场景的视频信息,并通过正态分布对所述当前监测场景进行动态背景建模,以得到所述监测场景的背景图像,包括:Optionally, the acquiring video information of the current monitoring scene and performing dynamic background modeling of the current monitoring scene through normal distribution to obtain a background image of the monitoring scene includes:
获取所述实时视频信息中的连续帧图像,其中,所述连续帧图像中每个像素点对应K个正态分布,K大于1,所述正态分布包括均值参数、方差参数以及权重参数;Acquiring continuous frame images in the real-time video information, wherein each pixel in the continuous frame image corresponds to K normal distributions, K is greater than 1, and the normal distribution includes a mean parameter, a variance parameter, and a weight parameter;
将当前帧图像的每个像素点的像素值与对应的K个正态分布进行匹配,判断各个像素点是否匹配到满足预设条件的正态分布;Match the pixel value of each pixel of the current frame image with the corresponding K normal distributions, and determine whether each pixel matches the normal distribution that meets the preset conditions;
若存在像素值匹配到满足预设条件的M个正态分布的像素点,则将所述M个正态分布进行第一参数更新,并保持其余K-M个正态分布的参数不变,其中,M大于等于1,且M小于等于K;If there are pixels whose pixel values match the M normal distributions that meet the preset conditions, then update the first parameter of the M normal distributions, and keep the parameters of the remaining KM normal distributions unchanged, where, M is greater than or equal to 1, and M is less than or equal to K;
若存在像素值匹配不到满足预设条件的正态分布的像素点,则在所述像素点对应的K个正态分布中选取均值距离最大的正态分布进行权重赋值,基于所述权重赋值对所述K个正态分布进行第二参数更新,所述均值距离为像素点的像素值与正态分布中均值参数的差值;If there is a pixel whose pixel value does not match the normal distribution that meets the preset condition, select the normal distribution with the largest mean distance from the K normal distributions corresponding to the pixel to perform weight assignment, and assign the value based on the weight Performing a second parameter update on the K normal distributions, where the mean distance is the difference between the pixel value of the pixel and the mean parameter in the normal distribution;
基于所述正态分布的方差参数和/或权重参数,选取N个正态分布,并根据所述N个正态分布判断对应像素点是否属于背景像素点,其中,N大于等于1,且N小于等于K;Based on the variance parameter and/or weight parameter of the normal distribution, select N normal distributions, and determine whether the corresponding pixel is a background pixel according to the N normal distributions, where N is greater than or equal to 1, and N Less than or equal to K;
基于所述背景像素点,构建所述当前帧图像的帧背景,并将所述当前帧图像的帧背景更新为所述监测场景的背景图像。Based on the background pixels, the frame background of the current frame image is constructed, and the frame background of the current frame image is updated to the background image of the monitoring scene.
可选的,所述根据所述背景图像,判断所述图像信息中是否出现前景图像,包括:Optionally, the determining whether a foreground image appears in the image information according to the background image includes:
将当前帧图像的每个像素点的像素值与对应的N个正态分布进行匹配,判断所述每个像素点是否匹配到满足预设条件的正态分布;Matching the pixel value of each pixel of the current frame image with the corresponding N normal distributions, and determining whether each pixel matches a normal distribution that meets a preset condition;
若存在像素点匹配不到满足预设条件的正态分布,则判断所述匹配不到满足预设条件的正态分布的像素点为前景像素点;If there is a pixel that does not match the normal distribution that meets the preset condition, it is determined that the pixel that does not match the normal distribution that meets the preset condition is a foreground pixel;
基于所述前景像素点,构建所述当前帧图像的帧前景,并将所述帧图像的帧前景更新为所述监测场景的前景图像。Based on the foreground pixel points, the frame foreground of the current frame image is constructed, and the frame foreground of the frame image is updated to the foreground image of the monitoring scene.
可选的,所述基于所述前景图像的运动轨迹,判断所述前景图像是否为高空抛物,包括:Optionally, the judging whether the foreground image is a parabola at high altitude based on the movement trajectory of the foreground image includes:
判断所述前景图像的运动轨迹是否为符合预先设置的抛物轨迹;Judging whether the motion trajectory of the foreground image conforms to a preset parabolic trajectory;
若所述前景图像的运动轨迹符合所述预先设置的抛物轨迹,则判断所述前 景图像为高空抛物;If the movement trajectory of the foreground image conforms to the preset parabolic trajectory, it is determined that the foreground image is a parabola at high altitude;
若所述前景图像的运动轨迹不符合所述预先设置的抛物轨迹,则判断所述前景图像不为高空抛物。If the motion trajectory of the foreground image does not conform to the preset parabolic trajectory, it is determined that the foreground image is not a high-altitude parabola.
可选的,所述基于所述前景图像的运动轨迹,判断所述前景图像是否为高空抛物,包括:Optionally, the judging whether the foreground image is a parabola at high altitude based on the movement trajectory of the foreground image includes:
在所述背景图像中构建多条水平检测线;Constructing multiple horizontal detection lines in the background image;
判断所述前景图像的运动轨迹与所述水平检测线的交点数量是否大于预设的交点数阈值;Judging whether the number of intersections between the movement trajectory of the foreground image and the horizontal detection line is greater than a preset threshold for the number of intersections;
若所述前景图像的运动轨迹与所述水平检测线的交点数量大于预设的交点数阈值,则判断所述前景图像为高空抛物;If the number of intersections between the motion trajectory of the foreground image and the horizontal detection line is greater than a preset threshold of the number of intersections, determining that the foreground image is a parabola at high altitude;
若所述前景图像的运动轨迹与所述水平检测线的交点数量小于预设的交点数阈值,则判断所述前景图像不为高空抛物。If the number of intersections between the motion trajectory of the foreground image and the horizontal detection line is less than a preset number of intersection thresholds, it is determined that the foreground image is not a parabola at high altitude.
可选的,所述方法还包括:Optionally, the method further includes:
若所述前景图像为高空抛物,则向当前监测场景和/或管理部门发出高空抛物的提示警报。If the foreground image is a high-altitude parabola, a high-altitude parabola prompt alarm is issued to the current monitoring scene and/or the management department.
可选的,所述若所述前景图像为高空抛物,则向当前监测场景和/或管理部门发出高空抛物的提示警报,包括:Optionally, if the foreground image is a high-altitude parabola, sending a high-altitude parabola to the current monitoring scene and/or management department includes:
提取所述前景图像;Extracting the foreground image;
对所述前景图像进行特征识别,以识别到所述前景图像所属类别;Performing feature recognition on the foreground image to identify the category to which the foreground image belongs;
根据所述前景图像所属类别,匹配对应的高空抛物等级;Match the corresponding high-altitude parabola level according to the category of the foreground image;
基于所述高空抛物等级,向当前监测场景和/或管理部门发出对应等级的高空抛物提示警报。Based on the high-altitude parabolic level, a corresponding-level high-altitude parabolic alert is issued to the current monitoring scene and/or the management department.
第二方面,本发明实施例提供一种高空抛物的监测装置,包括:In the second aspect, an embodiment of the present invention provides a high-altitude parabolic monitoring device, including:
第一获取模块,用于获取当前监测场景的视频信息,并通过正态分布对所述当前监测场景进行动态背景建模,以得到所述监测场景的背景图像,所述动态背景建模为对所述视频信息中每一帧图像都进行背景建模;The first acquisition module is used to acquire video information of the current monitoring scene, and perform dynamic background modeling of the current monitoring scene through normal distribution to obtain a background image of the monitoring scene, and the dynamic background modeling is a pair Background modeling is performed on each frame of image in the video information;
第一判断模块,用于根据所述背景图像,判断所述视频信息中是否出现前景图像;The first judgment module is configured to judge whether a foreground image appears in the video information according to the background image;
第二获取模块,用于当所述视频信息中出现前景图像时,则持续获取所述前景图像的运动信息,并根据所述运动信息计算所述前景图像的运动轨迹;The second acquisition module is configured to continuously acquire the motion information of the foreground image when a foreground image appears in the video information, and calculate the motion trajectory of the foreground image according to the motion information;
第二判断模块,用于基于所述前景图像的运动轨迹,判断所述前景图像是 否为高空抛物。The second judgment module is used for judging whether the foreground image is a parabola at high altitude based on the movement trajectory of the foreground image.
第三方面,本发明实施例提供一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现本发明实施例提供的高空抛物的监测方法中的步骤。In a third aspect, an embodiment of the present invention provides an electronic device including: a memory, a processor, and a computer program stored on the memory and capable of running on the processor, and when the processor executes the computer program The steps in the high-altitude parabola monitoring method provided by the embodiment of the present invention are realized.
第四方面,本发明实施例提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现发明实施例提供的高空抛物的监测方法中的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for monitoring a parabola at high altitude provided by the embodiment of the invention is implemented Steps in.
本发明实施例中,持续获取当前监测场景的实时视频信息,并根据所述实时视频信息对所述当前监测场景进行动态背景建模,以得到所述监测场景的背景图像;根据所述背景图像,判断所述图像信息中是否出现前景图像;当所述图像信息中出现前景图像时,则持续获取所述前景图像的运动信息,并根据所述运动信息计算所述前景图像的运动轨迹;基于所述前景图像的运动轨迹,判断所述前景图像是否为高空抛物。通过对当前监测场景进行背景建模,使得背景图像与前景图像分离,单独判断前景图像是否为高空抛物,不需要人工进行判断,由于背景图像是动态建模得到,可以实时的判断是否存在高空抛物的情况,从而提高了高空抛物的监测效果。In the embodiment of the present invention, real-time video information of the current monitoring scene is continuously acquired, and dynamic background modeling of the current monitoring scene is performed according to the real-time video information to obtain a background image of the monitoring scene; according to the background image , Determine whether a foreground image appears in the image information; when a foreground image appears in the image information, continue to acquire the motion information of the foreground image, and calculate the motion trajectory of the foreground image according to the motion information; based on The motion track of the foreground image determines whether the foreground image is a parabola at high altitude. By modeling the background of the current monitoring scene, the background image is separated from the foreground image, and whether the foreground image is a high-altitude parabola is judged separately without manual judgment. Since the background image is obtained by dynamic modeling, it can be judged in real time whether there is a high-altitude parabola. Circumstances, thereby improving the monitoring effect of high-altitude parabolic.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1是本发明实施例提供的一种高空抛物的监测方法的流程图;FIG. 1 is a flowchart of a method for monitoring a parabola at high altitude according to an embodiment of the present invention;
图2是本发明实施例提供的一种动态背景建模方法的流程图;2 is a flowchart of a dynamic background modeling method provided by an embodiment of the present invention;
图3是本发明实施例提供的一种高空抛物的监测装置的结构示意图;Figure 3 is a schematic structural diagram of a high-altitude parabolic monitoring device provided by an embodiment of the present invention;
图4是本发明实施例提供的另一种高空抛物的监测装置的结构示意图;4 is a schematic structural diagram of another high-altitude parabolic monitoring device provided by an embodiment of the present invention;
图5是本发明实施例提供的另一种高空抛物的监测装置的结构示意图;5 is a schematic structural diagram of another high-altitude parabolic monitoring device provided by an embodiment of the present invention;
图6是本发明实施例提供的另一种高空抛物的监测装置的结构示意图;6 is a schematic structural diagram of another high-altitude parabolic monitoring device provided by an embodiment of the present invention;
图7是本发明实施例提供的另一种高空抛物的监测装置的结构示意图;Figure 7 is a schematic structural diagram of another high-altitude parabolic monitoring device provided by an embodiment of the present invention;
图8是本发明实施例提供的另一种高空抛物的监测装置的结构示意图;8 is a schematic structural diagram of another high-altitude parabolic monitoring device provided by an embodiment of the present invention;
图9是本发明实施例提供的另一种高空抛物的监测装置的结构示意图;9 is a schematic structural diagram of another high-altitude parabolic monitoring device provided by an embodiment of the present invention;
图10是本发明实施例提供的一种电子设备的结构示意图。FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.
请参见图1,图1是本发明实施例提供的一种高空抛物的监测方法的流程图,如图1所示,包括以下步骤:Please refer to FIG. 1. FIG. 1 is a flowchart of a method for monitoring a parabola at high altitude according to an embodiment of the present invention. As shown in FIG. 1, it includes the following steps:
101、获取当前监测场景的视频信息,并通过正态分布对所述当前监测场景进行动态背景建模,以得到所述监测场景的背景图像。101. Obtain video information of the current monitoring scene, and perform dynamic background modeling on the current monitoring scene through normal distribution to obtain a background image of the monitoring scene.
其中,上述当前监测场景可以是摄像头正在监控的居民楼、商业楼或办公楼等楼栋场景。上述的摄像头监控范围可以是楼栋的全部楼层或一定层数以上的楼层,比如4楼以上的楼层,可以在安装摄像头时,根据需要进行确定,并调整摄像头的拍摄角度,以使该摄像头能够监控对应范围的楼层。Among them, the foregoing current monitoring scene may be a residential building, a commercial building, or an office building that is being monitored by the camera. The above-mentioned camera monitoring range can be all floors of the building or floors above a certain number of floors, such as floors above the 4th floor. When installing the camera, it can be determined as needed, and the shooting angle of the camera can be adjusted so that the camera can Monitor the floors in the corresponding range.
上述的视频信息可以理解为摄像头拍摄到的连续图像序列。上述的视频信息可以是摄像头实时拍摄到的目标视频信息,也可以是摄像头定时拍摄到的目标视频信息,还可以是用户调取摄像头拍摄到的视频信息后上传的目标视频信息。The above-mentioned video information can be understood as a continuous image sequence captured by a camera. The above-mentioned video information may be target video information captured by the camera in real time, or target video information captured by the camera periodically, or target video information uploaded after the user retrieves the video information captured by the camera.
上述的动态背景建模指的是根据不同当前帧图像建立不同的背景图像,即每一帧图像都对应一个背景图像。上述的背景图像在连续图像序列中的体现为:连续图像序列中,作为背景图像的像素点的像素值不变或像素值变化在一定范围内。上述的动态背景建模依赖于连续图像序列中像素点在不同帧图像之间的关联,可以理解为在连续图像序列中一个像素点作为背景像素点的像素值变化是服从正态分布的,该背景像素点的像素值在变化过程中,该背景像素点的像素值分布在一个范围内,该范围以该背景像素点的像素值的变化均值进行确定,可以认为背景像素点的像素值变化分布在该变化均值的两侧。The aforementioned dynamic background modeling refers to the establishment of different background images based on different current frame images, that is, each frame image corresponds to a background image. The above-mentioned background image is embodied in the continuous image sequence as: in the continuous image sequence, the pixel value of the pixel as the background image does not change or the pixel value changes within a certain range. The above-mentioned dynamic background modeling relies on the association of pixels in different frames of images in a continuous image sequence. It can be understood that the change in the pixel value of a pixel in the continuous image sequence as a background pixel obeys a normal distribution. During the change of the pixel value of the background pixel, the pixel value of the background pixel is distributed in a range, and the range is determined by the mean value of the pixel value of the background pixel. It can be considered that the pixel value of the background pixel changes distribution On both sides of the mean of this change.
具体的,请参见图2,图2是本发明实施例提供的一种动态背景建模方法的流程图,如图2所示,上述动态背景建模的方法包括以下步骤:Specifically, please refer to Figure 2. Figure 2 is a flowchart of a dynamic background modeling method provided by an embodiment of the present invention. As shown in Figure 2, the above dynamic background modeling method includes the following steps:
201、获取视频信息中的连续帧图像。201. Acquire continuous frame images in video information.
其中,上述的连续帧图像指是在时间序列上的连续图像。Among them, the above-mentioned continuous frame images refer to continuous images in a time series.
202、构建连续帧图像中每个像素点对应K个正态分布。202. Construct K normal distributions corresponding to each pixel in the continuous frame image.
其中,K大于1,所述正态分布包括均值参数、方差参数以及权重参数。Where K is greater than 1, the normal distribution includes a mean parameter, a variance parameter, and a weight parameter.
在该步骤中,可以先对第一帧图像的每个像素点对应的K个正态分布进行初始化,使该K个正态分布中,其中,该K个正态分布可以通过下列式子进行 表达:In this step, the K normal distributions corresponding to each pixel of the first frame of image can be initialized to make the K normal distributions, wherein the K normal distributions can be performed by the following formula expression:
其中,上述的P(x
j)表示第j个像素点的正态分布模型,该正态分布模型中包括该第j个像素点的K个正态分布,x
j,t表示该第j个像素点的像素值,上述的
表示第t帧图像中第j个像素点的第i个正态分布的权重参数,上述的
表示第t帧图像中第j个像素点的第i个正态分布的均值参数,上述的
表示第t帧图像中第j个像素点的第i个正态分布的方差参数,上述的η为正态分布的密度函数,上述的σ为标准差,由
得到。
Wherein, the above P(x j ) represents the normal distribution model of the j-th pixel, and the normal distribution model includes K normal distributions of the j-th pixel, and x j,t represents the j-th pixel. The pixel value of the pixel, the above Represents the weight parameter of the i-th normal distribution of the j-th pixel in the t-th frame image, the above Represents the mean parameter of the i-th normal distribution of the j-th pixel in the t-th frame image, the above Represents the variance parameter of the i-th normal distribution of the j-th pixel in the t-th frame image, the above η is the density function of the normal distribution, the above σ is the standard deviation, and get.
在对第一帧图像的每个像素点对应的K个正态分布进行初始化过程中,可以将该第一帧图像的每个像素点中一个正态分布进行初始化,上述的初始化可以是将该个正态分布中的均值参数赋值为对应像素点的像素值,将权重参数赋值为1,此时方差为0,除该个正态分布的其余正态分布的均值参数和权重参数都赋值为0。比如,一个像素点有5个正态分布,即K=5,在这5个正态分布中,选取一个正态分布的均值参数和权重参数进行赋值,其余的4个正态分布的均值参数和权重参数都赋值为0。由于第一帧图像中各个像素点没有在前序列的依赖,所以需要对该第一帧图像中各个像素点的正态分布进行初始化。In the process of initializing the K normal distributions corresponding to each pixel of the first frame of image, one normal distribution in each pixel of the first frame of image can be initialized, and the above-mentioned initialization can be The mean parameter in a normal distribution is assigned the pixel value of the corresponding pixel, and the weight parameter is assigned a value of 1, and the variance is 0 at this time. The mean parameter and weight parameter of the other normal distributions except the normal distribution are assigned as 0. For example, a pixel has 5 normal distributions, that is, K=5. Among these 5 normal distributions, select the mean parameter and weight parameter of one normal distribution for assignment, and the mean parameters of the remaining 4 normal distributions And the weight parameter is assigned the value 0. Since each pixel in the first frame of image is not dependent on the previous sequence, it is necessary to initialize the normal distribution of each pixel in the first frame of image.
当然,在一种可能的实施例中,可以采用随机初始化的方式对第一帧图像中每个像素点的所有正态分布进行随机赋值,需要说明的是,该随机赋值过程中,所有正态分布的权重参数的赋值之和需要等于1。Of course, in a possible embodiment, random initialization can be used to randomly assign all the normal distributions of each pixel in the first frame of image. It should be noted that in the random assignment process, all normal distributions The sum of the assigned weight parameters of the distribution needs to be equal to 1.
203、将当前帧图像的每个像素点的像素值与对应的K个正态分布进行匹配。203. Match the pixel value of each pixel of the current frame of image with the corresponding K normal distributions.
其中,上述的当前帧图像的不为第一帧图像。Wherein, the above-mentioned current frame image is not the first frame image.
以当前帧图像中的一个像素点j来举例进行说明,假设当前帧图像为第t帧图像,可以理解的是,在之前的第一帧图像到第t-1帧图像中,每个像素点对应像素值的均值与方差都是求已知的,比如,截至第t-1帧图像,在像素点j的K个正态分布中,均值参数为第一帧图像到第t-1帧图像中像素点j所有像素值之和,再除以帧图像的数据,即是除以t-1,得到该均值参数为
像素点j的方差参数为第t-1帧图像中像素点j对应的像素值减去该均值参数
再求平方得到该方差参数为
由此可得第t-1帧图像中像素点j的 K个正态分布:
Take a pixel j in the current frame image as an example. Assuming that the current frame image is the t-th frame image, it can be understood that in the previous first frame image to the t-1th frame image, each pixel point The mean and variance of the corresponding pixel values are all known. For example, as of the t-1 frame image, in the K normal distributions of the pixel point j, the mean parameter is from the first frame image to the t-1 frame image The sum of all the pixel values of the middle pixel point j, and then dividing by the data of the frame image, that is, dividing by t-1, the mean value parameter is The variance parameter of pixel j is the pixel value corresponding to pixel j in the t-1 frame image minus the mean parameter Then square to get the variance parameter as Thus, the K normal distributions of the pixel point j in the t-1 frame image can be obtained:
在当前的第t帧图像中,如果像素点j为背景像素点,则像素点j的像素值x
j满足上述k个正态分布中的一个或多个。这是由于在监测场景中,背景像素点对应的像素值通常是不变的或变化很小的,也就是说,背景像素点对应的像素值分布,在一定的像素值范围内是可被预测的,由于长时间对背景像素点对应的像素值进行采样处理,使得背景像素点对应的像素值数据量足够大,进而使得背景像素点对应的像素值服从正态分布,即数据集中在均值参数的附近,遵从正态分布的随机变量,为均值参数附近的值的概率大,为远离均值参数的值的概率小。举例来说,将第t帧图像中像素点j的像素值x
j,t看作随机变量,如果像素点j为背景像素点,则x
j,t是在
近取值。因此,可以通过x
j,t与
的关系来对像素点j对应的K个正态分布进行匹配。
In the current t-th frame image, if the pixel point j is a background pixel point, the pixel value x j of the pixel point j satisfies one or more of the above k normal distributions. This is because in the monitoring scene, the pixel value corresponding to the background pixel is usually unchanged or changes little. That is to say, the pixel value distribution corresponding to the background pixel can be predicted within a certain range of pixel value. Yes, because the pixel value corresponding to the background pixel is sampled for a long time, the amount of pixel value data corresponding to the background pixel is large enough, so that the pixel value corresponding to the background pixel obeys the normal distribution, that is, the data is concentrated in the mean parameter In the vicinity of, a random variable that follows a normal distribution has a high probability of being a value near the mean parameter, and a small probability of being a value far from the mean parameter. For example, consider the pixel value x j, t of pixel j in the t- th frame of image as a random variable. If pixel j is a background pixel, then x j, t is Near value. Therefore, we can pass x j, t and To match the K normal distributions corresponding to pixel j.
204、判断各个像素点是否匹配到满足预设条件的正态分布。204. Determine whether each pixel matches a normal distribution that meets a preset condition.
若存在像素值匹配到满足预设条件的M个正态分布的像素点,则转入步骤205,若存在像素值匹配不到满足预设条件的正态分布的像素点,则转入步骤206。If there are M pixels with a pixel value matching the normal distribution that meet the preset condition, then go to step 205; if there are pixels with a pixel value that does not match the normal distribution that meets the preset condition, then go to step 206 .
上述的预设条件可以是x
j,t与
的差值满足预先设置的差值阈值,上述预先设置的差值阈值可以是根据x
j,t-1的正态分布中的标准差进行确定,该标准差由
得到。具体的,可以判断x
j,t与
的差值是否小于该标准差的系数倍,比如判断x
j,t与
的差值是否小于1.5倍、2.5倍等标准差。
The above preset conditions can be x j, t and The difference value satisfies the preset difference value threshold. The preset difference value threshold value may be determined according to the standard deviation in the normal distribution of x j, t-1, and the standard deviation is determined by get. Specifically, it can be judged that x j, t and Whether the difference of is less than the coefficient multiple of the standard deviation, such as judging x j, t and Whether the difference of is less than 1.5 times, 2.5 times and other standard deviations.
若x
j,t与
的差值是否小于该标准差的系数倍,则说明该第t帧中像素点j服从该正态分布,即匹配到满足预设条件的正态分布。遍历判断是否服从该个像素点的K个正态分布,从而判断该第t帧中像素点j服从K个正态分布的个数。遍历第t帧中每个像素点,从而判断各个像素点匹配的正态分布情况。
If x j, t and Whether the difference of is less than the coefficient multiple of the standard deviation, it indicates that the pixel j in the t-th frame obeys the normal distribution, that is, matches the normal distribution that satisfies the preset condition. The traversal judges whether to obey the K normal distributions of the pixel, so as to judge the number of the pixel j in the t-th frame that obeys the K normal distributions. Traverse each pixel in the t-th frame to determine the normal distribution of the matching of each pixel.
205、将M个正态分布进行第一参数更新,并保持其余K-M个正态分布的参数不变。205. Update the first parameter of the M normal distributions, and keep the parameters of the remaining K-M normal distributions unchanged.
其中,M大于等于1,且M小于等于K。Among them, M is greater than or equal to 1, and M is less than or equal to K.
在该步骤中,对满足预设条件的M个正态分布进行更新,上述的第一参数更新指的是对正态分布中的均值参数以及方差参数进行更新,比如,将
更 新为新均值
将
更新为新均值
即可得到第t帧中像素点j的当前正态分布。对于一个像素点,只以满足预设条件的M个正态分布进行更新,保持剩余K-M个正态分布的参数不变。
In this step, the M normal distributions that meet the preset conditions are updated. The above-mentioned first parameter update refers to the update of the mean parameter and the variance parameter in the normal distribution, for example, Update to the new mean will Update to the new mean Then the current normal distribution of pixel j in the t-th frame can be obtained. For a pixel, only M normal distributions meeting the preset conditions are updated, and the parameters of the remaining KM normal distributions are kept unchanged.
206、在像素点对应的K个正态分布中选取均值距离最大的正态分布进行权重赋值,基于权重赋值对K个正态分布进行第二参数更新。206. Select the normal distribution with the largest mean distance from the K normal distributions corresponding to the pixels to perform weight assignment, and perform the second parameter update on the K normal distributions based on the weight assignment.
上述均值距离为像素点的像素值与正态分布中均值参数的差值。The aforementioned mean distance is the difference between the pixel value of the pixel and the mean parameter in the normal distribution.
在该步骤中,对于一个像素点匹配不到对应的K个正态分布中的任意一个时,则选取x
j,t与
的差值最大的一个正态分布进行第二参数更新,剩余的K-1个正态分布保持不变。
In this step, when a pixel does not match any one of the corresponding K normal distributions, x j, t and The second parameter update is performed on the normal distribution with the largest difference, and the remaining K-1 normal distributions remain unchanged.
上述的第二参数更新指的是对正态分布中的权重参数进行更新,比如,将
更新为新均值
具体的,在更新后,再次判断该个像素点是否与新的正态分布匹配。可以通过下述公式对正态分布中的权重参数进行更新:
The above-mentioned second parameter update refers to the update of the weight parameter in the normal distribution, for example, Update to the new mean Specifically, after the update, it is determined again whether the pixel matches the new normal distribution. The weight parameter in the normal distribution can be updated by the following formula:
ω
i,t=(1-a)·ω
i,t-1+a·M
i,t
ω i,t =(1-a)·ω i,t-1 +a·M i,t
其中,上述的a为算法的学习速率,上述的M
i,t为更新后的匹配结果,若更新权重后该个像素点能够匹配新的正态分布,则M
i,t取值为1,若更新权重后该个像素点仍然不能够匹配新的正态分布,则M
i,t取值为0。
Among them, the above a is the learning rate of the algorithm, and the above Mi ,t is the updated matching result. If the pixel can match the new normal distribution after the weight is updated , the value of Mi,t is 1, If the pixel still cannot match the new normal distribution after the weight is updated , the value of Mi,t is 0.
由于背景像素点是服从正态分布的,所以,上述该个像素点若能够匹配新的正态分布,则说明该个像素点为背景点,若不能够匹配新的正态分布分布,则说明该个像素点为前景点。具体的,根据上述权重参数更新式子可以知道,若该个像素点能够匹配新的正态分布,则最终的正态分布中权重参数是增大的,若该个像素点不能够匹配新的正态分布,则最终的正态分布中权重参数是减小的。Since the background pixel is subject to a normal distribution, if the above-mentioned pixel can match the new normal distribution, it means that the pixel is a background point, if it cannot match the new normal distribution, it means This pixel is the former scenic spot. Specifically, according to the above weight parameter update formula, it can be known that if the pixel can match the new normal distribution, the weight parameter in the final normal distribution is increased. If the pixel cannot match the new normal distribution Normal distribution, the weight parameter in the final normal distribution is reduced.
207、基于正态分布的方差参数和/或权重参数,选取N个正态分布,并根据N个正态分布判断对应像素点是否属于背景像素点。207. Select N normal distributions based on the variance parameter and/or weight parameter of the normal distribution, and determine whether the corresponding pixel is a background pixel according to the N normal distributions.
其中,N为K个正态分布中权重参数与方差参数比值最大于N个正态分布,N大于等于1,且N小于等于K。Among them, N is that the ratio of the weight parameter to the variance parameter in K normal distributions is the largest than N normal distributions, N is greater than or equal to 1, and N is less than or equal to K.
上述的方差参数表征了数据分布的离散程度,方差越大,离散程度越大,方差越小,离散程度越小。离散程度越小,说明数据集中在一个小范围,特征也就越明显。因此,一个背景像素点可以选取K个正态分布中方差参数最小的N个正态分布作为该背景的最佳描述。The aforementioned variance parameter characterizes the degree of dispersion of the data distribution. The greater the variance, the greater the degree of dispersion, the smaller the variance, and the smaller the degree of dispersion. The smaller the degree of dispersion, it means that the data is concentrated in a small area, and the characteristics are more obvious. Therefore, a background pixel can select N normal distributions with the smallest variance parameter among K normal distributions as the best description of the background.
上述的权重参数表征了各个正态分布的数据支持程度,当背景持续不改变时,该背景中的背景像素点对应的分布数据会持续累积,所支持的正态分布权重点比例就越高,落入该正态分布的概率就越高。因此,一个背景像素点可以选取K个正态分布中权重参数最大的N个正态分布作为该背景的最佳描述。需要说明的是,在一个像素点对应的K个正态分布中,K个权重参数之和为1。The above weight parameters represent the degree of data support of each normal distribution. When the background continues to remain unchanged, the distribution data corresponding to the background pixels in the background will continue to accumulate, and the supported normal distribution weight ratio will be higher. The higher the probability of falling into the normal distribution. Therefore, a background pixel can select the N normal distributions with the largest weight parameters among the K normal distributions as the best description of the background. It should be noted that in the K normal distributions corresponding to a pixel, the sum of the K weight parameters is 1.
作为本发明的一个实施例,也可以是根据权重参数与方差参数的比值来进行选取,一个背景像素点可以选取K个破碎分布中权重参数与方差参数比值最大的N个正态分布作为该背景的最佳描述。As an embodiment of the present invention, it can also be selected based on the ratio of the weight parameter to the variance parameter. A background pixel can select the N normal distributions with the largest ratio of the weight parameter to the variance parameter among K broken distributions as the background. The best description.
在确定各个像素点对应的N个正态分布后,将当前的第t帧图像中各个像素点与对应的N个正态分布再次进行匹配,匹配到至少一个正态分布时,则说明该个像素点为背景像素点,转入步骤208。若匹配不到任意一个正态分布时,则说明该个像素点为前景像素点,转入步骤209。After determining the N normal distributions corresponding to each pixel, each pixel in the current t-th frame image is matched with the corresponding N normal distributions again. When at least one normal distribution is matched, the corresponding Pixels are background pixels, and go to step 208. If it fails to match any normal distribution, it means that the pixel is a foreground pixel, and then go to step 209.
208、基于背景像素点,构建当前帧图像的帧背景,并将当前帧图像的帧背景更新为监测场景的背景图像。208. Based on the background pixels, construct the frame background of the current frame image, and update the frame background of the current frame image to the background image of the monitoring scene.
在确定像素点为当前帧图像的背景像素点时,则可以对当前帧图像的背景像素点进行掩码,以区别于前景部分,得到对应当前帧图像的帧背景,将该帧背景更新到视频信息中对应的帧图像,从而得到监测场景的每一帧背景图像。When it is determined that the pixel is the background pixel of the current frame image, the background pixel of the current frame image can be masked to distinguish it from the foreground part, and the frame background corresponding to the current frame image is obtained, and the frame background is updated to the video Corresponding frame images in the information, so as to obtain the background image of each frame of the monitoring scene.
在本发明实施例中,通过正态分布对背景图像的背景像素点进行判断,可以一个像素点以往的数据分布来预测该像素点是否为背景像素点,提高动态背景建模的准确度。In the embodiment of the present invention, the background pixel of the background image is judged by normal distribution, and the past data distribution of a pixel can be used to predict whether the pixel is a background pixel, and the accuracy of dynamic background modeling can be improved.
102、根据背景图像,判断视频信息中是否出现前景图像。102. Determine whether a foreground image appears in the video information according to the background image.
在该步骤中,将当前帧图像的每个像素点的像素值与对应的N个正态分布进行匹配,判断每个像素点是否匹配到满足预设条件的正态分布;若存在像素点匹配不到满足预设条件的正态分布,则说明该像素点不服从背景像素点的正态分布,进而判断匹配不到满足预设条件的正态分布的像素点为前景像素点。通过前景像素点可以判断视频信息中是否出现前景图像,具体的,可以判断前景图像出的帧图像中是否存在前景像素点,从而判断视频信息中是否出前景帧图像,进而判断该视频信息中是否出现前景图像。In this step, the pixel value of each pixel of the current frame image is matched with the corresponding N normal distributions, and it is judged whether each pixel matches the normal distribution that meets the preset conditions; if there is a pixel matching If the normal distribution does not meet the preset condition, it means that the pixel does not obey the normal distribution of the background pixel, and then it is determined that the pixel that does not match the normal distribution that meets the preset condition is the foreground pixel. Through the foreground pixels, it can be judged whether there is a foreground image in the video information. Specifically, it can be judged whether there are foreground pixels in the frame image of the foreground image, thereby judging whether there is a foreground frame image in the video information, and then judging whether the video information is in the foreground image. The foreground image appears.
209、基于前景像素点,构建当前帧图像的帧前景,并将帧图像的帧前景更新为监测场景的前景图像。209. Based on the foreground pixels, construct the frame foreground of the current frame image, and update the frame foreground of the frame image to the foreground image of the monitoring scene.
在该步骤中,将当前帧图像的每个像素点的像素值与对应的N个正态分布 进行匹配,判断每个像素点是否匹配到满足预设条件的正态分布;若存在像素点匹配不到满足预设条件的正态分布,则判断匹配不到满足预设条件的正态分布的像素点为前景像素点;基于前景像素点,构建当前帧图像的帧前景,并将帧图像的帧前景更新为所述监测场景的前景图像。同理,在确定像素点为前景像素点时,可以对当前帧图像的前景像素点进行掩码,以区别于背景部分,得到对应当前帧图像的帧前景,并将该帧前景更新到视频信息中对应的帧图像,从而得到监测场景的每一帧前景图像。In this step, the pixel value of each pixel of the current frame image is matched with the corresponding N normal distributions, and it is judged whether each pixel matches the normal distribution that meets the preset conditions; if there is a pixel matching If the normal distribution does not meet the preset conditions, it is judged that the pixels that do not match the normal distribution that meets the preset conditions are foreground pixels; based on the foreground pixels, the frame foreground of the current frame image is constructed, and the frame image The frame foreground is updated to the foreground image of the monitoring scene. In the same way, when the pixel is determined to be the foreground pixel, the foreground pixel of the current frame image can be masked to distinguish it from the background part to obtain the frame foreground corresponding to the current frame image, and update the frame foreground to the video information In the corresponding frame image, the foreground image of each frame of the monitoring scene is thus obtained.
103、当视频信息中出现前景图像时,则持续获取前景图像的运动信息,并根据运动信息计算前景图像的运动轨迹。103. When a foreground image appears in the video information, the motion information of the foreground image is continuously acquired, and the motion trajectory of the foreground image is calculated according to the motion information.
在该步骤中,当视频信息中出现前景图像时,可以通过跟踪算法持续对该前景图像进行运动跟踪,得到连续帧图像对应的序列中前景图像在背景图像中的位移数据,根据该位移数据计算该前景图像的运动轨迹。其中,上述的位移数据指的是该前景图像在帧图像中像素点坐标的位移数据。In this step, when a foreground image appears in the video information, the foreground image can be continuously tracked by the tracking algorithm to obtain the displacement data of the foreground image in the background image in the sequence corresponding to the continuous frame image, and calculate according to the displacement data The trajectory of the foreground image. Wherein, the aforementioned displacement data refers to the displacement data of the pixel point coordinates of the foreground image in the frame image.
104、基于前景图像的运动轨迹,判断前景图像是否为高空抛物。104. Based on the movement trajectory of the foreground image, determine whether the foreground image is a parabola at high altitude.
在该步骤中,可以通过将该前景图像的运动轨迹与预先设置的抛物轨迹进行比对,若该前景图像的运动轨迹符合预先设置的抛物轨迹,则可以判断该前景图像为高空抛物。若该前景图像的运动轨迹不符合所述预先设置的抛物轨迹,则判断所述前景图像不为高空抛物。上述预先设置的运动轨迹可以是向下的直线或抛物线等类型的轨迹。In this step, the movement trajectory of the foreground image can be compared with a preset parabolic trajectory, and if the movement trajectory of the foreground image conforms to the preset parabolic trajectory, it can be determined that the foreground image is a parabola at high altitude. If the motion trajectory of the foreground image does not conform to the preset parabolic trajectory, it is determined that the foreground image is not a parabola at high altitude. The aforementioned preset motion trajectory may be a downward straight line or a parabolic trajectory.
可选的,可以基于摄像头的位置对运动轨迹进行预先设置,比如,当摄像头正对应待监测建筑进行拍摄时,上述预先设置的运动轨迹可以是向下的直线轨迹,向左下的抛物线轨迹或右下的抛物线轨迹等三种类型工的运动轨迹。当摄像头在待监测建筑的一侧进行拍摄时,上述预先设置的运动轨迹可以是向下的直线轨迹,或偏向一侧的特征线轨迹等,在此情况下,可以只预设两种类型的运动轨迹。需要说明的是,上述的待监测建筑也可以称为监测场景。Optionally, the motion trajectory can be preset based on the position of the camera. For example, when the camera is shooting the building to be monitored, the preset motion trajectory can be a downward linear trajectory, a parabolic trajectory toward the lower left or right Three types of motion trajectories such as the parabolic trajectory below. When the camera is shooting on the side of the building to be monitored, the aforementioned preset motion trajectory can be a downward linear trajectory, or a characteristic line trajectory that is biased to one side, etc. In this case, only two types can be preset Movement trajectory. It should be noted that the above-mentioned building to be monitored may also be referred to as a monitoring scene.
可选的,在该步骤中,还可以通过在背景图像中构建水平检测线的方式来判断该前景图像是否为高空抛物。具体的,在背景图像中构建多条水平检测线;判断前景图像的运动轨迹与水平检测线的交点数量是否大于预设的交点数阈值;若前景图像的运动轨迹与水平检测线的交点数量大于预设的交点数阈值,则判断前景图像为高空抛物;若前景图像的运动轨迹与水平检测线的交点数量小于预设的交点数阈值,则判断前景图像不为高空抛物。更进一步的,上述的 水平检测线可以根据楼层进行构建,比如,每一楼层构建一条水平检测线,可以是根据每个楼层外的上窗沿或下窗沿来构建水平检测线,在发生高空抛物的情况时,可以根据该前景图像的运动轨迹与水平检测线的交点数量,判断高空抛物的发生高度,即可知是哪一楼层在进行高空抛物的行为。另外,还可以根据水平检测线的交点数量,设置不同的高空抛物等级。Optionally, in this step, it is also possible to determine whether the foreground image is a high-altitude parabola by constructing a horizontal detection line in the background image. Specifically, multiple horizontal detection lines are constructed in the background image; it is determined whether the number of intersections between the movement trajectory of the foreground image and the horizontal detection line is greater than the preset number of intersection thresholds; if the number of intersections between the movement trajectory of the foreground image and the horizontal detection line is greater than The preset number of intersection thresholds determines that the foreground image is a parabola at high altitude; if the number of intersections between the motion trajectory of the foreground image and the horizontal detection line is less than the threshold number of intersections, it is determined that the foreground image is not a parabola at high altitude. Furthermore, the above-mentioned horizontal detection line can be constructed according to the floor. For example, each floor can construct a horizontal detection line, and the horizontal detection line can be constructed according to the upper window edge or the lower window edge outside each floor. In this case, the height of the high-altitude parabola can be determined according to the number of intersections between the movement trajectory of the foreground image and the horizontal detection line, that is, which floor is performing the high-altitude parabolic behavior. In addition, according to the number of intersections of the horizontal detection line, different high-altitude parabolic levels can be set.
可选的,在步骤104之后,在判断出前景图像为高空抛物时,可以自动向当前监测场景和/或管理部门发出高空抛物的提示警报。Optionally, after step 104, when it is determined that the foreground image is a high-altitude parabola, a warning of high-altitude parabola can be automatically issued to the current monitoring scene and/or the management department.
上述的当前监测场景指的是对应摄像头部署的所在地场景,比如A居民区B栋C单元。当对A居民区B栋C单元的摄像头检测到高空抛物时,则会在A居民区B栋C单元处发出危险警报,以向在A居民区B栋C单元附近的人员进行提示。The above-mentioned current monitoring scene refers to the scene where the corresponding camera is deployed, such as unit C in building B in residential area A. When the camera of unit C of building B in residential area A detects high-altitude parabolic objects, a hazard warning will be issued at unit C of building B in residential area A to alert people in the vicinity of unit C in building B in residential area A.
上述的管理部门可以是物业管理部门或城市管理部门或其他具有管理权限的组织,其他具有管理权限的组织比如业主委员会、游园同好会等。在一种可能的实施方式中,在发送到管理部门的提示警报中,还包括当前监测场景的视频信息,该视频信息中包括高空抛物发生的连续帧图像,可以通过各种联系方式将该警报信息发送到管理部门或相关人员的联系终端,比如邮件、手机APP或微信公众号推送等。The above-mentioned management department may be the property management department or the city management department or other organizations with management authority, and other organizations with management authority, such as the owners' committee, the garden club, etc. In a possible implementation manner, the reminder alarm sent to the management department also includes video information of the current monitoring scene. The video information includes continuous frame images of high-altitude parabolic events. The alarm can be notified through various contact methods. The information is sent to the contact terminal of the management department or related personnel, such as mail, mobile APP or WeChat official account push, etc.
可选的,在检测到前景图像时,还可提取该前景图像,并对该前景图像进行特征识别,以识别到该前景图像所属类别;根据该前景图像所属类别,匹配对应的高空抛物等级;基于匹配到的高空抛物等级,向当前监测场景和/或管理部门发出对应等级的高空抛物提示警报。比如,当识别到前景图像为纸片或塑料袋时,则可以判断该前景图像高空抛物等级较低,当识别到前景图像为花盆或手机时,则可以判断该前景图像高空抛物等级较高。上述的高空抛物等级可以与危险等级正相关。可以针对不同的高空抛物等级设置不同的高空抛物提示警报。Optionally, when the foreground image is detected, the foreground image can also be extracted and feature recognition is performed on the foreground image to identify the category to which the foreground image belongs; according to the category of the foreground image, the corresponding high-altitude parabolic level is matched; Based on the matched high-altitude parabolic level, a corresponding level of high-altitude parabolic alert is issued to the current monitoring scene and/or the management department. For example, when it is recognized that the foreground image is a paper sheet or plastic bag, it can be judged that the high-altitude parabola level of the foreground image is low; when the foreground image is recognized as a flower pot or a mobile phone, it can be judged that the high-altitude parabola level of the foreground image is high . The above-mentioned high-altitude parabolic level can be positively correlated with the hazard level. Different high-altitude parabolic reminders can be set for different high-altitude parabolic levels.
在本发明实施例中,持续获取当前监测场景的实时视频信息,并根据所述实时视频信息对所述当前监测场景进行动态背景建模,以得到所述监测场景的背景图像;根据所述背景图像,判断所述图像信息中是否出现前景图像;当所述图像信息中出现前景图像时,则持续获取所述前景图像的运动信息,并根据所述运动信息计算所述前景图像的运动轨迹;基于所述前景图像的运动轨迹,判断所述前景图像是否为高空抛物。通过对当前监测场景进行背景建模,使得 背景图像与前景图像分离,单独判断前景图像是否为高空抛物,不需要人工进行判断,由于背景图像是动态建模得到,可以实时的判断是否存在高空抛物的情况,从而提高了高空抛物的监测效果。In the embodiment of the present invention, real-time video information of the current monitoring scene is continuously acquired, and dynamic background modeling of the current monitoring scene is performed according to the real-time video information to obtain the background image of the monitoring scene; according to the background Image, judging whether a foreground image appears in the image information; when a foreground image appears in the image information, continuously acquiring the motion information of the foreground image, and calculating the motion trajectory of the foreground image according to the motion information; Based on the movement trajectory of the foreground image, it is determined whether the foreground image is a parabola at high altitude. By modeling the background of the current monitoring scene, the background image is separated from the foreground image, and whether the foreground image is a high-altitude parabola is judged separately without manual judgment. Since the background image is obtained by dynamic modeling, it can be judged in real time whether there is a high-altitude parabola. Circumstances, thereby improving the monitoring effect of high-altitude parabolic.
需要说明的是,本发明实施例提供的高空抛物的监测方法可以应用于需要对高空抛物行为进行监测的移动终端、监控器、计算机、服务器等设备。It should be noted that the high-altitude parabolic monitoring method provided by the embodiment of the present invention can be applied to mobile terminals, monitors, computers, servers and other equipment that need to monitor high-altitude parabolic behavior.
请参见图3,图3是本发明实施例提供的一种高空抛物的监测装置的结构示意图,如图3所示,所述装置包括:Please refer to FIG. 3, which is a schematic structural diagram of a high-altitude parabolic monitoring device provided by an embodiment of the present invention. As shown in FIG. 3, the device includes:
第一获取模块301,用于获取当前监测场景的视频信息,并通过正态分布对所述当前监测场景进行动态背景建模,以得到所述监测场景的背景图像,所述动态背景建模为对所述视频信息中每一帧图像都进行背景建模;The first acquisition module 301 is configured to acquire video information of the current monitoring scene, and perform dynamic background modeling of the current monitoring scene through a normal distribution to obtain a background image of the monitoring scene, and the dynamic background modeling is Perform background modeling on each frame of image in the video information;
第一判断模块302,用于根据所述背景图像,判断所述图像信息中是否出现前景图像;The first determining module 302 is configured to determine whether a foreground image appears in the image information according to the background image;
第二获取模块303,用于当所述视频信息中出现前景图像时,则持续获取所述前景图像的运动信息,并根据所述运动信息计算所述前景图像的运动轨迹;The second acquisition module 303 is configured to continuously acquire the motion information of the foreground image when a foreground image appears in the video information, and calculate the motion trajectory of the foreground image according to the motion information;
第二判断模块304,用于基于所述前景图像的运动轨迹,判断所述前景图像是否为高空抛物。The second judgment module 304 is configured to judge whether the foreground image is a parabola at high altitude based on the movement trajectory of the foreground image.
可选的,上述的第一获取模块301与第二获取模块302可以是相同的获取模块,上述的第一获取模块301与第二获取模块302也可以集成在同一获取模块中。Optionally, the above-mentioned first acquisition module 301 and the second acquisition module 302 may be the same acquisition module, and the above-mentioned first acquisition module 301 and the second acquisition module 302 may also be integrated in the same acquisition module.
可选的,如图4所示,所述第一获取模块301包括,包括:Optionally, as shown in FIG. 4, the first obtaining module 301 includes:
获取单元3011,用于获取所述视频信息中的连续帧图像,其中,所述连续帧图像中每个像素点对应K个正态分布,K大于1,所述正态分布包括均值参数、方差参数以及权重参数;The acquiring unit 3011 is configured to acquire continuous frame images in the video information, wherein each pixel in the continuous frame image corresponds to K normal distributions, K is greater than 1, and the normal distribution includes a mean parameter and a variance Parameters and weight parameters;
第一判断单元3012,用于将当前帧图像的每个像素点的像素值与对应的K个正态分布进行匹配,判断各个像素点是否匹配到满足预设条件的正态分布;The first determining unit 3012 is configured to match the pixel value of each pixel of the current frame image with the corresponding K normal distributions, and determine whether each pixel matches a normal distribution that meets a preset condition;
第一更新单元3013,用于若存在像素值匹配到满足预设条件的M个正态分布的像素点,则将所述M个正态分布进行第一参数更新,并保持其余K-M个正态分布的参数不变,其中,M大于等于1,且M小于等于K;The first update unit 3013 is configured to update the first parameter of the M normal distributions if there are pixel values matching the M normal distributions that meet the preset condition, and keep the remaining KM normal distributions The parameters of the distribution remain unchanged, where M is greater than or equal to 1, and M is less than or equal to K;
第二更新单元3014,用于若存在像素值匹配不到满足预设条件的正态分布的像素点,则在所述像素点对应的K个正态分布中选取均值距离最大的正态分布进行权重赋值,基于所述权重赋值对所述K个正态分布进行第二参数更新, 所述均值距离为像素点的像素值与正态分布中均值参数的差值;The second update unit 3014 is configured to select the normal distribution with the largest mean distance from the K normal distributions corresponding to the pixel points if there are pixels whose pixel values do not match the normal distribution that meets the preset conditions. Weight assignment, performing a second parameter update on the K normal distributions based on the weight assignment, and the mean distance is the difference between the pixel value of the pixel and the mean parameter in the normal distribution;
第二判断单元3015,用于基于所述正态分布的方差参数和/或权重参数,选取N个正态分布,并根据所述N个正态分布判断对应像素点是否属于背景像素点,其中,N大于等于1,且N小于等于K;The second determining unit 3015 is configured to select N normal distributions based on the variance parameter and/or weight parameter of the normal distribution, and determine whether the corresponding pixel is a background pixel according to the N normal distributions, wherein , N is greater than or equal to 1, and N is less than or equal to K;
第一构建单元3016,用于基于所述背景像素点,构建所述当前帧图像的帧背景,并将所述当前帧图像的帧背景更新为所述监测场景的背景图像。The first construction unit 3016 is configured to construct the frame background of the current frame image based on the background pixels, and update the frame background of the current frame image to the background image of the monitoring scene.
可选的,如图5所示,所述第一判断模块302,包括:Optionally, as shown in FIG. 5, the first judgment module 302 includes:
第三判断单元3021,用于将当前帧图像的每个像素点的像素值与对应的N个正态分布进行匹配,判断所述每个像素点是否匹配到满足预设条件的正态分布;The third determining unit 3021 is configured to match the pixel value of each pixel of the current frame image with the corresponding N normal distributions, and determine whether each pixel matches a normal distribution that meets a preset condition;
第四判断单元3022,用于若存在像素点匹配不到满足预设条件的正态分布,则判断所述匹配不到满足预设条件的正态分布的像素点为前景像素点;The fourth determining unit 3022 is configured to determine that if there is a pixel that does not match the normal distribution that meets the preset condition, determine that the pixel that does not match the normal distribution that meets the preset condition is a foreground pixel;
第二构建单元3023,用于基于所述前景像素点,构建所述当前帧图像的帧前景,并将所述帧图像的帧前景更新为所述监测场景的前景图像。The second construction unit 3023 is configured to construct the frame foreground of the current frame image based on the foreground pixels, and update the frame foreground of the frame image to the foreground image of the monitoring scene.
可选的,如图6所示,所述第二判断模块304,包括:Optionally, as shown in FIG. 6, the second judgment module 304 includes:
第五判断单元3041,用于判断所述前景图像的运动轨迹是否为符合预先设置的抛物轨迹;The fifth judging unit 3041 is used to judge whether the motion trajectory of the foreground image conforms to a preset parabolic trajectory;
第六判断单元3042,用于若所述前景图像的运动轨迹符合所述预先设置的抛物轨迹,则判断所述前景图像为高空抛物;The sixth determining unit 3042 is configured to determine that the foreground image is a parabola at high altitude if the motion trajectory of the foreground image conforms to the preset parabolic trajectory;
第七判断单元3043,用于若所述前景图像的运动轨迹不符合所述预先设置的抛物轨迹,则判断所述前景图像不为高空抛物。The seventh determining unit 3043 is configured to determine that the foreground image is not a high-altitude parabola if the motion trajectory of the foreground image does not conform to the preset parabolic trajectory.
可选的,如图7所示,所述第二判断模块304,包括:Optionally, as shown in FIG. 7, the second judgment module 304 includes:
构建单元3044,用于在所述背景图像中构建多条水平检测线;The constructing unit 3044 is configured to construct multiple horizontal detection lines in the background image;
第八判断单元3045,用于判断所述前景图像的运动轨迹与所述水平检测线的交点数量是否大于预设的交点数阈值;An eighth judging unit 3045, configured to judge whether the number of intersections between the motion trajectory of the foreground image and the horizontal detection line is greater than a preset threshold for the number of intersections;
第九判断单元3046,用于若所述前景图像的运动轨迹与所述水平检测线的交点数量大于预设的交点数阈值,则判断所述前景图像为高空抛物;A ninth determining unit 3046, configured to determine that the foreground image is a parabola at high altitude if the number of intersections between the motion trajectory of the foreground image and the horizontal detection line is greater than a preset number of intersection thresholds;
第十判断单元3047,用于若所述前景图像的运动轨迹与所述水平检测线的交点数量小于预设的交点数阈值,则判断所述前景图像不为高空抛物。The tenth determining unit 3047 is configured to determine that the foreground image is not a parabola at high altitude if the number of intersections between the motion trajectory of the foreground image and the horizontal detection line is less than a preset number of intersection thresholds.
可选的,如图8所示,所述装置还包括:Optionally, as shown in FIG. 8, the device further includes:
提示模块305,用于若所述前景图像为高空抛物,则向当前监测场景和/或 管理部门发出高空抛物的提示警报。The prompting module 305 is configured to, if the foreground image is a high-altitude parabola, send a high-altitude parabola to the current monitoring scene and/or the management department.
可选的,如图9所示,所述提示模块305,包括:Optionally, as shown in FIG. 9, the prompt module 305 includes:
提取单元3051,用于提取所述前景图像;The extraction unit 3051 is used to extract the foreground image;
识别单元3052,用于对所述前景图像进行特征识别,以识别到所述前景图像所属类别;The recognition unit 3052 is configured to perform feature recognition on the foreground image to recognize the category to which the foreground image belongs;
匹配单元3053,用于根据所述前景图像所属类别,匹配对应的高空抛物等级;The matching unit 3053 is configured to match the corresponding high-altitude parabolic level according to the category of the foreground image;
提示单元3054,用于基于所述高空抛物等级,向当前监测场景和/或管理部门发出对应等级的高空抛物提示警报。The prompting unit 3054 is configured to issue a corresponding level of high-altitude parabolic prompt alarm to the current monitoring scene and/or management department based on the high-altitude parabolic level.
需要说明的是,本发明实施例提供的高空抛物的监测装置可以应用于需要对高空抛物行为进行监测的移动终端、监控器、计算机、服务器等设备。It should be noted that the high-altitude parabolic monitoring device provided in the embodiment of the present invention can be applied to mobile terminals, monitors, computers, servers and other equipment that need to monitor high-altitude parabolic behavior.
本发明实施例提供的高空抛物的监测装置能够实现上述方法实施例中高空抛物的监测方法实现的各个过程,且可以达到相同的有益效果。为避免重复,这里不再赘述。The high-altitude parabolic monitoring device provided by the embodiment of the present invention can realize the various processes realized by the high-altitude parabolic monitoring method in the foregoing method embodiment, and can achieve the same beneficial effects. To avoid repetition, I won’t repeat them here.
参见图10,图10是本发明实施例提供的一种电子设备的结构示意图,如图10所示,包括:存储器1002、处理器1001及存储在所述存储器1002上并可在所述处理器1001上运行的计算机程序,其中:Referring to FIG. 10, FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. As shown in FIG. 10, it includes: a memory 1002, a processor 1001, and a memory 1002 that is stored on the memory 1002 and can be stored in the processor. A computer program running on 1001, where:
处理器1001用于调用存储器1002存储的计算机程序,执行如下步骤:The processor 1001 is configured to call a computer program stored in the memory 1002, and execute the following steps:
获取当前监测场景的视频信息,并通过正态分布对所述当前监测场景进行动态背景建模,以得到所述监测场景的背景图像,所述动态背景建模为对所述视频信息中每一帧图像都进行背景建模;Obtain the video information of the current monitoring scene, and perform dynamic background modeling of the current monitoring scene through normal distribution to obtain the background image of the monitoring scene, and the dynamic background modeling is to model each of the video information Frame images are all background modeling;
根据所述背景图像,判断所述视频信息中是否出现前景图像;Judging whether a foreground image appears in the video information according to the background image;
当所述视频信息中出现前景图像时,则持续获取所述前景图像的运动信息,并根据所述运动信息计算所述前景图像的运动轨迹;When a foreground image appears in the video information, the motion information of the foreground image is continuously acquired, and the motion trajectory of the foreground image is calculated according to the motion information;
基于所述前景图像的运动轨迹,判断所述前景图像是否为高空抛物。Based on the movement trajectory of the foreground image, it is determined whether the foreground image is a parabola at high altitude.
可选的,处理器1001执行的所述获取当前监测场景的视频信息,并通过正态分布对所述当前监测场景进行动态背景建模,以得到所述监测场景的背景图像,包括:Optionally, the acquiring video information of the current monitoring scene performed by the processor 1001 and performing dynamic background modeling of the current monitoring scene through normal distribution to obtain a background image of the monitoring scene includes:
获取所述视频信息中的连续帧图像,其中,所述连续帧图像中每个像素点对应K个正态分布,K大于1,所述正态分布包括均值参数、方差参数以及权重参数;Acquiring continuous frame images in the video information, wherein each pixel in the continuous frame image corresponds to K normal distributions, K is greater than 1, and the normal distribution includes a mean parameter, a variance parameter, and a weight parameter;
将当前帧图像的每个像素点的像素值与对应的K个正态分布进行匹配,判断所述每个像素点是否匹配到满足预设条件的正态分布;Matching the pixel value of each pixel of the current frame image with the corresponding K normal distributions, and determining whether each pixel matches a normal distribution that meets a preset condition;
若存在像素值匹配到满足预设条件的M个正态分布的像素点,则将所述M个正态分布进行第一参数更新,并保持其余K-M个正态分布的参数不变,其中,M大于等于1,且M小于等于K;If there are pixels whose pixel values match the M normal distributions that meet the preset conditions, then update the first parameter of the M normal distributions, and keep the parameters of the remaining KM normal distributions unchanged, where, M is greater than or equal to 1, and M is less than or equal to K;
若存在像素值匹配不到满足预设条件的正态分布的像素点,则在所述像素点对应的K个正态分布中选取均值距离最大的正态分布进行权重赋值,基于所述权重赋值对所述K个正态分布进行第二参数更新,所述均值距离为像素点的像素值与正态分布中均值参数的差值;If there is a pixel whose pixel value does not match the normal distribution that meets the preset condition, select the normal distribution with the largest mean distance from the K normal distributions corresponding to the pixel to perform weight assignment, and assign the value based on the weight Performing a second parameter update on the K normal distributions, where the mean distance is the difference between the pixel value of the pixel and the mean parameter in the normal distribution;
基于所述正态分布的方差参数和/或权重参数,选取N个正态分布,并根据所述N个正态分布判断对应像素点是否属于背景像素点,其中,N大于等于1,且N小于等于K;Based on the variance parameter and/or weight parameter of the normal distribution, select N normal distributions, and determine whether the corresponding pixel is a background pixel according to the N normal distributions, where N is greater than or equal to 1, and N Less than or equal to K;
基于所述背景像素点,构建所述当前帧图像的帧背景,并将所述当前帧图像的帧背景更新为所述监测场景的背景图像。Based on the background pixels, the frame background of the current frame image is constructed, and the frame background of the current frame image is updated to the background image of the monitoring scene.
可选的,处理器1001执行的所述根据所述背景图像,判断所述视频信息中是否出现前景图像,包括:Optionally, the determining whether a foreground image appears in the video information according to the background image performed by the processor 1001 includes:
将当前帧图像的每个像素点的像素值与对应的N个正态分布进行匹配,判断所述每个像素点是否匹配到满足预设条件的正态分布;Matching the pixel value of each pixel of the current frame image with the corresponding N normal distributions, and determining whether each pixel matches a normal distribution that meets a preset condition;
若存在像素点匹配不到满足预设条件的正态分布,则判断所述匹配不到满足预设条件的正态分布的像素点为前景像素点;If there is a pixel that does not match the normal distribution that meets the preset condition, it is determined that the pixel that does not match the normal distribution that meets the preset condition is a foreground pixel;
基于所述前景像素点,构建所述当前帧图像的帧前景,并将所述帧图像的帧前景更新为所述监测场景的前景图像。Based on the foreground pixel points, the frame foreground of the current frame image is constructed, and the frame foreground of the frame image is updated to the foreground image of the monitoring scene.
可选的,处理器1001执行的所述基于所述前景图像的运动轨迹,判断所述前景图像是否为高空抛物,包括:Optionally, the determination by the processor 1001 to determine whether the foreground image is a high-altitude parabola based on the movement trajectory of the foreground image includes:
判断所述前景图像的运动轨迹是否为符合预先设置的抛物轨迹;Judging whether the motion trajectory of the foreground image conforms to a preset parabolic trajectory;
若所述前景图像的运动轨迹符合所述预先设置的抛物轨迹,则判断所述前景图像为高空抛物;If the motion trajectory of the foreground image conforms to the preset parabolic trajectory, determining that the foreground image is a high-altitude parabola;
若所述前景图像的运动轨迹不符合所述预先设置的抛物轨迹,则判断所述前景图像不为高空抛物。If the motion trajectory of the foreground image does not conform to the preset parabolic trajectory, it is determined that the foreground image is not a high-altitude parabola.
可选的,处理器1001执行的所述基于所述前景图像的运动轨迹,判断所述前景图像是否为高空抛物,包括:Optionally, the determination by the processor 1001 to determine whether the foreground image is a high-altitude parabola based on the movement trajectory of the foreground image includes:
在所述背景图像中构建多条水平检测线;Constructing multiple horizontal detection lines in the background image;
判断所述前景图像的运动轨迹与所述水平检测线的交点数量是否大于预设的交点数阈值;Judging whether the number of intersections between the movement trajectory of the foreground image and the horizontal detection line is greater than a preset threshold for the number of intersections;
若所述前景图像的运动轨迹与所述水平检测线的交点数量大于预设的交点数阈值,则判断所述前景图像为高空抛物;If the number of intersections between the motion trajectory of the foreground image and the horizontal detection line is greater than a preset threshold of the number of intersections, determining that the foreground image is a parabola at high altitude;
若所述前景图像的运动轨迹与所述水平检测线的交点数量小于预设的交点数阈值,则判断所述前景图像不为高空抛物。If the number of intersections between the motion trajectory of the foreground image and the horizontal detection line is less than a preset number of intersection thresholds, it is determined that the foreground image is not a parabola at high altitude.
可选的,处理器1001还执行包括:Optionally, the processor 1001 further executes including:
若所述前景图像为高空抛物,则向当前监测场景和/或管理部门发出高空抛物的提示警报。If the foreground image is a high-altitude parabola, a high-altitude parabola prompt alarm is issued to the current monitoring scene and/or the management department.
可选的,处理器1001执行的所述若所述前景图像为高空抛物,则向当前监测场景和/或管理部门发出高空抛物的提示警报,包括:Optionally, if the foreground image is a high-altitude parabola executed by the processor 1001, issuing a high-altitude parabola to the current monitoring scene and/or management department includes:
提取所述前景图像;Extracting the foreground image;
对所述前景图像进行特征识别,以识别到所述前景图像所属类别;Performing feature recognition on the foreground image to identify the category to which the foreground image belongs;
根据所述前景图像所属类别,匹配对应的高空抛物等级;Match the corresponding high-altitude parabola level according to the category of the foreground image;
基于所述高空抛物等级,向当前监测场景和/或管理部门发出对应等级的高空抛物提示警报。Based on the high-altitude parabolic level, a corresponding-level high-altitude parabolic alert is issued to the current monitoring scene and/or the management department.
需要说明的是,本发明实施例提供的电子设备可以应用于需要对高空抛物行为进行监测的移动终端、监控器、计算机、服务器等设备。It should be noted that the electronic equipment provided by the embodiments of the present invention can be applied to mobile terminals, monitors, computers, servers and other equipment that need to monitor parabolic behavior at high altitude.
本发明实施例提供的电子设备能够实现上述方法实施例中高空抛物的监测方法实现的各个过程,且可以达到相同的有益效果,为避免重复,这里不再赘述。The electronic device provided by the embodiment of the present invention can implement each process implemented by the method for monitoring parabola at high altitude in the foregoing method embodiment, and can achieve the same beneficial effects. To avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现本发明实施例提供的高空抛物的监测方法的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each process of the method for monitoring a parabolic at high altitude provided by the embodiment of the present invention is implemented, and To achieve the same technical effect, in order to avoid repetition, I will not repeat them here.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory, ROM)或随机存取存储器(Random Access Memory,简称RAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The program can be stored in a computer readable storage medium, and the program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM for short), etc.
Claims (10)
- 一种高空抛物的监测方法,其特征在于,包括以下步骤:A high-altitude parabolic monitoring method is characterized in that it comprises the following steps:获取当前监测场景的视频信息,并通过正态分布对所述当前监测场景进行动态背景建模,以得到所述监测场景的背景图像,所述动态背景建模为对所述视频信息中每一帧图像都进行背景建模;Obtain the video information of the current monitoring scene, and perform dynamic background modeling of the current monitoring scene through normal distribution to obtain the background image of the monitoring scene, and the dynamic background modeling is to model each of the video information Frame images are all background modeling;根据所述背景图像,判断所述视频信息中是否出现前景图像;Judging whether a foreground image appears in the video information according to the background image;当所述视频信息中出现前景图像时,则持续获取所述前景图像的运动信息,并根据所述运动信息计算所述前景图像的运动轨迹;When a foreground image appears in the video information, the motion information of the foreground image is continuously acquired, and the motion trajectory of the foreground image is calculated according to the motion information;基于所述前景图像的运动轨迹,判断所述前景图像是否为高空抛物。Based on the movement trajectory of the foreground image, it is determined whether the foreground image is a parabola at high altitude.
- 如权利要求1所述的方法,其特征在于,所述获取当前监测场景的视频信息,并通过正态分布对所述当前监测场景进行动态背景建模,以得到所述监测场景的背景图像,包括:The method according to claim 1, wherein said acquiring video information of the current monitoring scene, and performing dynamic background modeling of the current monitoring scene through a normal distribution to obtain a background image of the monitoring scene, include:获取所述视频信息中的连续帧图像,其中,所述连续帧图像中每个像素点对应K个正态分布,K大于1,所述正态分布包括均值参数、方差参数以及权重参数;Acquiring continuous frame images in the video information, wherein each pixel in the continuous frame image corresponds to K normal distributions, K is greater than 1, and the normal distribution includes a mean parameter, a variance parameter, and a weight parameter;将当前帧图像的每个像素点的像素值与对应的K个正态分布进行匹配,判断各个像素点是否匹配到满足预设条件的正态分布;Match the pixel value of each pixel of the current frame image with the corresponding K normal distributions, and determine whether each pixel matches the normal distribution that meets the preset conditions;若存在像素值匹配到满足预设条件的M个正态分布的像素点,则将所述M个正态分布进行第一参数更新,并保持其余K-M个正态分布的参数不变,其中,M大于等于1,且M小于等于K;If there are pixels whose pixel values match the M normal distributions that meet the preset conditions, then update the first parameter of the M normal distributions, and keep the parameters of the remaining KM normal distributions unchanged, where, M is greater than or equal to 1, and M is less than or equal to K;若存在像素值匹配不到满足预设条件的正态分布的像素点,则在所述像素点对应的K个正态分布中选取均值距离最大的正态分布进行权重赋值,基于所述权重赋值对所述K个正态分布进行第二参数更新,所述均值距离为像素点的像素值与正态分布中均值参数的差值;If there is a pixel whose pixel value does not match the normal distribution that meets the preset condition, select the normal distribution with the largest mean distance from the K normal distributions corresponding to the pixel to perform weight assignment, and assign the value based on the weight Performing a second parameter update on the K normal distributions, where the mean distance is the difference between the pixel value of the pixel and the mean parameter in the normal distribution;基于所述正态分布的方差参数和/或权重参数,选取N个正态分布,并根据所述N个正态分布判断对应像素点是否属于背景像素点,其中,N大于等于1,且N小于等于K;Based on the variance parameter and/or weight parameter of the normal distribution, select N normal distributions, and determine whether the corresponding pixel is a background pixel according to the N normal distributions, where N is greater than or equal to 1, and N Less than or equal to K;基于所述背景像素点,构建所述当前帧图像的帧背景,并将所述当前帧图像的帧背景更新为所述监测场景的背景图像。Based on the background pixels, the frame background of the current frame image is constructed, and the frame background of the current frame image is updated to the background image of the monitoring scene.
- 如权利要求2所述的方法,其特征在于,所述根据所述背景图像,判断所述视频信息中是否出现前景图像,包括:The method according to claim 2, wherein the determining whether a foreground image appears in the video information according to the background image comprises:将当前帧图像的每个像素点的像素值与对应的N个正态分布进行匹配,判断所述每个像素点是否匹配到满足预设条件的正态分布;Matching the pixel value of each pixel of the current frame image with the corresponding N normal distributions, and determining whether each pixel matches a normal distribution that meets a preset condition;若存在像素点匹配不到满足预设条件的正态分布,则判断所述匹配不到满足预设条件的正态分布的像素点为前景像素点;If there is a pixel that does not match the normal distribution that meets the preset condition, it is determined that the pixel that does not match the normal distribution that meets the preset condition is a foreground pixel;基于所述前景像素点,构建所述当前帧图像的帧前景,并将所述帧图像的帧前景更新为所述监测场景的前景图像。Based on the foreground pixel points, the frame foreground of the current frame image is constructed, and the frame foreground of the frame image is updated to the foreground image of the monitoring scene.
- 如权利要求1所述的方法,其特征在于,所述基于所述前景图像的运动轨迹,判断所述前景图像是否为高空抛物,包括:The method according to claim 1, wherein the judging whether the foreground image is a parabola at high altitude based on the movement trajectory of the foreground image comprises:判断所述前景图像的运动轨迹是否为符合预先设置的抛物轨迹;Judging whether the motion trajectory of the foreground image conforms to a preset parabolic trajectory;若所述前景图像的运动轨迹符合所述预先设置的抛物轨迹,则判断所述前景图像为高空抛物;If the motion trajectory of the foreground image conforms to the preset parabolic trajectory, determining that the foreground image is a high-altitude parabola;若所述前景图像的运动轨迹不符合所述预先设置的抛物轨迹,则判断所述前景图像不为高空抛物。If the motion trajectory of the foreground image does not conform to the preset parabolic trajectory, it is determined that the foreground image is not a high-altitude parabola.
- 如权利要求1所述的方法,其特征在于,所述基于所述前景图像的运动轨迹,判断所述前景图像是否为高空抛物,包括:The method according to claim 1, wherein the judging whether the foreground image is a parabola at high altitude based on the movement trajectory of the foreground image comprises:在所述背景图像中构建多条水平检测线;Constructing multiple horizontal detection lines in the background image;判断所述前景图像的运动轨迹与所述水平检测线的交点数量是否大于预设的交点数阈值;Judging whether the number of intersections between the movement trajectory of the foreground image and the horizontal detection line is greater than a preset threshold for the number of intersections;若所述前景图像的运动轨迹与所述水平检测线的交点数量大于预设的交点数阈值,则判断所述前景图像为高空抛物;If the number of intersections between the motion trajectory of the foreground image and the horizontal detection line is greater than a preset threshold of the number of intersections, determining that the foreground image is a parabola at high altitude;若所述前景图像的运动轨迹与所述水平检测线的交点数量小于预设的交点数阈值,则判断所述前景图像不为高空抛物。If the number of intersections between the motion trajectory of the foreground image and the horizontal detection line is less than a preset number of intersection thresholds, it is determined that the foreground image is not a parabola at high altitude.
- 如权利要求1所述方法,其特征在于,所述方法还包括:The method of claim 1, wherein the method further comprises:若所述前景图像为高空抛物,则向当前监测场景和/或管理部门发出高空抛物的提示警报。If the foreground image is a high-altitude parabola, a high-altitude parabola prompt alarm is issued to the current monitoring scene and/or the management department.
- 如权利要求6所述的方法,其特征在于,所述若所述前景图像为高空抛物,则向当前监测场景和/或管理部门发出高空抛物的提示警报,包括:7. The method according to claim 6, wherein if the foreground image is a parabola at high altitude, sending a high-altitude parabolic alert to the current monitoring scene and/or management department comprises:提取所述前景图像;Extracting the foreground image;对所述前景图像进行特征识别,以识别到所述前景图像所属类别;Performing feature recognition on the foreground image to identify the category to which the foreground image belongs;根据所述前景图像所属类别,匹配对应的高空抛物等级;Match the corresponding high-altitude parabola level according to the category of the foreground image;基于所述高空抛物等级,向当前监测场景和/或管理部门发出对应等级的高 空抛物提示警报。Based on the high-altitude parabolic level, a corresponding level of high-altitude parabolic alert is issued to the current monitoring scene and/or the management department.
- 一种高空抛物的监测装置,其特征在于,所述装置包括:A high-altitude parabolic monitoring device, characterized in that the device comprises:第一获取模块,用于获取当前监测场景的视频信息,并通过正态分布对所述当前监测场景进行动态背景建模,以得到所述监测场景的背景图像,所述动态背景建模为对所述视频信息中每一帧图像都进行背景建模;The first acquisition module is used to acquire video information of the current monitoring scene, and perform dynamic background modeling of the current monitoring scene through normal distribution to obtain a background image of the monitoring scene, and the dynamic background modeling is a pair Background modeling is performed on each frame of image in the video information;第一判断模块,用于根据所述背景图像,判断所述图像信息中是否出现前景图像;The first judgment module is configured to judge whether a foreground image appears in the image information according to the background image;第二获取模块,用于当所述视频信息中出现前景图像时,则持续获取所述前景图像的运动信息,并根据所述运动信息计算所述前景图像的运动轨迹;The second acquisition module is configured to continuously acquire the motion information of the foreground image when a foreground image appears in the video information, and calculate the motion trajectory of the foreground image according to the motion information;第二判断模块,用于基于所述前景图像的运动轨迹,判断所述前景图像是否为高空抛物。The second judgment module is used for judging whether the foreground image is a parabola at high altitude based on the movement track of the foreground image.
- 一种电子设备,其特征在于,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至7中任一项所述的高空抛物的监测方法中的步骤。An electronic device, characterized by comprising: a memory, a processor, and a computer program stored on the memory and capable of running on the processor. The processor executes the computer program as claimed in claim 1. To the step in the method for monitoring a parabola at high altitude as described in any one of 7.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7中任一项所述的高空抛物的监测方法中的步骤。A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the high-altitude parabola according to any one of claims 1 to 7 is realized. The steps in the monitoring method.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911320015.5 | 2019-12-19 | ||
CN201911320015.5A CN111079663B (en) | 2019-12-19 | 2019-12-19 | High-altitude parabolic monitoring method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021120867A1 true WO2021120867A1 (en) | 2021-06-24 |
Family
ID=70315913
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/124096 WO2021120867A1 (en) | 2019-12-19 | 2020-10-27 | High toss act monitoring method and device, electronic device and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111079663B (en) |
WO (1) | WO2021120867A1 (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113516102A (en) * | 2021-08-06 | 2021-10-19 | 上海中通吉网络技术有限公司 | Deep learning parabolic behavior detection method based on video |
CN113553953A (en) * | 2021-07-23 | 2021-10-26 | 城云科技(中国)有限公司 | Vehicle parabolic detection method and device, electronic device and readable storage medium |
CN114241012A (en) * | 2022-02-23 | 2022-03-25 | 深圳市研超科技有限公司 | High-altitude parabolic determination method and device |
CN114332154A (en) * | 2022-03-04 | 2022-04-12 | 英特灵达信息技术(深圳)有限公司 | High-altitude parabolic detection method and system |
CN114339367A (en) * | 2021-12-29 | 2022-04-12 | 杭州海康威视数字技术股份有限公司 | Video frame processing method, device and equipment |
CN114399727A (en) * | 2021-12-14 | 2022-04-26 | 中电信数智科技有限公司 | Dropping object intercepting method and device |
CN114612506A (en) * | 2022-02-19 | 2022-06-10 | 西北工业大学 | Simple, efficient and anti-interference high-altitude parabolic track identification and positioning method |
CN114638861A (en) * | 2022-03-24 | 2022-06-17 | 济南博观智能科技有限公司 | High-altitude parabolic detection method, system and device |
CN115294744A (en) * | 2022-07-29 | 2022-11-04 | 杭州海康威视数字技术股份有限公司 | Image display system, method, device and equipment |
CN115567678A (en) * | 2021-07-01 | 2023-01-03 | 江苏三棱智慧物联发展股份有限公司 | High-altitude parabolic monitoring method and system thereof |
WO2023109664A1 (en) * | 2021-12-13 | 2023-06-22 | 深圳先进技术研究院 | Monitoring method and related product |
CN118071735A (en) * | 2024-04-16 | 2024-05-24 | 深圳勤本电子有限公司 | Liquid leakage detection method and system |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111079663B (en) * | 2019-12-19 | 2022-01-11 | 深圳云天励飞技术股份有限公司 | High-altitude parabolic monitoring method and device, electronic equipment and storage medium |
CN111553274A (en) * | 2020-04-28 | 2020-08-18 | 青岛聚好联科技有限公司 | High-altitude parabolic detection method and device based on trajectory analysis |
CN111723654B (en) * | 2020-05-12 | 2023-04-07 | 中国电子系统技术有限公司 | High-altitude parabolic detection method and device based on background modeling, YOLOv3 and self-optimization |
CN111639578B (en) * | 2020-05-25 | 2023-09-19 | 上海中通吉网络技术有限公司 | Method, device, equipment and storage medium for intelligently identifying illegal parabolic objects |
CN111627049B (en) * | 2020-05-29 | 2023-09-26 | 北京中科晶上科技股份有限公司 | Method and device for determining high-altitude parabolic object, storage medium and processor |
CN111931599B (en) * | 2020-07-20 | 2023-04-18 | 浙江大华技术股份有限公司 | High altitude parabolic detection method, equipment and storage medium |
CN112258573B (en) * | 2020-10-16 | 2022-11-15 | 腾讯科技(深圳)有限公司 | Method and device for acquiring throwing position, computer equipment and storage medium |
CN112329627B (en) * | 2020-11-05 | 2024-02-09 | 重庆览辉信息技术有限公司 | High-altitude throwing object distinguishing method |
CN112365524B (en) * | 2020-11-10 | 2024-03-29 | 宁波博登智能科技有限公司 | High-altitude parabolic real-time alarm system based on time sequence image |
CN112418069B (en) * | 2020-11-19 | 2021-05-11 | 中科智云科技有限公司 | High-altitude parabolic detection method and device, computer equipment and storage medium |
CN112800846B (en) * | 2020-12-30 | 2024-08-27 | 深圳云天励飞技术股份有限公司 | High-altitude parabolic monitoring method and device, electronic equipment and storage medium |
CN112800868B (en) * | 2021-01-13 | 2022-10-25 | 华南理工大学 | High-altitude parabolic monitoring method based on event camera acquisition and analysis device |
CN112926538B (en) * | 2021-04-08 | 2022-06-24 | 广州绿简智能科技有限公司 | High-altitude parabolic identification method based on monitoring video |
CN113178050B (en) * | 2021-04-30 | 2022-12-27 | 重庆天智慧启科技有限公司 | Smart community management system |
CN113158963B (en) * | 2021-05-06 | 2024-06-07 | 英特灵达信息技术(深圳)有限公司 | Method and device for detecting high-altitude parabolic objects |
CN113255697B (en) * | 2021-06-01 | 2024-07-26 | 南京图菱视频科技有限公司 | High-precision high-altitude parabolic detection system and method in complex scene |
CN113781516B (en) * | 2021-11-11 | 2022-06-21 | 湖南汇视威智能科技有限公司 | High-altitude parabolic detection method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040105597A1 (en) * | 2002-12-03 | 2004-06-03 | Docomo Communications Laboratories Usa, Inc. | Representation and coding of panoramic and omnidirectional images |
CN101957997A (en) * | 2009-12-22 | 2011-01-26 | 北京航空航天大学 | Regional average value kernel density estimation-based moving target detecting method in dynamic scene |
CN103700114A (en) * | 2012-09-27 | 2014-04-02 | 中国航天科工集团第二研究院二O七所 | Complex background modeling method based on variable Gaussian mixture number |
CN109309811A (en) * | 2018-08-31 | 2019-02-05 | 中建三局智能技术有限公司 | A kind of throwing object in high sky detection system based on computer vision and method |
CN109872341A (en) * | 2019-01-14 | 2019-06-11 | 中建三局智能技术有限公司 | A kind of throwing object in high sky detection method based on computer vision and system |
CN111079663A (en) * | 2019-12-19 | 2020-04-28 | 深圳云天励飞技术有限公司 | High-altitude parabolic monitoring method and device, electronic equipment and storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6263088B1 (en) * | 1997-06-19 | 2001-07-17 | Ncr Corporation | System and method for tracking movement of objects in a scene |
CN103096185B (en) * | 2012-12-30 | 2016-04-20 | 信帧电子技术(北京)有限公司 | A kind of video abstraction generating method and device |
CN103686095B (en) * | 2014-01-02 | 2017-05-17 | 中安消技术有限公司 | Video concentration method and system |
CN105302151B (en) * | 2014-08-01 | 2018-07-13 | 深圳中集天达空港设备有限公司 | A kind of system and method for aircraft docking guiding and plane type recognition |
CN108459785A (en) * | 2018-01-17 | 2018-08-28 | 中国科学院软件研究所 | A kind of video multi-scale visualization method and exchange method |
-
2019
- 2019-12-19 CN CN201911320015.5A patent/CN111079663B/en active Active
-
2020
- 2020-10-27 WO PCT/CN2020/124096 patent/WO2021120867A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040105597A1 (en) * | 2002-12-03 | 2004-06-03 | Docomo Communications Laboratories Usa, Inc. | Representation and coding of panoramic and omnidirectional images |
CN101957997A (en) * | 2009-12-22 | 2011-01-26 | 北京航空航天大学 | Regional average value kernel density estimation-based moving target detecting method in dynamic scene |
CN103700114A (en) * | 2012-09-27 | 2014-04-02 | 中国航天科工集团第二研究院二O七所 | Complex background modeling method based on variable Gaussian mixture number |
CN109309811A (en) * | 2018-08-31 | 2019-02-05 | 中建三局智能技术有限公司 | A kind of throwing object in high sky detection system based on computer vision and method |
CN109872341A (en) * | 2019-01-14 | 2019-06-11 | 中建三局智能技术有限公司 | A kind of throwing object in high sky detection method based on computer vision and system |
CN111079663A (en) * | 2019-12-19 | 2020-04-28 | 深圳云天励飞技术有限公司 | High-altitude parabolic monitoring method and device, electronic equipment and storage medium |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115567678A (en) * | 2021-07-01 | 2023-01-03 | 江苏三棱智慧物联发展股份有限公司 | High-altitude parabolic monitoring method and system thereof |
CN113553953A (en) * | 2021-07-23 | 2021-10-26 | 城云科技(中国)有限公司 | Vehicle parabolic detection method and device, electronic device and readable storage medium |
CN113553953B (en) * | 2021-07-23 | 2024-02-06 | 城云科技(中国)有限公司 | Vehicle parabolic detection method and device, electronic device and readable storage medium |
CN113516102A (en) * | 2021-08-06 | 2021-10-19 | 上海中通吉网络技术有限公司 | Deep learning parabolic behavior detection method based on video |
WO2023109664A1 (en) * | 2021-12-13 | 2023-06-22 | 深圳先进技术研究院 | Monitoring method and related product |
CN114399727A (en) * | 2021-12-14 | 2022-04-26 | 中电信数智科技有限公司 | Dropping object intercepting method and device |
CN114339367B (en) * | 2021-12-29 | 2023-06-27 | 杭州海康威视数字技术股份有限公司 | Video frame processing method, device and equipment |
CN114339367A (en) * | 2021-12-29 | 2022-04-12 | 杭州海康威视数字技术股份有限公司 | Video frame processing method, device and equipment |
CN114612506A (en) * | 2022-02-19 | 2022-06-10 | 西北工业大学 | Simple, efficient and anti-interference high-altitude parabolic track identification and positioning method |
CN114612506B (en) * | 2022-02-19 | 2024-03-15 | 西北工业大学 | Simple, efficient and anti-interference high-altitude parabolic track identification and positioning method |
CN114241012A (en) * | 2022-02-23 | 2022-03-25 | 深圳市研超科技有限公司 | High-altitude parabolic determination method and device |
CN114332154B (en) * | 2022-03-04 | 2022-06-14 | 英特灵达信息技术(深圳)有限公司 | High-altitude parabolic detection method and system |
CN114332154A (en) * | 2022-03-04 | 2022-04-12 | 英特灵达信息技术(深圳)有限公司 | High-altitude parabolic detection method and system |
CN114638861A (en) * | 2022-03-24 | 2022-06-17 | 济南博观智能科技有限公司 | High-altitude parabolic detection method, system and device |
CN115294744A (en) * | 2022-07-29 | 2022-11-04 | 杭州海康威视数字技术股份有限公司 | Image display system, method, device and equipment |
CN115294744B (en) * | 2022-07-29 | 2024-03-22 | 杭州海康威视数字技术股份有限公司 | Image display system, method, device and equipment |
CN118071735A (en) * | 2024-04-16 | 2024-05-24 | 深圳勤本电子有限公司 | Liquid leakage detection method and system |
Also Published As
Publication number | Publication date |
---|---|
CN111079663B (en) | 2022-01-11 |
CN111079663A (en) | 2020-04-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021120867A1 (en) | High toss act monitoring method and device, electronic device and storage medium | |
US11102417B2 (en) | Target object capturing method and device, and video monitoring device | |
US10007850B2 (en) | System and method for event monitoring and detection | |
CN106600888B (en) | Automatic forest fire detection method and system | |
CN104303193B (en) | Target classification based on cluster | |
JP5388829B2 (en) | Intruder detection device | |
US8243987B2 (en) | Object tracking using color histogram and object size | |
US10540552B2 (en) | Device and method surveilling abnormal behavior using 3D image information | |
CN104658152B (en) | A kind of moving object intrusion alarm method based on video | |
CN110853295A (en) | High-altitude parabolic early warning method and device | |
CN111488799B (en) | Falling object identification method and system based on image identification | |
US20080136934A1 (en) | Flame Detecting Method And Device | |
WO2019052318A1 (en) | Method, apparatus and system for monitoring elevator car | |
CN108389359B (en) | Deep learning-based urban fire alarm method | |
WO2022078182A1 (en) | Throwing position acquisition method and apparatus, computer device and storage medium | |
US20060056702A1 (en) | Image processing apparatus and image processing method | |
CN104463253B (en) | Passageway for fire apparatus safety detection method based on adaptive background study | |
CN110633643A (en) | Abnormal behavior detection method and system for smart community | |
CN112733690A (en) | High-altitude parabolic detection method and device and electronic equipment | |
WO2022142414A1 (en) | High-rise littering monitoring method and apparatus, electronic device, and storage medium | |
CN112132043A (en) | Fire fighting channel occupation self-adaptive detection method based on monitoring video | |
CN110969642B (en) | Video filtering method and device, electronic equipment and storage medium | |
KR101681282B1 (en) | Apparatus and method for object detection | |
CN107016350A (en) | A kind of Falls Among Old People detection method based on depth camera | |
KR102081577B1 (en) | Intelligence Fire Detecting System Using CCTV |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20901906 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22/11/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20901906 Country of ref document: EP Kind code of ref document: A1 |