CN110047092B - multi-target real-time tracking method in complex environment - Google Patents
multi-target real-time tracking method in complex environment Download PDFInfo
- Publication number
- CN110047092B CN110047092B CN201910239812.4A CN201910239812A CN110047092B CN 110047092 B CN110047092 B CN 110047092B CN 201910239812 A CN201910239812 A CN 201910239812A CN 110047092 B CN110047092 B CN 110047092B
- Authority
- CN
- China
- Prior art keywords
- video
- module
- acquisition module
- video acquisition
- monitoring
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/194—Segmentation; Edge detection involving foreground-background segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/20—Analysis of motion
- G06T7/215—Motion-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/20—Analysis of motion
- G06T7/223—Analysis of motion using block-matching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/181—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10016—Video; Image sequence
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30232—Surveillance
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Closed-Circuit Television Systems (AREA)
- Image Analysis (AREA)
Abstract
本发明公开一种复杂环境下多目标实时跟踪方法,包括第一视频采集模块、第二视频采集模块、信息传输模块、数据库、背景剪出模块、视频处理模块、显示模块、控制器与报警模块;本发明在进行静态背景剪出的过程中,通过采集大量监控区域的视频帧图像,通过对大量视频帧图像进行整合处理,减少人物活动以及偶然事件对背景剪取的影响,同时对监控区中出现的有一定活动范围的物体进行分析,降低在追踪过程中该活动物体产生的噪声,从而降低分析难度,提高分析跟踪的准确度;本发明还通过对全局监控区域建立坐标系,对目标对应的坐标点进行读取,根据目标所处坐标对目标进行接力跟踪,防止在对目标的追踪过程中丢失目标,以及无法及时完成接力。
The invention discloses a multi-target real-time tracking method in a complex environment, comprising a first video acquisition module, a second video acquisition module, an information transmission module, a database, a background clipping module, a video processing module, a display module, a controller and an alarm module ; In the process of cutting out the static background, the present invention collects a large number of video frame images of the monitoring area, and integrates a large number of video frame images to reduce the influence of character activities and accidental events on the background clipping, and simultaneously affect the monitoring area. Objects with a certain range of motion that appear in the system are analyzed to reduce the noise generated by the moving object during the tracking process, thereby reducing the difficulty of analysis and improving the accuracy of analysis and tracking; the present invention also establishes a coordinate system for the global monitoring area. The corresponding coordinate points are read, and the relay tracking is performed on the target according to the coordinates of the target, so as to prevent the target from being lost during the tracking process of the target, and the relay cannot be completed in time.
Description
技术领域technical field
本发明属于视频监控技术领域,具体的,涉及一种复杂环境下多目标实时跟踪方法。The invention belongs to the technical field of video monitoring, and in particular relates to a multi-target real-time tracking method in a complex environment.
背景技术Background technique
随着社会的进步与城市的发展,无论是公共领域还是私人领域,都设置有大量的视频监控系统,视频监控系统是掌握治安管理的重要手段,视频监控系统的设立对于维护社会稳定有着重大意义。With the progress of society and the development of cities, a large number of video surveillance systems are installed in both public and private areas. Video surveillance systems are an important means of mastering public security management. The establishment of video surveillance systems is of great significance to maintaining social stability. .
传统技术中的视频监控技术主要是起到一个采集浏览与记录的作用,对于监控领域需要人工进行查看与判断,而凭借人工进行查看与判断就需要工作人员长时间处于注意力高度集中的状态,而这一点显然难度较大,因此这也催生了大量的智慧监控系统,智慧监控系统主要是通过标定目标后,对目标进行跟踪管理,当在跟踪过程中目标出现异常动作后,发出报警,由此可见,无论在何种智慧监控系统中,对目标的跟踪监控都是必要技术,但是在现有技术中,智慧跟踪监控技术仍然存在其不足,在复杂的环境下,监控摄像头容易频繁的被建筑物之类的环境所遮挡,导致监控摄像头无法直接再对目标进行跟踪,容易出现对监控目标跟错、跟丢的状况,而且在实际监控环境中,环境本身是多变的,如落叶、昆虫、飞鸟等前景会对背景的提取带来麻烦,从而影响对背景的提取,进而影响对目标的跟踪,为了解决这一问题,本发明提供了以下技术方案。The video surveillance technology in the traditional technology mainly plays the role of collecting, browsing and recording. For the monitoring field, manual inspection and judgment are required, and manual inspection and judgment require the staff to be in a state of high concentration for a long time. And this is obviously more difficult, so it has also spawned a large number of smart monitoring systems. The smart monitoring system mainly tracks and manages the target after the target is calibrated. When the target moves abnormally during the tracking process, an alarm is issued. It can be seen that no matter what kind of smart monitoring system, the tracking and monitoring of the target is a necessary technology, but in the existing technology, the smart tracking and monitoring technology still has its shortcomings. In a complex environment, the monitoring camera is easily and frequently blocked Blocked by the environment such as buildings, the monitoring camera cannot directly track the target, and it is easy to follow the wrong or lost track of the monitoring target. Moreover, in the actual monitoring environment, the environment itself is changeable, such as fallen leaves, Foregrounds such as insects and birds will bring troubles to the extraction of the background, thereby affecting the extraction of the background and further affecting the tracking of the target. In order to solve this problem, the present invention provides the following technical solutions.
发明内容Contents of the invention
本发明的目的在于提供一种复杂环境下多目标实时跟踪方法。The purpose of the present invention is to provide a multi-target real-time tracking method in a complex environment.
本发明需要解决的技术问题为:The technical problem to be solved in the present invention is:
1、跟踪监控的重要一点是将静止背景剪出,然后将获得的图像减去背景就能够得到前景物体,进而进行监控,但是在实际操作中,前景物体中也有很多并非是我们需要进行监控的,如落叶、昆虫等,当这些前景物体与需要监控的目标出现遮掩、交叉时,会影响对目标的监控,而且在更新背景时,当存在这些前景物体时,也会对背景的剪出造成影响;1. The important point of tracking and monitoring is to cut out the static background, and then subtract the background from the obtained image to get the foreground object, and then monitor it. However, in actual operation, there are many foreground objects that we do not need to monitor. , such as fallen leaves, insects, etc. When these foreground objects are covered or intersected with the target that needs to be monitored, it will affect the monitoring of the target, and when updating the background, when these foreground objects exist, it will also affect the clipping of the background. influences;
2、现有技术中,在背景环境较为复杂的情况下,监控目标经常会被建筑物等进行遮掩,导致无法及时对监控目标进行跟踪监控分析,从而容易出现跟丢、跟错的现象。2. In the prior art, when the background environment is relatively complex, the monitoring target is often covered by buildings, etc., resulting in the inability to track and monitor the monitoring target in time, which is prone to the phenomenon of lost and wrong tracking.
本发明的目的可以通过以下技术方案实现:The purpose of the present invention can be achieved through the following technical solutions:
一种复杂环境下多目标实时跟踪方法,包括第一视频采集模块、第二视频采集模块、信息传输模块、数据库、背景剪出模块、视频处理模块、显示模块、控制器与报警模块;A multi-target real-time tracking method in a complex environment, comprising a first video acquisition module, a second video acquisition module, an information transmission module, a database, a background clipping module, a video processing module, a display module, a controller and an alarm module;
所述第一视频采集模块与所述第二视频采集模块均为监控摄像头,用于采集视频图像信息,并将所采集的视频图像信息通过信息传输模块传输至数据库、背景剪出模块与视频处理模块,其中第一视频采集模块与第二视频采集模块的监控区域相同且第一视频采集模块与第二视频采集模块的监控区域不变,第一视频采集模块对监控区域的全局进行监控,第二视频采集模块能够通过改变焦距对监控区域内的监控目标进行追踪监控;Both the first video capture module and the second video capture module are surveillance cameras, which are used to collect video image information, and transmit the collected video image information to the database, background clipping module and video processing through the information transmission module module, wherein the monitoring area of the first video acquisition module is the same as that of the second video acquisition module and the monitoring areas of the first video acquisition module and the second video acquisition module are unchanged, the first video acquisition module monitors the overall situation of the monitoring area, and the second The second video acquisition module can track and monitor the monitoring targets in the monitoring area by changing the focal length;
所述数据库用于存储视频采集模块所传输的视频图像信息;The database is used to store the video image information transmitted by the video acquisition module;
所述背景剪出模块用于对第一视频采集模块的监控画面的背景进行剪出与更新,并将更新的背景传输至视频处理模块;The background cutting module is used to cut out and update the background of the monitoring screen of the first video acquisition module, and transmit the updated background to the video processing module;
所述背景剪出模块对第一视频采集模块的监控画面的背景进行剪出与更新的方法为:The method that the background cutting out module cuts out and updates the background of the monitoring picture of the first video acquisition module is:
步骤一、在一段时间内,每隔预设时间T1读取第一视频采集模块上传的监控视频信息的视频帧图像,从而得到2n张的视频帧图像,其中n≥1;Step 1. Within a period of time, read the video frame images of the monitoring video information uploaded by the first video acquisition module every preset time T1, thereby obtaining 2n video frame images, wherein n≥1;
步骤二、在对两张画面进行比对时,以视频监控区域中预设的固定位置的物体作为参考,对各视频帧画面中该物体的角点进行读取,以该物体的至少两个角点建立平面坐标系;Step 2. When comparing the two pictures, use the preset fixed position object in the video monitoring area as a reference to read the corner points of the object in each video frame, and use at least two of the object's The corner points establish a plane coordinate system;
步骤三、将每两张视频帧图像进行比对,将只在一张视频帧图像中出现的部分进行切除,并将两张视频帧图像进行叠加,叠加得到的图像继续进行两两叠加,最后得到一张图像,比对时以不同视频帧图像上建立的平面坐标系作为对应标准;Step 3. Compare every two video frame images, cut off the part that only appears in one video frame image, and superimpose the two video frame images, and continue to superimpose the superimposed images in pairs, and finally Obtain an image, and use the plane coordinate system established on different video frame images as the corresponding standard when comparing;
步骤四、将步骤一中得到的多个视频帧图像以坐标原点为对应点划分为多个区域,每个视频帧图像上所划分区域的位置相同,当在至多四个相邻的区域中均存在同一物体,是否为同一物体通过对物体的颜色与颜色分布来判断,则对该物体进行标定,并将所读取的2n张视频帧图像进行叠加,从而得到该物体的运动范围,将该物体的运动范围进行裁切后加入步骤三中得到的图像中的对应坐标位置,得到背景图像,在进行跟踪分析时,对该物体运动范围内的动作进行屏蔽;Step 4, a plurality of video frame images obtained in step 1 are divided into a plurality of regions with the coordinate origin as corresponding points, and the positions of the divided regions on each video frame image are the same, when in at most four adjacent regions There is the same object, and whether it is the same object is judged by the color and color distribution of the object, then the object is calibrated, and the read 2 n video frame images are superimposed to obtain the motion range of the object, and the The range of motion of the object is cut and added to the corresponding coordinate position in the image obtained in step 3 to obtain a background image, and the movement within the range of motion of the object is shielded during tracking analysis;
步骤五、以预设时间T2为一个周期进行步骤一至步骤四的操作,并将所得到的背景图像传输至视频处理模块对前一周期的背景图像进行替换;Step 5. Perform the operations from step 1 to step 4 with the preset time T2 as a cycle, and transmit the obtained background image to the video processing module to replace the background image of the previous cycle;
所述视频处理模块用于读取第一视频采集模块所采集的视频图像信息与背景剪出模块所上传的背景图像,并根据视频图像信息与背景图像对监控范围内的目标进行分析追踪,当视频处理模块分析得到监控目标具有预设特征时,控制器控制报警模块发出报警信息,所述预设特征是指在数据库中预设的追踪目标的特征数据;The video processing module is used to read the video image information collected by the first video acquisition module and the background image uploaded by the background cutting module, and analyze and track the targets within the monitoring range according to the video image information and the background image. When the video processing module analyzes and obtains that the monitoring target has a preset feature, the controller controls the alarm module to send an alarm message, and the preset feature refers to the feature data of the tracking target preset in the database;
所述显示模块用于显示经过视频处理模块处理的监控区域的监控视频信息。The display module is used to display the monitoring video information of the monitoring area processed by the video processing module.
作为本发明的进一步方案,所述视频处理模块对第一视频采集模块所采集的视频图像进行分析,获取第一视频采集模块所监控区域的人流量信息,当监控区域的人流量小于预设值时,背景剪出模块读取第一视频采集模块上传的监控视频信息的视频帧图像。As a further solution of the present invention, the video processing module analyzes the video images collected by the first video acquisition module, and obtains the traffic information of the area monitored by the first video acquisition module. , the background clipping module reads the video frame image of the surveillance video information uploaded by the first video acquisition module.
作为本发明的进一步方案,所述视频处理模块控制第二视频采集模块的工作方法为:As a further solution of the present invention, the video processing module controls the working method of the second video acquisition module as follows:
S1、读取第一视频采集模块所采集的视频图像信息与背景剪出模块所上传的背景图像;S1. Read the video image information collected by the first video capture module and the background image uploaded by the background clipping module;
S2、读取预设对象在背景图像中的实时坐标位置,通过该坐标位置,视频待处理模块得到对应的焦距值并将其传输至第二视频采集模块;S2. Read the real-time coordinate position of the preset object in the background image. Through the coordinate position, the video processing module obtains the corresponding focal length value and transmits it to the second video acquisition module;
S3、第二视频采集模块根据接收的焦距值对自身焦距进行调整以得到清晰的追踪画面。S3. The second video acquisition module adjusts its own focal length according to the received focal length value to obtain a clear tracking image.
作为本发明的进一步方案,所述视频处理模块对目标进行跟踪监控的方法为:As a further solution of the present invention, the method for the video processing module to track and monitor the target is:
SS1、以一个第一视频采集模块与一个第二视频采集模块为一组视频采集模块,在全局监控区域内设置有多组视频采集模块,相邻的至少两组的视频采集模块的局部监控区域有部分重叠,保证全局监控区域没有监控死角;SS1, with a first video acquisition module and a second video acquisition module as a group of video acquisition modules, multiple groups of video acquisition modules are set in the global monitoring area, and at least two groups of adjacent video acquisition modules are in the local monitoring area There are partial overlaps to ensure that the global monitoring area has no monitoring dead ends;
SS2、以全局监控区域中的任一点作为原点建立平面坐标系,并对相邻的至少两个局部监控区域的重叠区域进行标记;SS2. Establish a plane coordinate system with any point in the global monitoring area as the origin, and mark the overlapping area of at least two adjacent local monitoring areas;
SS3、一个视频采集模块根据被跟踪目标的路径和运动速度矢量及图像识别算法对其进行实时的持续跟踪拍摄,视频采集模块计算出被跟踪目标在该视频采集模块的监控区域中的实时坐标信息;SS3, a video acquisition module performs real-time continuous tracking and shooting of the tracked target according to its path, motion velocity vector and image recognition algorithm, and the video acquisition module calculates the real-time coordinate information of the tracked target in the monitoring area of the video acquisition module ;
SS4、当被跟踪目标进入重叠区域,视频处理模块同时接收重叠区域所涉及的局部监控区域的视频监控信息,并根据被跟踪目标的速度矢量对其在重叠区域的行进方向进行预测,对应方向的视频采集模块准备进行接力跟踪,在预测方向的视频采集模块未在重叠区域外采集到对应目标时,原进行目标跟踪的视频采集模块持续进行跟踪。SS4. When the tracked target enters the overlapping area, the video processing module simultaneously receives the video monitoring information of the local monitoring area involved in the overlapping area, and predicts its traveling direction in the overlapping area according to the speed vector of the tracked target, and the corresponding direction The video acquisition module is ready to carry out relay tracking. When the video acquisition module in the predicted direction fails to acquire the corresponding target outside the overlapping area, the original video acquisition module for target tracking continues to track.
本发明的有益效果:Beneficial effects of the present invention:
1、本发明在进行静态背景剪出的过程中,通过采集大量监控区域的视频帧图像,通过对大量视频帧图像进行整合处理,减少人物活动以及偶然事件如落叶对背景剪取的影响,同时对监控区中出现的有一定活动范围的物体进行分析,降低在追踪过程中该活动物体产生的噪声,从而降低分析难度,提高分析跟踪的准确度;1. In the process of cutting out the static background, the present invention collects a large number of video frame images of the monitoring area, and integrates a large number of video frame images to reduce the influence of human activities and accidental events such as fallen leaves on the background clipping, and at the same time Analyze the objects with a certain range of activities in the monitoring area, reduce the noise generated by the active objects during the tracking process, thereby reducing the difficulty of analysis and improving the accuracy of analysis and tracking;
2、本发明通过对全局监控区域建立坐标系,通过对目标的位置对应的坐标点进行读取,根据目标所处坐标对目标进行接力跟踪,防止在对目标的追踪过程中丢失目标,以及无法及时完成接力。2. The present invention establishes a coordinate system for the global monitoring area, reads the coordinate points corresponding to the position of the target, and performs relay tracking on the target according to the coordinates of the target, preventing the target from being lost during the tracking process of the target, and being unable to Complete the relay in time.
附图说明Description of drawings
下面结合附图和具体实施例对本发明作进一步详细描述。The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.
图1为本发明的系统结构示意图。Fig. 1 is a schematic diagram of the system structure of the present invention.
具体实施方式Detailed ways
下面将对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below. Obviously, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
一种复杂环境下多目标实时跟踪方法,如图1所示,包括第一视频采集模块、第二视频采集模块、信息传输模块、数据库、背景剪出模块、视频处理模块、显示模块、控制器与报警模块;A multi-target real-time tracking method in a complex environment, as shown in Figure 1, comprising a first video acquisition module, a second video acquisition module, an information transmission module, a database, a background clipping module, a video processing module, a display module, and a controller and alarm module;
所述第一视频采集模块与所述第二视频采集模块均为监控摄像头,用于采集视频图像信息,并将所采集的视频图像信息通过信息传输模块传输至数据库、背景剪出模块与视频处理模块,其中第一视频采集模块与第二视频采集模块的监控区域相同且第一视频采集模块与第二视频采集模块的监控区域不变,第一视频采集模块对监控区域的全局进行监控,第二视频采集模块能够通过改变焦距对监控区域内的监控目标进行追踪监控,保证能够获取监控目标的清晰图像;Both the first video capture module and the second video capture module are surveillance cameras, which are used to collect video image information, and transmit the collected video image information to the database, background clipping module and video processing through the information transmission module module, wherein the monitoring area of the first video acquisition module is the same as that of the second video acquisition module and the monitoring areas of the first video acquisition module and the second video acquisition module are unchanged, the first video acquisition module monitors the overall situation of the monitoring area, and the second The second video acquisition module can track and monitor the monitoring target in the monitoring area by changing the focal length, so as to ensure that a clear image of the monitoring target can be obtained;
所述数据库用于存储视频采集模块所传输的视频图像信息,方便后期的读取;The database is used to store the video image information transmitted by the video acquisition module, which is convenient for later reading;
所述背景剪出模块用于对第一视频采集模块的监控画面的背景进行剪出与更新,并将更新的背景传输至视频处理模块;The background cutting module is used to cut out and update the background of the monitoring screen of the first video acquisition module, and transmit the updated background to the video processing module;
所述背景剪出模块对第一视频采集模块的监控画面的背景进行剪出与更新的方法为:The method that the background cutting out module cuts out and updates the background of the monitoring picture of the first video acquisition module is:
步骤一、在一段时间内,每隔预设时间T1读取第一视频采集模块上传的监控视频信息的视频帧图像,从而得到2n张的视频帧图像,其中n≥1;Step 1. Within a period of time, read the video frame images of the monitoring video information uploaded by the first video acquisition module every preset time T1, thereby obtaining 2n video frame images, wherein n≥1;
步骤二、在对两张画面进行比对时,以视频监控区域中预设的固定位置的物体作为参考,对各视频帧画面中该物体的角点进行读取,以该物体的至少两个角点建立平面坐标系;Step 2. When comparing the two pictures, use the preset fixed position object in the video monitoring area as a reference to read the corner points of the object in each video frame, and use at least two of the object's The corner points establish a plane coordinate system;
步骤三、将每两张视频帧图像进行比对,将只在一张视频帧图像中出现的部分进行切除,并将两张视频帧图像进行叠加,叠加得到的图像继续进行两两叠加,最后得到一张图像,比对时以不同视频帧图像上建立的平面坐标系作为对应标准;Step 3. Compare every two video frame images, cut off the part that only appears in one video frame image, and superimpose the two video frame images, and continue to superimpose the superimposed images in pairs, and finally Obtain an image, and use the plane coordinate system established on different video frame images as the corresponding standard when comparing;
步骤四、将步骤一中得到的多个视频帧图像以坐标原点为对应点划分为多个区域,每个视频帧图像上所划分区域的位置相同,当在至多四个相邻的区域中均存在同一物体,是否为同一物体通过对物体的颜色与颜色分布来判断,则对该物体进行标定,并将所读取的2n张视频帧图像进行叠加,从而得到该物体的运动范围,将该物体的运动范围进行裁切后加入步骤三中得到的图像中的对应坐标位置,得到背景图像,在进行跟踪分析时,对该物体运动范围内的动作进行屏蔽;Step 4, a plurality of video frame images obtained in step 1 are divided into a plurality of regions with the coordinate origin as corresponding points, and the positions of the divided regions on each video frame image are the same, when in at most four adjacent regions There is the same object, and whether it is the same object is judged by the color and color distribution of the object, then the object is calibrated, and the read 2 n video frame images are superimposed to obtain the motion range of the object, and the The range of motion of the object is cut and added to the corresponding coordinate position in the image obtained in step 3 to obtain a background image, and the movement within the range of motion of the object is shielded during tracking analysis;
步骤五、以预设时间T2为一个周期进行步骤一至步骤四的操作,并将所得到的背景图像传输至视频处理模块对前一周期的背景图像进行替换。Step 5: Perform the operations from step 1 to step 4 with the preset time T2 as a cycle, and transmit the obtained background image to the video processing module to replace the background image in the previous cycle.
该步骤能够将监控画面中如旗帜、树枝等长时间处于监控画面中但是其位置又会发生一定变化的物体对背景剪出的干扰进行消除,由于旗帜、树枝等物体会发生较大幅度的晃动,当背景剪出模块读取一张视频帧图像作为背景时,无法将这一类物体的晃动范围作出确定,因此在进行信息处理时,该类物体也会被视频处理模块当做目标运动物体进行处理,增加了干扰,提高了处理难度。This step can eliminate the interference to the background clipping of objects such as flags and branches that have been in the monitoring image for a long time but whose positions will change to a certain extent in the monitoring screen, because objects such as flags and branches will shake significantly , when the background clipping module reads a video frame image as the background, it cannot determine the shaking range of this type of object, so when performing information processing, this type of object will also be regarded as the target moving object by the video processing module. Processing, increased interference, increased processing difficulty.
作为本发明的进一步方案,为了提高实时追踪系统的自动化强度,所述视频处理模块还用于第一视频采集模块所采集的视频图像进行分析,并获取第一视频采集模块所监控区域的人流量信息,当监控区域的人流量小于预设值时,背景剪出模块读取第一视频采集模块上传的监控视频信息的视频帧图像,从而减少背景剪出模块所读取的视频帧图像中的人物图像,降低背景剪出过程的难度。As a further solution of the present invention, in order to improve the automation intensity of the real-time tracking system, the video processing module is also used to analyze the video images collected by the first video collection module, and obtain the flow of people in the monitored area of the first video collection module information, when the flow of people in the monitoring area was less than the preset value, the background clipping module read the video frame image of the monitoring video information uploaded by the first video acquisition module, thereby reducing the background clipping out of the video frame image read by the module Character images, reducing the difficulty of the background cutting process.
所述视频处理模块用于读取第一视频采集模块所采集的视频图像信息与背景剪出模块所上传的背景图像,并根据视频图像信息与背景图像对监控范围内的目标进行分析追踪,当视频处理模块分析得到监控目标具有预设特征时,控制器控制报警模块发出报警信息,所述预设特征是指在数据库中预设的追踪目标的特征数据;The video processing module is used to read the video image information collected by the first video acquisition module and the background image uploaded by the background cutting module, and analyze and track the targets within the monitoring range according to the video image information and the background image. When the video processing module analyzes and obtains that the monitoring target has a preset feature, the controller controls the alarm module to send an alarm message, and the preset feature refers to the feature data of the tracking target preset in the database;
所述视频处理模块控制第二视频采集模块的工作方法为:The working method of the second video acquisition module controlled by the video processing module is:
S1、读取第一视频采集模块所采集的视频图像信息与背景剪出模块所上传的背景图像;S1. Read the video image information collected by the first video capture module and the background image uploaded by the background clipping module;
S2、背景图像中的坐标位置与该位置和视频采集模块间的距离有着一一对应关系,而该位置和视频采集模块间的距离又与摄像头的焦距存在对应关系,读取预设对象在背景图像中的实时坐标位置,通过该坐标位置,视频待处理模块得到对应的焦距值并将其传输至第二视频采集模块;S2. The coordinate position in the background image has a one-to-one correspondence with the distance between the position and the video capture module, and the distance between the position and the video capture module has a corresponding relationship with the focal length of the camera. Read the preset object in the background The real-time coordinate position in the image, through the coordinate position, the video to be processed module obtains the corresponding focal length value and transmits it to the second video acquisition module;
S3、第二视频采集模块根据接收的焦距值对自身焦距进行调整,从而得到清晰的追踪画面。S3. The second video acquisition module adjusts its own focal length according to the received focal length value, so as to obtain a clear tracking image.
所述视频处理模块对目标进行跟踪监控的方法为:The method for the video processing module to track and monitor the target is:
SS1、以一个第一视频采集模块与一个第二视频采集模块为一组视频采集模块,在全局监控区域内设置有多组视频采集模块,相邻的至少两组的视频采集模块的局部监控区域有部分重叠,保证全局监控区域没有监控死角;SS1, with a first video acquisition module and a second video acquisition module as a group of video acquisition modules, multiple groups of video acquisition modules are set in the global monitoring area, and at least two groups of adjacent video acquisition modules are in the local monitoring area There are partial overlaps to ensure that the global monitoring area has no monitoring dead ends;
SS2、以全局监控区域中的任一点作为原点建立平面坐标系,并对相邻的至少两个局部监控区域的重叠区域进行标记;SS2. Establish a plane coordinate system with any point in the global monitoring area as the origin, and mark the overlapping area of at least two adjacent local monitoring areas;
SS3、一个视频采集模块根据被跟踪目标的路径和运动速度矢量及图像识别算法对其进行实时的持续跟踪拍摄,视频采集模块计算出被跟踪目标在该视频采集模块的监控区域中的实时坐标信息;SS3, a video acquisition module performs real-time continuous tracking and shooting of the tracked target according to its path, motion velocity vector and image recognition algorithm, and the video acquisition module calculates the real-time coordinate information of the tracked target in the monitoring area of the video acquisition module ;
SS4、当被跟踪目标进入重叠区域,视频处理模块同时接收重叠区域所涉及的局部监控区域的视频监控信息,并根据被跟踪目标的速度矢量对其在重叠区域的行进方向进行预测,对应方向的视频采集模块准备进行接力跟踪,在预测方向的视频采集模块未在重叠区域外采集到对应目标时,原进行目标跟踪的视频采集模块持续进行跟踪,防止目标丢失。SS4. When the tracked target enters the overlapping area, the video processing module simultaneously receives the video monitoring information of the local monitoring area involved in the overlapping area, and predicts its traveling direction in the overlapping area according to the speed vector of the tracked target, and the corresponding direction The video acquisition module is ready to carry out relay tracking. When the video acquisition module in the predicted direction fails to acquire the corresponding target outside the overlapping area, the original video acquisition module for target tracking will continue to track to prevent the target from being lost.
所述显示模块用于显示经过视频处理模块处理的监控区域的监控视频信息。The display module is used to display the monitoring video information of the monitoring area processed by the video processing module.
以上内容仅仅是对本发明结构所作的举例和说明,所属本技术领域的技术人员对所描述的具体实施例做各种各样的修改或补充或采用类似的方式替代,只要不偏离发明的结构或者超越本权利要求书所定义的范围,均应属于本发明的保护范围。The above content is only an example and description of the structure of the present invention. Those skilled in the art make various modifications or supplements to the described specific embodiments or replace them in similar ways, as long as they do not deviate from the structure of the invention or Anything beyond the scope defined in the claims shall belong to the protection scope of the present invention.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910239812.4A CN110047092B (en) | 2019-03-27 | 2019-03-27 | multi-target real-time tracking method in complex environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910239812.4A CN110047092B (en) | 2019-03-27 | 2019-03-27 | multi-target real-time tracking method in complex environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110047092A CN110047092A (en) | 2019-07-23 |
CN110047092B true CN110047092B (en) | 2019-12-13 |
Family
ID=67275329
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910239812.4A Active CN110047092B (en) | 2019-03-27 | 2019-03-27 | multi-target real-time tracking method in complex environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110047092B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110458053B (en) * | 2019-07-26 | 2020-06-16 | 中国安全生产科学研究院 | Effective monitoring area dividing method and video passenger flow counting method |
CN110446014B (en) * | 2019-08-26 | 2021-07-20 | 达闼机器人有限公司 | Monitoring method, monitoring equipment and computer readable storage medium |
CN110495954B (en) * | 2019-08-30 | 2022-11-04 | 深圳市汇健医疗工程有限公司 | Super-high-definition surgical auxiliary system based on 5G communication |
US11176705B2 (en) * | 2020-03-10 | 2021-11-16 | Shenzhen Fugui Precision Ind. Co., Ltd. | Method for optimizing camera layout for area surveillance and apparatus employing the method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103903278A (en) * | 2012-12-28 | 2014-07-02 | 重庆凯泽科技有限公司 | Moving target detection and tracking system |
CN105338248A (en) * | 2015-11-20 | 2016-02-17 | 成都因纳伟盛科技股份有限公司 | Intelligent multi-target active tracking monitoring method and system |
CN106355602A (en) * | 2016-08-26 | 2017-01-25 | 杨百川 | Multi-target locating and tracking video monitoring method |
CN106875423A (en) * | 2017-01-13 | 2017-06-20 | 吉林工商学院 | Moving Object Detection and tracking in a kind of stream for massive video |
CN107133969A (en) * | 2017-05-02 | 2017-09-05 | 中国人民解放军火箭军工程大学 | A kind of mobile platform moving target detecting method based on background back projection |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10755419B2 (en) * | 2017-01-30 | 2020-08-25 | Nec Corporation | Moving object detection apparatus, moving object detection method and program |
-
2019
- 2019-03-27 CN CN201910239812.4A patent/CN110047092B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103903278A (en) * | 2012-12-28 | 2014-07-02 | 重庆凯泽科技有限公司 | Moving target detection and tracking system |
CN105338248A (en) * | 2015-11-20 | 2016-02-17 | 成都因纳伟盛科技股份有限公司 | Intelligent multi-target active tracking monitoring method and system |
CN106355602A (en) * | 2016-08-26 | 2017-01-25 | 杨百川 | Multi-target locating and tracking video monitoring method |
CN106875423A (en) * | 2017-01-13 | 2017-06-20 | 吉林工商学院 | Moving Object Detection and tracking in a kind of stream for massive video |
CN107133969A (en) * | 2017-05-02 | 2017-09-05 | 中国人民解放军火箭军工程大学 | A kind of mobile platform moving target detecting method based on background back projection |
Also Published As
Publication number | Publication date |
---|---|
CN110047092A (en) | 2019-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110047092B (en) | multi-target real-time tracking method in complex environment | |
CN109922310B (en) | Target object monitoring method, device and system | |
CN106096577B (en) | A kind of target tracking method in camera distribution map | |
US7944454B2 (en) | System and method for user monitoring interface of 3-D video streams from multiple cameras | |
CN110659546B (en) | Illegal booth detection method and device | |
CN104021570B (en) | A directional cross-border and line-mixing detection method in video | |
CN101835035B (en) | Regional invasion real-time detection method | |
CN109919009A (en) | The monitoring method of target object, apparatus and system | |
KR20210140766A (en) | Digital reconstruction methods, devices and systems for traffic roads | |
CN112184625A (en) | Pavement defect identification method and system based on video deep learning | |
CN110659391A (en) | Video detection method and device | |
CN101883261A (en) | Method and system for abnormal target detection and relay tracking in large-scale monitoring scenarios | |
CN103778645B (en) | Circular target real-time tracking method based on images | |
CN105391975A (en) | Video processing method in scene monitoring, device and scene monitoring system | |
CN107808123A (en) | The feasible area detecting method of image, electronic equipment, storage medium, detecting system | |
CN111163285A (en) | High-altitude falling object monitoring method and system, computer-readable storage medium | |
CN101572803A (en) | Customizable automatic tracking system based on video monitoring | |
CN114202819B (en) | Substation inspection method, system and computer based on robot | |
CN107509055A (en) | A kind of rotary panorama focus identification optronic tracker and its implementation | |
CN105929392A (en) | Radar and video multi-system interaction offshore platform system | |
CN109886129B (en) | Prompt message generation method and device, storage medium and electronic device | |
CN104702917A (en) | Video concentrating method based on micro map | |
CN115859689B (en) | Panoramic visualization digital twin application method | |
CN117768610A (en) | High-speed railway perimeter intrusion risk monitoring method and system based on multi-target recognition | |
CN114663479B (en) | An intelligent monitoring and early warning method and system based on computer vision |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 518000 Xili street xilihu town xilihu bank, Nanshan District, Shenzhen City, Guangdong Province Patentee after: Shenzhen Vocational and Technical University Country or region after: China Address before: Shenzhen Vocational and Technical College Shahe West Road Nanshan District Shenzhen Guangdong Province Patentee before: SHENZHEN POLYTECHNIC Country or region before: China |