-
Notifications
You must be signed in to change notification settings - Fork 39
Description
My 3d world face is desfigured when I'm located in the side of the camera (top; bottom; left; right).
FYI, the projected face texture is still correct (the one produced by mediapipe matches my camera projection on the mesh). Thus it's look like this is only the depth of the landmark which is incorrect (distance from the pinhole to that landmark).
Note that my focalLengh is set https://github.com/remmel/mediapipeDemos/blob/main/head_posture_static.py
Also, this is good to note that when I'm located in the center; the 3d world face is impressively good (less than ~1cm depth error! I'm using a Kinect v2 and compare them to its depth).
Gif of the correct face (center) and deformed face (left) - the left face should have the same shape than the center face :

https://sketchfab.com/3d-models/wrong-3d-world-coordinates-tech-issue-94c0d4f8c20a45089353dd9f3b6f8940 (I added the center face matching RGBD to also show you how good is the depth precision!).
Let me know what other information I could provide (create and share open3d snippet to display face; sketchab output with more faces...)
(For the record I compare https://techtee.medium.com/real-time-face-mesh-point-cloud-with-three-js-tensorflow-js-and-typescript-1f37ae844e1f which seems to output a face with good local coordinate but not https://remmel.github.io/FaceMeshFaceGeometry/examples/video/index.html - note that the 2nd webpage use a cropped image)