A method, system, device and storage medium for detecting objects thrown from a high altitude

Through video image preprocessing and moving object recognition, combined with Gaussian mixture model and Kalman filter algorithm for high-altitude parabola detection, the problem of insufficient tracking and real-time performance in the existing technology is solved, efficient and accurate high-altitude parabola detection is achieved, and the cost is reduced Hardware and R&D costs.

CN115719362BActive Publication Date: 2024-10-29HAINA CLOUD IOT TECH CO LTD +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202210609539.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-31
Publication Date
2024-10-29
Estimated Expiration
2042-05-31

AI Technical Summary

Technical Problem

Existing high-altitude parabola detection algorithms have shortcomings in tracking and real-time performance, which can easily lead to target loss, misidentification, and missed recognition. Moreover, the hardware cost is high, the R&D and deployment costs are large, and real-time monitoring during the high-altitude parabola process is impossible.

Method used

It uses video image preprocessing, moving object recognition and filtering, combines Gaussian mixture model and Kalman filter algorithm for target tracking, uses the Hungarian algorithm to match trajectories, optimizes high-altitude parabola judgment, reduces hardware performance requirements, and achieves real-time judgment during the parabola falling process. and call the police.

Benefits of technology

It improves the real-time and accuracy of high-altitude parabola detection, reduces the false alarm rate, reduces hardware and R&D costs, and realizes real-time monitoring and alarming during the falling parabola.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115719362B_ABST
    Figure CN115719362B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, system, device and storage medium for detecting objects thrown from a high altitude, the method comprising the following steps: obtaining a video image of a target floor, and preprocessing the video image data; performing moving object recognition on the preprocessed video image to detect the moving object in the current video image; filtering all moving objects detected in the current video image to exclude objects that do not meet the characteristics of objects thrown from a high altitude, and obtaining the positions of all moving objects that meet the conditions in the video image; judging whether there are objects thrown from a high altitude in the moving objects that meet the conditions in the current video image, and if there are objects thrown from a high altitude, judging whether the alarm conditions for objects thrown from a high altitude are met, and if the alarm conditions are met, an alarm is triggered. The present invention has low requirements on hardware computing power, improves the real-time performance of detecting objects thrown from a high altitude, reduces the false alarm rate, and improves accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of high-altitude object dropping detection, in particular to artificial intelligence technology and intelligent security technology, and specifically to a high-altitude object dropping detection method, system, device and storage medium. Background Art

[0002] The detection and source tracing of objects dropped from high places have become the current pain points and key issues. Previously, the detection, tracing and accountability of objects dropped from high places mainly relied on security personnel to infer the time and floor of the incident and to find the source of the objects dropped from high places by checking the video. This approach is time-consuming and labor-intensive, so the need to use intelligent monitoring methods to detect objects dropped from high places is more urgent.

[0003] The current algorithm for detecting objects dropped from high altitude mainly relies on high-definition cameras to capture images, and then uses deep learning methods to detect objects dropped from high altitude in large-size images. This solution requires high-computing hardware support, such as GPU, NPU, and high-performance CPU. The hardware cost is high and it is not conducive to deployment on the terminal side. In addition, objects dropped from high altitude are of various types and small targets, so more training samples are required and they are difficult to obtain. This has greatly increased the cost of research and development and deployment. The current solution's judgment on whether the target is an object dropped from high altitude mostly occurs after the throwing process is completed, and the real-time performance is relatively poor.

[0004] For example, the Chinese invention patent, application number 2020111240131, is a method and system for detecting and identifying high-altitude dropped objects based on machine vision. The invention uses IOU as the tracking basis for target tracking, but it is easy to cause target loss, misidentification and missed identification, and the accuracy is poor; the judgment of the dropped object occurs after the falling process is completed, and the real-time performance is relatively poor.

[0005] For example, the Chinese invention patent, publication number CN112800953A, is a system and method for detecting, tracking and warning of objects dropped from a high altitude based on computer vision. The invention uses the vibe algorithm to extract and detect moving targets, and uses a multi-target motion detection algorithm that combines the Kalman filter algorithm with the Hungarian algorithm to judge objects dropped from a high altitude. If the object meets the characteristics of objects dropped from a high altitude, an alarm will be sounded. However, this method also determines whether the trajectory meets the characteristics of objects dropped from a high altitude after the object's falling process is completed.

[0006] Therefore, the existing high-altitude object detection algorithm has the following main disadvantages:

[0007] 1. The current high-altitude object detection algorithm mainly determines the trajectory based on the coordinates and numbers of the high-altitude objects output by the tracking algorithm. Due to the high falling speed and small target of high-altitude objects, the algorithm is prone to tracking failure when tracking the target trajectory. The following two situations occur: (1) The entire falling process cannot be fully tracked and the target is lost during tracking; (2) The target is lost during the tracking process, but the high-altitude object trajectory is re-matched after a few frames. At this time, two different trajectories of the same high-altitude object are detected. When the alarm is reported, there are two objects, but in fact they are just different segments of the same falling trajectory. Relying entirely on the trajectory obtained by the tracking algorithm to make judgments is prone to false alarms.

[0008] 2. The existing technology is to calculate the motion characteristics of the object based on the complete trajectory of the object obtained by the tracking algorithm after the high-altitude throwing process is completed, and determine whether it is a high-altitude throwing. This method cannot achieve real-time monitoring.

[0009] The current implementation method of the high-altitude object dropping algorithm is mainly to use deep learning for high-altitude object dropping detection. This method requires high-performance hardware, and the types of high-altitude objects are diverse and the targets are small. The required training samples are large and difficult to obtain, which greatly increases the R&D and deployment costs.

[0010] In view of this, the present invention is proposed. Summary of the invention

[0011] The technical problem to be solved by the present invention is to overcome the deficiencies of the prior art and provide a method, system, device and storage medium for detecting objects thrown from a high place, which improve the real-time performance of the detection, reduce the false alarm rate and improve the accuracy.

[0012] In order to solve the above technical problems, the basic concept of the technical solution adopted by the present invention is:

[0013] In a first aspect, a method for detecting objects thrown from a high altitude is provided, the method comprising the following steps:

[0014] Acquire the video image of the target floor and perform data preprocessing on the video image;

[0015] Performing moving object recognition on the preprocessed video image to detect the moving object in the current video image;

[0016] Filter all moving objects detected in the current video image to exclude objects that do not meet the characteristics of high-altitude projectiles, and obtain the positions of all moving objects that meet the conditions in the video image;

[0017] Determine whether there are objects thrown from high altitude in the moving object that meets the conditions in the current video image. If there are objects thrown from high altitude, determine whether it meets the alarm conditions for objects thrown from high altitude. If it meets the alarm conditions, an alarm is triggered.

[0018] In a preferred embodiment of any of the above schemes, the step of acquiring a video image of a target floor and performing data preprocessing on the video image specifically includes:

[0019] The high-altitude object-dropping camera collects video images of the target floor;

[0020] Transmit the collected video images to the arm chip;

[0021] The size of the video image is reduced by using mean pooling.

[0022] In a preferred embodiment of any of the above schemes, the step of performing moving object recognition on the preprocessed video image to detect the moving object in the current video image specifically includes the following steps:

[0023] Use the first N frames of the video image to initialize the Gaussian mixture model for background modeling;

[0024] Use a Gaussian mixture model on subsequent video frames to predict whether each pixel belongs to the current frame or the background image;

[0025] Compare the current frame image with the background image to obtain the potential moving target in the current frame image and output the mask image of the moving target.

[0026] In a preferred embodiment of any of the above schemes, filtering all moving objects detected in the current video image specifically includes the following steps:

[0027] Calculate the area of ​​each moving object in the mask image of the moving target;

[0028] Filter out objects whose size does not meet the characteristics of high-altitude parabolic objects;

[0029] Record the center point coordinates, width and height of the moving object that meets the characteristics of high-altitude parabolic objects on the mask map.

[0030] In any of the above schemes, a preferred embodiment further includes:

[0031] Determine at least three points through which the high-altitude projectile moves;

[0032] Based on the points, the trajectory curve of the motion is determined.

[0033] In a preferred embodiment of any of the above schemes, the step of determining whether there is a high-altitude parabolic object in the current video image that meets the conditions comprises the following steps:

[0034] Get the center point coordinates, width and height of the moving object that meets the characteristics of high-altitude parabolic objects on the mask map;

[0035] When a target is detected for the first time, the Kalman filter algorithm is used to initialize the parameters of each target and create a trajectory corresponding to the number of targets. If it is not the first time a target is detected, the Kalman filter algorithm is used to predict the next position of each trajectory.

[0036] After obtaining the predicted next step position of each trajectory, the Hungarian algorithm is used to match all objects detected in the current frame with the predicted position of each trajectory;

[0037] For points that are not matched successfully, a new trajectory is established with the point as the starting point. For unmatched trajectories, it is determined whether the trajectory has been previously determined to be a high-altitude object. If not, the trajectory is directly deleted. If it is a high-altitude object trajectory, if the number of mismatches of the trajectory reaches the limit, the trajectory is deleted, otherwise the trajectory is retained; for points and trajectories that have matched each other, the high-altitude object judgment stage is entered.

[0038] In a preferred embodiment of any of the above schemes, the high-altitude object throwing judgment stage specifically includes the following steps:

[0039] When the trajectory is not marked as a high-altitude object, the point is added to the matching trajectory. If the number of points in the trajectory is <3 at this time, continue to traverse other points and trajectories; if the number of points in the trajectory is ≥3 at this time, calculate whether the relationship between the current point and other points in the trajectory meets the characteristics of high-altitude objects.

[0040] After adopting the above technical scheme, the present invention has the following beneficial effects compared with the prior art.

[0041] The present invention can determine whether the target meets the characteristics of high-altitude objects during the target tracking stage, and can filter out interference factors such as flying birds that do not meet the movement laws of high-altitude objects in real time. There is no need to wait for the high-altitude objects to be completed before judging and then giving an alarm. The judgment and alarm can be completed during the falling process of the high-altitude objects, thereby improving the real-time performance of the present invention.

[0042] The present invention optimizes the high-altitude object dropping alarm mode. By judging whether the high-altitude object dropping alarm conditions are met, the method of judging whether to alarm based on the trajectory number and coordinates given by the tracking algorithm is abandoned. The hardware computing power requirement is low, and no massive data is required for model training. The algorithm can be run on an ARM processor, and no high-performance CPU, GPU and NPU are required, which reduces the research and development and deployment costs, improves the real-time performance of high-altitude object dropping detection, reduces the false alarm rate, and improves accuracy.

[0043] In a second aspect, a high-altitude object throwing detection system includes:

[0044] An acquisition module is used to acquire a video image of a target floor and perform data preprocessing on the video image, wherein the video image of the target floor is acquired and the video image is preprocessed by reducing the image in a mean pooling manner;

[0045] The recognition module is used to process the preprocessed video image by initializing the Gaussian mixture model, predict that each pixel belongs to the current frame image or the background image, compare the current frame image with the background image, obtain the potential moving target in the current frame image, and output the mask image of the moving target;

[0046] The filtering module is used to filter out all moving objects detected in the current video image, and to remove objects whose area does not meet the characteristics of high-altitude parabolic objects, and to record the center point coordinates, width and height of the moving objects that meet the characteristics of high-altitude parabolic objects on the mask map;

[0047] The judgment module is used to judge whether there are objects thrown from high altitude in the moving object that meets the conditions in the current video image. If there are objects thrown from high altitude, it is judged whether the alarm conditions for objects thrown from high altitude are met. If the alarm conditions are met, an alarm is triggered.

[0048] After adopting the above technical solution, the beneficial effects of the second aspect are the same as those of the first aspect, so they will not be described in detail here.

[0049] In a third aspect, a device for detecting objects thrown from a high altitude includes:

[0050] Memory for storing computer programs;

[0051] A processor is used to implement the steps of the method for detecting objects thrown from a high altitude when executing the computer program.

[0052] The beneficial effects of the third aspect are consistent with those of the first aspect, so they will not be described in detail here.

[0053] In a fourth aspect, a storage medium stores a computer program, which implements the method for detecting objects thrown from a high altitude when executed by a processor.

[0054] The fourth aspect has the same beneficial effects as the first aspect, so it will not be described in detail here.

[0055] The specific implementation modes of the present invention are further described in detail below in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] The accompanying drawings are part of the present invention and are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but do not constitute an improper limitation of the present invention. Obviously, the drawings described below are only some embodiments. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the accompanying drawings:

[0057] Figure 1 It is a schematic flow chart of the method for detecting objects thrown from a high altitude of the present invention.

[0058] Figure 2 It is a schematic diagram of the image acquisition and processing flow of the high-altitude object detection method of the present invention.

[0059] Figure 3 It is a schematic diagram of mean pooling of the high-altitude object detection method of the present invention.

[0060] Figure 4 It is a schematic diagram of the moving object detection process of the high-altitude projectile detection method of the present invention.

[0061] Figure 5 It is a schematic diagram of the target filtering process of the high-altitude object detection method of the present invention.

[0062] Figure 6 It is a schematic diagram of the high-altitude object throwing judgment process of the high-altitude object throwing detection method of the present invention.

[0063] Figure 7 It is a schematic diagram of high-altitude object throwing judgment rules of the high-altitude object throwing detection method of the present invention.

[0064] Figure 8 It is a schematic diagram of the alarm judgment rules of the method for detecting objects thrown from a high place of the present invention.

[0065] Fig. 9 It is a schematic diagram of an array queue of the high-altitude object detection method of the present invention.

[0066] Fig.10 This is a schematic diagram of a high-altitude object throwing detection system according to an embodiment of the present application.

[0067] Fig.11 This is a schematic diagram of the high-altitude object throwing detection equipment according to an embodiment of the present application.

[0068] It should be noted that these drawings and textual descriptions are not intended to limit the conceptual scope of the present invention in any way, but are intended to illustrate the concept of the present invention for those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0069] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The following embodiments are used to illustrate the present invention but are not used to limit the scope of the present invention.

[0070] like Figure 1 As shown, the present invention provides a method for detecting objects thrown from a high altitude, the method comprising the following steps:

[0071] Step 1: Obtain the video image of the target floor and perform data preprocessing on the video image;

[0072] Step 2: Perform moving object recognition on the preprocessed video image to detect the moving object in the current video image;

[0073] Step 3: Filter all moving objects detected in the current video image to exclude objects that do not meet the characteristics of high-altitude projectiles, and obtain the positions of all moving objects that meet the conditions in the video image;

[0074] Step 4: Determine whether there is any high-altitude dropping object among the moving objects that meet the conditions in the current video image. If there is any high-altitude dropping object, determine whether it meets the alarm conditions for high-altitude dropping objects. If it meets the alarm conditions, an alarm is triggered.

[0075] In the method for detecting objects dropped from high altitude described in the embodiment of the present invention, by optimizing the process of judging objects dropped from high altitude, it is possible to judge whether the target is an object dropped from high altitude in the tracking stage, thereby improving the real-time performance of the algorithm and optimizing the alarm method for objects dropped from high altitude. By judging whether the alarm conditions for objects dropped from high altitude are met, the method of judging whether to alarm based on the trajectory number and coordinates given by the tracking algorithm is abandoned. There is no need for model training using massive data, thereby improving the real-time performance of detection of objects dropped from high altitude, reducing the false alarm rate, and improving accuracy.

[0076] like Figure 2 and Figure 3 As shown, the acquisition of the video image of the target floor and the preprocessing of the video image data specifically include:

[0077] Step 11: The high-altitude object-dropping camera collects video images of the target floor;

[0078] Step 12: Transmit the collected video image to the arm chip;

[0079] Step 13: Reduce the size of the video image by using mean pooling.

[0080] In the high-altitude object detection method described in the embodiment of the present invention, the high-altitude object camera is a high-definition high-altitude object camera, which mainly performs real-time video acquisition. The arm chip is the main computing unit and the carrier of the algorithm. In the embodiment of the present invention, by processing the video image with mean pooling, the hardware computing power requirements can be low, and there is no need for massive data to train the model. The algorithm can run on the arm processor without the need for high-performance CPU, GPU and NPU, thereby reducing the cost of research and development and deployment. In the embodiment of the present invention, the mean pooling method is as follows: Figure 3 As shown in the figure, assuming that the pixels of an image are N*N and the pooling kernel size is n*n, then the sliding step of the pooling kernel is n. At this time, the size of the reduced image is The image after reduction (that is, the average value of pixels within the pooling kernel range). By adopting this method, the high-resolution image acquired by the high-definition camera is converted into a low-resolution image, and the appearance of ripples in the image is avoided, so that the reduced image is kept consistent with the original image as much as possible.

[0081] like Figure 4 As shown, the process of performing moving object recognition on the preprocessed video image to detect the moving object in the current video image specifically includes the following steps:

[0082] Step 21: Use the first N frames of the video image to initialize the Gaussian mixture model for background modeling;

[0083] Step 22: Use a Gaussian mixture model on subsequent video frame images to predict whether each pixel belongs to the current frame image or the background image;

[0084] Step 23: Compare the current frame image with the background image to obtain potential moving targets in the current frame image, and output a mask image of the moving target.

[0085] In the method for detecting high-altitude objects described in the embodiment of the present invention, a Gaussian mixture model (Gaussian Mixture Model, GMM) is used to detect moving objects. The Gaussian mixture model is to accurately quantify things using a Gaussian probability density function (normal distribution curve), decompose an object into several models based on the Gaussian probability density function (normal distribution curve), and establish the principle and process of the Gaussian model for the image background: the image grayscale histogram reflects the frequency of occurrence of a certain grayscale value in the image, and can also be considered as an estimate of the image grayscale probability density. If the target area and the background area contained in the image are relatively different, and the background area and the target area have a certain difference in grayscale, then the grayscale histogram of the image presents a double peak-valley shape, in which one peak corresponds to the target and the other peak corresponds to the center grayscale of the background. By considering the multi-peak characteristics of the histogram as the superposition of multiple Gaussian distributions, the image segmentation problem can be solved. The embodiment of the present invention uses the first N frames of the video image. In the embodiment of the present invention, preferably, 14 frames are used to improve the sensitivity and accuracy of moving object detection.

[0086] like Figure 5 As shown, filtering all moving objects detected in the current video image specifically includes the following steps:

[0087] Step 31: Calculate the area of ​​each moving object in the mask image of the moving target;

[0088] Step 32: Filter out objects whose size does not meet the characteristics of high-altitude parabolic objects;

[0089] Step 33: Record the center point coordinates, width and height of the moving object that meets the characteristics of high-altitude parabolic objects on the mask map.

[0090] In the method for detecting high-altitude objects thrown from a high altitude described in an embodiment of the present invention, by calculating the area (number of pixels) of each moving object in the mask image obtained in the previous step, objects whose area does not meet the characteristics of high-altitude objects thrown from a high altitude (area is too large or too small) are filtered out, and the center point coordinates, width and height of the moving objects that meet the characteristics of high-altitude objects thrown from a high altitude on the mask image are recorded, so that interference (such as flying birds, rain, snow, flying insects, etc.) from high-altitude objects thrown from a high altitude in the video image can be filtered out.

[0091] like Figure 6 As shown, the trajectory of the object with the feature of high-altitude projectiles is composed of at least 3 points. The method of judging whether there is a high-altitude projectile in the current video image that meets the conditions of the moving object specifically includes the following steps:

[0092] Step 41: Obtain the center point coordinates, width and height of the moving object that meets the characteristics of high-altitude parabolic objects on the mask image;

[0093] Step 42: When a target is detected for the first time, the parameters of each target are initialized using the Kalman filter algorithm, and a trajectory corresponding to the number of targets is created. If the target is not detected for the first time, the Kalman filter algorithm is used to predict the next position of each trajectory.

[0094] Step 43: After obtaining the predicted next position of each trajectory, the Hungarian algorithm is used to match all targets detected in the current frame with the predicted position of each trajectory. In the tracking stage, it can be determined whether the target meets the falling characteristics of high-altitude objects, effectively filtering out interference from non-high-altitude objects, and improving the accuracy of high-altitude object judgment;

[0095] Step 44: For the points that are not successfully matched, a new trajectory is established with the point as the starting point. For the unmatched trajectory, it is determined whether the trajectory has been determined to be a high-altitude object. If not, the trajectory is directly deleted. If it is a high-altitude object trajectory, if the number of mismatches of the trajectory reaches a limit, the trajectory is deleted, otherwise the trajectory is retained; for the points and trajectories that have matched each other, the high-altitude object judgment stage is entered; the high-altitude object judgment stage specifically includes the following steps: when the trajectory is not marked as a high-altitude object, the point is added to the trajectory that matches it. If the number of points in the trajectory is <3 at this time, other points and trajectories are continued to be traversed; if the number of points in the trajectory is ≥3 at this time, the relationship between the current point and other points in the trajectory is calculated to see whether it meets the characteristics of high-altitude objects.

[0096] like Figure 7 As shown, in the method for detecting objects thrown from a high altitude described in the embodiment of the present invention, the rules for judging objects thrown from a high altitude include the following steps:

[0097] 1) Since the high altitude projectile has a downward acceleration, y1 is required <y2;

[0098] 2) Since the high-altitude projectile moves downward, y1>0 and y2>0 are required;

[0099] 3) Since the lateral movement of high-altitude objects is small, if the lateral movement is too large, it may be interference such as flying birds, so (y1+y2)>(x1+x2) is required;

[0100] 4) Since this is the initial stage of high-altitude parabolic projection, the displacements of p2 and p3 are small, and the threshold of y1 is set to δ y1 , the threshold of y2 is δ y2 , then y1≤δ y1 , y2≤δ y2 ;

[0101] If the trajectory and the target meet the above judgment rules, the trajectory is marked as a high-altitude object, and the current target is marked as a high-altitude object. Otherwise, the trajectory is deleted.

[0102] When the trajectory has been marked as a high-altitude parabola, since the trajectory has been determined, it is only necessary to determine the difference between the current target and the previous target in the trajectory (such as Figure 7 As shown, the relationship between p2 and p3 is whether it is a high-altitude projectile, and the high-altitude projectile has a downward acceleration, so the distance y2 between each frame will become larger, so the threshold of y2 needs to be expanded. The judgment rules at this time are as follows:

[0103] 1) Since this is the middle stage of high-altitude parabolic projection, the displacements of p2 and p3 will increase, so the longitudinal threshold is set to δ y , then y2<δ y ;

[0104] 2) Since the lateral movement of high-altitude objects is small, if the lateral movement is too large, it may be interference such as flying birds, so the lateral threshold is set to δ x , requires x2<δ x , and y2>x2 is required.

[0105] After judging by the above rules, the targets that meet the characteristics of high-altitude objects are marked as high-altitude objects and added to the corresponding tracks.

[0106] like Figure 8 and Fig. 9 As shown, in the method for detecting high-altitude objects dropped in the embodiment of the present invention, it is determined whether the detection result meets the alarm condition for high-altitude objects dropped. If the condition is met, an alarm is triggered, otherwise, no alarm is triggered. In the embodiment of the present invention, an array queue with a fixed length of L is established, and the queue element value is initialized to 0. When a high-altitude object is detected in the current frame, 1 is inserted to the end of the queue and the head element is removed. When no high-altitude object is detected in the current frame, 0 is inserted to the end of the queue and the head element is removed. The alarm threshold for high-altitude objects dropped can be set to T. When the number of 1s is greater than T, an alarm is triggered, otherwise no alarm is triggered. Since high-altitude objects drop at a fast speed and the target is small, tracking failure is easily caused. The following two situations occur: (1) the target is lost halfway through tracking; (2) for the same falling process, the tracking is interrupted halfway, and the target is captured again and tracking continues, which is displayed as two trajectories and reported twice. In view of this situation, the present invention abandons the method of judging whether to alarm based on the trajectory number and coordinates given by the tracking algorithm, thereby improving the accuracy of the algorithm and reducing the false alarm rate.

[0107] After adopting the above technical scheme, the present invention has the following beneficial effects compared with the prior art.

[0108] The present invention can determine whether the target meets the characteristics of high-altitude objects during the target tracking stage, and can filter out interference factors such as flying birds that do not meet the movement laws of high-altitude objects in real time. There is no need to wait for the high-altitude objects to be completed before judging and then giving an alarm. The judgment and alarm can be completed during the falling process of the high-altitude objects, thereby improving the real-time performance of the present invention.

[0109] The present invention optimizes the high-altitude object dropping alarm mode. By judging whether the high-altitude object dropping alarm conditions are met, the method of judging whether to alarm based on the trajectory number and coordinates given by the tracking algorithm is abandoned. No massive data is required for model training, which improves the real-time performance of high-altitude object dropping detection, reduces the false alarm rate, and improves accuracy.

[0110] like Fig.10 As shown, a high-altitude object detection system includes:

[0111] An acquisition module is used to acquire a video image of a target floor and perform data preprocessing on the video image, wherein the video image of the target floor is acquired and the video image is preprocessed by reducing the image in a mean pooling manner;

[0112] The recognition module is used to process the preprocessed video image by initializing the Gaussian mixture model, predict that each pixel belongs to the current frame image or the background image, compare the current frame image with the background image, obtain the potential moving target in the current frame image, and output the mask image of the moving target;

[0113] The filtering module is used to filter out all moving objects detected in the current video image, and to remove objects whose area does not meet the characteristics of high-altitude parabolic objects, and to record the center point coordinates, width and height of the moving objects that meet the characteristics of high-altitude parabolic objects on the mask map;

[0114] The judgment module is used to judge whether there are objects thrown from high altitude in the moving object that meets the conditions in the current video image. If there are objects thrown from high altitude, it is judged whether the alarm conditions for objects thrown from high altitude are met. If the alarm conditions are met, an alarm is triggered.

[0115] like Fig.11 As shown, a device for detecting objects dropped from a height comprises: a memory for storing a computer program; a processor for implementing the steps of the method for detecting objects dropped from a height when executing the computer program. The processor is used to control the overall operation of the measuring device to complete all or part of the steps in the above-mentioned method for detecting objects dropped from a height. The memory is used to store various types of data to support the operation of the measuring device. These data may include, for example, instructions for any application or method for operating on the measuring device, as well as application-related data, such as contact data, messages sent and received, pictures, audio, video, etc. The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof.

[0116] For example, static random access memory (SRAM); electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or optical disk. The multimedia component may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in a memory or sent through a communication component. The audio component also includes at least one speaker for outputting an audio signal. The I / O interface provides an interface between the processor and other interface modules, and the above-mentioned other interface modules may be a keyboard, a mouse, a button, etc. These buttons may be virtual buttons or physical buttons. The communication component is used for wired or wireless communication between the measuring device and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G or 5G, or a combination of one or more of them, so the corresponding communication component may include: Wi-Fi module, Bluetooth module, NFC module.

[0117] In an exemplary embodiment, the measuring device may be one or more application specific integrated circuits (Application Specific Integrated Circuit, referred to as ASIC);

[0118] Digital signal processor (Digital Signal Processor, referred to as DSP), digital signal processing device (Digital Signal Processing Device, referred to as DSPD);

[0119] A programmable logic device (PLD), a field programmable gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components are used to execute the above-mentioned method for detecting objects thrown from a high place.

[0120] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned method for detecting objects dropped from a high altitude are implemented. For example, the computer-readable storage medium can be the above-mentioned memory including program instructions, and the above-mentioned program instructions can be executed by a processor of a measuring device to complete the above-mentioned method for detecting objects dropped from a high altitude.

[0121] Corresponding to the above method embodiment, the embodiment of the present disclosure further provides a readable storage medium. The readable storage medium described below and the high-altitude object detection method described above can refer to each other.

[0122] In a fourth aspect, a readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the method for detecting objects thrown from a high altitude of the above-mentioned method embodiment.

[0123] The readable storage medium may specifically be a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or other readable storage medium that can store program codes.

[0124] The above description is only a preferred embodiment of the present invention, and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technician familiar with this patent can make some changes or modifications to equivalent embodiments of equivalent changes by using the technical content suggested above without departing from the scope of the technical solution of the present invention. The implementation scheme in the above embodiment can also be further combined or replaced. However, any simple modification, equivalent change and modification made to the above embodiment based on the technical essence of the present invention without departing from the content of the technical solution of the present invention still falls within the scope of the solution of the present invention.

Claims

1. A method for detecting objects thrown from a high altitude, characterized in that: The method comprises the following steps: Acquire the video image of the target floor and perform data preprocessing on the video image; Performing moving object recognition on the preprocessed video image to detect the moving object in the current video image; Filter all moving objects detected in the current video image to exclude objects that do not meet the characteristics of high-altitude projectiles, and obtain the positions of all moving objects that meet the conditions in the video image; Determine whether there are any high-altitude objects in the current video image that meet the conditions. If there are high-altitude objects, determine whether the alarm conditions for high-altitude objects are met. If the alarm conditions are met, alarm is triggered; The step of judging whether there is a high-altitude thrown object in the current video image that meets the conditions of the moving object specifically comprises the following steps: Get the center point coordinates, width and height of the moving object that meets the characteristics of high-altitude parabolic objects on the mask map; When a target is detected for the first time, the Kalman filter algorithm is used to initialize the parameters of each target and create a trajectory corresponding to the number of targets. If it is not the first time a target is detected, the Kalman filter algorithm is used to predict the next position of each trajectory. After obtaining the predicted next step position of each trajectory, the Hungarian algorithm is used to match all objects detected in the current frame with the predicted position of each trajectory; For points that are not matched successfully, a new trajectory is established with the point as the starting point. For unmatched trajectories, it is determined whether the trajectory has been previously determined to be a high-altitude object. If not, the trajectory is directly deleted. If it is a high-altitude object trajectory, if the number of mismatches of the trajectory reaches the limit, the trajectory is deleted, otherwise the trajectory is retained; for points and trajectories that have matched each other, the high-altitude object judgment stage is entered.

2. The method for detecting objects thrown from a height according to claim 1, characterized in that: The step of obtaining a video image of the target floor and performing data preprocessing on the video image specifically includes: The high-altitude object-dropping camera collects video images of the target floor; Transmit the collected video images to the arm chip; The size of the video image is reduced by using mean pooling.

3. The method for detecting objects thrown from a height according to claim 2, characterized in that: The method of performing moving object recognition on the preprocessed video image to detect the moving object in the current video image specifically includes the following steps: Use the first N frames of the video image to initialize the Gaussian mixture model for background modeling; Use a Gaussian mixture model on subsequent video frames to predict whether each pixel belongs to the current frame or the background image; Compare the current frame image with the background image to obtain the potential moving target in the current frame image and output the mask image of the moving target.

4. The method for detecting objects thrown from a height according to claim 3, characterized in that: The filtering of all moving objects detected in the current video image specifically includes the following steps: Calculate the area of ​​each moving object in the mask image of the moving target; Filter out objects whose size does not meet the characteristics of high-altitude parabolic objects; Record the center point coordinates, width and height of the moving object that meets the characteristics of high-altitude parabolic objects on the mask map.

5. The method for detecting objects thrown from a height according to claim 4, characterized in that: Also includes: Determine at least three points through which the high-altitude projectile moves; Based on the points, the trajectory curve of the motion is determined.

6. The method for detecting objects thrown from a height according to claim 5, characterized in that: The high-altitude object throwing judgment stage specifically includes the following steps: When the trajectory is not marked as a high-altitude object, the point is added to the matching trajectory. If the number of points in the trajectory is <3 at this time, continue to traverse other points and trajectories; if the number of points in the trajectory is ≥3 at this time, calculate whether the relationship between the current point and other points in the trajectory meets the characteristics of high-altitude objects.

7. A system for detecting objects dropped from a high altitude for implementing the method for detecting objects dropped from a high altitude according to any one of claims 1 to 6, characterized in that: include: An acquisition module is used to acquire a video image of a target floor and perform data preprocessing on the video image, wherein the video image of the target floor is acquired and the video image is preprocessed by reducing the image in a mean pooling manner; The recognition module is used to process the preprocessed video image by initializing the Gaussian mixture model, predict that each pixel belongs to the current frame image or the background image, compare the current frame image with the background image, obtain the potential moving target in the current frame image, and output the mask image of the moving target; The filtering module is used to filter out all moving objects detected in the current video image, and to remove objects whose area does not meet the characteristics of high-altitude parabolic objects, and to record the center point coordinates, width and height of the moving objects that meet the characteristics of high-altitude parabolic objects on the mask map; The judgment module is used to judge whether there are objects thrown from high altitude in the moving object that meets the conditions in the current video image. If there are objects thrown from high altitude, it is judged whether the alarm conditions for objects thrown from high altitude are met. If the alarm conditions are met, an alarm is triggered.

8. A device for detecting objects thrown from a high altitude, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of the method for detecting high-altitude objects as described in any one of claims 1 to 6 when executing the computer program.

9. A storage medium, characterized in that: A computer program is stored thereon, characterized in that when the program is executed by a processor, the method for detecting objects thrown from a high altitude as described in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • High-altitude parabolic object detection, tracking and alarm system and method based on computer vision

    CN112800953A

  • Binocular vision based dynamic object movement track identifying method

    CN107909604A

  • High-altitude parabolic detection and recognition method and system based on machine vision

    CN112257557A

  • High-altitude parabolic detection method based on deep learning

    CN112330743A

  • High-altitude object throwing detection alarm method and system based on computer vision

    CN112818766A