polarisZhao / PFLD-pytorch

PFLD pytorch Implementation
810 stars 197 forks source link

euler angles #47

Open kurbobo opened 3 years ago

kurbobo commented 3 years ago

Hello! https://github.com/polarisZhao/PFLD-pytorch/blob/e438e2bae50cfb12e3c2ee6532e906c84f5660fc/pfld/utils.py#L29 here it is said about axes, which were used as basis for euler angle calculation, but it is not clear for me as on https://github.com/polarisZhao/PFLD-pytorch/blob/e438e2bae50cfb12e3c2ee6532e906c84f5660fc/pfld/utils.py#L32 it is said about other basis, so what X, Y, Z were used in dataset for calculation of euler angle?

Michael-J98 commented 3 years ago

I guess the 2nd one was used because its calculation was based on "cv2.solvePnP". BTW, I wonder is there something wrong about this: [-2.005628, 1.409845, 6.165652], # NOSE_LEFT, [-2.005628, 1.409845, 6.165652], # NOSE_RIGHT, . They are the same, should the X coordinate of NOSE_LEFT be positive?

defypp commented 1 year ago

how to get all 68 3d standard face points? I want to train with 5 points with nose tip, but only nose left and right here.