ApolloScapeAuto / dataset-api

The ApolloScape Open Dataset for Autonomous Driving and its Application.
http://apolloscape.auto/
Apache License 2.0
539 stars 135 forks source link

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

Open liuxufenfeiya opened 1 year ago

liuxufenfeiya commented 1 year ago

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?