Pedestrian Traffic Prediction using Deep Learning

Authors

  • Riddhi Joshi Acadia University
  • Daniel Silver

DOI:

https://doi.org/10.32473/flairs.v35i.130731

Keywords:

Deep Learning, Pedestrian Traffic Prediction, CNN, LSTM, Timeseries Forecasting

Abstract

Pedestrian traffic information offers useful insights when developing or maintaining a business.
This research combines image processing and machine learning methods to predict
pedestrian traffic flowrate and density for up to two days into the future, based on weather
data, calendar data, and special events. To obtain the traffic flowrate and density, we first
developed a neural network model to predict the number of new people and the total number
of people in each sequence of images captured by a Nova Scotia Webcams camera. These
counts of people are used to calculate the pedestrian traffic flowrate and density labels for
hourly intervals. These labels are then combined with hourly weather data, calendar data,
and special event data from the same period to train a recurrent neural network to predict
the traffic flowrate and density for up to two days in advance.
We try two different approaches, CNN-LSTM and dual input CNN to predict the number
of new people and the total number of people from the images and compare how well each
approach performs. The results show that the dual image input CNN models are more
effective at predicting the number of new people and the total number of people than the CNN
- LSTM models. Tested on independent test sets of images using K-fold cross-validation, the
MTL CNN model achieved a test accuracy of 72% for the number of new people and 78%
accuracy for the total number of people.

Downloads

Published

04-05-2022

How to Cite

Joshi, R., & Silver, D. (2022). Pedestrian Traffic Prediction using Deep Learning. The International FLAIRS Conference Proceedings, 35. https://doi.org/10.32473/flairs.v35i.130731