Technical Papers
Jul 6, 2020

Edge-Based Traffic Flow Data Collection Method Using Onboard Monocular Camera

Publication: Journal of Transportation Engineering, Part A: Systems
Volume 146, Issue 9

Abstract

Traffic data collection is the fundamental step in most applications of intelligent transportation systems (ITS). Recently, traffic data collection methods have become more robust and diversified, yet still have some limitations in their flexibility and coverage. Onboard monocular cameras have considerable potential to be turned into cost-effective moving traffic sensors combining the low cost and ego-vehicles’ high mobility. Existing studies have explored the feasibility of onboard cameras for scene understanding, etc. However, few studies have been conducted to utilize onboard monocular cameras for traffic flow data collection. To this end, this paper puts forward a method using the onboard monocular camera to collect traffic data. The basic structure is composed of a you-only-look-once (YOLO) model and spatial transformer network (STN) to detect vehicles in real-time. Then the traffic flow parameters are computed via fundamental optic and traffic flow theories. The experiment results show its reliability and similar sensing accuracy with inductive loop detectors on the road segment detection. In addition, the STN-YOLO model has a higher vehicle detection accuracy than the original YOLO model under complicated conditions.

Get full access to this article

View all available purchase options and get full access to this article.

Data Availability Statement

Some or all data, models, or code generated or used during the study are available from the corresponding author by request.
Video data collected by onboard monocular camera on November 3, 2017, and June 3, 2019.
Loop detector data collected on on November 3, 2017, and June 3, 2019.
Code of STN-YOLO model

Acknowledgments

This research was fully supported by Smart Transportation Application and Research (STAR) Laboratory, University of Washington.

References

Alessandrelli, D., A. Azzarà, M. Petracca, C. Nastasi, and P. Pagano. 2012. “ScanTraffic: Smart camera network for traffic information collection.” In Proc., European Conf. on Wireless Sensor Networks, 196–211. Berlin: Springer.
Amato, G., F. Carrara, F. Falchi, C. Gennaro, and C. Vairo. 2016. “Car parking occupancy detection using smart camera networks and deep learning.” In Proc., 2016 IEEE Symp. on Computers and Communication (ISCC), 1212–1217. New York: IEEE.
Asakura, Y., T. Kusakabe, N. X. Long, and T. Ushiki. 2015. “Incident detection methods using probe vehicles with on-board GPS equipment.” Transp. Res. Procedia 6 (2015): 17–27. https://doi.org/10.1016/j.trpro.2015.03.003.
Barbagli, B., G. Manes, R. Facchini, and A. Manes. 2012. “Acoustic sensor network for vehicle traffic monitoring.” In Proc., 1st Int. Conf. on Advances in Vehicular Systems, Technologies and Applications, 24–29. Wilmington, DE: International Academy, Research, and Industry Association.
Brockfeld, E., P. Wagner, St. Lorkowski, and P. Mieth. 2007. “Benefits and limits of recent floating car data technology—An evaluation study.” In Proc., CDROM-WCTR2007: C2-830. Seattle: The Allen Institute for Artificial Intelligence.
Bugdol, M., Z. Segiet, M. Kręcichwost, and P. Kasperek. 2014. “Vehicle detection system using magnetic sensors.” Transp. Prob. 9: 49–60.
Cao, Y., W. Li, and J. Zhang. 2011. “Real-time traffic information collecting and monitoring system based on the internet of things.” In Proc., 2011 6th Int. Conf. on Pervasive Computing and Applications, 45–49. New York: IEEE.
Chen, M., W. Wang, S. Dong, and X. Zhou. 2018. “Video vehicle detection and recognition based on mapreduce and convolutional neural network.” In Proc., Int. Conf. on Sensing and Imaging, 552–562. Cham, Switzerland: Springer.
Chen, X., J. Zhang, S. Qian, and P. Xu. 2012. “Applied research on traffic information collection based on wireless sensor networks.” Energy Procedia 17 (Part A): 602–606. https://doi.org/10.1016/j.egypro.2012.02.142.
Cheung, S. Y., S. Coleri, B. Dundar, S. Ganesh, C.-W. Tan, and P. Varaiya. 2005. “Traffic measurement and vehicle classification with single magnetic sensor.” Transp. Res. Rec. 1917 (1): 173–181. https://doi.org/10.1177/0361198105191700119.
Cookson, G., and B. Pishue. 2017. INRIX global traffic scorecard—Appendices. Kirkland, WA: INRIX.
Cordts, M., M. Omran, S. Ramos, T. Rehfeld, M. Enzweiler, R. Benenson, U. Franke, S. Roth, and B. Schiele. 2016. “The cityscapes dataset for semantic urban scene understanding.” In Proc., IEEE Conf. on Computer Vision and Pattern Recognition, 3213–3223. New York: IEEE.
Ding, J., S.-Y. Cheung, C.-W. Tan, and P. Varaiya. 2004. Vehicle detection by sensor network nodes. Berkeley, CA: Univ. of California, Berkeley.
Ess, A., T. Müller, H. Grabner, and L. J. Van Gool. 2009. “Segmentation-based urban traffic scene understanding.” In Vol. 1 of Proc., British Machine Vision Conf., 2. London.
Fang, J., H. Meng, H. Zhang, and X. Wang. 2007. “A low-cost vehicle detection and classification system based on unmodulated continuous-wave radar.” In Proc., IEEE Intelligent Transportation Systems Conf., 715–720. New York: IEEE.
Franke, U., and A. Joos. 2000. “Real-time stereo vision for urban traffic scene understanding.” In Proc., IEEE Intelligent Vehicles Symp. 2000 (Cat. No. 00TH8511), 273–278. New York: IEEE.
Gajda, J., R. Sroka, M. Stencel, A. Wajda, and T. Zeglen. 2001. “A vehicle classification based on inductive loop detectors.” In Vol. 1 of Proc., 18th IEEE Instrumentation and Measurement Technology Conf. Rediscovering Measurement in the Age of Informatics (Cat. No. 01CH 37188), 460–464. New York: IEEE.
Huang, D.-Y., C.-H. Chen, T.-Y. Chen, W.-C. Hu, and K.-W. Feng. 2017. “Vehicle detection and inter-vehicle distance estimation using single-lens video camera on urban/suburb roads.” J. Visual Commun. Image Represent. 46 (Jul): 250–259. https://doi.org/10.1016/j.jvcir.2017.04.006.
Huang, S.-S., C.-J. Chen, P.-Y. Hsiao, and L.-C. Fu. 2004. “On-board vision system for lane recognition and front-vehicle detection to enhance driver’s awareness.” In Vol. 3 of Proc., IEEE Int. Conf. on Robotics and Automation, ICRA'04, 2456–2461. New York: IEEE.
Ishida, S., S. Liu, K. Mimura, S. Tagashira, and A. Fukuda. 2016. “Design of acoustic vehicle count system using DTW.” In Proc. ITS World Congress, 1–10. Fukuoka, Japan: Kyushu Univ.
Jaderberg, M., K. Simonyan, and A. Zisserman. 2015. “Spatial transformer networks.” In Advances in neural information processing systems, 2017–2025. Cambridge, MA: MIT Press.
Jahangir, M., K. M. Ponting, and J. W. O’loghlen. 2003. “Robust Doppler classification technique based on hidden Markov models.” IEE Proc.-Radar Sonar Navig. 150 (1): 33–36. https://doi.org/10.1049/ip-rsn:20030027.
Jeong, S. H., C. G. Choi, J. N. Oh, P. J. Yoon, B. S. Kim, M. Kim, and K. H. Lee. 2010. “Low cost design of parallel parking assist system based on an ultrasonic sensor.” Int. J. Automot. Technol. 11 (3): 409–416. https://doi.org/10.1007/s12239-010-0050-0.
Jeske, T. 2013. “Floating car data from smartphones: What Google and Waze know about you and how hackers can control traffic.” In Proc. of the BlackHat Europe, 1–12. Hamburg, Germany: Hamburg Univ. of Technology.
Jiang, T., M. Cai, Y. Zhang, and X. Zhao. 2017. “A fast video vehicle detection approach based on improved Adaboost classifier.” In Proc., Int. Conf. on Swarm Intelligence, 387–394. Cham, Switzerland: Springer.
Ke, R., Z. Li, S. Kim, J. Ash, Z. Cui, and Y. Wang. 2016. “Real-time bidirectional traffic flow parameter estimation from aerial videos.” IEEE Trans. Intell. Transp. Syst. 18 (4): 890–901. https://doi.org/10.1109/TITS.2016.2595526.
Ke, R., Z. Li, J. Tang, Z. Pan, and Y. Wang. 2018. “Real-time traffic flow parameter estimation from UAV video based on ensemble classifier and optical flow.” IEEE Trans. Intell. Transp. Syst. 20 (1): 54–64. https://doi.org/10.1109/TITS.2018.2797697.
Ke, R., J. Lutin, J. Spears, and Y. Wang. 2017a. “A cost-effective framework for automated vehicle-pedestrian near-miss detection through onboard monocular vision.” In Proc., IEEE Conf. on Computer Vision and Pattern Recognition Workshops, 25–32. New York: IEEE.
Ke, R., Z. Pan, Z. Pu, and Y. Wang. 2017b. “Roadway surveillance video camera calibration using standard shipping container.” In Proc., 2017 Int. Smart Cities Conf. (ISC2), 1–6. New York: IEEE.
Ki, Y.-K., and D.-K. Baik. 2006. “Vehicle-classification algorithm for single-loop detectors using neural networks.” IEEE Trans. Veh. Technol. 55 (6): 1704–1711. https://doi.org/10.1109/TVT.2006.883726.
Kianpisheh, A., N. Mustaffa, P. Limtrairut, and P. Keikhosrokiani. 2012. “Smart parking system (SPS) architecture using ultrasonic detector.” Int. J. Software Eng. Appl. 6 (3): 55–58.
Lai, W.-K., T.-H. Kuo, and C.-H. Chen. 2016. “Vehicle speed estimation and forecasting methods based on cellular floating vehicle data.” Appl. Sci. 6 (2): 47. https://doi.org/10.3390/app6020047.
Leduc, G. 2008. “Road traffic data: Collection methods and applications.” Working Papers Energy Transp. Clim. Change 1 (55): 1–55.
Lin, T.-Y., M. Maire, S. Belongie, J. Hays, P. Perona, D. Ramanan, P. Dollár, and C. Lawrence Zitnick. 2014. “Microsoft coco: Common objects in context.” In Proc., European Conf. on Computer Vision, 740–755. Cham, Switzerland: Springer.
Madrid, J. J. M., J. R. Casar Corredera, and G. de Miguel Vela. 1992. “A neural network approach to Doppler-based target classification.” In Proc., Int. Conf. on Radar, 450–453. London: IET.
Oda, T., K. Takeuchi, and S. Niikura. 1996. “Travel time measurement using infrared vehicle detectors.” In Proc., 8th Int. Conf. on Road Traffic Monitoring and Control, Conf. Publication No. 422. London.
Oh, C., S. Park, and G. R. Stephen. 2006. “A method for identifying rear-end collision risks using inductive loop detectors.” Accid. Anal. Prev. 38 (2): 295–301. https://doi.org/10.1016/j.aap.2005.09.009.
Oliveira, H. A., F. R. Barbosa, O. M. Almeida, and A. P. S. Braga. 2010. “A vehicle classification based on inductive loop detectors using artificial neural networks.” In Proc., 9th IEEE/IAS Int. Conf. on Industry Applications-INDUSCON 2010, 1–6. New York: IEEE.
Park, S. J., T. Y. Kim, S. M. Kang, and K. H. Koo. 2003. “A novel signal processing technique for vehicle detection radar.” In Vol. 1 of Proc., IEEE MTT-S Int. Microwave Symp. Digest, 607–610. New York: IEEE.
Park, W.-J., B.-S. Kim, D.-E. Seo, D.-S. Kim, and K.-H. Lee. 2008. “Parking space detection using ultrasonic sensor in parking assistance system.” In Proc., IEEE Intelligent Vehicles Symp., 1039–1044. New York: IEEE.
Quan, Y., R. Jian, and Liu Xiao-ming. 2006. “Floating vehicle data detection system in Beijing.” In Proc., IEEE Intelligent Vehicles Symp., 320–324. New York: IEEE.
Redmon, J., and A. Farhadi. 2018. “Yolov3: An incremental improvement.” Preprint, submitted April 8, 2018. http://arxiv.org/abs/1804.02767.
Rehrl, K., R. Brunauer, and S. Gröchenig. 2016. “Collecting floating car data with smartphones: Results from a field trial in Austria.” J. Location Based Serv. 10 (1): 16–30. https://doi.org/10.1080/17489725.2016.1169323.
Ren, S., K. He, R. Girshick, and J. Sun. 2015. “Faster r-cnn: Towards real-time object detection with region proposal networks.” In Advances in neural information processing systems, 91–99. Cambridge, MA: MIT Press.
Robert, K. 2009. “Video-based traffic monitoring at day and night vehicle features detection tracking.” In Proc., 12th Int. IEEE Conf. on Intelligent Transportation Systems, 1–6. New York: IEEE.
Roberts, S. C., and D. Howard. 1999. “Evolution of vehicle detectors for infrared line scan imagery.” In Proc., Workshops on Applications of Evolutionary Computation, 110–125. Berlin: Springer.
Roe, H., and G. S. Hobson. 1992. “Improved discrimination of microwave vehicle profiles.” In Proc., IEEE MTT-S Microwave Symp. Digest, 717–720. New York: IEEE.
Sikirić, I., K. Brkić, J. Krapac, and S. Šegvić. 2014. “Image representations on a budget: Traffic scene classification in a restricted bandwidth scenario.” In Proc., IEEE Intelligent Vehicles Symp., 845–852. New York: IEEE.
Spears, J., J. Lutin, Y. Wang, R. Ke, and S. M. Clancy. 2017. Active safety-collision warning pilot in Washington State (No. Transit IDEA Project 82). Washington, DC: Transportation Research Board.
Sun, C. S., G. Ritchie, and K. Tsai. 1998. “Algorithm development for derivation of section-related measures of traffic system performance using inductive loop detectors.” Transp. Res. Rec. 1643 (1): 171–180. https://doi.org/10.3141/1643-21.
Sun, Z., G. Bebis, and R. Miller. 2006. “On-road vehicle detection: A review.” IEEE Trans. Pattern Anal. Mach. Intell. 28 (5): 694–711. https://doi.org/10.1109/TPAMI.2006.104.
Sunderrajan, A., V. Viswanathan, W. Cai, and A. Knoll. 2016. “Traffic state estimation using floating car data.” Procedia Comput. Sci. 80: 2008–2018. https://doi.org/10.1016/j.procs.2016.05.521.
Treiber, M., and A. Kesting. 2013. “Trajectory and floating-car data.” In Traffic flow dynamics, 7–12. Berlin: Springer.
Wang, J., E. R. Case, and D. Manor. 1992. “The road traffic microwave sensor (RTMS).” In Proc., 3rd Int. Conf. on Vehicle Navigation and Information Systems, 83–90. New York: IEEE.
Wang, Q., J. Zheng, H. Xu, B. Xu, and R. Chen. 2017. “Roadside magnetic sensor system for vehicle detection in urban environments.” IEEE Trans. Intell. Transp. Syst. 19 (5): 1365–1374. https://doi.org/10.1109/TITS.2017.2723908.
Xiang, X., N. Lv, M. Zhai, and A. El Saddik. 2017. “Real-time parking occupancy detection for gas stations based on Haar-AdaBoosting and CNN.” IEEE Sens. J. 17 (19): 6360–6367. https://doi.org/10.1109/JSEN.2017.2741722.
Yu, F., W. Xian, Y. Chen, F. Liu, M. Liao, V. Madhavan, and T. Darrell. 2018. “Bdd100k: A diverse driving video database with scalable annotation tooling.” Preprint, submitted May 12, 2018. http://arxiv.org/abs/1805.04687.
Zhang, G. R., P. Avery, and Y. Wang. 2007. “Video-based vehicle detection and classification system for real-time traffic data collection using uncalibrated video cameras.” Transp. Res. Rec. 1993 (1): 138–147. https://doi.org/10.3141/1993-19.

Information & Authors

Information

Published In

Go to Journal of Transportation Engineering, Part A: Systems
Journal of Transportation Engineering, Part A: Systems
Volume 146Issue 9September 2020

History

Received: Jun 7, 2019
Accepted: Apr 15, 2020
Published online: Jul 6, 2020
Published in print: Sep 1, 2020
Discussion open until: Dec 6, 2020

Permissions

Request permissions for this article.

Authors

Affiliations

Ph.D. Student, Smart Transportation Application and Research Lab, Dept. of Civil and Environmental Engineering, Univ. of Washington, 101 More Hall, Seattle, WA 98195. ORCID: https://orcid.org/0000-0003-3732-5215. Email: [email protected]
Ruimin Ke, A.M.ASCE [email protected]
Ph.D. Student, Smart Transportation Application and Research Lab, Dept. of Civil and Environmental Engineering, Univ. of Washington, 101 More Hall, Seattle, WA 98195. Email: [email protected]
Yinhai Wang, Ph.D., F.ASCE [email protected]
P.E.
Director and Professor, Pacific Northwest Transportation Consortium, USDOT University Transportation Center for Federal Region 10, Univ. of Washington, Seattle, WA 98195-2700 (corresponding author). Email: [email protected]; [email protected]

Metrics & Citations

Metrics

Citations

Download citation

If you have the appropriate software installed, you can download article citation data to the citation manager of your choice. Simply select your manager software from the list below and click Download.

Cited by

View Options

Get Access

Access content

Please select your options to get access

Log in/Register Log in via your institution (Shibboleth)
ASCE Members: Please log in to see member pricing

Purchase

Save for later Information on ASCE Library Cards
ASCE Library Cards let you download journal articles, proceedings papers, and available book chapters across the entire ASCE Library platform. ASCE Library Cards remain active for 24 months or until all downloads are used. Note: This content will be debited as one download at time of checkout.

Terms of Use: ASCE Library Cards are for individual, personal use only. Reselling, republishing, or forwarding the materials to libraries or reading rooms is prohibited.
ASCE Library Card (5 downloads)
$105.00
Add to cart
ASCE Library Card (20 downloads)
$280.00
Add to cart
Buy Single Article
$35.00
Add to cart

Get Access

Access content

Please select your options to get access

Log in/Register Log in via your institution (Shibboleth)
ASCE Members: Please log in to see member pricing

Purchase

Save for later Information on ASCE Library Cards
ASCE Library Cards let you download journal articles, proceedings papers, and available book chapters across the entire ASCE Library platform. ASCE Library Cards remain active for 24 months or until all downloads are used. Note: This content will be debited as one download at time of checkout.

Terms of Use: ASCE Library Cards are for individual, personal use only. Reselling, republishing, or forwarding the materials to libraries or reading rooms is prohibited.
ASCE Library Card (5 downloads)
$105.00
Add to cart
ASCE Library Card (20 downloads)
$280.00
Add to cart
Buy Single Article
$35.00
Add to cart

Media

Figures

Other

Tables

Share

Share

Copy the content Link

Share with email

Email a colleague

Share