dataset-api icon indicating copy to clipboard operation
dataset-api copied to clipboard

How to convert width, length,position_x, position_y in sample_trajectory?

Open liuxufenfeiya opened this issue 3 years ago • 0 comments

in sample_trajectory,x,y,w,h e.g.:531.959,895.079,4.038,2.225 the image size is 1920*1080,but the x,y,w,h is not range from 0-1920 or 0-1080. i want to use the dataset for object detection, how to convert x,y,w,h into 0-1920 and 0-1080?

liuxufenfeiya avatar Jul 21 '22 08:07 liuxufenfeiya