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

YCB models #133

Open
ErinZhang1998 opened this issue Jun 23, 2021 · 3 comments
Open

YCB models #133

ErinZhang1998 opened this issue Jun 23, 2021 · 3 comments

Comments

@ErinZhang1998
Copy link

In the Wiki for "Running 3-DOF : Conveyor Dataset ": https://github.com/SBPL-Cruz/perception/wiki/Running-With-Docker#running-3-dof--conveyor-dataset

It says:
"Download the YCB Video object models from this link the place the downloaded models folder into the YCB_Video_Dataset follder."

However, when I check the code in perch.py

elif self.model_type == "upright":

temp_path = os.path.join(models_root, object_name, 'textured_upright.ply')

From line 119 to 121, it seems like we need a textured_upright.ply file. But the downloaded models from this link do not have this file?

@ErinZhang1998
Copy link
Author

I was wondering if you could also make the textured.ply files for all YCB models available?
Thanks a lot!

@ErinZhang1998
Copy link
Author

ErinZhang1998 commented Jun 28, 2021

Turns out since 6Dof estimation at its current state does not optimize with color cost, textured pointcloud is not needed. Just output using open3d (which is called textured.ply to work with the code but doesn't actually have texture) seems to work right now.

import open3d as o3d
import os
dirpath = "/data/YCB_Video_Dataset/models/002_master_chef_can"
fname = os.path.join(dirpath, 'textured.obj')
copy_textured_mesh = o3d.io.read_triangle_mesh(fname)
o3d.io.write_triangle_mesh(os.path.join(dirpath, 'textured.ply'), copy_textured_mesh)

But it would still be helpful to obtain the actual textured pointcloud if the author has them

@aditya2592
Copy link

Hi, for 6dof pose estimation you wouldnt need textured models for the current approach. The RGB part is handled by the instance segmentation network

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

2 participants