google-ai-edge / mediapipe

Cross-platform, customizable ML solutions for live and streaming media.
https://ai.google.dev/edge/mediapipe
Apache License 2.0
27.79k stars 5.18k forks source link

Is coordinate axis fixed for mediapipe facemesh ? #1750

Closed aarushi-mittal closed 3 years ago

aarushi-mittal commented 3 years ago

Hello,

I am trying to understand how coordinates are captured in mediapipe facemesh.

If my face is not stationary , but constantly moving with respect to my webcam , the coordinates keep changing.

I wanted to understand if the origin is static for the entire 2-D plan where my image is captured or the origin keeps on changing as my face orientation (or angle) changes.

Kindly suggest.

Thanks, Aarushi

sgowroji commented 3 years ago

Adding @ivan-grishchenko as he already addressed your similar issues here 1724

ablavatski commented 3 years ago

Hey Aarushi! Yes, you are right that the coordinates origin is static for the entire 2D plane and located in the top left corner. In other words, the top left corner is always (0, 0) and the bottom right corner is (255, 255).