CN104575003A - Method for detecting vehicle speed based on road monitoring videos - Google Patents

Method for detecting vehicle speed based on road monitoring videos Download PDF

Info

Publication number
CN104575003A
CN104575003A CN201310503592.4A CN201310503592A CN104575003A CN 104575003 A CN104575003 A CN 104575003A CN 201310503592 A CN201310503592 A CN 201310503592A CN 104575003 A CN104575003 A CN 104575003A
Authority
CN
China
Prior art keywords
vehicle
distance
pixel
track
vehicle speed
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
Application number
CN201310503592.4A
Other languages
Chinese (zh)
Other versions
CN104575003B (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.)
Beijing Jiaotong University
Fujitsu Ltd
Original Assignee
Beijing Jiaotong University
Fujitsu Ltd
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 Beijing Jiaotong University, Fujitsu Ltd filed Critical Beijing Jiaotong University
Priority to CN201310503592.4A priority Critical patent/CN104575003B/en
Publication of CN104575003A publication Critical patent/CN104575003A/en
Application granted granted Critical
Publication of CN104575003B publication Critical patent/CN104575003B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Traffic Control Systems (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a method for detecting vehicle speed based on road monitoring videos. The method comprises the following steps: (1) dividing a lane using a lane marking line identification method and eliminating unnecessary background; (2) obtaining lane width information according to lane images; (3) calculating the actual distance represented by each pixel point; (4) solving the correction factor Beta which is used for correcting the actual lane distance represented by each pixel point; (5) calculating the optical flow of the vehicle to obtain the trajectory of the vehicle; (6) calculating the actual moving distance of the vehicle; (7) multiplying the correcting the distance by the correction factor to correct the distance; (8) calculating the speed. According to the invention, a video image analysis technology is adopted to decrease the cost of vehicle speed monitoring and speeding behavior recording; and in addition, the method also has the function of expanding the vehicle speed monitoring scope, and vehicle speed monitoring can be implemented at any place with cameras.

Description

A kind of vehicle speed detection method based on traffic surveillance videos
Technical field
The present invention relates to intelligent traffic vehicle to test the speed field, particularly relate to the Vehicle Velocity Measurement Method based on traffic surveillance videos image.
Background technology
Along with China's expanding economy, the popularity rate of automobile also rapidly promotes thereupon, and while vehicle increases, traffic hazard also comes one after another.And to drive over the speed limit be one of arch-criminal of leading to of tragedy.
The main method of current vehicle speed measuring has radar velocity measurement, laser velocimeter, ground sensing coil speed measuring etc.Three kinds of speed-measuring methods all have the feature of high-accuracy, but cannot carry out record to unlawful practice while measuring speed.Especially, ground sensing coil speed measuring needs at embedded underground coil, and road pavement damage is comparatively large and maintenance cost is higher.
Summary of the invention
The present invention is and overcomes the above problems and produce, and being provides a kind of vehicle speed detection method based on traffic surveillance videos, is intended to the loaded down with trivial details degree and the cost that reduce vehicle speed measuring.The present invention is based on the vehicle speed measuring method of traffic video, its external hardware device only depends on video camera, and software and hardware cooperation can solve tests the speed and monitor two pieces of difficult problems.
Innovative point of the present invention is: the number of pixels (pixel_number) proposing lane width in actual range (pixel_distance)=track developed width (the road_width)/video image representated by each pixel.
Country has formulated a set of detailed standard for the width in track, and normalized lane width is for the invention provides great facility.
Because the lane width in video image constantly changes along with the shooting degree of depth of camera, therefore distance representated by pixel is also relevant with the position at pixel place.If pixel coordinate is (x, y), then when y=i(establishes the longitudinal width of each pixel consistent with the distance representated by transverse width) time:
pixel_distance[i]=road_width/pixel_number[i]。
Based on the vehicle speed detection method of traffic surveillance videos, it is characterized in that, comprise the steps:
1. track picture intercepts: adopt track marking line method of identification from video image, be partitioned into a track.Delete superfluous background, obtains pure track picture.Original image element used during sectional drawing is consistent with video pixel.Also Manual interception method can be adopted to obtain.
2. obtain lane width information: the track picture 1. obtained according to step, calculate lane width, represent by pixel number (pixel_number).
3. the actual range representated by every pixel is calculated:
Pixel_distance [i]=road_width/pixel_number [i], stored in document, facilitates subsequent calls by one group of pixel_distance [i] value obtained.
4. solve correction factor β: carry out distance calibration to track, more real distance and the gap calculating gained distance, as correction factor, in order to correct the actual track distance representated by each pixel.Namely actual range/calculating the gained two between β=two mark marks spacing.
5. registration of vehicle movement locus: suppose that vehicle does rectilinear motion, adopts feature point tracking mode to obtain the light stream of vehicle movement, and the average calculating all light streams is used for being similar to the movement locus replacing vehicle.
6. vehicle actual motion distance is calculated: if there is not the change in direction in the driving process of vehicle, then according to vehicle actual motion distance can be calculated stored in the pixel_distance [i] in document and vehicle movement pixel number, this distance values equals the actual motion distance of the actual range sum in vehicle movement track representated by each pixel as vehicle.That is: distance solution formula sum formula replaces integral formula; Formula is Σ i = y 1 y 2 pixel _ dis tan ce [ i ] . pixel_distance[i]。
7. distance correction: vehicle actual motion distance is multiplied by correction factor β;
8. speed calculates: according to the move distance of vehicle in reality and the actual motion speed of run duration calculating vehicle.Namely wherein T is front and back two frame video image frame difference/video frame rates.
Further, step 6. in, there is the change in direction in the traveling because of vehicle, therefore the deviation angle that the actual range of gained and vehicle travel should be combined, to obtain more accurate result.If step 5. in the first and last point pixel coordinate of vehicle movement track of record be respectively (x1, y1), (x2, y2), the deviation angle that can obtain in vehicle travel process is α = ( x 1 - x 2 ) 2 + ( y 1 - y 2 ) 2 / | y 2 - y 1 | , Then the final computing formula of vehicle actual motion distance is:
D = Σ i = y 1 y 2 pixel _ dis tan ce [ i ] * β * α .
The present invention adopts video image analysis technology, and the simple consumptive material of method is single, only needs a camera.Can carry out car speed monitoring after photographed data being passed back Surveillance center, Detection results is excellent.The movement velocity of vehicle can be obtained after adopting above-mentioned steps of the present invention.The present invention can reduce the cost of vehicle speed detection and hypervelocity behavior record.In view of the popularity rate of camera is higher, so the monitoring can carrying out in a big way to vehicle, can report to the police or submit to car pipe office to punish it if there is hypervelocity behavior, play the effect of supervision driving personnel, effectively can reduce the hypervelocity behavior of vehicle, ensure the security of the lives and property of driving personnel and the masses.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of vehicle speed detection step of the present invention.
Embodiment
In order to explain technical scheme of the present invention further, below by specific embodiment, detailed explanation is carried out to the present invention.
1. track picture intercepts: the pure road picture intercepting a track from video image, as shown in Figure 1.
2. obtain lane width information: set the coordinate of each pixel in carriageway image as (x, y), then, as y=i, obtain lane width, represent by pixel number, i.e. pixel_number [i].
3. calculate the track actual range representated by every pixel: if track real wide be 3.5 meters, to be then the actual track distance representated by some row pixels of (x, i) be coordinate points:
pixel_distance[i]=3.5m/pixel_number[i]。By the actual range pixel_distance [i] representated by each pixel stored in document, the vehicle speed measuring after being convenient to.
4. solve correction factor: distance calibration is carried out to track, such as, set a mark every 5m.If step 3. gained data calculate two mark between distance be z rice, then correction factor β=5/z.
5. registration of vehicle movement locus: adopt feature point tracking mode to obtain the light stream of vehicle movement, the average calculating all light streams is used for being similar to the movement locus replacing vehicle.
6. calculate vehicle actual motion distance D: establish the first and last point coordinate of vehicle movement track to be respectively (m1, n1), (m2, n2), the deviation angle obtaining vehicle traveling is:
α = ( x 1 - x 2 ) 2 + ( y 1 - y 2 ) 2 / | y 2 - y 1 | , Then the final computing formula of vehicle actual motion distance is: D = Σ i = y 1 y 2 pixel _ dis tan ce [ i ] * β * α .
7. distance correction: vehicle actual motion distance is multiplied by correction factor and obtains vehicle movement distance in reality.
8. speed calculates: set the frame between two width video images poor as k, the acquisition frame rate of CCTV camera is F, then the speed of a motor vehicle is: v = D T = D * F k .
Adopt the movement velocity that can obtain vehicle after above-mentioned steps, operation complete once 1. ~ 4. after step, can repetitive operation 5. ~ 8. step, the unlimited measurement speed of a motor vehicle.Measure the speed of a motor vehicle as track need be changed, need first again operation steps 1. ~ 4., initialization is carried out to the data of new road, thus ensures the accuracy of vehicle speed measurement.

Claims (10)

1., based on a vehicle speed detection method for traffic surveillance videos, it is characterized in that, comprise the steps:
1. track segmentation;
2. lane width information is obtained;
3. the actual range representated by each pixel is calculated;
4. correction factor β is solved, in order to correct the actual track distance representated by each pixel;
5. vehicle movement track is obtained;
6. vehicle actual motion distance is calculated;
7. distance correction;
8. speed calculates.
2. the vehicle speed detection method based on traffic surveillance videos according to claim 1, is characterized in that, when step 1. split by track, adopts track marking line method of identification Delete superfluous background, obtains track picture; Original image element used during sectional drawing is consistent with video pixel.
3. the vehicle speed detection method based on traffic surveillance videos according to claim 1, is characterized in that, when 2. step carries out track pixel wide information acquisition, its lane width pixel number of lane width in video image represents.
4. the vehicle speed detection method based on traffic surveillance videos according to claim 1, is characterized in that, when 3. step calculates the track actual range representated by every pixel, supposes that the longitudinal width of each pixel is consistent with the distance representated by transverse width.
5. the vehicle speed detection method based on traffic surveillance videos according to claim 1, it is characterized in that, 4. step solves correction factor β, first distance calibration is carried out to track, thereafter compare actual range and calculate gained distance, obtain ratio between the two, as correction factor, in order to correct the actual track distance representated by each pixel; Two mark spacings of the actual range/calculating gained namely between β=two mark.
6. the vehicle speed detection method based on traffic surveillance videos according to claim 1, is characterized in that, when 5. step obtains vehicle movement track, supposes that vehicle does rectilinear motion.
7. the vehicle speed detection method based on traffic surveillance videos according to claim 6, is characterized in that, when 6. step calculates vehicle actual motion distance, distance solution formula sum formula replaces integral formula; Namely use the actual range sum in vehicle movement track representated by each pixel as the actual motion distance of vehicle.
8. the vehicle speed detection method based on traffic surveillance videos according to claim 1, it is characterized in that, when 6. step calculates vehicle actual motion distance, if the traveling of vehicle exists the change in direction, then need the deviation angle considering vehicle, in order to correct the actual motion distance of vehicle.
9. the vehicle speed detection method based on traffic surveillance videos according to claim 1, it is characterized in that, step is distance correction 7., is vehicle actual motion distance is multiplied by correction factor β.
10. the vehicle speed detection method based on traffic surveillance videos according to claim 1, is characterized in that, step 8. speed calculates, and is the actual motion speed calculating vehicle according to the move distance of vehicle in reality and run duration, namely wherein D be step 7. in the vehicle movement distance that calculates, T is front and back two frame video image frame difference/video frame rates.
CN201310503592.4A 2013-10-23 2013-10-23 A kind of vehicle speed detection method based on traffic surveillance videos Expired - Fee Related CN104575003B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310503592.4A CN104575003B (en) 2013-10-23 2013-10-23 A kind of vehicle speed detection method based on traffic surveillance videos

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310503592.4A CN104575003B (en) 2013-10-23 2013-10-23 A kind of vehicle speed detection method based on traffic surveillance videos

Publications (2)

Publication Number Publication Date
CN104575003A true CN104575003A (en) 2015-04-29
CN104575003B CN104575003B (en) 2017-07-18

Family

ID=53090945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310503592.4A Expired - Fee Related CN104575003B (en) 2013-10-23 2013-10-23 A kind of vehicle speed detection method based on traffic surveillance videos

Country Status (1)

Country Link
CN (1) CN104575003B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105654060A (en) * 2016-01-04 2016-06-08 中海网络科技股份有限公司 Method for acquiring vehicle speed from road monitoring video
CN106254839A (en) * 2016-09-30 2016-12-21 湖南中铁五新重工有限公司 The anti-method and device of slinging of container truck
CN106327880A (en) * 2016-09-09 2017-01-11 成都通甲优博科技有限责任公司 Vehicle speed identification method and system based on monitored video
CN106991414A (en) * 2017-05-17 2017-07-28 司法部司法鉴定科学技术研究所 A kind of method that state of motion of vehicle is obtained based on video image
CN107067752A (en) * 2017-05-17 2017-08-18 北京联合大学 Automobile speedestimate system and method based on unmanned plane image
CN107315095A (en) * 2017-06-19 2017-11-03 哈尔滨工业大学 Many vehicle automatic speed-measuring methods with illumination adaptability based on Video processing
CN109584305A (en) * 2017-09-29 2019-04-05 宝沃汽车(中国)有限公司 Panorama system scaling method, device and vehicle
CN109686088A (en) * 2018-12-29 2019-04-26 重庆同济同枥信息技术有限公司 A kind of traffic video alarm method, equipment and system
CN109983469A (en) * 2016-11-23 2019-07-05 Lg伊诺特有限公司 Use the image analysis method of vehicle drive information, device, the system and program and storage medium
CN110503740A (en) * 2018-05-18 2019-11-26 杭州海康威视数字技术股份有限公司 A kind of vehicle-state determination method, device, computer equipment and system
CN110809228A (en) * 2018-07-18 2020-02-18 北京聚利科技股份有限公司 Speed measurement method, device, equipment and computer readable storage medium
CN112309134A (en) * 2019-07-29 2021-02-02 富士通株式会社 Vehicle speed detection method and device
CN112991769A (en) * 2021-02-03 2021-06-18 中科视语(北京)科技有限公司 Traffic volume investigation method and device based on video
CN114333134A (en) * 2022-03-10 2022-04-12 深圳灏鹏科技有限公司 Cabin management method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060024696A (en) * 2004-09-14 2006-03-17 엘지전자 주식회사 Apparatus and method for car velocity measurement of mobile station
CN1963884A (en) * 2006-12-13 2007-05-16 王海燕 Method and system of video frequency velometer
CN101187671A (en) * 2007-12-27 2008-05-28 北京中星微电子有限公司 Method and device for determining automobile driving speed
CN102622895A (en) * 2012-03-23 2012-08-01 长安大学 Video-based vehicle speed detecting method
CN103150908A (en) * 2013-02-05 2013-06-12 长安大学 Average vehicle speed detecting method based on video

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060024696A (en) * 2004-09-14 2006-03-17 엘지전자 주식회사 Apparatus and method for car velocity measurement of mobile station
CN1963884A (en) * 2006-12-13 2007-05-16 王海燕 Method and system of video frequency velometer
CN101187671A (en) * 2007-12-27 2008-05-28 北京中星微电子有限公司 Method and device for determining automobile driving speed
CN102622895A (en) * 2012-03-23 2012-08-01 长安大学 Video-based vehicle speed detecting method
CN103150908A (en) * 2013-02-05 2013-06-12 长安大学 Average vehicle speed detecting method based on video

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105654060A (en) * 2016-01-04 2016-06-08 中海网络科技股份有限公司 Method for acquiring vehicle speed from road monitoring video
CN106327880A (en) * 2016-09-09 2017-01-11 成都通甲优博科技有限责任公司 Vehicle speed identification method and system based on monitored video
CN106254839A (en) * 2016-09-30 2016-12-21 湖南中铁五新重工有限公司 The anti-method and device of slinging of container truck
CN109983469B (en) * 2016-11-23 2023-08-08 Lg伊诺特有限公司 Image analysis method, device, system, and program using vehicle driving information, and storage medium
CN109983469A (en) * 2016-11-23 2019-07-05 Lg伊诺特有限公司 Use the image analysis method of vehicle drive information, device, the system and program and storage medium
CN106991414A (en) * 2017-05-17 2017-07-28 司法部司法鉴定科学技术研究所 A kind of method that state of motion of vehicle is obtained based on video image
CN107067752A (en) * 2017-05-17 2017-08-18 北京联合大学 Automobile speedestimate system and method based on unmanned plane image
CN107315095B (en) * 2017-06-19 2019-07-02 哈尔滨工业大学 More vehicle automatic speed-measuring methods with illumination adaptability based on video processing
CN107315095A (en) * 2017-06-19 2017-11-03 哈尔滨工业大学 Many vehicle automatic speed-measuring methods with illumination adaptability based on Video processing
CN109584305A (en) * 2017-09-29 2019-04-05 宝沃汽车(中国)有限公司 Panorama system scaling method, device and vehicle
CN110503740A (en) * 2018-05-18 2019-11-26 杭州海康威视数字技术股份有限公司 A kind of vehicle-state determination method, device, computer equipment and system
CN110809228A (en) * 2018-07-18 2020-02-18 北京聚利科技股份有限公司 Speed measurement method, device, equipment and computer readable storage medium
CN110809228B (en) * 2018-07-18 2020-10-20 北京聚利科技有限公司 Speed measurement method, device, equipment and computer readable storage medium
CN109686088A (en) * 2018-12-29 2019-04-26 重庆同济同枥信息技术有限公司 A kind of traffic video alarm method, equipment and system
CN109686088B (en) * 2018-12-29 2021-07-30 重庆同枥信息技术有限公司 Traffic video alarm method, equipment and system
CN112309134A (en) * 2019-07-29 2021-02-02 富士通株式会社 Vehicle speed detection method and device
CN112991769A (en) * 2021-02-03 2021-06-18 中科视语(北京)科技有限公司 Traffic volume investigation method and device based on video
CN114333134A (en) * 2022-03-10 2022-04-12 深圳灏鹏科技有限公司 Cabin management method, device, equipment and storage medium
CN114333134B (en) * 2022-03-10 2022-05-31 深圳灏鹏科技有限公司 Cabin management method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN104575003B (en) 2017-07-18

Similar Documents

Publication Publication Date Title
CN104575003A (en) Method for detecting vehicle speed based on road monitoring videos
WO2021004548A1 (en) Vehicle speed intelligent measurement method based on binocular stereo vision system
CN105632175B (en) Vehicle behavior analysis method and system
US7580547B2 (en) Electronic traffic monitor
CN101604448B (en) Method and system for measuring speed of moving targets
CN103456172B (en) A kind of traffic parameter measuring method based on video
CN104021676A (en) Vehicle positioning and speed measuring method based on dynamic video feature of vehicle
CN105321342A (en) Intersection vehicle queuing length detection method based on aerial video
US8964035B2 (en) Method for calibrating the image of a camera
KR20130004895A (en) Method for estimating the roll angle in a travelling vehicle
AU2015352463B2 (en) Double stereoscopic sensor
CN108922172B (en) Road congestion monitoring system based on vehicle characteristic matrix sequence change analysis
CN106803350A (en) A kind of vehicle speed detection method and device based on camera shooting time difference
KR20160100788A (en) Apparatus and method for measuring speed of moving object
CN113505638B (en) Method and device for monitoring traffic flow and computer readable storage medium
CN107818685A (en) A kind of method that state of motion of vehicle is obtained based on Vehicular video
CN103686083A (en) Real-time speed measurement method based on vehicle-mounted sensor video streaming matching
Sochor et al. Brnocompspeed: Review of traffic camera calibration and comprehensive dataset for monocular speed measurement
CN109241979A (en) A kind of vehicle relative position estimation method based on SPEED VISION Feature Points Matching
CN116503818A (en) Multi-lane vehicle speed detection method and system
CN110189377A (en) A kind of high precision speed-measuring method based on binocular stereo vision
CN114419485A (en) Camera-based intelligent vehicle speed measuring method and system, storage medium and computer equipment
JP2011064639A (en) Distance measuring device and distance measuring method
CN109345576B (en) Vehicle running speed identification method and system
CN113160299B (en) Vehicle video speed measurement method based on Kalman filtering and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170718

Termination date: 20171023

CF01 Termination of patent right due to non-payment of annual fee