abduallahmohamed / Social-STGCNN

Code for "Social-STGCNN: A Social Spatio-Temporal Graph Convolutional Neural Network for Human Trajectory Prediction" CVPR 2020
MIT License
483 stars 141 forks source link

Questions about data process #65

Closed Jayoprell closed 1 year ago

Jayoprell commented 1 year ago

Hi, great work! I have some questions:

  1. the data format [frame_id, pedestrian_id, x, y] , how are the x and y obtained? I want to know this because I want to get train data from new video, but I don't know how to get this coordinate.
  2. the above data [frame_id, pedestrian_id, x, y], how can I map x,y back to the frame coordinates? is this formular right: pixel_coordinate = (x, y) * inverse(H) ?

Hope to get your help. Thanks!