Open bbakpil opened 5 months ago
Hmm, there is some problem because landmarks_dense.shape = [1, 68, 2]
is the wrong size. How did you generate the input?
Hello, if my input images are in path_image = ./input/image, I used MICA to generate identity.npy using path_image. Then, I selected one identity.npy and put it into path_image. Next, python tracker.py --cfg ./configs/actors/tmp.yml
Does the input have to be a video (.mp4)?
I am having the same question as @bbakpil. We are interested in applying metrical-tracker to a single image.
Hello, @bbakpil , Excuse me, I used the same method as you. Have you solved this problem?
Hello, thanks for your awesome work.
I'm having trouble on running tracker.py.
def parse_batch(self, batch): images = batch['image'] landmarks = batch['lmk'] landmarks_dense = batch['dense_lmk']
landmarks_dense.shape = [1, 68, 2], which seems like 68 landmarks. However, left_iris_mp = [468, 469, 470, 471, 472] right_iris_mp = [473, 474, 475, 476, 477] and mediapipe_idx = [276. 282, ... ]
left_iris_mp , right_iris_mp , and mediapipe_idx exceeds the index of landmarks_dense. Am I doing something wrong? Please give me any suggestion if possible.
Thank you in advance.