-
Notifications
You must be signed in to change notification settings - Fork 10
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
How to generate mesh_hand and mesh_obj folders #1
Comments
Hi, Thanks for your interests! For ObMan, I mainly use this toolbox. For the mesh_obj folder, you could have a look at this function about how to load object vertices and faces. Since ObMan annotations provide hand vertices, you could use the closed MANO faces here for the hand mesh. When getting vertices and faces, I use trimesh to export the final mesh. For DexYCB, I mainly use the script provided by the official toolbox to generate the hand mesh and the object mesh. |
Hi, Thank you very much for answering me. |
The main script is shown in following lines. You need to put this .py under this repo. For DexYCB, you need to modify the script and generate meshes from mano parameters yourself. import os MANO_WATERTIGHT_OBJ_PATH = './MANO_WATERTIGHT.obj' def generate_open3d_mesh(vertices, faces, category = 'hand'): parser = argparse.ArgumentParser() pose_dataset = ObMan(args.root, args.shapenet_root, split=args.split, use_cache=False) for i in tqdm(range(len(pose_dataset.image_names))): |
Hello, I'm insteresting in your work and trying to run it on my computer.
But I don't know how to generate
mesh_hand
andmesh_obj
folders in dataset preprocessing part. Which part of the code in tool should I use?Thanks!
The text was updated successfully, but these errors were encountered: