Skip to content

Anchor points generation #4

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

Open
yruoxi opened this issue Nov 26, 2019 · 3 comments
Open

Anchor points generation #4

yruoxi opened this issue Nov 26, 2019 · 3 comments

Comments

@yruoxi
Copy link

yruoxi commented Nov 26, 2019

Hi, I also ran into missing anchor files. I was able to find the anchor files from a previous issue, another question, how do I generate those anchor points if I want to test for some other classes. Is there a tool for generating that?

@BardOfCodes
Copy link
Contributor

I manually annotated the anchor points for the synthetic model.
You can import the obj file in blender, and find the position of any vertex.
The selected anchor points are essentially just vertices of the obj.
Since we need such anchors only for a single template model (for each class), it should not be a lot of work.

@yruoxi
Copy link
Author

yruoxi commented Nov 27, 2019

Thanks for the quick response. Yes, I am able to see how it is selected in blender now, although the x,y,z when imported in blender can switch a little, but i think i am able to figure it out.

Also a side note, there's only a selected version of trimesh that can load object instead of scene, which could result in scene does not have sample error. I was able to find an answer online that says to downgrade trimesh, which worked.

Version above 3 will show this
trimesh3

Version at 2.34 or similar,version just a little high will show this
trimesh2

Version too low, at about 2.21:
trimesh_low

Known working version: 2.24.2
Might want to specify versions of trimesh in readme or something.

@BardOfCodes
Copy link
Contributor

@yruoxi Thank you very much for finding this.
I will add this to the data generation read me file!

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