Zielon/metrical-tracker

Vertices coordinate

RIA1159 opened this issue · 2 comments

How can I get the vertices coordinate of the flame head model ?
The vertices in tracker.py#L482 is a normalized result which can not be mapped to the image.
I amplify this vertices by multiply it by 512 which gives the results like this:
test

How can I get the vertices coordinate which aligned to the face like this:
0002

Zielon commented

You can use transform_points_screen() from pytroch3d. For instance, here replace lmk68 with vertices.

test
This works! Thanks a lot!