An Adaptive Video-based Vehicle Detection, Classification, Counting, and Speed-measurement System for Real-time Traffic Data Collection

Intelligent Transportation System (ITS) is an integral part for efficiently and effectively managing road-transport network in metros and smart cities. ITS provides several important features including public transportation management, route information, safety and vehicle control, electronic timetable and payment system etc. In this paper, we have designed and developed an adaptive video-based vehicle detection, classification, counting, and speed-measurement tool using Java programming language and OpenCV for real-time traffic data collection. It can be used for traffic flow monitoring, planning, and controlling to manage transport network as part of implementing intelligent transport management system in smart cities. The proposed system can detect, classify, count, and measure the speed of vehicles that pass through on a particular road. It can extract traffic data in csv/xml format from real-time video and recorded video, and then send the data to the central data-server. The proposed system extracts image frames from video and apply a filter based on the user-defined threshold value. We have applied MOG2 background subtraction algorithm for subtracting background from the object, which separates foreground objects from the background in a sequence of image frames. The proposed system can detect, classify, and count vehicles of different types and size as a plug & play system. We have tested the proposed system at six locations under different traffic and environmental conditions in Dhaka city, which is the capital of Bangladesh. The overall average accuracy is above 80% for classifying all types of vehicles in Dhaka city.

[1]  Osama Masoud,et al.  Detection and classification of vehicles , 2002, IEEE Trans. Intell. Transp. Syst..

[2]  Xiaobo Qu,et al.  A recurrent neural network based microscopic car following model to predict traffic oscillation , 2017 .

[3]  Nelson H. C. Yung,et al.  Vehicle type classification from visual-based dimension estimation , 2001, ITSC 2001. 2001 IEEE Intelligent Transportation Systems. Proceedings (Cat. No.01TH8585).

[4]  Ravindra C. Thool,et al.  Moving Vehicle Detection for Measuring Traffic Count Using OpenCV , 2013 .

[5]  Bodong Liang,et al.  Real-time moving vehicle detection, tracking, and counting system implemented with OpenCV , 2014, 2014 4th IEEE International Conference on Information Science and Technology.

[6]  A. Hodgson,et al.  Traffic-related air pollution near busy roads: the East Bay Children's Respiratory Health Study. , 2004, American journal of respiratory and critical care medicine.

[7]  Lei Peng,et al.  A Public Traffic Demand Forecast Method Based on Computational Experiments , 2017, IEEE Transactions on Intelligent Transportation Systems.

[8]  P. KaewTrakulPong,et al.  An Improved Adaptive Background Mixture Model for Real-time Tracking with Shadow Detection , 2002 .

[9]  Darcy M. Bullock,et al.  Evaluation of the Accuracy of Stop Bar Video Vehicle Detection at Signalized Intersections , 2005 .

[10]  Alireza Talebpour,et al.  Effect of information availability on stability of traffic flow: Percolation theory approach , 2018, Transportation Research Part B: Methodological.

[11]  Henk Wymeersch,et al.  Network traffic flow optimization under performance constraints , 2017 .

[12]  Takeo Kanade,et al.  Type classification, color estimation, and specific target detection of moving targets on public streets , 2005, Machine Vision and Applications.

[13]  Rosaldo J. F. Rossetti,et al.  Pattern mining from historical traffic big data , 2017, 2017 IEEE Region 10 Symposium (TENSYMP).

[14]  Jian-Ping Li,et al.  Pattern based object recognition in image processing , 2014, 2014 11th International Computer Conference on Wavelet Actiev Media Technology and Information Processing(ICCWAMTIP).

[15]  Petros A. Ioannou,et al.  Traffic Flow Prediction for Road Transportation Networks With Limited Traffic Data , 2015, IEEE Transactions on Intelligent Transportation Systems.

[16]  Mauro Dell’Orco,et al.  Modeling the dynamic effect of information on drivers’ choice behavior in the context of an Advanced Traveler Information System , 2017 .

[17]  Rosaldo J. F. Rossetti,et al.  The Prediction of Traffic Flow with Regression Analysis , 2018, Advances in Intelligent Systems and Computing.

[18]  Huaguo Zhou,et al.  Traffic control devices for deterring wrong-way driving: Historical evolution and current practice , 2017 .