Datasets:
The coordinate of the dataset
I have few questions about the coordinate of the dataset:
- What is the origin of the world coordinate in the top down map of the floor (in pixel)?
- How can I project an object in the world coordinate (meters) in the ground truth file into the pixel coordinate of the file top down map (map.png) in the data?
- What does the cameraMatrix mean in the calibration.json file?. It is not equal to intrinsicMatrix.dot(extrinsicMatrix)
hi
- you can get the origin with
scaleFactor&translationToGlobalCoordinates. see https://huggingface.co/datasets/nvidia/PhysicalAI-SmartSpaces/discussions/9 - you need to apply transformations like
intrinsicMatrix(camera -> pixel)@extrinsicMatrix(world->camera)@bev_to_world(bev->world) cameraMatrix:intrinsicMatrix@extrinsicMatrix
@Doduchuy12 @visionNoob Thanks for the questions.
The origin of the world coordinate system corresponds to the bottom-left corner of the top-down floor map. The x-axis points to the right, and the y-axis points upward.
To project an object from world coordinates (in meters) to pixel space on the top-down map (
map.png), apply the following transformation:(coordinates + translationToGlobalCoordinates) * scaleFactorThis converts ground-plane positions into pixel coordinates.
The
cameraMatrixincalibration.jsonrepresents the full projection matrix. It is equivalent to:intrinsicMatrix @ extrinsicMatrixThis relationship holds after normalization, since the projection matrix is defined up to scale.
For future inquiries, please feel free to also email us at aicitychallenges@gmail.com to ensure we can respond promptly.