Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coordinate conversion #15

Closed
davidsonic opened this issue Jan 20, 2019 · 2 comments
Closed

Coordinate conversion #15

davidsonic opened this issue Jan 20, 2019 · 2 comments

Comments

@davidsonic
Copy link

Great work! The repo has provided image (256x256) as extracted observation. However, I'm encountering some difficulties performing coordinate conversions from 3D scene to 2D image and vice versa. For example, table in the scene is defined in MJCF model as pos="0.5, 0.3, 0.8" and quat, I want to extract 2D image of this particular region and after performing some detections on objects from this cropped region, transfering back 2D coordinates to 3D scene in pos and quat format. Can you provide some guidance on how to do this?

Many thanks!

@kaixindelele
Copy link

Great work! The repo has provided image (256x256) as extracted observation. However, I'm encountering some difficulties performing coordinate conversions from 3D scene to 2D image and vice versa. For example, table in the scene is defined in MJCF model as pos="0.5, 0.3, 0.8" and quat, I want to extract 2D image of this particular region and after performing some detections on objects from this cropped region, transfering back 2D coordinates to 3D scene in pos and quat format. Can you provide some guidance on how to do this?

Many thanks!

hey, have you continued to do this? In object detection tasks, this problem may not be avoided~
If you don't solve it and need it, may we can discuss.

@yukezhu
Copy link
Member

yukezhu commented May 23, 2020

Sorry for the much delayed reply. I suggest you look at the MuJoCo API documentations and the transform_utils.py for instructions and tools for coordinate conversion.

@yukezhu yukezhu closed this as completed May 23, 2020
yukezhu added a commit that referenced this issue Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants