oakink / OakInk

[CVPR 2022] OakInk: A Large-scale Knowledge Repository for Understanding Hand-Object Interaction
https://oakink.net
MIT License
94 stars 4 forks source link

How to get the MANO hand faces/ triangles for the image data? #3

Closed SupreethN closed 2 years ago

SupreethN commented 2 years ago

Dear authors,

I am trying to obtain hand faces/ triangles for the OakInk-Image part. I see that you already have code to do this for the OakInk-Shape here . How can I obtain this for the image part data? Should I just add a simple class method here that takes MANO hand shape and hand pose as input to the ManoLayer and access ManoLayer.th_faces?

Thanks

lixiny commented 2 years ago

Yes, you can access the MANO hand faces through a static ManoLayer object.

Current the oikit only provide the bare usage: load image, load annotations, and visualize. Feel free to customize.

Thanks.

SupreethN commented 2 years ago

Thanks!