<p>By digging into the document and paper I get to understand that the estimated face geometry is aligned with the canonical face model. You can refer the pager <a href="https://arxiv.org/pdf/1907.06724.pdf" rel="nofollow noreferrer">https://arxiv.org/pdf/1907.06724.pdf</a> and the explanation <a href="https://developers.googleblog.com/2020/09/mediapipe-3d-face-transform.html" rel="nofollow noreferrer">here</a></p>
How does faceeffect decide where to attach the 3dmesh? e.g attach the axis to the nose
<p>Looking into below Mediapipe's faceeefect module's graph definition</p>
<pre><code>  node_options: {
[type.googleapis.com/mediapipe.SwitchContainerOptions] {
  contained_node: {
    calculator: &quot;FaceGeometryEffectRendererCalculator&quot;
    node_options: {
      [type.googleapis.com/mediapipe.FaceGeometryEffectRendererCalculatorOptions] {
        effect_texture_path: &quot;mediapipe/graphs/face_effect/data/axis.pngblob&quot;
        effect_mesh_3d_path: &quot;mediapipe/graphs/face_effect/data/axis.binarypb&quot;
      }
    }
  }
</code></pre>
<p>I further checked the calculator code of FaceGeometryEffectRendererCalculator, I couldn't pinpoint the code where it determines the exact location the renderer render the axis. Maybe I don't understand the OpenGL well which leads to the misunderstanding.</p>
<p>Can someone help shed some lights where should I look for?</p>
<p>Thanks！</p>