pose_estimation icon indicating copy to clipboard operation
pose_estimation copied to clipboard

Anchor points generation

Open yruoxi opened this issue 5 years ago • 3 comments
trafficstars

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?

yruoxi avatar Nov 26 '19 22:11 yruoxi

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.

BardOfCodes avatar Nov 27 '19 03:11 BardOfCodes

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.

yruoxi avatar Nov 27 '19 19:11 yruoxi

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

BardOfCodes avatar Nov 29 '19 06:11 BardOfCodes