CN106780547A - Monitor video velocity anomaly mesh object detection method is directed to based on kinergety model - Google Patents
Monitor video velocity anomaly mesh object detection method is directed to based on kinergety model Download PDFInfo
- Publication number
- CN106780547A CN106780547A CN201611213597.3A CN201611213597A CN106780547A CN 106780547 A CN106780547 A CN 106780547A CN 201611213597 A CN201611213597 A CN 201611213597A CN 106780547 A CN106780547 A CN 106780547A
- Authority
- CN
- China
- Prior art keywords
- motion
- abnormal
- value
- block
- motion energy
- 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.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 39
- 230000002159 abnormal effect Effects 0.000 claims abstract description 50
- 239000013598 vector Substances 0.000 claims abstract description 28
- 238000000034 method Methods 0.000 claims abstract description 26
- 238000012544 monitoring process Methods 0.000 claims abstract description 24
- 238000012360 testing method Methods 0.000 claims abstract description 15
- 238000000605 extraction Methods 0.000 claims abstract description 8
- 230000003287 optical effect Effects 0.000 claims description 14
- 238000010586 diagram Methods 0.000 description 10
- 230000005856 abnormality Effects 0.000 description 4
- 239000000284 extract Substances 0.000 description 4
- 238000002474 experimental method Methods 0.000 description 3
- 238000012549 training Methods 0.000 description 3
- 101100351711 Arabidopsis thaliana PEX14 gene Proteins 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000013139 quantization Methods 0.000 description 2
- 238000012800 visualization Methods 0.000 description 2
- ORILYTVJVMAKLC-UHFFFAOYSA-N Adamantane Natural products C1C(C2)CC3CC1CC2C3 ORILYTVJVMAKLC-UHFFFAOYSA-N 0.000 description 1
- 101100206633 Arabidopsis thaliana PED1 gene Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000011897 real-time detection Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- 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
Landscapes
- Image Analysis (AREA)
Abstract
本发明公开了一种基于运动能量模型针对监控视频速度异常目标的检测方法,包括:考虑异常目标及其周围8邻域的运动矢量信息,建立运动能量模型,利用数据项和差异项的加和,来表示每一个空间块的运动能量值;对视频帧的每一空间块均进行边界值提取,每一个边界值代表其对应空间块的,区分正常运动和异常运动的边界值;基于sigmoid函数的二分类器对测试集中的运动能量值进行分类,以测试集每一块的运动能量值和提取的边界值的差异作为输入,并输出一个[0,1]的概率值;该空间块对应的概率值越大,表示发生异常运动,即速度异常的可能性越高。本发明有效地表达运动强度模式,复杂度较低,平衡了检测精确度和检测效率,能够实时检测监控视频中速度异常的目标。
The invention discloses a method for detecting an abnormal target in a surveillance video based on a motion energy model, which includes: considering the motion vector information of the abnormal target and its surrounding 8 neighborhoods, establishing a motion energy model, and using the sum of data items and difference items , to represent the motion energy value of each spatial block; boundary value extraction is performed on each spatial block of the video frame, and each boundary value represents the boundary value of its corresponding spatial block, which distinguishes normal motion from abnormal motion; based on the sigmoid function The binary classifier classifies the motion energy value in the test set, takes the difference between the motion energy value of each block of the test set and the extracted boundary value as input, and outputs a probability value of [0,1]; the corresponding space block The larger the probability value, the higher the possibility of abnormal motion, that is, abnormal speed. The invention effectively expresses the motion intensity pattern, has low complexity, balances detection accuracy and detection efficiency, and can detect objects with abnormal speed in monitoring video in real time.
Description
技术领域technical field
本发明涉及视频监控异常检测技术领域,尤其涉及一种基于运动能量模型针对监控视频速度异常目标的检测方法。The invention relates to the technical field of video surveillance abnormality detection, in particular to a method for detecting objects with abnormal velocity in surveillance video based on a motion energy model.
背景技术Background technique
近年来,随着一些恐怖袭击事件和群体暴力事件的频发,人们对城市生活质量和生活安全防范的要求与日俱增。虽然各种视频监控设备已经广泛安置在各种人流密集的公共场所,如火车站、地铁站、医院、广场、以及小区等等,但是目前的视频监控系统只能够对某个监控场景进行简单的视频录制,将视频传输至监控室,通过监控人员进行人工的场景监控;或是将监控视频存储起来,供事后查找取证之用。这种传统的监控系统缺乏实时性和智能性,十分依赖于监控人员的经验和主观判断。因此,为了能够使监控系统实时自动地分析视频内容,判断监控视频中的异常目标和异常事件,辅助监控人员进行判断,需要大大提高监控视频异常判断的准确度和公共场所安全防范的质量。In recent years, with the frequent occurrence of some terrorist attacks and mass violence incidents, people's requirements for urban life quality and life safety precautions are increasing day by day. Although various video surveillance devices have been widely installed in various crowded public places, such as railway stations, subway stations, hospitals, squares, and communities, etc., the current video surveillance system can only perform simple monitoring of a certain monitoring scene. Video recording, video transmission to the monitoring room, manual scene monitoring by monitoring personnel; or storage of monitoring video for later search and evidence collection. This traditional monitoring system lacks real-time and intelligence, and relies heavily on the experience and subjective judgment of monitoring personnel. Therefore, in order to enable the monitoring system to automatically analyze video content in real time, judge abnormal targets and abnormal events in the monitoring video, and assist the monitoring personnel to make judgments, it is necessary to greatly improve the accuracy of monitoring video abnormality judgment and the quality of public safety precautions.
公共场景下的异常事件是多种多样的,例如:抢劫、跌倒、入侵、人群聚拢、人流逆行,物体超速等等。其中,检测速度异常目标的应用范围非常广泛,实用性非常高。在近年来的研究中,许多科研人员基于不同的技术提出了不同的物体速度异常检测方法。Abnormal events in public scenes are diverse, such as: robbery, fall, intrusion, crowd gathering, retrograde flow of people, objects speeding up and so on. Among them, the application range of detecting abnormal speed targets is very wide, and the practicability is very high. In research in recent years, many researchers have proposed different object speed anomaly detection methods based on different technologies.
Helbing等人基于运动信息提出社会力模型来计算人群的交互力,以此判断方向及速度的异常,但该方法对于缺乏足够运动信息的人群稀疏的场景并不适用[1];Adam等人利用位置固定的多重监控单元对场景的低级特征进行统计,检测超速不同位置的超速物体,但是该方法受限于监控单元的数量和密度[2];Weixin等人提取场景中物体的动态文理特征描述不同状态的物体,以此对异常和正常进行分类,但该方法的特征提取过程时间复杂度高,实时效果不佳[3];Vikas综合物体的速度、大小及纹理特征,通过一个多级分类器对异常进行判断,但该方法受限于模板的选取和分级检测机制的设置[4]。Helbing et al. proposed a social force model based on motion information to calculate the interaction force of the crowd, so as to judge the abnormality of direction and speed, but this method is not suitable for scenes with sparse crowds that lack sufficient motion information [1] ; Adam et al. Multiple monitoring units with fixed positions make statistics on the low-level features of the scene and detect speeding objects in different positions, but this method is limited by the number and density of monitoring units [2] ; Weixin et al. extract the dynamic textual feature description of objects in the scene Objects in different states can be used to classify abnormal and normal, but the feature extraction process of this method has high time complexity and the real-time effect is not good [3] ; The detector judges the abnormality, but this method is limited by the selection of the template and the setting of the classification detection mechanism [4] .
发明内容Contents of the invention
本发明提供了一种基于运动能量模型针对监控视频速度异常目标的检测方法,本发明同时考虑了目标物体及其临近物体的运动信息,对运动强度的检测有较好的鲁棒性,可以有效地检测不同场景下的速度异常目标,详见下文描述:The present invention provides a detection method based on a motion energy model for monitoring video speed abnormal targets. The present invention considers the motion information of the target object and its adjacent objects at the same time, and has good robustness to the detection of motion intensity, which can effectively To accurately detect abnormal speed targets in different scenarios, see the following description for details:
一种基于运动能量模型针对监控视频速度异常目标的检测方法,所述检测方法包括以下步骤:A detection method based on a motion energy model for an abnormal target in a surveillance video, the detection method comprising the following steps:
考虑异常目标及其周围8邻域的运动矢量信息,建立运动能量模型,所述模型包括:数据项和差异项,利用数据项和差异项的加和,来表示每一个空间块的运动能量值;Considering the motion vector information of the abnormal target and its surrounding 8 neighborhoods, a motion energy model is established, which includes: data items and difference items, and the sum of the data items and difference items is used to represent the motion energy value of each space block ;
对视频帧的每一空间块均进行边界值提取,每一个边界值代表其对应空间块的,区分正常运动和异常运动的边界值;Boundary value extraction is performed on each spatial block of the video frame, and each boundary value represents the boundary value of its corresponding spatial block to distinguish normal motion from abnormal motion;
基于sigmoid函数的二分类器对测试集中的运动能量值进行分类,以测试集每一块的运动能量值和提取的边界值的差异作为输入,并输出一个[0,1]的概率值;The binary classifier based on the sigmoid function classifies the motion energy value in the test set, takes the difference between the motion energy value of each block of the test set and the extracted boundary value as input, and outputs a probability value of [0,1];
该空间块对应的概率值越大,表示发生异常运动,即速度异常的可能性越高。The larger the probability value corresponding to the space block, the higher the possibility of abnormal motion, that is, the higher the possibility of abnormal speed.
所述检测方法还包括:The detection method also includes:
结合图像金字塔,利用Lucas-Kanade光流法在不同尺度上对监控视频中的每一帧提取光流矢量,建立光流场,将每一帧的光流场分为M×N的不重叠的空间块,获取每一空间块的运动矢量。Combined with the image pyramid, use the Lucas-Kanade optical flow method to extract the optical flow vector for each frame in the surveillance video at different scales, establish the optical flow field, and divide the optical flow field of each frame into M×N non-overlapping Spatial block, get the motion vector of each spatial block.
所述运动矢量具体为:The motion vector is specifically:
Bi.j=(fx,y(h,v)|x=1,2,...,M,y=1,2,...,N)B ij =(f x,y (h,v)|x=1,2,...,M,y=1,2,...,N)
i=1,2,...,P,j=1,2,...,Qi=1,2,...,P,j=1,2,...,Q
其中,Bi,j表示位置为(i,j)的空间块;fx,y(h,v)表示包含于块Bi,j中的位置为(x,y)的运动矢量,包含一个水平分量h和竖直分量v;M为每一个空间块的水平长度;N为每一个空间块的竖直长度;P为每一帧水平方向的空间块数量;Q为每一帧竖直方向的空间块数量。Among them, B i, j represents the spatial block with position (i, j); f x, y (h, v) represents the motion vector contained in block B i, j with position (x, y), including a Horizontal component h and vertical component v; M is the horizontal length of each spatial block; N is the vertical length of each spatial block; P is the number of spatial blocks in the horizontal direction of each frame; Q is the vertical direction of each frame the number of space blocks.
所述方法还包括:对运动矢量进行量化。The method also includes quantizing the motion vectors.
所述边界值提取具体为:The extraction of the boundary value is specifically:
若数据增长率大于预设的一定阈值,则将前一个数据点的运动能量值视为边界值。If the data growth rate is greater than a preset certain threshold, the motion energy value of the previous data point is regarded as a boundary value.
本发明提供的技术方案的有益效果是:本发明提出的运动能量模型可以有效地表达运动强度模式,算法复杂度较低,平衡了检测精确度和检测效率,能够实时检测监控视频中速度异常的目标。The beneficial effects of the technical solution provided by the present invention are: the motion energy model proposed by the present invention can effectively express the motion intensity pattern, the algorithm complexity is low, the detection accuracy and detection efficiency are balanced, and the abnormal speed in the monitoring video can be detected in real time. Target.
附图说明Description of drawings
图1给出了基于运动能量模型针对监控视频速度异常目标的检测方法的流程图;Fig. 1 has provided the flow chart of the detection method for monitoring video speed abnormal target based on motion energy model;
图2给出了存在局部速度异常的监控场景示例图;Figure 2 shows an example of a monitoring scene with local speed anomalies;
(a)为人行道中快速行驶的机动车的示意图;(b)为人行道中穿行的自行车的示意图。(a) is a schematic diagram of a fast-moving motor vehicle on the sidewalk; (b) is a schematic diagram of a bicycle passing through the sidewalk.
图3给出了局部速度异常目标及其运动能量值的示例图;Figure 3 shows an example diagram of a local velocity anomaly target and its motion energy value;
(a)、(c)为测试集中包含异常运动的任意两帧的示意图;(b)、(d)分别为(a)、(c)相应帧的运动能量值的示意图。(a), (c) are schematic diagrams of any two frames containing abnormal motion in the test set; (b), (d) are schematic diagrams of motion energy values of corresponding frames in (a) and (c), respectively.
图4给出了利用数据增长率的方法估计运动能量边界值的示例图;Fig. 4 has provided the example figure that utilizes the method for data growth rate to estimate motion energy boundary value;
(a)为训练集中的所有帧,该示例统计方块标记区域的运动能量值;(b)为该块运动能量值从小到大的分布情况,可以看出大部分值趋于零,存在极少的非常大的噪声值;(c)为运动能量值的数据增长率,当数据增长率过大时,则认为该值已超出了正常运动能量值的范围;(d)为最终选取的运动能量边界值(两条虚线交点),加粗虚线表示正常运动能量值的范围。(a) is all the frames in the training set, and this example counts the motion energy value of the square marked area; (b) is the distribution of the block motion energy value from small to large, it can be seen that most of the values tend to zero, and there are very few very large noise value; (c) is the data growth rate of the motion energy value, when the data growth rate is too large, it is considered that the value has exceeded the range of the normal motion energy value; (d) is the final selected motion energy Boundary value (intersection point of two dotted lines), the bold dotted line indicates the range of normal motion energy value.
图5给出了最终的运动能量边界值图;Figure 5 shows the final motion energy boundary value diagram;
图6给出了本发明与Social Force,MDT及MPPCA方法的性能在UCSD数据集上的比较结果图;Fig. 6 has provided the comparison result figure of the performance of the present invention and Social Force, MDT and MPPCA method on UCSD dataset;
(a)为UCSD Ped1测试集的帧级异常检测性能的示意图;(b)为UCSD Ped2测试集的帧级异常检测性能的示意图;(c)为UCSD Ped2测试集的像素级异常检测性能的示意图。(a) Schematic diagram of frame-level anomaly detection performance of UCSD Ped1 test set; (b) Schematic diagram of frame-level anomaly detection performance of UCSD Ped2 test set; (c) Schematic diagram of pixel-level anomaly detection performance of UCSD Ped2 test set .
图7给出了本发明在UCSD数据集上的可视化结果图(标注异常目标)。Fig. 7 shows the visualization result map (marking abnormal targets) of the present invention on the UCSD data set.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚,下面对本发明实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present invention clearer, the implementation manners of the present invention will be further described in detail below.
实施例1Example 1
本发明实施例针对监控场景下的速度异常目标的检测,基于场景运动信息,提出了一种运动能量模型来描述物体运动模式,并通过对不同区域运动能量值的分类,实现速度异常目标的实时检测,参见图1,该方法包括以下步骤:The embodiment of the present invention aims at the detection of abnormal speed targets in the monitoring scene. Based on the scene motion information, a motion energy model is proposed to describe the motion mode of the object, and by classifying the motion energy values in different regions, the real-time detection of abnormal speed targets is realized. Detect, referring to Fig. 1, this method comprises the following steps:
101:提取目标区域的运动信息,获得运动强度值;101: Extract the motion information of the target area, and obtain the motion intensity value;
102:利用SSD度量对目标区域及其8邻域进行差异度计算,获得一个运动差异值;102: Using the SSD metric to calculate the difference between the target area and its 8 neighborhoods, and obtain a motion difference value;
103:利用两项加和表示中心区域物体的运动能量值,进而通过对运动能量值的分类,来检测速度异常的目标。103: Use the sum of two items to represent the motion energy value of the object in the central area, and then detect the target with abnormal speed by classifying the motion energy value.
综上所述,本发明实施例提出的运动能量模型同时考虑了目标物体及其临近物体的运动信息,对运动强度的检测有较好的鲁棒性,可以有效地检测不同场景下的速度异常目标。To sum up, the motion energy model proposed by the embodiment of the present invention takes into account the motion information of the target object and its adjacent objects at the same time, has better robustness to the detection of motion intensity, and can effectively detect speed anomalies in different scenarios Target.
实施例2Example 2
下面结合具体的计算公式对实施例1中的方案进行进一步地介绍,详见下文描述:The scheme in embodiment 1 is further introduced below in combination with specific calculation formulas, see the following description for details:
201:提取运动信息;201: Extract motion information;
运动矢量是能够表达物体运动信息的重要特征,而光流法是计算运动矢量的最为有效的方法之一。本发明实施例结合图像金字塔,利用Lucas-Kanade光流法在不同尺度上对监控视频中的每一帧提取光流矢量,建立光流场。之后,将每一帧的光流场分为大小为M×N的不重叠的空间块,共P×Q个。对于每一块,运动矢量表示如下:The motion vector is an important feature that can express the motion information of an object, and the optical flow method is one of the most effective methods to calculate the motion vector. In the embodiment of the present invention, in combination with the image pyramid, the Lucas-Kanade optical flow method is used to extract the optical flow vector for each frame in the surveillance video at different scales, and establish the optical flow field. Afterwards, the optical flow field of each frame is divided into non-overlapping spatial blocks of size M×N, totaling P×Q blocks. For each block, the motion vector is expressed as follows:
Bi.j=(fx,y(h,v)|x=1,2,...,M,y=1,2,...,N)B ij =(f x,y (h,v)|x=1,2,...,M,y=1,2,...,N)
i=1,2,...,P,j=1,2,...,Qi=1,2,...,P,j=1,2,...,Q
其中,Bi,j表示位置为(i,j)的空间块;fx,y(h,v)表示包含于块Bi,j中的位置为(x,y)的运动矢量,其包含一个水平分量h和竖直分量v。位于(x,y)的运动矢量的强度表示为:Among them, B i, j represents the spatial block whose position is (i, j); f x, y (h, v) represents the motion vector contained in the block B i, j whose position is (x, y), which contains A horizontal component h and a vertical component v. The strength of the motion vector at (x,y) is expressed as:
magx,y=||fx,y(h,v)||2 mag x,y =||f x,y (h,v)|| 2
为了便于统计,本发明实施例将各像素点的运动矢量进行适当的量化,实验表明量化等级为16时检测效果最好,具体量化方式如下:首先找到每一个空间块的运动矢量强度值的最大值max magx,y,将区间[0,max magx,y]16等分,落到每一小等分区间上的运动矢量强度值量化为该区间中点值的大小,最终得到magx,y,即(x,y)位置上的经量化后的运动矢量的强度。For the convenience of statistics, the embodiment of the present invention properly quantizes the motion vector of each pixel point. Experiments show that the detection effect is the best when the quantization level is 16. The specific quantization method is as follows: first find the maximum value of the motion vector strength value of each spatial block The value max mag x, y divides the interval [0, max mag x, y ] into 16 equal parts, and the motion vector strength value falling on each small equal interval is quantized as the midpoint value of the interval, and finally mag x is obtained ,y , that is, the intensity of the quantized motion vector at the (x,y) position.
202:运动能量模型;202: motion energy model;
对于局部异常,异常目标一定是被正常目标所包围着的。因此,本发明实施例同时考虑异常目标及其周围8邻域的运动矢量信息,建立一个运动能量模型。该模型包括两项:数据项和差异项,如下所示:For local anomalies, abnormal objects must be surrounded by normal objects. Therefore, in the embodiment of the present invention, a motion energy model is established by considering the motion vector information of the abnormal target and its surrounding 8 neighborhoods. The model consists of two items: a data term and a difference term, as follows:
其中,DataTerm(i,j)表示数据项;DifferenceTerm(i,j)表示差异项;空间块Bi,j中的主运动强度表示为Dom magi,j x,y,它是该块中数量最多的运动矢量的强度值。在差异项中,Si,j表示中心块Bi,j的8邻域区域,Bm,n是属于该8邻域内的一个空间块。中心块与其临近区域的运动强度差异度用SSD度量表示如下:Among them, DataTerm(i,j) represents the data item; DifferenceTerm(i,j) represents the difference term; the main motion intensity in the spatial block B i,j is expressed as Dom mag i , j x,y , which is the quantity in the block The strength value of the most motion vectors. In the difference item, S i,j represents the 8-neighborhood area of the center block B i,j , and B m,n is a spatial block belonging to the 8-neighborhood. The difference in motion intensity between the central block and its adjacent areas is expressed by the SSD metric as follows:
其中,SSD(Bi,j,Bm,n)为两个图像块对应像素点的误差的平方和,度量两个空间快的运动强度差异;为序号为(i,j)的空间块中位于(x,y)位置上的运动矢量强度;为序号为(m,n)的空间块中位于(x,y)位置上的运动矢量强度;Nf为Bm,n中的运动矢量数量。由于距离中心块越近的区域,与中心块的关联就越大。因此,对位于不同距离下的空间块赋不同的权重值ωm,n来调整不同区域的权重。Among them, SSD(B i,j ,B m,n ) is the sum of the squares of the errors of the corresponding pixels of the two image blocks, and measures the difference in motion intensity between the two spatial blocks; is the motion vector intensity at the position (x, y) in the spatial block with the serial number (i, j); is the strength of the motion vector at the position (x, y) in the spatial block with sequence number (m, n); N f is the number of motion vectors in B m, n . Since the closer the area is to the central block, the association with the central block is greater. Therefore, assign different weight values ω m,n to spatial blocks located at different distances to adjust the weights of different regions.
利用数据项和差异项的加和,来表示每一个空间块的运动能量值,通过α和β来调整两项的比重,如下所示:Use the sum of the data item and the difference item to represent the motion energy value of each space block, and adjust the proportion of the two items through α and β, as shown below:
E(i,j)=α·DataTerm(i,j)+β·DifferenceTerm(i,j)E(i,j)=α·DataTerm(i,j)+β·DifferenceTerm(i,j)
203:边界值提取;203: Boundary value extraction;
对训练集的所有视频帧的每一个空间块计算运动能量值,并统计每一个空间块运动能量值的分布。为了减少光流场的噪声的影响,应该剔除掉运动能量值中过大的值,并找到正常运动和异常运动的边界值。本发明实施例通过计算每一个空间块的运动能量值的数据增长率,来提取边界值。若数据增长率大于预设的一定阈值,则将前一个数据点的运动能量值视为边界值。根据实验,该阈值设定为0.5效果最好。The motion energy value is calculated for each spatial block of all video frames in the training set, and the distribution of the motion energy value of each spatial block is counted. In order to reduce the influence of the noise of the optical flow field, the excessive value of the motion energy value should be eliminated, and the boundary value between normal motion and abnormal motion should be found. The embodiment of the present invention extracts the boundary value by calculating the data growth rate of the motion energy value of each spatial block. If the data growth rate is greater than a preset certain threshold, the motion energy value of the previous data point is regarded as a boundary value. According to experiments, setting the threshold to 0.5 works best.
204:空间块分类。204: Spatial block classification.
由于监控镜头在监控场景中的位置,使得运动物体在不同的区域会被检测到不同的运动强度值和运动能量值。通常,距离摄像头越近的物体拥有越大的运动强度。因此,对视频帧的每一空间块均进行边界值提取,每一个边界值代表其对应空间块的,区分正常运动和异常运动的边界值。Due to the position of the surveillance lens in the surveillance scene, moving objects will be detected with different motion intensity values and motion energy values in different areas. In general, objects closer to the camera have greater motion intensity. Therefore, boundary value extraction is performed on each spatial block of the video frame, and each boundary value represents a boundary value of its corresponding spatial block to distinguish normal motion from abnormal motion.
本发明实施例通过一个基于sigmoid函数的二分类器对测试集中的运动能量值进行分类,该二分类器以测试集每一块的运动能量值和提取的边界值的差异作为输入,并输出一个[0,1]的概率值。该空间块对应的概率值越大,表示发生异常运动,即速度异常的可能性越高。也就是说,该空间块的运动能量值超出正常范围过大。二分类器如下所示:In the embodiment of the present invention, a binary classifier based on the sigmoid function is used to classify the motion energy value in the test set. The binary classifier takes the difference between the motion energy value of each block of the test set and the extracted boundary value as input, and outputs a [ 0,1] probability value. The larger the probability value corresponding to the space block, the higher the possibility of abnormal motion, that is, the higher the possibility of abnormal speed. In other words, the motion energy value of the space block is too large beyond the normal range. A binary classifier looks like this:
其中,E’(i,j)和E(i,j)分别表示边界能量值和待测试的运动能量值。Among them, E'(i,j) and E(i,j) represent the boundary energy value and the motion energy value to be tested, respectively.
综上所述,本发明实施例提出的运动能量模型同时考虑了目标物体及其临近物体的运动信息,对运动强度的检测有较好的鲁棒性,可以有效地检测不同场景下的速度异常目标。To sum up, the motion energy model proposed by the embodiment of the present invention takes into account the motion information of the target object and its adjacent objects at the same time, has better robustness to the detection of motion intensity, and can effectively detect speed anomalies in different scenarios Target.
实施例3Example 3
下面结合具体的附图、实验数据对实施例1和2中的方案进行可行性验证,详见下文描述:Below in conjunction with concrete accompanying drawing, experimental data, the scheme in embodiment 1 and 2 is carried out feasibility verification, see the following description for details:
实验在MATLAB平台上对UCSD数据集进行仿真测试。UCSD数据集被广泛使用在局部异常目标检测中,它包含两个不同场景的子集——Ped1和Ped2。两个子集的训练集均只包含正常运动(行走的行人),测试集中包含一些速度异常的运动目标如穿行的自行车、快速行驶的机动车、滑板等等。对于帧级检测,只要在测试过程中有一个像素点被检测为异常,则该帧即标为异常;对于像素级异常检测,只要在测试过程中,标为异常的像素点占真正异常目标像素点的40%以上,则可视为检测正确,反之检测错误。The experiment is simulated and tested on the UCSD data set on the MATLAB platform. The UCSD dataset is widely used in local anomaly detection, and it contains two subsets of different scenes - Ped1 and Ped2. The training sets of the two subsets only contain normal motion (walking pedestrians), and the test set contains some moving objects with abnormal speeds, such as passing bicycles, fast-moving motor vehicles, skateboards, and so on. For frame-level detection, as long as a pixel is detected as abnormal during the test, the frame is marked as abnormal; for pixel-level abnormal detection, as long as the pixels marked as abnormal account for the real abnormal target pixels during the test If more than 40% of the points are detected, it can be regarded as correct detection; otherwise, the detection is wrong.
本发明实施例与同样属于低级特征检测方法的Social Force,MPPCA,MDT方法进行比较,比较结果如下:The embodiment of the present invention compares with Social Force, MPPCA, and MDT methods that also belong to low-level feature detection methods, and the comparison results are as follows:
在帧级检测任务中,由图6(a)、(b)的ROC曲线结果可以看出,本方法表现最佳:在Ped1中与MDT方法可比较,差距微小;在Ped2中表现超过MDT方法。如表1所示,本发明的平均错误率与MDT-temporal相近。在像素级检测任务中,由图6(c)的ROC曲线结果可以看出,本发明的检测率与MDT方法差距微小。但由表2所示,本方法的算法效率远远高出其他方法,经过优化后基本可以实现实时异常目标检测。In the frame-level detection task, it can be seen from the ROC curve results in Figure 6(a) and (b) that this method performs best: it is comparable to the MDT method in Ped1, and the gap is small; in Ped2, it outperforms the MDT method . As shown in Table 1, the average error rate of the present invention is similar to that of MDT-temporal. In the pixel-level detection task, it can be seen from the ROC curve results in Figure 6(c) that the detection rate of the present invention is slightly different from that of the MDT method. However, as shown in Table 2, the algorithm efficiency of this method is much higher than other methods, and it can basically realize real-time abnormal target detection after optimization.
表1 帧级别平均错误率(PED1和PED2)Table 1 Frame-level average error rate (PED1 and PED2)
表2 检测率和算法效率(PED2)Table 2 Detection rate and algorithm efficiency (PED2)
图7(a)和(b)展示了可视化结果:图中标注为白色的区域为发生速度异常的区域,可以清楚的看出本发明有效地检测到机动车,自行车,滑板等速度异常目标。Figure 7(a) and (b) show the visualization results: the white area in the figure is the area where the abnormal speed occurs, and it can be clearly seen that the present invention effectively detects abnormal speed targets such as motor vehicles, bicycles, and skateboards.
综上所述,本发明实施例提出的运动能量模型同时考虑了目标物体及其临近物体的运动信息,对运动强度的检测有较好的鲁棒性,可以有效地检测不同场景下的速度异常目标。To sum up, the motion energy model proposed by the embodiment of the present invention takes into account the motion information of the target object and its adjacent objects at the same time, has better robustness to the detection of motion intensity, and can effectively detect speed anomalies in different scenarios Target.
参考文献references
[1]Helbing,Dirk,and Peter Molnar."Social force model for pedestriandynamics."Physical review E 51.5(1995):4282.[1] Helbing, Dirk, and Peter Molnar."Social force model for pedestrian dynamics."Physical review E 51.5(1995):4282.
[2]Adam,Amit,et al."Robust real-time unusual event detection usingmultiple fixed-location monitors."IEEE Transactions on Pattern Analysis andMachine Intelligence 30.3(2008):555-560.[2] Adam, Amit, et al."Robust real-time unusual event detection using multiple fixed-location monitors."IEEE Transactions on Pattern Analysis and Machine Intelligence 30.3(2008):555-560.
[3]Li,Weixin,Vijay Mahadevan,and Nuno Vasconcelos."Anomaly detectionand localization in crowdedscenes."IEEE transactions on pattern analysis andmachine intelligence 36.1(2014):18-32.[3] Li, Weixin, Vijay Mahadevan, and Nuno Vasconcelos. "Anomaly detection and localization in crowded scenes." IEEE transactions on pattern analysis and machine intelligence 36.1(2014):18-32.
[4]Reddy,Vikas,Conrad Sanderson,and Brian C.Lovell."Improved anomalydetection in crowded scenesvia cell-based analysis of foreground speed,sizeand texture."CVPR 2011WORKSHOPS.IEEE,2011.[4]Reddy, Vikas, Conrad Sanderson, and Brian C.Lovell."Improved anomaly detection in crowded scenes via cell-based analysis of foreground speed, size and texture."CVPR 2011WORKSHOPS.IEEE,2011.
本领域技术人员可以理解附图只是一个优选实施例的示意图,上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。Those skilled in the art can understand that the accompanying drawing is only a schematic diagram of a preferred embodiment, and the serial numbers of the above-mentioned embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611213597.3A CN106780547B (en) | 2016-12-24 | 2016-12-24 | Detection method for abnormal speed targets in surveillance video based on motion energy model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611213597.3A CN106780547B (en) | 2016-12-24 | 2016-12-24 | Detection method for abnormal speed targets in surveillance video based on motion energy model |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106780547A true CN106780547A (en) | 2017-05-31 |
CN106780547B CN106780547B (en) | 2019-06-18 |
Family
ID=58920688
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611213597.3A Active CN106780547B (en) | 2016-12-24 | 2016-12-24 | Detection method for abnormal speed targets in surveillance video based on motion energy model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106780547B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110392302A (en) * | 2018-04-16 | 2019-10-29 | 北京陌陌信息技术有限公司 | Video is dubbed in background music method, apparatus, equipment and storage medium |
CN110580504A (en) * | 2019-08-27 | 2019-12-17 | 天津大学 | A Video Anomaly Event Detection Method Based on Self-Feedback Mutually Exclusive Subclass Mining |
CN110580708A (en) * | 2018-06-11 | 2019-12-17 | 杭州海康威视数字技术股份有限公司 | Rapid movement detection method and device and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101325691A (en) * | 2007-06-14 | 2008-12-17 | 清华大学 | Tracking method and tracking device for fusing multiple observation models with different lifetimes |
CN102156961A (en) * | 2009-12-22 | 2011-08-17 | 索尼公司 | Image processing apparatus, image processing method, and program |
-
2016
- 2016-12-24 CN CN201611213597.3A patent/CN106780547B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101325691A (en) * | 2007-06-14 | 2008-12-17 | 清华大学 | Tracking method and tracking device for fusing multiple observation models with different lifetimes |
CN102156961A (en) * | 2009-12-22 | 2011-08-17 | 索尼公司 | Image processing apparatus, image processing method, and program |
Non-Patent Citations (4)
Title |
---|
ALEXANDER SHEKHOVTSOV ER.AL: "Efficient MRF Deformation Model for Non-Rigid Image Matching", 《2007 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION》 * |
TOBIAS SENST ET.AL: "II-LK – A Real-Time Implementation for Sparse Optical Flow", 《INTERNATIONAL CONFERENCE IMAGE ANALYSIS AND RECOGNITION》 * |
YANG CONG ET.AL: "Video Anomaly Search in Crowded Scenes via Spatio-Temporal Motion Context", 《IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY》 * |
王乔 等: "基于整体能量模型的异常行为检测", 《计算机应用研究》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110392302A (en) * | 2018-04-16 | 2019-10-29 | 北京陌陌信息技术有限公司 | Video is dubbed in background music method, apparatus, equipment and storage medium |
CN110580708A (en) * | 2018-06-11 | 2019-12-17 | 杭州海康威视数字技术股份有限公司 | Rapid movement detection method and device and electronic equipment |
CN110580708B (en) * | 2018-06-11 | 2022-05-31 | 杭州海康威视数字技术股份有限公司 | Rapid movement detection method and device and electronic equipment |
CN110580504A (en) * | 2019-08-27 | 2019-12-17 | 天津大学 | A Video Anomaly Event Detection Method Based on Self-Feedback Mutually Exclusive Subclass Mining |
CN110580504B (en) * | 2019-08-27 | 2023-07-25 | 天津大学 | Video abnormal event detection method based on self-feedback mutual exclusion subclass mining |
Also Published As
Publication number | Publication date |
---|---|
CN106780547B (en) | 2019-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105844234B (en) | A method and device for people counting based on head and shoulders detection | |
Zhang et al. | Combining motion and appearance cues for anomaly detection | |
CN103839065B (en) | Extraction method for dynamic crowd gathering characteristics | |
CN105138982A (en) | Crowd abnormity detection and evaluation method based on multi-characteristic cluster and classification | |
CN109918971B (en) | Method and device for detecting number of people in monitoring video | |
CN103077423B (en) | To run condition detection method based on crowd's quantity survey of video flowing, local crowd massing situation and crowd | |
CN103839085B (en) | A kind of detection method of compartment exception crowd density | |
CN109948455B (en) | Detection method and device for left-behind object | |
Huang et al. | Automatic moving object extraction through a real-world variable-bandwidth network for traffic monitoring systems | |
CN107808139A (en) | A kind of real-time monitoring threat analysis method and system based on deep learning | |
CN107659754B (en) | An effective method for concentrating surveillance video under the condition of leaf disturbance | |
CN108647649A (en) | The detection method of abnormal behaviour in a kind of video | |
Hashemzadeh et al. | Counting moving people in crowds using motion statistics of feature-points | |
CN113536972A (en) | Self-supervision cross-domain crowd counting method based on target domain pseudo label | |
CN103488993A (en) | Crowd abnormal behavior identification method based on FAST | |
CN107491749A (en) | Global and local anomaly detection method in a kind of crowd's scene | |
CN114373162B (en) | Dangerous area personnel intrusion detection method and system for transformer substation video monitoring | |
CN105096344B (en) | Group behavior recognition methods and system based on CD motion features | |
CN112464893A (en) | Congestion degree classification method in complex environment | |
Xia et al. | Vision-based traffic accident detection using matrix approximation | |
CN106780547A (en) | Monitor video velocity anomaly mesh object detection method is directed to based on kinergety model | |
CN104239908A (en) | Intelligent ridership automatic statistical method based on self-adaptive threshold value | |
CN108154089B (en) | A Crowd Counting Method Based on Scale Adaptive Head Detection and Density Maps | |
CN104077571B (en) | A kind of crowd's anomaly detection method that model is serialized using single class | |
Singh et al. | Crowd escape event detection via pooling features of optical flow for intelligent video surveillance systems |
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 |