AI to predict pedestrian behaviour