CN105869413A - Method for measuring traffic flow and speed based on camera video - Google Patents

Method for measuring traffic flow and speed based on camera video Download PDF

Info

Publication number
CN105869413A
CN105869413A CN201610462222.4A CN201610462222A CN105869413A CN 105869413 A CN105869413 A CN 105869413A CN 201610462222 A CN201610462222 A CN 201610462222A CN 105869413 A CN105869413 A CN 105869413A
Authority
CN
China
Prior art keywords
sensing device
video
road
speed
vehicle
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.)
Pending
Application number
CN201610462222.4A
Other languages
Chinese (zh)
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.)
Changzhou Hailan Like Iot Technology Co Ltd
Original Assignee
Changzhou Hailan Like Iot Technology Co 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 Changzhou Hailan Like Iot Technology Co Ltd filed Critical Changzhou Hailan Like Iot Technology Co Ltd
Priority to CN201610462222.4A priority Critical patent/CN105869413A/en
Publication of CN105869413A publication Critical patent/CN105869413A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/052Detecting movement of traffic to be counted or controlled with provision for determining speed or overspeed
    • G08G1/054Detecting movement of traffic to be counted or controlled with provision for determining speed or overspeed photographing overspeeding vehicles
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/065Traffic control systems for road vehicles by counting the vehicles in a section of the road or in a parking area, i.e. comparing incoming count with outgoing count

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention relates to the technical field of traffic flow and speed measurement, and in particular relates to a method for measuring traffic flow and speed based on camera videos. The method for measuring traffic flow and speed based on camera videos comprises the following steps: acquiring traffic information indication icons, road facilities or road background images on a road by using video sensing equipment; continuously taking images of an image acquisition area, and comparing images acquired by using the video sensing equipment in sequence; and calculating by using a processor, and recording the traffic flow. According to the method for measuring traffic flow and speed based on camera videos, since a simple camera acquirer and a processor are adopted to complete traffic flow measurement, the cost is low, the algorithm is simple, and the traffic flow measurement accuracy rate can be increased; images taken by the camera acquirer can be directly uploaded to a server and are analyzed and processed by a host computer; and by using one same set of equipment, requirements of measuring both the traffic flow and the speed can be met, and the equipment investment can be reduced.

Description

Based on camera video detection vehicle flowrate and the method for speed
Technical field
The present invention relates to traffic flow detection and Bus-Speed Monitoring technical field, a kind of based on camera video detection vehicle flowrate and the method for speed.
Background technology
The basis of vehicle Flow Detection is the detection of vehicle, and vehicle detecting algorithm based on video analysis is studied by the most existing a lot of mechanisms, and algorithms most in use mainly has: gray scale relative method, background subtraction, frame difference method, edge detection method.Gray scale relative method algorithm is simple, and the change to ambient light is the most sensitive, applies less in systems in practice.Although and other several detection algorithms can obtain good Detection results in specific environment, but versatility is poor, it is difficult to adapt to actual environment complicated and changeable, and a set of equipment can not realize synchronizing the metering system to speed, causes the increase that equipment cost is applied.
Summary of the invention
In order to overcome existing device measuring vehicle flowrate can not meet use demand, the deficiency of the measurement to speed can not be completed simultaneously, the invention provides a kind of based on camera video detection vehicle flowrate and the method for speed.
The technical solution adopted for the present invention to solve the technical problems is: a kind of method based on camera video detection vehicle flowrate, utilizes video sensing device to gather the transport information on road and indicates icon, pavement facilities or road background picture;It is continuously shot the picture of pattern pickup area, compares the pattern that before and after's video sensing device collects;Carry out after calculating via processor recording vehicle flowrate.
According to another embodiment of the invention, farther including, the information of record is transported to server by wireless or wire transmission equipment and carries out storing analysis.
According to another embodiment of the invention, farther include, according to the actual requirements, increase traffic model in video sensing device detection region and indicate or pavement facilities.
According to another embodiment of the invention, farther include, the acquisition frame rate of video sensing device is set according to actual vehicle Flow Detection demand, such as: pattern pickup area is taken pictures by the shooting speed of 10-120 frame number/s, when vehicle indicates icon through pattern pickup area, the transport information in this region, and pavement facilities or road Background sector-meeting are blocked, the pattern that video sensing device collects there are differences with the image of record, carries out record after calculating via processor.
According to another embodiment of the invention, farther including, video sensing device is arranged on roadside height bar, road portal frame or mansion, roadside.
A kind of method based on camera video detection speed, utilizes video sensing device to gather the transport information on road and indicates icon, pavement facilities or road background picture;It is continuously shot the picture of pattern pickup area, compares the pattern that before and after's video sensing device collects;After calculating via processor, obtain speed.
According to another embodiment of the invention, farther include, the information of record is transported to server by wireless or wire transmission equipment and carries out storing analysis.
According to another embodiment of the invention, farther include, according to the actual requirements, increase traffic model in video sensing device detection region and indicate or pavement facilities.
nullAccording to another embodiment of the invention,Farther include,Shoot the picture of pattern pickup area and according to as picture pixels labelling x、Y coordinate system,Record,The acquisition frame rate of video sensing device is set according to actual vehicle Flow Detection demand,Such as: pattern pickup area is taken pictures by the shooting speed of 10-120 frame number/s,Transport information on road indicates icon,Measure pavement facilities or road background picture actual size D in advance,Coordinate distance at video pictures is respectively (x,Y)、(x0,Y0),Two video pictures are spaced apart t,The coordinate axes that vehicle is corresponding in the position of two pictures correspondence headstocks is respectively (x1,Y1)、(x2,Y2),Vehicle is at the position actual range d of two pictures correspondence headstocks,The numerical value of d can be by coordinate (x1,Y1)、(x2,Y2) carry out calculating goes out,Calculate the passage rate V of vehicle,Computing formula is:
V=[D/Sqrt [(x-x0) ^2+ (y-y0) ^2] * Sqrt [(x1-x2) ^2+ (y1-y2) ^2]/t(m/s).
According to another embodiment of the invention, farther including, video sensing device is arranged on roadside height bar, road portal frame or mansion, roadside.
The invention has the beneficial effects as follows:
1, simple camera collection device and processor is utilized to complete to detect vehicle flowrate, low cost;
2, substantially, algorithm is simple for the contrast of shooting video pictures, improves the Detection accuracy of vehicle flowrate;
3, camera collection device may be installed roadside and is easy to the on a high pole of power taking, e.g., light pole, Traffic signal post, signal lights gantry etc., it is not necessary to extra set up or lays collecting device and data line, and installation cost is low;
4, on camera collection device, complete data process, it is only necessary to report result, save reported data flow, save communications cost;The picture that camera collection device photographs directly can also be uploaded onto the server equally, host computer be analyzed processing;
5, same set of equipment, both can complete the detection to vehicle flowrate and also can complete the demand of testing the speed, reduce the input of equipment cost.
Accompanying drawing explanation
The present invention is further described with embodiment below in conjunction with the accompanying drawings.
Fig. 1 be the present invention need detect wagon flow position schematic diagram;
Fig. 2 is that passing through without vehicle of the present invention detects position state diagram;
Fig. 3 is that passing through without vehicle of the present invention shoots schematic diagram;
Fig. 4 is that the vehicle of the present invention is through detection position state diagram;
Fig. 5 is that the vehicle of the present invention is through shooting schematic diagram;
Fig. 6 is that this device that utilizes of the present invention carries out measuring principle figure.
Detailed description of the invention
It is further described in conjunction with-5 couples of present invention of Fig. 1, a kind of method based on camera video detection vehicle flowrate, utilizes video sensing device to gather the transport information on road and indicate icon, pavement facilities or road background picture;It is continuously shot the picture of pattern pickup area, compares the pattern that before and after's video sensing device collects;Carry out after calculating via processor recording vehicle flowrate.
According to another embodiment of the invention, farther including, the information of record is transported to server by wireless or wire transmission equipment and carries out storing analysis.
According to another embodiment of the invention, farther include, according to the actual requirements, increase traffic model in video sensing device detection region and indicate or pavement facilities.
According to another embodiment of the invention, farther include, the acquisition frame rate of video sensing device is set according to actual vehicle Flow Detection demand, such as: pattern pickup area is taken pictures by the shooting speed of 10-120 frame number/s, when vehicle indicates icon through pattern pickup area, the transport information in this region, and pavement facilities or road Background sector-meeting are blocked, the pattern that video sensing device collects there are differences with the image of record, carries out record after calculating via processor.
According to another embodiment of the invention, farther including, video sensing device is arranged on roadside height bar, road portal frame or mansion, roadside.
This method based on camera video detection vehicle flowrate, image is gathered by being arranged on the video sensing device of on a high pole, the image collected as shown in Figure 2 is Fig. 3, when vehicle through out-of-date as shown in Figure 4, the photo that video sensing device photographs is shown in Fig. 5, comparison diagram 5 and Fig. 3 before and after processor, and then go out to have vehicle to pass through, carry out record analysis subsequently, also by wire and wireless equipment, information or image can be sent to server terminal and be analyzed record, with the purpose of satisfied measurement wagon flow.
In conjunction with Fig. 6, the present invention is further described, a kind of method based on camera video detection speed, utilizes video sensing device to gather the transport information on road and indicate icon, pavement facilities or road background picture;It is continuously shot the picture of pattern pickup area, compares the pattern that before and after's video sensing device collects;After calculating via processor, obtain speed.
According to another embodiment of the invention, farther include, the information of record is transported to server by wireless or wire transmission equipment and carries out storing analysis.
According to another embodiment of the invention, farther include, according to the actual requirements, increase traffic model in video sensing device detection region and indicate or pavement facilities.
nullAccording to another embodiment of the invention,Farther include,Shoot the picture of pattern pickup area and according to as picture pixels labelling x、Y coordinate system,Record,The acquisition frame rate of video sensing device is set according to actual vehicle Flow Detection demand,Such as: pattern pickup area is taken pictures by the shooting speed of 10-120 frame number/s,Transport information on road indicates icon,Measure pavement facilities or road background picture actual size D in advance,Coordinate distance at video pictures is respectively (x,Y)、(x0,Y0),Two video pictures are spaced apart t,The coordinate axes that vehicle is corresponding in the position of two pictures correspondence headstocks is respectively (x1,Y1)、(x2,Y2),Vehicle is at the position actual range d of two pictures correspondence headstocks,The numerical value of d can be by coordinate (x1,Y1)、(x2,Y2) carry out calculating goes out,Calculate the passage rate V of vehicle,Computing formula is:
V=[D/Sqrt [(x-x0) ^2+ (y-y0) ^2] * Sqrt [(x1-x2) ^2+ (y1-y2) ^2]/t(m/s).
According to another embodiment of the invention, farther including, video sensing device is arranged on roadside height bar, road portal frame or mansion, roadside.
This method based on camera video detection speed, by video sensing device, the cousin's icon photographed is set up as shown in Figure 6 the coordinate system of x, y, it is that 25 frames/s calculates with shooting speed, photo interval time is 0.04 second, image after being continuously shot is as shown in Figure 6, survey vehicle form speed just can be drawn by operational formula, carry out record analysis subsequently, also by wire and wireless equipment, information or image can be sent to server terminal and be analyzed record, with the purpose of satisfied measurement speed.
This based on camera video detection vehicle flowrate and the method for speed, just can be completed vehicle flowrate and the detection tested the speed by simple equipment, use cost is made to reduce, in this method of testing, transport information sign picture is designated as driving and guides arrow, main and side road mark, crossing zebra crossing mark, stop-for-waiting tag line etc., and pavement facilities is inspection well cover, reflecting marking, deceleration strips etc., are all conventional road facilities, it is not necessary to cost of increasing input.
Described above it is merely exemplary for the purpose of the present invention; and nonrestrictive, those of ordinary skill in the art understand, in the case of the spirit and scope limited without departing from claims; many amendments, change or equivalence can be made, but fall within protection scope of the present invention.

Claims (10)

1. a method based on camera video detection vehicle flowrate, is characterized in that, utilizes video sensing device to gather the transport information on road and indicates icon, pavement facilities or road background picture;It is continuously shot the picture of pattern pickup area, compares the pattern that before and after's video sensing device collects;Carry out after calculating via processor recording vehicle flowrate.
Method based on camera video detection vehicle flowrate the most according to claim 1, is characterized in that, the information of record is transported to server by wireless or wire transmission equipment and carries out storing analysis.
Method based on camera video detection vehicle flowrate the most according to claim 1, is characterized in that, according to the actual requirements, increases traffic model in video sensing device detection region and indicates or pavement facilities.
Method based on camera video detection vehicle flowrate the most according to claim 1, it is characterized in that, the acquisition frame rate of video sensing device is set according to actual vehicle Flow Detection demand, such as: pattern pickup area is taken pictures by the shooting speed of 10-120 frame number/s, when vehicle is through pattern pickup area, transport information in this region indicates icon, pavement facilities or road Background sector-meeting are blocked, the pattern that video sensing device collects there are differences with the image of record, carries out record after calculating via processor.
Method based on camera video detection vehicle flowrate the most according to claim 1, is characterized in that, video sensing device is arranged on roadside height bar, road portal frame or mansion, roadside.
6. a method based on camera video detection speed, is characterized in that, utilizes video sensing device to gather the transport information on road and indicates icon, pavement facilities or road background picture;It is continuously shot the picture of pattern pickup area, compares the pattern that before and after's video sensing device collects;After calculating via processor, obtain speed.
Method based on camera video detection speed the most according to claim 6, is characterized in that, by wireless or wire transmission equipment, the information of record is transported to server and carries out storing analysis.
Method based on camera video detection speed the most according to claim 6, is characterized in that, according to the actual requirements, increases traffic model in video sensing device detection region and indicates or pavement facilities.
nullMethod based on camera video detection speed the most according to claim 6,It is characterized in that,Shoot the picture of pattern pickup area and according to as picture pixels labelling x、Y coordinate system,Record,The acquisition frame rate of video sensing device is set according to actual vehicle Flow Detection demand,Such as: pattern pickup area is taken pictures by the shooting speed of 10-120 frame number/s,Transport information on road indicates icon,Measure pavement facilities or road background picture actual size D in advance,Coordinate distance at video pictures is respectively (x,Y)、(x0,Y0),Two video pictures are spaced apart t,The coordinate axes that vehicle is corresponding in the position of two pictures correspondence headstocks is respectively (x1,Y1)、(x2,Y2),Vehicle is at the position actual range d of two pictures correspondence headstocks,The numerical value of d can be by coordinate (x1,Y1)、(x2,Y2) carry out calculating goes out,Calculate the passage rate V of vehicle,Computing formula is:
V=[D/Sqrt [(x-x0) ^2+ (y-y0) ^2] * Sqrt [(x1-x2) ^2+ (y1-y2) ^2]/t(m/s).
Method based on camera video detection speed the most according to claim 6, is characterized in that, it is characterized in that, video sensing device is arranged on roadside height bar, road portal frame or mansion, roadside.
CN201610462222.4A 2016-06-23 2016-06-23 Method for measuring traffic flow and speed based on camera video Pending CN105869413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610462222.4A CN105869413A (en) 2016-06-23 2016-06-23 Method for measuring traffic flow and speed based on camera video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610462222.4A CN105869413A (en) 2016-06-23 2016-06-23 Method for measuring traffic flow and speed based on camera video

Publications (1)

Publication Number Publication Date
CN105869413A true CN105869413A (en) 2016-08-17

Family

ID=56654988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610462222.4A Pending CN105869413A (en) 2016-06-23 2016-06-23 Method for measuring traffic flow and speed based on camera video

Country Status (1)

Country Link
CN (1) CN105869413A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106097726A (en) * 2016-08-23 2016-11-09 苏州科达科技股份有限公司 The detection determination in region, traffic information detection method and device
CN107462741A (en) * 2017-07-26 2017-12-12 武汉船用机械有限责任公司 A kind of moving object speed and acceleration measurement device
CN108447285A (en) * 2018-03-17 2018-08-24 滨州职业学院 A kind of speed-reduction prompting device that can be controlled according to vehicle flowrate
CN117994741A (en) * 2024-01-03 2024-05-07 广东智视云控科技有限公司 Vehicle speed detection method, system and storage medium based on video monitoring

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5684475A (en) * 1995-04-28 1997-11-04 Inform Institut Fur Operations Research Und Management Gmbh Method for recognizing disruptions in road traffic
CN101694695A (en) * 2009-10-22 2010-04-14 青岛海信网络科技股份有限公司 Vehicle type recognizing method
CN101877174A (en) * 2009-09-29 2010-11-03 杭州海康威视软件有限公司 Vehicle speed measurement method, supervisory computer and vehicle speed measurement system
CN102542799A (en) * 2011-12-19 2012-07-04 中山大学 Line acquisition video vehicle detector based on pavement marker and detecting method thereof
CN102682602A (en) * 2012-05-15 2012-09-19 华南理工大学 Collecting method for road traffic parameters based on video technique
CN102682615A (en) * 2012-05-29 2012-09-19 四川川大智胜软件股份有限公司 Video vehicle detection method for traffic light control system
CN102789686A (en) * 2012-07-10 2012-11-21 华南理工大学 Road traffic flow detecting method based on road surface brightness composite mode recognition
CN102810250A (en) * 2012-07-31 2012-12-05 长安大学 Video based multi-vehicle traffic information detection method
CN103208184A (en) * 2013-04-03 2013-07-17 昆明联诚科技有限公司 Traffic incident video detection method for highway
CN103295403A (en) * 2013-06-17 2013-09-11 湘潭大学 Traffic flow visual inspection method
CN103366572A (en) * 2013-07-05 2013-10-23 杭州鼎鹏交通科技有限公司 Method for detecting video traffic parameters of intersection
CN103456172A (en) * 2013-09-11 2013-12-18 无锡加视诚智能科技有限公司 Traffic parameter measuring method based on videos
CN104036639A (en) * 2014-06-20 2014-09-10 上海理工大学 Traffic flow statistics method

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5684475A (en) * 1995-04-28 1997-11-04 Inform Institut Fur Operations Research Und Management Gmbh Method for recognizing disruptions in road traffic
CN101877174A (en) * 2009-09-29 2010-11-03 杭州海康威视软件有限公司 Vehicle speed measurement method, supervisory computer and vehicle speed measurement system
CN101694695A (en) * 2009-10-22 2010-04-14 青岛海信网络科技股份有限公司 Vehicle type recognizing method
CN102542799A (en) * 2011-12-19 2012-07-04 中山大学 Line acquisition video vehicle detector based on pavement marker and detecting method thereof
CN102682602A (en) * 2012-05-15 2012-09-19 华南理工大学 Collecting method for road traffic parameters based on video technique
CN102682615A (en) * 2012-05-29 2012-09-19 四川川大智胜软件股份有限公司 Video vehicle detection method for traffic light control system
CN102789686A (en) * 2012-07-10 2012-11-21 华南理工大学 Road traffic flow detecting method based on road surface brightness composite mode recognition
CN102810250A (en) * 2012-07-31 2012-12-05 长安大学 Video based multi-vehicle traffic information detection method
CN103208184A (en) * 2013-04-03 2013-07-17 昆明联诚科技有限公司 Traffic incident video detection method for highway
CN103295403A (en) * 2013-06-17 2013-09-11 湘潭大学 Traffic flow visual inspection method
CN103366572A (en) * 2013-07-05 2013-10-23 杭州鼎鹏交通科技有限公司 Method for detecting video traffic parameters of intersection
CN103456172A (en) * 2013-09-11 2013-12-18 无锡加视诚智能科技有限公司 Traffic parameter measuring method based on videos
CN104036639A (en) * 2014-06-20 2014-09-10 上海理工大学 Traffic flow statistics method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106097726A (en) * 2016-08-23 2016-11-09 苏州科达科技股份有限公司 The detection determination in region, traffic information detection method and device
CN107462741A (en) * 2017-07-26 2017-12-12 武汉船用机械有限责任公司 A kind of moving object speed and acceleration measurement device
CN107462741B (en) * 2017-07-26 2019-12-31 武汉船用机械有限责任公司 Moving object speed and acceleration measuring device
CN108447285A (en) * 2018-03-17 2018-08-24 滨州职业学院 A kind of speed-reduction prompting device that can be controlled according to vehicle flowrate
CN117994741A (en) * 2024-01-03 2024-05-07 广东智视云控科技有限公司 Vehicle speed detection method, system and storage medium based on video monitoring
CN117994741B (en) * 2024-01-03 2024-07-12 广东智视云控科技有限公司 Vehicle speed detection method, system and storage medium based on video monitoring

Similar Documents

Publication Publication Date Title
TWI448977B (en) Method and apparatus for video analytics based object counting
US9002068B2 (en) Video speed detection system
CN102759347B (en) Online in-process quality control device and method for high-speed rail contact networks and composed high-speed rail contact network detection system thereof
CN105894823B (en) A kind of parking detection method and apparatus and system
CN103065519A (en) Detecting system of ramp fixed point stopping and starting and detecting method of ramp fixed point stopping and starting
CN105869413A (en) Method for measuring traffic flow and speed based on camera video
CN103065520A (en) Detection system for backing car into storage and detection method thereof
Zhu et al. An accurate approach for obtaining spatiotemporal information of vehicle loads on bridges based on 3D bounding box reconstruction with computer vision
CN113505638B (en) Method and device for monitoring traffic flow and computer readable storage medium
CN114295649B (en) Information association method, device, electronic equipment and storage medium
CN112153320B (en) Method and device for measuring size of article, electronic equipment and storage medium
CN110111018B (en) Method, device, electronic equipment and storage medium for evaluating vehicle sensing capability
Yao et al. Developing operating mode distribution inputs for MOVES with a computer vision–based vehicle data collector
CN109903308B (en) Method and device for acquiring information
CN112489240A (en) Commodity display inspection method, inspection robot and storage medium
CN113191239A (en) Vehicle overall dimension dynamic detection system based on computer vision
CN104718560A (en) Image monitoring apparatus for estimating size of singleton, and method therefor
CN116310263A (en) Pointer type aviation horizon instrument indication automatic reading implementation method
CN105046703A (en) Image analysis atmospheric visibility method
CN106023600B (en) A kind of vehicle speed detection method and device based on vehicle electron identifying
Yao et al. Embedded technology and algorithm for video-based vehicle queue length detection
Sangsuwan et al. Video-based vehicle speed estimation using speed measurement metrics
Chen et al. Design and Development of an Identification System for Gauge Meter Value
Sidla et al. Traffic monitoring with distributed smart cameras
Sahu et al. A Study on Real-Time Vehicle Speed Measurement Techniques

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160817