<?xml version="1.0" encoding="UTF-8"?>
<!--
  AGTool conf for libvivo_aura.so. Read by vivoAuraAGToolInit at runtime;
  the SDK expands these paths into the underlying VivoAuraCreateParam.

  Empty inner-text => the SDK leaves the corresponding field NULL, which
  means the module is unconfigured (e.g. aiRefine disabled). The four tag
  names match the legacy CreateParam fields verbatim.
-->
<aura_conf>
    <gtrConfPath>/vendor/camera3rd/nti/power/gtr_tool_sdk.xml</gtrConfPath>
    <depthConfPath>/vendor/camera3rd/nti/spatialscene/MonoDepthConfig.xml</depthConfPath>
    <bokehConfPath>/vendor/camera3rd/nti/</bokehConfPath>
    <aiRefineConfPath>/vendor/camera3rd/nti/</aiRefineConfPath>
    <makeupBaseDir>/vendor/camera3rd/nti/makeup/</makeupBaseDir>

    <!--
      faceTypeConfig: 人脸尺寸 → faceNetType 档位阈值（对齐 power 库
      gtr_tool_sdk.xml <FaceTypeConfig>，不含 maxSupportSize 上限门禁）。

      判定：旋转 90/270 先交换宽高，再从 supFace→minFace 扫；
            命中条件（OR）：面积 >= minSize² || 宽 >= minWid || 高 >= minHei；
            首个命中的档位即定档（脸能够得着的最大档）。
            全未命中（脸过小）时钳到 Min 档。

      档位下标：minFace=Min(0) midFace=Mid(1) maxFace=Max(2) supFace=Sup(3)。
      缺整块或缺某属性时回退到 SDK 内置默认值。
    -->
    <faceTypeConfig>
        <minFace minSize="130"  minWid="128"  minHei="160"/>
        <midFace minSize="700"  minWid="400"  minHei="550"/>
        <maxFace minSize="790"  minWid="655"  minHei="930"/>
        <supFace minSize="2500" minWid="1800" minHei="2800"/>
    </faceTypeConfig>
</aura_conf>
