CN109448376A - A kind of road condition analyzing method and system based on video - Google Patents

A kind of road condition analyzing method and system based on video Download PDF

Info

Publication number
CN109448376A
CN109448376A CN201811425208.2A CN201811425208A CN109448376A CN 109448376 A CN109448376 A CN 109448376A CN 201811425208 A CN201811425208 A CN 201811425208A CN 109448376 A CN109448376 A CN 109448376A
Authority
CN
China
Prior art keywords
video
sample point
road
module
road conditions
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
CN201811425208.2A
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.)
Section Big Country Wound Software Inc Co
Original Assignee
Section Big Country Wound Software Inc Co
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 Section Big Country Wound Software Inc Co filed Critical Section Big Country Wound Software Inc Co
Priority to CN201811425208.2A priority Critical patent/CN109448376A/en
Publication of CN109448376A publication Critical patent/CN109448376A/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/0104Measuring and analyzing of parameters relative to traffic conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • G06V20/54Surveillance or monitoring of activities, e.g. for recognising suspicious objects of traffic, e.g. cars on the road, trains or boats
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • G08G1/0133Traffic data processing for classifying traffic situation
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/017Detecting movement of traffic to be counted or controlled identifying vehicles
    • G08G1/0175Detecting movement of traffic to be counted or controlled identifying vehicles by photographing vehicles, e.g. when violating traffic rules

Abstract

The road condition analyzing method and system based on video that the invention discloses a kind of, are related to intelligent transportation field.The present invention includes the following steps: step S01: setting up video camera in each street in urban district, obtains the real-time video in street;Step S02: processing real-time video is road conditions video, and interception multiple image per second is converted to road conditions picture;Step S03: handling road conditions picture combination sample point pixel-parameters, generates treatment effect;Step S04: analyzing processing result, obtains analysis result and formats;Step S05: analysis result is stored in data storage device, and is drawn on map.The present invention passes through the video camera on linking-up road, get road surface video information, road conditions picture combination sample point pixel-parameters carry out algorithm analysis and obtain traffic information, it is intuitively shown using mapping technology to user simultaneously, facilitate user to understand traffic information at the first time, makes optimal route selection.

Description

A kind of road condition analyzing method and system based on video
Technical field
The invention belongs to intelligent transportation fields, more particularly to a kind of road condition analyzing method based on video and a kind of base In the road condition analyzing system of video.
Background technique
With the fast development of Chinese economy, the urban transportation amount in China also increases suddenly, congested in traffic, traffic accident frequency Hair etc. causes more and more life and property losses, time waste and environmental pollution.The intelligence for being then based on video analysis is handed over Logical importance is increasingly significant, and key technology one of of the vehicle flowrate as intelligent transportation system is increasingly becoming the weight of research Want field.Vehicle flowrate can provide foundation for intelligent road management and running, to reduce road congestion, improve road surface money The utilization rate in source.
The defect and deficiency of the prior art: now to the acquisition of traffic information mainly by being set with Traffic Announcement and GPS Standby to obtain traffic information, the former not can guarantee the real-time of traffic information, and the latter is stronger to device dependence, will lead to road conditions letter Breath obtain it is imperfect the problems such as.
Summary of the invention
The road condition analyzing method and system based on video that the purpose of the present invention is to provide a kind of, by linking-up road Video camera, gets road surface video information, and road conditions picture combination sample point pixel-parameters carry out algorithm analysis and obtain road conditions Information, while intuitively being shown solve existing driver and obtain traffic information canal to user using mapping technology Road is few, traffic information obtains incomplete problem.
In order to solve the above technical problems, the present invention is achieved by the following technical solutions:
The present invention is a kind of road condition analyzing method based on video, is included the following steps:
Step S01: video camera is set up in each street in urban district, obtains the real-time video in street;
Step S02: processing real-time video is road conditions video, and interception multiple image per second is converted to road conditions picture;
Step S03: handling road conditions picture combination sample point pixel-parameters, generates treatment effect;
Step S04: analyzing processing result, obtains analysis result and formats;
Step S05: analysis result is stored in data storage device, and is drawn on map;
In the step S03, the specific processing step of road conditions picture combination sample point is as follows:
Step S031: the pixel value of sample point in video image is obtained;
Step S032: algorithm calculating is carried out by the parameter of setting, calculated result is compared with the threshold value of setting;If meter It calculates result and is greater than threshold value, then show that the point has vehicle to pass through, the state value of the point is set to 1 and is stored in vehicle data by system Caching;
Step S033: road is calculated by the varied number of the change frequency and sample point that calculate same lane sample point Congestion value, and according to preset congestion parameter decision congestion in road degree;
Step S034: congestion information is drawn on map according to the longitude and latitude of camera and direction.
Preferably, in the step S03, every lane is respectively provided with several sample points, and between two adjacent sample points Spacing be not greater than the length of a car.
Preferably, in the step S033, if the pixel absolute value of the difference of the video image of two continuous sample point positions The threshold value and state value chosen when less than difference image binaryzation are 1, then show that vehicle continues through two points, and combine Obtain the driving path of vehicle;If the driving path of vehicle has interruption or incompleteness, show that accident occurs in vehicle.
The present invention is a kind of road condition analyzing method based on video, including video read module, sample point update module, figure As analysis module, data analysis module, data storage server and map display module;
The video read module is connect with sample point update module and image analysis module respectively;The data storage clothes Business device and map display module are connect with image analysis module;Described image analysis module includes sample point parameter, current figure Picture, sample point comparison and post-processing;
The video read module is for obtaining video sequence;
The sample point update module is used to provide sample point pixel value parameter to image analysis module;
Described image analysis module is used to analyze the variable condition of sample point;
The data analysis module is for analyzing traffic information and road conditions Crack cause;
The data storage server is for storing data;
The map display module is used to be shown traffic information and early warning.
Preferably, the sample point update module provides various modes and automatically switches, in different modes according to weather feelings Condition provides different pixel values to image analysis module;Wherein, the various modes mainly include fine day, cloudy day, greasy weather, rainy day And night.
The invention has the following advantages:
(1) present invention gets road surface video information, road conditions picture combination sample by the video camera on linking-up road This pixel-parameters carry out algorithm analysis and obtain traffic information, while intuitively being opened up using mapping technology to user Show, user is facilitated to understand traffic information at the first time, makes optimal route selection;
(2) present invention only need to install a high-definition camera as video information in road street and acquire equipment, reduce Cost, while system is improved to the real-time of road conditions acquisition of information and the accuracy that judges the close vehicle of color.
Certainly, it implements any of the products of the present invention and does not necessarily require achieving all the advantages described above at the same time.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will be described below to embodiment required Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of road condition analyzing method and step figure based on video of the invention;
Fig. 2 is a kind of road condition analyzing system structure diagram based on video of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other Embodiment shall fall within the protection scope of the present invention.
Refering to Figure 1, the present invention is a kind of road condition analyzing method based on video, include the following steps:
Step S01: video camera is set up in each street in urban district, obtains the real-time video in street;It is existing if it is accessing Camera, then camera either NVR where it can be directly accessed by the network equipment;If it is newly-built camera, Then pass through access via telephone line;
Step S02: processing real-time video is road conditions video, and five frame images of interception per second are converted to road conditions picture;
Step S03: handling road conditions picture combination sample point pixel-parameters, generates treatment effect;
Step S04: analyzing processing result, obtains analysis result and formats;
Formatting can be by Data Format Transform at the format that can be stored in database and the lattice that can be shown on map Calculated result value is converted into significant Chinese and described by formula, such as coordinate deflection, time format;
Step S05: analysis result is stored in data storage device, and is drawn on map;
In step S03, the specific processing step of road conditions picture combination sample point is as follows:
Step S031: the pixel value of sample point in video image is obtained;
Step S032: algorithm calculating is carried out by the parameter of setting, calculated result is compared with the threshold value of setting;If meter It calculates result and is greater than threshold value, then show that the point has vehicle to pass through, the state value of the point is set to 1 and is stored in vehicle data by system Caching;
Step S033: road is calculated by the varied number of the change frequency and sample point that calculate same lane sample point Congestion value, and according to preset congestion parameter decision congestion in road degree;
Step S034: congestion information is drawn on map according to the longitude and latitude of camera and direction.
Preferably, in step S03, every lane is respectively provided with several sample points, and between two adjacent sample points between Away from the length less than a car, which can freely be configured, and reasonable point be configured according to different camera seats in the plane, by close I.e. remote spacing should do respective handling.
Wherein, in step S033, if the pixel absolute value of the difference of the video image of two continuous sample point positions is less than poor The threshold value and state value chosen when partial image binaryzation are 1, then show that vehicle continues through two points, and combine and obtain vehicle Driving path;If the driving path of vehicle has interruption or incompleteness, show that accident occurs in vehicle, system will be as the people that works Number sends accident early warning, then does the subsequent judgement of road conditions;
When occurring vehicle in monitoring scene, the pixel value I (t) of sample point position and sample point preset picture in video image It will appear more apparent difference between element value I (t-1), the two pixel value subtracts each other, and acquires image corresponding position margin of image element Absolute value, judges whether it is greater than a certain threshold value, and then analyzes the object of which movement characteristic of video sequence, mathematical formulae are as follows:
Wherein, D (x, y) is difference image, the threshold value that T chooses when being difference image binaryzation, before the expression of D (x, y)=1 Scape, D (x, y)=0 indicate background.Therefore, the calculated result of D (x, y) is defined as state;When state is 0, then it represents that do not have Vehicle passes through, when state is 1, then it represents that have vehicle process.
It please refers to shown in Fig. 2, the present invention is a kind of road condition analyzing system based on video, including video read module, sample This update module, image analysis module, data analysis module, data storage server and map display module;
Video read module is connect with sample point update module and image analysis module respectively;Data storage server and ground Figure display module is connect with image analysis module;Image analysis module includes sample point parameter, present image, sample point comparison And post-processing;
Video read module is HD video camera for obtaining video sequence, video read module, and HD video is taken the photograph As head is set up in the higher building of street road, VPN network is established between HD video camera and video processing service device; Sample point update module is used to provide sample point pixel value parameter to image analysis module;Image analysis module is for analyzing sample The variable condition of point;Image analysis module and sample point update module are all set in video processing service device, video processing clothes Business device and application server are attached by internal switch;Data analysis module is for analyzing traffic information and road conditions shape At reason;Data storage server is for storing data;Map display module be used to be shown traffic information and Early warning, map display module are set in web server, and web server provides services to the user uniform outlet, web server A fixed public network IP address is also needed, user is allowed to access.
Wherein, sample point update module provides various modes and automatically switches, and is provided in different modes according to weather condition Different pixel values are to image analysis module;Various modes mainly include fine day, cloudy day, greasy weather, rainy day and night, when in multiple When heterocycle border, setting in sample point pixel, by acquiring the sample points under a variety of weather according to doing corresponding compatible processing, The environment and discrimination that Various Complex can be coped with obtain certain guarantee.
It is worth noting that, included each unit is only drawn according to function logic in the above system embodiment Point, but be not limited to the above division, as long as corresponding functions can be realized;In addition, each functional unit is specific Title is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
In addition, those of ordinary skill in the art will appreciate that realizing all or part of the steps in the various embodiments described above method It is that relevant hardware can be instructed to complete by program, corresponding program can store to be situated between in a computer-readable storage In matter.
Present invention disclosed above preferred embodiment is only intended to help to illustrate the present invention.There is no detailed for preferred embodiment All details are described, are not limited the invention to the specific embodiments described.Obviously, according to the content of this specification, It can make many modifications and variations.These embodiments are chosen and specifically described to this specification, is in order to better explain the present invention Principle and practical application, so that skilled artisan be enable to better understand and utilize the present invention.The present invention is only It is limited by claims and its full scope and equivalent.

Claims (5)

1. a kind of road condition analyzing method based on video, which comprises the steps of:
Step S01: video camera is set up in each street in urban district, obtains the real-time video in street;
Step S02: processing real-time video is road conditions video, and interception multiple image per second is converted to road conditions picture;
Step S03: handling road conditions picture combination sample point pixel-parameters, generates treatment effect;
Step S04: analyzing processing result, obtains analysis result and formats;
Step S05: analysis result is stored in data storage device, and is drawn on map;
In the step S03, the specific processing step of road conditions picture combination sample point is as follows:
Step S031: the pixel value of sample point in video image is obtained;
Step S032: algorithm calculating is carried out by the parameter of setting, calculated result is compared with the threshold value of setting;If calculating knot Fruit is greater than threshold value, then shows that the point has vehicle to pass through, and the state value of the point is set to 1 and is stored in vehicle data by system to be cached;
Step S033: congestion in road is calculated by the varied number of the change frequency and sample point that calculate same lane sample point Value, and according to preset congestion parameter decision congestion in road degree;
Step S034: congestion information is drawn on map according to the longitude and latitude of camera and direction.
2. a kind of road condition analyzing system based on video according to claim 1, which is characterized in that in the step S03, Every lane is respectively provided with several sample points, and the spacing between two adjacent sample points is not greater than the length of a car.
3. a kind of road condition analyzing system based on video according to claim 1, which is characterized in that the step S033 In, if the pixel absolute value of the difference of the video image of two continuous sample point positions is less than the threshold chosen when difference image binaryzation Value and state value are 1, then show that vehicle continues through two points, and combine the driving path for obtaining vehicle;If the row of vehicle Sailing path has interruption or incompleteness, then shows that accident occurs in vehicle.
4. according to claim 1-3 it is any one as described in a kind of road condition analyzing system based on video, including video read mould Block, sample point update module, image analysis module, data analysis module, data storage server and map display module, it is special Sign is:
The video read module is connect with sample point update module and image analysis module respectively;The data storage server It is connect with image analysis module with map display module;Described image analysis module includes sample point parameter, present image, sample The comparison of this point and post-processing;
The video read module is for obtaining video sequence;
The sample point update module is used to provide sample point pixel value parameter to image analysis module;
Described image analysis module is used to analyze the variable condition of sample point;
The data analysis module is for analyzing traffic information and road conditions Crack cause;
The data storage server is for storing data;
The map display module is used to be shown traffic information and early warning.
5. a kind of road condition analyzing system based on video according to claim 4, which is characterized in that the sample point updates Module provides various modes and automatically switches, and provides different pixel values according to weather condition in different modes and gives image analysis mould Block;Wherein, the various modes mainly include fine day, cloudy day, greasy weather, rainy day and night.
CN201811425208.2A 2018-11-27 2018-11-27 A kind of road condition analyzing method and system based on video Pending CN109448376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811425208.2A CN109448376A (en) 2018-11-27 2018-11-27 A kind of road condition analyzing method and system based on video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811425208.2A CN109448376A (en) 2018-11-27 2018-11-27 A kind of road condition analyzing method and system based on video

Publications (1)

Publication Number Publication Date
CN109448376A true CN109448376A (en) 2019-03-08

Family

ID=65554914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811425208.2A Pending CN109448376A (en) 2018-11-27 2018-11-27 A kind of road condition analyzing method and system based on video

Country Status (1)

Country Link
CN (1) CN109448376A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110473421A (en) * 2019-09-23 2019-11-19 鞠青松 Intelligent transportation navigation system based on 5G communication network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118648A (en) * 2007-05-22 2008-02-06 南京大学 Road conditions video camera marking method under traffic monitoring surroundings
CN102136194A (en) * 2011-03-22 2011-07-27 浙江工业大学 Road traffic condition detection device based on panorama computer vision
CN103985250A (en) * 2014-04-04 2014-08-13 浙江工业大学 Light-weight holographic road traffic state visual inspection device
CN105070058A (en) * 2015-08-11 2015-11-18 甘肃万维信息技术有限责任公司 Accurate traffic analysis method and system based on real-time traffic video
US20160156680A1 (en) * 2010-12-03 2016-06-02 Intouch Technologies, Inc. Systems and methods for dynamic bandwidth allocation
CN106548628A (en) * 2017-01-11 2017-03-29 福州大学 The road condition analyzing method that a kind of view-based access control model space transition net is formatted

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118648A (en) * 2007-05-22 2008-02-06 南京大学 Road conditions video camera marking method under traffic monitoring surroundings
US20160156680A1 (en) * 2010-12-03 2016-06-02 Intouch Technologies, Inc. Systems and methods for dynamic bandwidth allocation
CN102136194A (en) * 2011-03-22 2011-07-27 浙江工业大学 Road traffic condition detection device based on panorama computer vision
CN103985250A (en) * 2014-04-04 2014-08-13 浙江工业大学 Light-weight holographic road traffic state visual inspection device
CN105070058A (en) * 2015-08-11 2015-11-18 甘肃万维信息技术有限责任公司 Accurate traffic analysis method and system based on real-time traffic video
CN106548628A (en) * 2017-01-11 2017-03-29 福州大学 The road condition analyzing method that a kind of view-based access control model space transition net is formatted

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
符笛: "基于背景建模的车辆检测算法研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110473421A (en) * 2019-09-23 2019-11-19 鞠青松 Intelligent transportation navigation system based on 5G communication network

Similar Documents

Publication Publication Date Title
CN102724482B (en) Based on the intelligent vision sensing network moving target relay tracking system of GPS and GIS
EP3941038A1 (en) A system and method for detecting and transmitting incidents of interest of a roadway to a remote server
CN107888877A (en) The method and its system of car tracing and acquisition of road traffic information
US20150112773A1 (en) Facilitating environment views employing crowd sourced information
CN103544837B (en) Traffic information estimation method and system combining cross-regional position updating and communication
CN106373425B (en) A kind of parking management system based on big data
TWI649729B (en) System and method for automatically proving traffic violation vehicles
CN109949351B (en) Target vehicle running track extraction device and method based on video structured monitoring
CN110636281B (en) Real-time monitoring camera shielding detection method based on background model
CN102543125B (en) A kind of method and system provided value added service based on video identification technology
CN110021182B (en) Road condition congestion information prompting method and system
US20170205247A1 (en) Traffic visualization system
CN116824859B (en) Intelligent traffic big data analysis system based on Internet of things
WO2022127273A1 (en) Wifi 6-based method and system for acquiring traffic information
CN105303831A (en) Method for determining congestion state of highway based on communication data
CN112435478A (en) Off-site illegal management method and system based on roadside parking high-order video equipment
CN109448376A (en) A kind of road condition analyzing method and system based on video
Kazhamiaka et al. Challenges and Opportunities for Autonomous Vehicle Query Systems.
CN204929089U (en) Safe and sound simple and easy bayonet socket system in city
Mai-Tan et al. Mining urban traffic condition from crowd-sourced data
CN108427718A (en) A kind of vehicle traveling information temporal index and big data analysis method
KR102345528B1 (en) Local traffic information system and information method of local traffic
TWI360085B (en)
CN102543124B (en) A kind of system and method provided value added service based on video identification technology
CN115936952A (en) Intelligent park personnel congestion dredging management system and method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190308

RJ01 Rejection of invention patent application after publication