allenai / ai2thor

An open-source platform for Visual AI.
http://ai2thor.allenai.org
Apache License 2.0
1.17k stars 217 forks source link

Map of the scene #98

Closed Zhendong-Wang closed 4 years ago

Zhendong-Wang commented 5 years ago

Hi, Your AI2-Thor is really good. I wanna to know if I can get each map of each scene, like where the object is, where the agent can go. It is like we like a god, from the roof of the scene, to see the action of the agent. Can we see the animation like taking actions in a grid world. Thanks

Zhendong-Wang commented 5 years ago

Can we have the x, y and z coordinates of each object and agent in the map of each scene? like a 2D map

roozbehm commented 5 years ago

You can get position information for each object from metadata. Please refer to metadata for objects.

rkruegs123 commented 5 years ago

How do the object coordinates correspond to screen size?

GELIELEO commented 4 years ago

@Zhendong-Wang Did you solve it?

winthos commented 4 years ago

@rkruegs123 The screen size is basically just a window that looks into the world the objects are in. Changing the window will have no affect on the coordinates of objects. If, for example, you change the screen to be very small, some objects might not appear on screen, but their coordinates will remain the same.

mattdeitke commented 4 years ago

Merging with #445. Accessing all the positional data should already be available with the metadata :)