From 194e006035de4706e5480da5dd00f185f8a640fe Mon Sep 17 00:00:00 2001 From: Ludwig Lohmer Date: Fri, 21 Apr 2023 11:25:20 +0200 Subject: [PATCH] Change vertex index for index fingertip position --- manopth/manolayer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manopth/manolayer.py b/manopth/manolayer.py index 06d1867..3e22a0d 100644 --- a/manopth/manolayer.py +++ b/manopth/manolayer.py @@ -248,9 +248,9 @@ def forward(self, # In addition to MANO reference joints we sample vertices on each finger # to serve as finger tips if self.side == 'right': - tips = th_verts[:, [745, 317, 444, 556, 673]] + tips = th_verts[:, [745, 319, 444, 556, 673]] else: - tips = th_verts[:, [745, 317, 445, 556, 673]] + tips = th_verts[:, [745, 319, 445, 556, 673]] if bool(root_palm): palm = (th_verts[:, 95] + th_verts[:, 22]).unsqueeze(1) / 2 th_jtr = torch.cat([palm, th_jtr[:, 1:]], 1)