Predicting pedestrian path using optical flow as context cue