CN103150901B - Abnormal traffic condition detection method based on vehicle motion vector field analysis - Google Patents

Abnormal traffic condition detection method based on vehicle motion vector field analysis Download PDF

Info

Publication number
CN103150901B
CN103150901B CN201310045476.2A CN201310045476A CN103150901B CN 103150901 B CN103150901 B CN 103150901B CN 201310045476 A CN201310045476 A CN 201310045476A CN 103150901 B CN103150901 B CN 103150901B
Authority
CN
China
Prior art keywords
vehicle
vector field
motion vector
frame
vector
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
Application number
CN201310045476.2A
Other languages
Chinese (zh)
Other versions
CN103150901A (en
Inventor
宋焕生
席阳
彭玲玲
刘雪琴
杨媛
徐晓娟
赵倩倩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Dewei Shitong Intelligent Technology Co.,Ltd.
Original Assignee
Changan University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Changan University filed Critical Changan University
Priority to CN201310045476.2A priority Critical patent/CN103150901B/en
Publication of CN103150901A publication Critical patent/CN103150901A/en
Application granted granted Critical
Publication of CN103150901B publication Critical patent/CN103150901B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides an abnormal traffic condition detection method based on vehicle motion vector field analysis. The abnormal traffic condition detection method based on the vehicle motion vector field analysis comprises using a frame-to-frame difference method based on blocks to detect a motion area, finding out feature points of the motion area, obtaining travel tracks of vehicles in motion, recording travel tracks of all the vehicle in motion, forming a vehicle motion vector field, and comparing the vehicle motion vector field with a vehicle motion vector field in a video by combing a normal vehicle motion vector field to confirm whether the travel tracks of the vehicles are normal. The abnormal traffic condition detection method based on the vehicle motion vector field analysis avoids limitation of a complicated background environment, is capable of carrying out real-time and reliable detection on all the vehicles in motion in a video range, and is easy to achieve, high in accuracy, and wide in application respect.

Description

A kind of abnormal traffic state testing method based on vehicle movement vector field analysis
Technical field
The invention belongs to field of video detection, be specifically related to a kind of abnormal traffic state testing method based on vehicle movement vector field analysis.
Background technology
Countless traffic hazards are had to occur every year, one of frequent accidents Producing reason when wherein driving against traffic regulations.Therefore, utilize video monitoring to detect fast and accurately traffic events, become the problem that more and more people is concerned about.The target of intelligent video monitoring system monitors and understands occurent event in scene, and report to the police to anomalous event according to the requirement preset; According to namely will event to the state residing for moving target or position prediction, reduce the generation of hazard event.First be exactly that can real-time learning, the action trail pattern of understanding proper motion target, detects abnormal movement objective orbit on this basis.
Be upper up till now, defined a series of vehicle identification and classification methods utilizing the sensor such as infrared ray, radar to be means.These Method And Principles are simple, and clear physics conception is clear and definite, and implement and be easier to, but it is more complicated also to there is hardware system, the adaptive capacity to environment of system is poor, has the defects such as failure rate is higher, inconvenient maintenance, are difficult in actual use promote.Method means based on video method of difference of having powerful connections extracts moving vehicle, but under complex environment, the extraction of background, upgrade is a difficult problem always, also have impact on the quality extracting moving target to a great extent.
Summary of the invention
For shortcomings and deficiencies of the prior art, the object of the invention is to, there is provided a kind of based on vehicle movement vector field traffic incidents detection method, the method builds on the basis of vehicle movement track following, detect the abnormal track of vehicle within the scope of the road of video camera shooting, thus reach the object detecting abnormal traffic situation.
In order to realize above-mentioned task, the present invention adopts following technical scheme to be achieved:
Based on an abnormal traffic state testing method for vehicle movement vector field analysis, the method is carried out according to following steps:
Step one, obtain the video sequence image of video camera shooting, utilize block-based frame-to-frame differences method to detect moving region to a wherein two field picture, extract image characteristic point by existing Moravec angle point grid operator with the form of piecemeal, thus find out the unique point of moving region;
Step 2, adopts all direction search method and SAD block matching criterion, carries out search coupling at next frame to the unique point extracted, find new suitable unique point, the unique point of frame before and after connecting, frame vehicle movement orbit segment before and after being formed, and then the driving trace of moving vehicle is drawn by movement locus section;
Step 3, records the driving trace of all moving vehicles from all video sequence images of input;
Step 4, after recording the track that in video sequence, all moving vehicles travel, using the movement locus section of all composition vehicle movement tracks as the two-dimensional vector relative to screen, the direction of direction as this vector of the unique point of a rear frame is pointed to by the unique point of former frame, the vector formed by each orbit segment, as the vector of this orbit segment starting point, finally forms vehicle movement vector field;
Step 5, in conjunction with normal vehicle motion vector field, moving vehicle track under video monitoring is identified, the vehicle movement orbit segment that before and after monitoring video is every, two two field pictures are formed, this section of movement locus is regarded as the two-dimensional vector of relative screen, the block vector corresponding to normal vehicle motion vector field contrasts, if deviation exceedes threshold value A, and occur that the number of image frames of abnormal orbit segment exceedes threshold value B continuously, then this section of movement locus is abnormal orbit segment, otherwise this section of movement locus is normal trace section, wherein:
The span of described threshold value A is 25 ~ 40, and the value of described threshold value B is 5.
Of the present inventionly by vehicle movement vector field, traffic to be detected, compared with prior art, walked around complex background environmental restraint, can carry out detecting in real time, reliably to moving vehicles all in range of video.And be easy to realization, accuracy is higher, have broad application prospects.
Accompanying drawing explanation
Fig. 1 is the track following image of the 559th frame moving vehicle, 0,1,2 and 3 the 0th article of trajectory, the 1st article of trajectory, the 2nd article of trajectory and the 3rd article of trajectories representing pursuit movement vehicle respectively in figure.
After Fig. 2 is through 250 frames, the vehicle movement vector field that all tracks are formed.
After Fig. 3 is through 500 frames, the vehicle movement vector field that all tracks are formed.
After Fig. 4 is through 1000 frames, the vehicle movement vector field that all tracks are formed.
Fig. 5 (a), Fig. 5 (b) and Fig. 5 (c) represent from the 3780th frame to the modified line driving trace line of the tracking vehicle of the 3870th frame, and be tracking vehicle in black box in figure, in trajectory, black line is normal trace section, and white wire is abnormal orbit segment.
Fig. 6 (a), Fig. 6 (b) and Fig. 6 (c) represent the trajectory after contrasting from the 3780th frame to the modified line driving trace of the tracking vehicle of the 3870th frame and normal vehicle motion vector field, be tracking vehicle in black box in figure, in trajectory, black line is normal trace section, and white wire is abnormal orbit segment.
Below in conjunction with drawings and Examples, content of the present invention is described in further detail.
Embodiment
The present embodiment provides a kind of abnormal traffic state testing method based on vehicle movement vector field analysis, utilizes video to detect and the correlation technique of image procossing, the normal vehicle motion vector field calculated, thus realizes moving vehicle track and detect.Specifically follow these steps to carry out:
Step one, obtain the video sequence image of video camera shooting, utilize block-based frame-to-frame differences method to detect moving region to a wherein two field picture, extract image characteristic point by existing Moravec angle point grid operator with the form of piecemeal, thus find out the unique point of moving region;
Step 2, adopts all direction search method and SAD block matching criterion, carries out search coupling at next frame to the unique point extracted, find new suitable unique point, the unique point of frame before and after connecting, frame vehicle movement orbit segment before and after being formed, and then the driving trace of moving vehicle is drawn by movement locus section;
Step 3, records the driving trace of all moving vehicles from all video sequence images of input;
Step 4, after recording the track that in video sequence, all moving vehicles travel, using the movement locus section of all composition vehicle movement tracks as the two-dimensional vector relative to screen, the direction of direction as this vector of the unique point of a rear frame is pointed to by the unique point of former frame, the vector formed by each orbit segment, as the vector of this orbit segment starting point, finally forms vehicle movement vector field;
Step 5, in conjunction with normal vehicle motion vector field, moving vehicle track under video monitoring is identified, the vehicle movement orbit segment that before and after monitoring video is every, two two field pictures are formed, this section of movement locus is regarded as the two-dimensional vector of relative screen, the block vector corresponding to normal vehicle motion vector field contrasts, if deviation exceedes threshold value A, and occur that the number of image frames of abnormal orbit segment exceedes threshold value B continuously, then this section of movement locus is abnormal orbit segment, otherwise this section of movement locus is normal trace section, wherein:
The span of described threshold value A is 25 ~ 40, and the value of described threshold value B is 5.
Below provide specific embodiments of the invention, it should be noted that the present invention is not limited to following specific embodiment, all equivalents done on technical scheme basis all fall into protection scope of the present invention.
Embodiment:
Video sampling frequency in embodiment is 30 frames/second, and image size is 720 × 288.Successively the image in video sequence is processed according to method of the present invention.As shown in Figure 1, be the track following image of the 559th frame moving vehicle, 0,1,2 and 3 the 0th article of trajectory, the 1st article of trajectory, the 2nd article of trajectory and the 3rd article of trajectories representing pursuit movement vehicle respectively in figure,
In the video sequence known, after have passed through 250 frames, the vehicle movement vector field that all tracks are formed as shown in Figure 2; After 500 frames, the vehicle movement vector field that all tracks are formed as shown in Figure 3; After have passed through 1000 frames, by all trajectory clustering recorded, matching, draws in the road of this video capture, the normal running movement vector field of moving vehicle, as shown in Figure 4.At the 3780th frame of video in 3870 frames, occurred the moving vehicle of a modified line, its movement locus is as accompanying drawing 5(a), shown in Fig. 5 (b), Fig. 5 (c).The motion vector of moving vehicle and normal vehicle movement vector field are contrasted, as accompanying drawing 6(a), shown in Fig. 6 (b), Fig. 6 (c), judge that vehicle modified line travels.

Claims (1)

1. based on an abnormal traffic state testing method for vehicle movement vector field analysis, it is characterized in that, the method is carried out according to following steps:
Step one, obtain the video sequence image of video camera shooting, utilize block-based frame-to-frame differences method to detect moving region to a wherein two field picture, extract image characteristic point by existing Moravec angle point grid operator with the form of piecemeal, thus find out the unique point of moving region;
Step 2, adopts all direction search method and SAD block matching criterion, carries out search coupling at next frame to the unique point extracted, find new suitable unique point, the unique point of frame before and after connecting, frame vehicle movement orbit segment before and after being formed, and then the driving trace of moving vehicle is drawn by movement locus section;
Step 3, records the driving trace of all moving vehicles from all video sequence images of input;
Step 4, after recording the track that in video sequence, all moving vehicles travel, using the movement locus section of all composition vehicle movement tracks as the two-dimensional vector relative to screen, the direction of direction as this vector of the unique point of a rear frame is pointed to by the unique point of former frame, the vector formed by each orbit segment, as the vector of this orbit segment starting point, finally forms vehicle movement vector field;
Step 5, in conjunction with normal vehicle motion vector field, moving vehicle track under video monitoring is identified, the vehicle movement orbit segment that before and after monitoring video is every, two two field pictures are formed, this section of movement locus is regarded as the two-dimensional vector of relative screen, the block vector corresponding to normal vehicle motion vector field contrasts, if deviation exceedes threshold value A, and occur that the number of image frames of abnormal orbit segment exceedes threshold value B continuously, then this section of movement locus is abnormal orbit segment, otherwise this section of movement locus is normal trace section, wherein:
The span of described threshold value A is 25 ~ 40, and the value of described threshold value B is 5.
CN201310045476.2A 2013-02-05 2013-02-05 Abnormal traffic condition detection method based on vehicle motion vector field analysis Active CN103150901B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310045476.2A CN103150901B (en) 2013-02-05 2013-02-05 Abnormal traffic condition detection method based on vehicle motion vector field analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310045476.2A CN103150901B (en) 2013-02-05 2013-02-05 Abnormal traffic condition detection method based on vehicle motion vector field analysis

Publications (2)

Publication Number Publication Date
CN103150901A CN103150901A (en) 2013-06-12
CN103150901B true CN103150901B (en) 2015-02-18

Family

ID=48548934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310045476.2A Active CN103150901B (en) 2013-02-05 2013-02-05 Abnormal traffic condition detection method based on vehicle motion vector field analysis

Country Status (1)

Country Link
CN (1) CN103150901B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104616497B (en) * 2015-01-30 2017-03-15 江南大学 Public transport emergency detection method
WO2017035663A1 (en) * 2015-09-03 2017-03-09 Miovision Technologies Incorporated System and method for detecting and tracking objects
CN106952473A (en) * 2017-04-01 2017-07-14 深圳市元征科技股份有限公司 Road service system detection method and device
CN111699519A (en) * 2018-01-23 2020-09-22 西门子交通有限责任公司 System, device and method for detecting abnormal traffic events in a geographic location
CN110533692B (en) * 2019-08-21 2022-11-11 深圳新视达视讯工程有限公司 Automatic tracking method for moving target in aerial video of unmanned aerial vehicle
CN110636257B (en) * 2019-08-28 2021-01-08 视联动力信息技术股份有限公司 Monitoring video processing method and device, electronic equipment and storage medium
CN112329848B (en) * 2020-11-04 2022-07-29 昆明理工大学 Image space mapping method based on advection vector field clustering
CN112418118A (en) * 2020-11-27 2021-02-26 招商新智科技有限公司 Method and device for detecting pedestrian intrusion under unsupervised bridge
CN113139482A (en) * 2021-04-28 2021-07-20 北京百度网讯科技有限公司 Method and device for detecting traffic abnormity

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7580547B2 (en) * 2006-10-24 2009-08-25 Iteris, Inc. Electronic traffic monitor
EP2383713B1 (en) * 2006-12-06 2013-05-29 Mobileye Technologies Limited Detecting and recognizing traffic signs
CN101334845B (en) * 2007-06-27 2010-12-22 中国科学院自动化研究所 Video frequency behaviors recognition method based on track sequence analysis and rule induction
TWI425454B (en) * 2010-12-28 2014-02-01 Ind Tech Res Inst Method, system and computer program product for reconstructing moving path of vehicle
CN102855638B (en) * 2012-08-13 2015-02-11 苏州大学 Detection method for abnormal behavior of vehicle based on spectrum clustering

Also Published As

Publication number Publication date
CN103150901A (en) 2013-06-12

Similar Documents

Publication Publication Date Title
CN103150901B (en) Abnormal traffic condition detection method based on vehicle motion vector field analysis
CN108491758B (en) Track detection method and robot
CN102768804B (en) Video-based traffic information acquisition method
CN105744232B (en) A kind of method of the transmission line of electricity video external force damage prevention of Behavior-based control analytical technology
CN100557657C (en) A kind of vehicle checking method based on video image characteristic
CN102426785B (en) Traffic flow information perception method based on contour and local characteristic point and system thereof
CN103413395B (en) Flue gas intelligent detecting prewarning method and device
CN104408932A (en) Drunk driving vehicle detection system based on video monitoring
CN201773466U (en) Video monitoring and pre-warning device for detecting, tracking and identifying object detention/stealing event
CN103136514B (en) A kind of parking event detecting method based on bi-directional tracking
CN103413330A (en) Method for reliably generating video abstraction in complex scene
CN105069429A (en) People flow analysis statistics method based on big data platform and people flow analysis statistics system based on big data platform
CN103208190B (en) Traffic flow detection method based on object detection
CN104050818A (en) Moving vehicle speed measurement method based on target tracking and feature point matching
CN104506819A (en) Multi-camera real-time linkage mutual feedback tracing system and method
CN106558224B (en) A kind of traffic intelligent monitoring and managing method based on computer vision
Kulkarni et al. Real time vehicle detection, tracking and counting using Raspberry-Pi
CN107038411A (en) A kind of Roadside Parking behavior precise recognition method based on vehicle movement track in video
CN102496281A (en) Vehicle red-light violation detection method based on combination of tracking and virtual loop
CN105574502A (en) Automatic detection method for violation behaviors of self-service card sender
CN107547865A (en) Trans-regional human body video frequency object tracking intelligent control method
CN101635026A (en) Method for detecting derelict without tracking process
CN103152558A (en) Intrusion detection method based on scene recognition
Wei et al. Street object detection/tracking for AI city traffic analysis
CN103366578A (en) Image-based vehicle detection method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20211230

Address after: 710000 room d4405, 4th floor, free trade bonded building, No. 1, free trade Avenue, airport new town, Xixian new area, Xi'an, Shaanxi a44

Patentee after: Xi'an Dewei Shitong Intelligent Transportation Co.,Ltd.

Address before: 710064 middle section of south 2nd Ring Road, Xi'an, Shaanxi

Patentee before: CHANG'AN University

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: 710000 room d4405, 4th floor, free trade bonded building, No. 1, free trade Avenue, airport new town, Xixian new area, Xi'an, Shaanxi a44

Patentee after: Xi'an Dewei Shitong Intelligent Technology Co.,Ltd.

Address before: 710000 room d4405, 4th floor, free trade bonded building, No. 1, free trade Avenue, airport new town, Xixian new area, Xi'an, Shaanxi a44

Patentee before: Xi'an Dewei Shitong Intelligent Transportation Co.,Ltd.

CP01 Change in the name or title of a patent holder