<?xml version="1.0" encoding="utf-8"?>
<!-- newSubmit AadChildGanHD reviseTeleChildParam -->
<PowerConfig version="3.5.0.3">
    <BaseConfig>
        <!-- 0: rear Skin, 1: front SKIN, 2: rear hd, 3: front hd, 4: rear night, 5: rear tele, 6: rear stage -->
        <AlgoMode>5</AlgoMode>
        <!-- max number of faces can be processed -->
        <MaxFaceNum>5</MaxFaceNum>
        <!-- enable drcGain or not -->
        <UseDrcgain>0</UseDrcgain>
        <!-- border rate for blending HD result with input -->
        <BlendRate>10</BlendRate>
        <!-- algorithm run condition -->
        <GlobalRunCondition use="1">
            <!-- lumType: 0 means ISO, 1 means LuxIndex -->
            <LumVal type="0" min="0" max="665600"></LumVal>
            <!-- roll: [minRoll,maxRoll], yaw: [minYaw, maxYaw], pitch: [minPitch, maxPitch] -->
            <FaceAngle minRoll="0" maxRoll="360" minYaw="-90" maxYaw="90" minPitch="-90" maxPitch="90"></FaceAngle>
        </GlobalRunCondition>
        <IQAConfig use="1" path="pllm_config.xml"></IQAConfig>

        <!-- method: 0 - USM, 1 - Pyramid-->
        <SharpenConfig method="0">
            <USM>
                <Sigma>1.0</Sigma>
                <Weight>2.0</Weight>
                <Threshold>1</Threshold>
            </USM>
            <Pyramid>
                <!-- maximum levelMum is 4 -->
                <LevelNum>3</LevelNum>
                <Levels>16 64 256</Levels>
            </Pyramid>
        </SharpenConfig>

        <!-- FaceBoxConfig -->
        <FaceBoxConfig>
            <FaceCropRatio>0.35 1.0 0.35 0.35</FaceCropRatio>
        </FaceBoxConfig>

        <!-- FaceMask expand ratios; Blur kernels of silkworm and stru are separate -->
        <FaceMaskConfig>
            <ExpandRadius use="1">
                <Eye     x="4" y="4"></Eye>
                <Mouth   x="2" y="2"></Mouth>
                <Eyebrow x="2" y="2"></Eyebrow>
                <Nostril x="1" y="1"></Nostril>
            </ExpandRadius>
            <FiveSenseBlurRadius use="1" val="3"></FiveSenseBlurRadius>
        </FaceMaskConfig>

        <!-- color fix method: 0 - None, 1 - Adain, 2 - Wavelet-->
        <ColorFix>2</ColorFix>
        <!-- hair model color fix method: 0 - None, 1 - Adain, 2 - Wavelet, 3 - UV fusion-->
        <HairColorFix>2</HairColorFix>
    </BaseConfig>

    <!-- model config list -->
    <ModelConfigList>
        <SDBaseModelConfig use="1" nid="0">
            <UNet>
                <TimestepEmbedding>power_t_emb.bin</TimestepEmbedding>
                <TextEmbedding>power_prompt_embeds.bin</TextEmbedding>
                <StaticPath>unet_parallel_lora_16a8w.parallel_share.bin</StaticPath>
            </UNet>
        </SDBaseModelConfig>
        <SDModelConfig use="1" nid="0" engine="7" device="0" power="0" thread="1" width="512" height="640" baseModelId="0">
            <ScalingFactor>1.0</ScalingFactor>
            <Timesteps>249</Timesteps>
            <SharedBuffer>48</SharedBuffer>
            <Encoder>
                <ModelPath>night_512x640_vae_encoder.vdnn</ModelPath>
                <InputNode>input_0</InputNode>
                <OutputNode>output_0</OutputNode>
            </Encoder>
            <UNet>
                <ModelPath>night_512x640_unet_parallel_lora_16a8w_diff.vdnn</ModelPath>
                <InputNode>input_0 input_1 input_2 input_3</InputNode>
                <OutputNode>output_0</OutputNode>
                <TimestepEmbedding></TimestepEmbedding>
                <TextEmbedding></TextEmbedding>
            </UNet>
            <Decoder>
                <ModelPath>night_512x640_vae_decoder.vdnn</ModelPath>
                <InputNode>input_0 input_1</InputNode>
                <OutputNode>output_0 output_1</OutputNode>
            </Decoder>
        </SDModelConfig>
        <SDModelConfig use="1" nid="1" engine="7" device="0" power="0" thread="1" width="768" height="960" baseModelId="0">
            <ScalingFactor>1.0</ScalingFactor>
            <Timesteps>249</Timesteps>
            <SharedBuffer>108</SharedBuffer>
            <Encoder>
                <ModelPath>tele_768x960_vae_encoder.vdnn</ModelPath>
                <InputNode>input_0</InputNode>
                <OutputNode>output_0</OutputNode>
            </Encoder>
            <UNet>
                <ModelPath>tele_768x960_unet_parallel_lora_16a8w_diff.vdnn</ModelPath>
                <InputNode>input_0 input_1 input_2 input_3</InputNode>
                <OutputNode>output_0</OutputNode>
                <TimestepEmbedding></TimestepEmbedding>
                <TextEmbedding></TextEmbedding>
            </UNet>
            <Decoder>
                <ModelPath>tele_768x960_vae_decoder.vdnn</ModelPath>
                <InputNode>input_0 input_1</InputNode>
                <OutputNode>output_0 output_1</OutputNode>
            </Decoder>
        </SDModelConfig>
        <!-- hair net-->
        <ModelConfig use="1" nid="2" engine="7" device="0" power="0" thread="1" width="1024" height="1024">
            <ModelPath>RearHairAigc.vdnn</ModelPath>
            <InputNode>input_0</InputNode>
            <OutputNode>conv2d_36</OutputNode>
        </ModelConfig>
        <!-- big main face net, output node sequence: hd -->
        <ModelConfig use="1" nid="3" engine="7" device="0" power="0" thread="1" width="1152" height="1536">
            <ModelPath>RearBigMainHD.vdnn</ModelPath>
            <InputNode>inp</InputNode>
            <OutputNode>add_6_act_fake_quant add_8_act_fake_quant</OutputNode>
        </ModelConfig>
        <ModelConfig use="1" nid="4" engine="7" device="0" power="0" thread="1" width="1152" height="1536">
            <ModelPath>RearBigKidsHD.vdnn</ModelPath>
            <InputNode>inp</InputNode>
            <OutputNode>add_6_act_fake_quant add_8_act_fake_quant</OutputNode>
        </ModelConfig>
    </ModelConfigList>

    <EffectConfigList lumType="0">
        <!-- uiZoomRatio: [minUIZoomRatio, maxUIZoomRatio), lum: [minLum, maxLum) -->
        <EffectConfig minUIZoomRatio="0.0" maxUIZoomRatio="29.99" minLum="0" maxLum="665600">
            <!-- FaceTypeConfig: the long border length of face box. -->
            <FaceTypeConfig maxSupportSize="10000">
                <MinFaceCond minSize="300"  minWid="150"  minHei="250"  minScore="0.1" faceHDNetId="0" hairNetId="2"></MinFaceCond>
                <MidFaceCond minSize="750"  minWid="600"  minHei="700"  minScore="0.0" faceHDNetId="1" hairNetId="2"></MidFaceCond>
                <MaxFaceCond minSize="900"  minWid="950"  minHei="1050" minScore="0.0" faceHDNetId="1" hairNetId="2"></MaxFaceCond>
                <SupFaceCond minSize="2500" minWid="1800" minHei="2800" minScore="0.0" faceHDNetId="1" hairNetId="2">
                    <AddCond minIQAScore="0.0"  maxIQAScore="0.59" faceHDNetId="1" hairNetId="2"></AddCond>
                    <AddCond minIQAScore="0.59" maxIQAScore="1.1" faceHDNetId="3"></AddCond>
                </SupFaceCond>
            </FaceTypeConfig>
            <FaceTypeConfig maxSupportSize="10000" ageType="1">
                <MinFaceCond minSize="130" minWid="128" minHei="160" minScore="0.1" faceHDNetId="4"></MinFaceCond>
                <MidFaceCond minSize="450" minWid="400" minHei="550" minScore="0.0" faceHDNetId="4"></MidFaceCond>
                <MaxFaceCond minSize="790" minWid="655" minHei="930" minScore="0.0" faceHDNetId="4"></MaxFaceCond>
                <SupFaceCond minSize="2500" minWid="1800" minHei="2800" minScore="0.0" faceHDNetId="4"></SupFaceCond>
            </FaceTypeConfig>

            <!-- config for min face. -->
            <MinFaceConfig>
                <!-- run condition -->
                <RunCond use="0">
                    <MinLaplacian>0.0</MinLaplacian>
                </RunCond>
                <IQARunCond use="1">
                    <!-- <score lessThan="0.00" ratio="1.0" ratioSkin="1.00"></score> -->
                    <score lessThan="0.005" ratio="0.01" ratioSkin="0.1"></score>
                    <score lessThan="0.01" ratio="0.10" ratioSkin="0.50"></score>
                    <score lessThan="0.20" ratio="0.40" ratioSkin="0.80"></score>
                    <score lessThan="0.40" ratio="0.65" ratioSkin="0.85"></score>
                    <score lessThan="0.50" ratio="1.00" ratioSkin="1.00"></score>
                    <score lessThan="1.01" ratio="1.00" ratioSkin="1.00"></score>
                </IQARunCond>
                <HairNetFusionRatio>0.5</HairNetFusionRatio>
                <!-- fusion ratios for output of FaceNet:  -->
                <HDFusionRatio>
                    <!-- regions:         hair| eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.20 0.50 0.35 0.50 0.00" male="0.50 0.50 0.20 0.50 0.35 0.50 0.00"></Child>
                    <Teenager     female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Teenager>
                    <Youth        female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Youth>
                    <MidAge       female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></MidAge>
                    <YoungElderly female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></YoungElderly>
                    <Elderly      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Elderly>
                </HDFusionRatio>
                <HDSkinFusionRatio use="1">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="0.90 1.00 1.00 1.00 1.00 1.00 0.00" male="0.90 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.35 0.35 0.50 0.20 0.30 0.00" male="0.50 0.35 0.35 0.50 0.20 0.30 0.00"></Child>
                </HDSkinFusionRatio>
                <DetailFusionRatio use="0">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Unknown>
                    <Child        female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Child>
                </DetailFusionRatio>
                <ExtraFusionRatio>
                    <SharpenWeights use="1">
                        <!-- regions:    hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                        <Unknown      female="0.00 0.00 0.00 0.00 0.20 0.00 0.00" male="0.00 0.00 0.00 0.00 0.20 0.00 0.00"></Unknown>
                        <Child        female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Child>
                    </SharpenWeights>
                </ExtraFusionRatio>
            </MinFaceConfig>

            <!-- config for mid face. -->
            <MidFaceConfig>
                <!-- run condition -->
                <RunCond use="0">
                    <MinLaplacian>0.0</MinLaplacian>
                </RunCond>
                <IQARunCond use="1">
                    <!-- <score lessThan="0.1" ratio="1.0"></score> -->
                    <score lessThan="0.002" ratio="0.1" ratioSkin="0.3"></score>
                    <score lessThan="0.01" ratio="0.75" ratioSkin="0.85"></score>
                    <score lessThan="0.20" ratio="0.85" ratioSkin="0.95"></score>
                    <score lessThan="0.40" ratio="0.95" ratioSkin="1.00"></score>
                    <score lessThan="0.50" ratio="1.00" ratioSkin="1.00"></score>
                    <score lessThan="1.01" ratio="1.00" ratioSkin="1.00"></score>
                </IQARunCond>
                <HairNetFusionRatio>0.5</HairNetFusionRatio>
                <!-- fusion ratios for output of FaceNet:  -->
                <HDFusionRatio>
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.20 0.50 0.35 0.50 0.00" male="0.50 0.50 0.20 0.50 0.35 0.50 0.00"></Child>
                    <Teenager     female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Teenager>
                    <Youth        female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Youth>
                    <MidAge       female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></MidAge>
                    <YoungElderly female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></YoungElderly>
                    <Elderly      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Elderly>
                </HDFusionRatio>
                <HDSkinFusionRatio use="1">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="0.65 1.00 1.00 1.00 1.00 1.00 0.00" male="0.65 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.35 0.35 0.50 0.20 0.30 0.00" male="0.50 0.35 0.35 0.50 0.20 0.30 0.00"></Child>
                </HDSkinFusionRatio>
                <DetailFusionRatio use="0">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Child>
                </DetailFusionRatio>
                <ExtraFusionRatio>
                    <SharpenWeights use="1">
                        <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                        <Unknown      female="0.00 0.00 0.00 0.00 0.20 0.00 0.00" male="0.00 0.00 0.00 0.00 0.20 0.00 0.00"></Unknown>
                        <Child        female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Child>
                    </SharpenWeights>
                </ExtraFusionRatio>
            </MidFaceConfig>

            <!-- config for max face. -->
            <MaxFaceConfig>
                <!-- run condition -->
                <RunCond use="0">
                    <MinLaplacian>0.0</MinLaplacian>
                </RunCond>
                <IQARunCond use="1">
                    <!-- <score lessThan="0.1" ratio="1.0"></score> -->
                    <score lessThan="0.002" ratio="0.1" ratioSkin="0.3"></score>
                    <score lessThan="0.01" ratio="0.75" ratioSkin="0.85"></score>
                    <score lessThan="0.20" ratio="0.85" ratioSkin="0.95"></score>
                    <score lessThan="0.40" ratio="0.95" ratioSkin="1.00"></score>
                    <score lessThan="0.50" ratio="1.00" ratioSkin="1.00"></score>
                    <score lessThan="1.01" ratio="1.00" ratioSkin="1.00"></score>
                </IQARunCond>
                <HairNetFusionRatio>0.5</HairNetFusionRatio>
                <!-- fusion ratios for output of FaceNet:  -->
                <HDFusionRatio>
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.20 0.50 0.35 0.50 0.00" male="0.50 0.50 0.20 0.50 0.35 0.50 0.00"></Child>
                    <Teenager     female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Teenager>
                    <Youth        female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Youth>
                    <MidAge       female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></MidAge>
                    <YoungElderly female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></YoungElderly>
                    <Elderly      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Elderly>
                </HDFusionRatio>
                <HDSkinFusionRatio use="1">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="0.75 1.00 1.00 1.00 1.00 1.00 0.00" male="0.75 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.35 0.35 0.50 0.20 0.30 0.00" male="0.50 0.35 0.35 0.50 0.20 0.30 0.00"></Child>
                </HDSkinFusionRatio>
                <DetailFusionRatio use="0">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Child>
                </DetailFusionRatio>
                <ExtraFusionRatio>
                    <SharpenWeights use="1">
                        <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                        <Unknown      female="0.00 0.00 0.00 0.00 0.30 0.00 0.00" male="0.00 0.00 0.00 0.00 0.30 0.00 0.00"></Unknown>
                        <Child        female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Child>
                    </SharpenWeights>
                </ExtraFusionRatio>
            </MaxFaceConfig>

            <!-- config for sup face. -->
            <SupFaceConfig>
                <!-- run condition -->
                <RunCond use="0">
                    <MinLaplacian>0.0</MinLaplacian>
                </RunCond>
                <IQARunCond use="1">
                    <!-- <score lessThan="0.1" ratio="1.0"></score> -->
                    <score lessThan="0.002" ratio="0.1" ratioSkin="0.3"></score>
                    <score lessThan="0.01" ratio="0.75" ratioSkin="0.85"></score>
                    <score lessThan="0.20" ratio="0.85" ratioSkin="0.95"></score>
                    <score lessThan="0.40" ratio="0.95" ratioSkin="1.00"></score>
                    <score lessThan="0.50" ratio="1.00" ratioSkin="1.00"></score>
                    <score lessThan="1.01" ratio="1.00" ratioSkin="1.00"></score>
                </IQARunCond>
                <HairNetFusionRatio>0.75</HairNetFusionRatio>
                <!-- fusion ratios for output of FaceNet:  -->
                <HDFusionRatio>
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.20 0.50 0.35 0.50 0.00" male="0.50 0.50 0.20 0.50 0.35 0.50 0.00"></Child>
                    <Teenager     female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Teenager>
                    <Youth        female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Youth>
                    <MidAge       female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></MidAge>
                    <YoungElderly female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></YoungElderly>
                    <Elderly      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Elderly>
                </HDFusionRatio>
                <HDSkinFusionRatio use="1">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.35 0.35 0.50 0.20 0.30 0.00" male="0.50 0.35 0.35 0.50 0.20 0.30 0.00"></Child>
                </HDSkinFusionRatio>
                <DetailFusionRatio use="0">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 1.00" male="1.00 1.00 1.00 1.00 1.00 1.00 1.00"></Unknown>
                    <Child        female="1.00 1.00 1.00 1.00 1.00 1.00 1.00" male="1.00 1.00 1.00 1.00 1.00 1.00 1.00"></Child>
                </DetailFusionRatio>
                <ExtraFusionRatio>
                    <SharpenWeights use="1">
                        <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                        <Unknown      female="0.10 0.00 0.00 0.00 0.20 0.00 0.00" male="0.10 0.00 0.00 0.00 0.20 0.00 0.00"></Unknown>
                        <Child        female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Child>
                    </SharpenWeights>
                </ExtraFusionRatio>
            </SupFaceConfig>
        </EffectConfig>

        <EffectConfig minUIZoomRatio="29.99" maxUIZoomRatio="105.0" minLum="0" maxLum="7000">
            <!-- FaceTypeConfig: the long border length of face box. -->
            <FaceTypeConfig maxSupportSize="10000">
                <MinFaceCond minSize="300"  minWid="150"  minHei="250"  minScore="0.1" faceHDNetId="0" hairNetId="2"></MinFaceCond>
                <MidFaceCond minSize="750"  minWid="600"  minHei="700"  minScore="0.0" faceHDNetId="1" hairNetId="2"></MidFaceCond>
                <MaxFaceCond minSize="900"  minWid="950"  minHei="1050" minScore="0.0" faceHDNetId="1" hairNetId="2"></MaxFaceCond>
                <SupFaceCond minSize="2500" minWid="1800" minHei="2800" minScore="0.0" faceHDNetId="1" hairNetId="2"></SupFaceCond>
            </FaceTypeConfig>
            <FaceTypeConfig maxSupportSize="10000" ageType="1">
                <MinFaceCond minSize="130" minWid="128" minHei="160" minScore="0.1" faceHDNetId="4"></MinFaceCond>
                <MidFaceCond minSize="450" minWid="400" minHei="550" minScore="0.0" faceHDNetId="4"></MidFaceCond>
                <MaxFaceCond minSize="790" minWid="655" minHei="930" minScore="0.0" faceHDNetId="4"></MaxFaceCond>
                <SupFaceCond minSize="2500" minWid="1800" minHei="2800" minScore="0.0" faceHDNetId="4"></SupFaceCond>
            </FaceTypeConfig>

            <!-- config for min face. -->
            <MinFaceConfig>
                <!-- run condition -->
                <RunCond use="1">
                    <MinLaplacian>0.0</MinLaplacian>
                </RunCond>
                <IQARunCond use="1">
                    <!-- <score lessThan="0.1" ratio="1.0"></score> -->
                    <score lessThan="0.005" ratio="0.1" ratioSkin="0.3"></score>
                    <score lessThan="0.03" ratio="0.40" ratioSkin="0.85"></score>
                    <score lessThan="0.10" ratio="0.75" ratioSkin="0.85"></score>
                    <score lessThan="0.20" ratio="0.85" ratioSkin="0.85"></score>
                    <score lessThan="0.40" ratio="0.95" ratioSkin="0.85"></score>
                    <score lessThan="0.50" ratio="1.00" ratioSkin="1.00"></score>
                    <score lessThan="1.01" ratio="1.00" ratioSkin="1.00"></score>
                </IQARunCond>
                <HairNetFusionRatio>0.5</HairNetFusionRatio>
                <!-- fusion ratios for output of FaceNet:  -->
                <HDFusionRatio>
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.20 0.50 0.35 0.50 0.00" male="0.50 0.50 0.20 0.50 0.35 0.50 0.00"></Child>
                    <Teenager     female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Teenager>
                    <Youth        female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Youth>
                    <MidAge       female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></MidAge>
                    <YoungElderly female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></YoungElderly>
                    <Elderly      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Elderly>
                </HDFusionRatio>
                <HDSkinFusionRatio use="1">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.50 0.50 0.30 0.30 0.00" male="0.50 0.50 0.50 0.50 0.30 0.30 0.00"></Child>
                </HDSkinFusionRatio>
                <DetailFusionRatio use="0">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Unknown>
                    <Child        female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Child>
                </DetailFusionRatio>
                <ExtraFusionRatio>
                    <SharpenWeights use="1">
                        <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                        <Unknown      female="0.80 0.70 0.70 0.70 0.90 0.70 0.70" male="0.80 0.70 0.70 0.70 0.90 0.70 0.70"></Unknown>
                        <Child        female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Child>
                    </SharpenWeights>
                </ExtraFusionRatio>
            </MinFaceConfig>

            <!-- config for mid face. -->
            <MidFaceConfig>
                <!-- run condition -->
                <RunCond use="1">
                    <MinLaplacian>0.0</MinLaplacian>
                </RunCond>
                <IQARunCond use="1">
                    <!-- <score lessThan="0.1" ratio="1.0"></score> -->
                    <score lessThan="0.005" ratio="0.1" ratioSkin="0.3"></score>
                    <score lessThan="0.03" ratio="0.40" ratioSkin="0.85"></score>
                    <score lessThan="0.10" ratio="0.75" ratioSkin="0.85"></score>
                    <score lessThan="0.20" ratio="0.85" ratioSkin="0.85"></score>
                    <score lessThan="0.40" ratio="0.95" ratioSkin="0.85"></score>
                    <score lessThan="0.50" ratio="1.00" ratioSkin="1.00"></score>
                    <score lessThan="1.01" ratio="1.00" ratioSkin="1.00"></score>
                </IQARunCond>
                <HairNetFusionRatio>0.5</HairNetFusionRatio>
                <!-- fusion ratios for output of FaceNet:  -->
                <HDFusionRatio>
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.20 0.50 0.35 0.50 0.00" male="0.50 0.50 0.20 0.50 0.35 0.50 0.00"></Child>
                    <Teenager     female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Teenager>
                    <Youth        female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Youth>
                    <MidAge       female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></MidAge>
                    <YoungElderly female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></YoungElderly>
                    <Elderly      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Elderly>
                </HDFusionRatio>
                <HDSkinFusionRatio use="1">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.50 0.50 0.30 0.30 0.00" male="0.50 0.50 0.50 0.50 0.30 0.30 0.00"></Child>
                </HDSkinFusionRatio>
                <DetailFusionRatio use="0">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Unknown>
                    <Child        female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Child>
                </DetailFusionRatio>
                <ExtraFusionRatio>
                    <SharpenWeights use="1">
                        <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                        <Unknown      female="0.80 0.70 0.70 0.70 0.90 0.70 0.70" male="0.80 0.70 0.70 0.70 0.90 0.70 0.70"></Unknown>
                        <Child        female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Child>
                    </SharpenWeights>
                </ExtraFusionRatio>
            </MidFaceConfig>

            <!-- config for max face. -->
            <MaxFaceConfig>
                <!-- run condition -->
                <RunCond use="1">
                    <MinLaplacian>0.0</MinLaplacian>
                </RunCond>
                <IQARunCond use="1">
                    <!-- <score lessThan="0.1" ratio="1.0"></score> -->
                    <score lessThan="0.005" ratio="0.1" ratioSkin="0.3"></score>
                    <score lessThan="0.03" ratio="0.40" ratioSkin="0.85"></score>
                    <score lessThan="0.10" ratio="0.75" ratioSkin="0.85"></score>
                    <score lessThan="0.20" ratio="0.85" ratioSkin="0.85"></score>
                    <score lessThan="0.40" ratio="0.95" ratioSkin="0.85"></score>
                    <score lessThan="0.50" ratio="1.00" ratioSkin="1.00"></score>
                    <score lessThan="1.01" ratio="1.00" ratioSkin="1.00"></score>
                </IQARunCond>
                <HairNetFusionRatio>0.5</HairNetFusionRatio>
                <!-- fusion ratios for output of FaceNet:  -->
                <HDFusionRatio>
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.20 0.50 0.35 0.50 0.00" male="0.50 0.50 0.20 0.50 0.35 0.50 0.00"></Child>
                    <Teenager     female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Teenager>
                    <Youth        female="0.90 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Youth>
                    <MidAge       female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></MidAge>
                    <YoungElderly female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></YoungElderly>
                    <Elderly      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Elderly>
                </HDFusionRatio>
                <HDSkinFusionRatio use="1">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="0.90 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.50 0.50 0.30 0.30 0.00" male="0.50 0.50 0.50 0.50 0.30 0.30 0.00"></Child>
                </HDSkinFusionRatio>
                <DetailFusionRatio use="0">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Child>
                </DetailFusionRatio>
                <ExtraFusionRatio>
                    <SharpenWeights use="1">
                        <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                        <Unknown      female="0.90 0.80 0.80 0.80 1.00 0.80 0.80" male="0.90 0.80 0.80 0.80 1.00 0.80 0.80"></Unknown>
                        <Child        female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Child>
                    </SharpenWeights>
                </ExtraFusionRatio>
            </MaxFaceConfig>

            <!-- config for sup face. -->
            <SupFaceConfig>
                <!-- run condition -->
                <RunCond use="1">
                    <MinLaplacian>0.0</MinLaplacian>
                </RunCond>
                <IQARunCond use="1">
                    <!-- <score lessThan="0.1" ratio="1.0"></score> -->
                    <score lessThan="0.005" ratio="0.1" ratioSkin="0.3"></score>
                    <score lessThan="0.03" ratio="0.40" ratioSkin="0.85"></score>
                    <score lessThan="0.10" ratio="0.75" ratioSkin="0.85"></score>
                    <score lessThan="0.20" ratio="0.85" ratioSkin="0.85"></score>
                    <score lessThan="0.40" ratio="0.95" ratioSkin="0.85"></score>
                    <score lessThan="0.50" ratio="1.00" ratioSkin="1.00"></score>
                    <score lessThan="1.01" ratio="1.00" ratioSkin="1.00"></score>
                </IQARunCond>
                <HairNetFusionRatio>0.75</HairNetFusionRatio>
                <!-- fusion ratios for output of FaceNet:  -->
                <HDFusionRatio>
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.20 0.50 0.35 0.50 0.00" male="0.50 0.50 0.20 0.50 0.35 0.50 0.00"></Child>
                    <Teenager     female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Teenager>
                    <Youth        female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Youth>
                    <MidAge       female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></MidAge>
                    <YoungElderly female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></YoungElderly>
                    <Elderly      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Elderly>
                </HDFusionRatio>
                <HDSkinFusionRatio use="1">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.50 0.50 0.30 0.30 0.00" male="0.50 0.50 0.50 0.50 0.30 0.30 0.00"></Child>
                </HDSkinFusionRatio>
                <DetailFusionRatio use="0">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="0.90 1.00 1.00 1.00 1.00 1.00 1.00" male="1.00 1.00 1.00 1.00 1.00 1.00 1.00"></Unknown>
                    <Child        female="1.00 1.00 1.00 1.00 1.00 1.00 1.00" male="1.00 1.00 1.00 1.00 1.00 1.00 1.00"></Child>
                </DetailFusionRatio>
                <ExtraFusionRatio>
                    <SharpenWeights use="1">
                        <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                        <Unknown      female="0.80 0.70 0.70 0.70 0.90 0.70 0.70" male="0.80 0.70 0.70 0.70 0.90 0.70 0.70"></Unknown>
                        <Child        female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Child>
                    </SharpenWeights>
                </ExtraFusionRatio>
            </SupFaceConfig>
        </EffectConfig>
        <EffectConfig minUIZoomRatio="29.99" maxUIZoomRatio="105.0" minLum="7000" maxLum="665600">
            <!-- FaceTypeConfig: the long border length of face box. -->
            <FaceTypeConfig maxSupportSize="10000">
                <MinFaceCond minSize="300"  minWid="150"  minHei="250"  minScore="0.1" faceHDNetId="0" hairNetId="2"></MinFaceCond>
                <MidFaceCond minSize="750"  minWid="600"  minHei="700"  minScore="0.0" faceHDNetId="1" hairNetId="2"></MidFaceCond>
                <MaxFaceCond minSize="900"  minWid="950"  minHei="1050" minScore="0.0" faceHDNetId="1" hairNetId="2"></MaxFaceCond>
                <SupFaceCond minSize="2500" minWid="1800" minHei="2800" minScore="0.0" faceHDNetId="1" hairNetId="2"></SupFaceCond>
            </FaceTypeConfig>
            <FaceTypeConfig maxSupportSize="10000" ageType="1">
                <MinFaceCond minSize="130" minWid="128" minHei="160" minScore="0.1" faceHDNetId="4"></MinFaceCond>
                <MidFaceCond minSize="450" minWid="400" minHei="550" minScore="0.0" faceHDNetId="4"></MidFaceCond>
                <MaxFaceCond minSize="790" minWid="655" minHei="930" minScore="0.0" faceHDNetId="4"></MaxFaceCond>
                <SupFaceCond minSize="2500" minWid="1800" minHei="2800" minScore="0.0" faceHDNetId="4"></SupFaceCond>
            </FaceTypeConfig>

            <!-- config for min face. -->
            <MinFaceConfig>
                <!-- run condition -->
                <RunCond use="1">
                    <MinLaplacian>0.0</MinLaplacian>
                </RunCond>
                <IQARunCond use="1">
                    <!-- <score lessThan="0.1" ratio="1.0"></score> -->
                    <score lessThan="0.04" ratio="0.01" ratioSkin="0.01"></score>
                    <score lessThan="0.06" ratio="0.25" ratioSkin="0.75"></score>
                    <score lessThan="0.10" ratio="0.75" ratioSkin="0.85"></score>
                    <score lessThan="0.20" ratio="0.85" ratioSkin="0.85"></score>
                    <score lessThan="0.40" ratio="0.95" ratioSkin="0.85"></score>
                    <score lessThan="0.50" ratio="1.00" ratioSkin="1.00"></score>
                    <score lessThan="1.01" ratio="1.00" ratioSkin="1.00"></score>
                </IQARunCond>
                <HairNetFusionRatio>1.0</HairNetFusionRatio>
                <!-- fusion ratios for output of FaceNet:  -->
                <HDFusionRatio>
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.20 0.50 0.35 0.50 0.00" male="0.50 0.50 0.20 0.50 0.35 0.50 0.00"></Child>
                    <Teenager     female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Teenager>
                    <Youth        female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Youth>
                    <MidAge       female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></MidAge>
                    <YoungElderly female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></YoungElderly>
                    <Elderly      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Elderly>
                </HDFusionRatio>
                <HDSkinFusionRatio use="1">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.50 0.50 0.30 0.30 0.00" male="0.50 0.50 0.50 0.50 0.30 0.30 0.00"></Child>
                </HDSkinFusionRatio>
                <DetailFusionRatio use="0">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Unknown>
                    <Child        female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Child>
                </DetailFusionRatio>
                <ExtraFusionRatio>
                    <SharpenWeights use="1">
                        <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                        <Unknown      female="0.80 0.70 0.70 0.70 0.90 0.70 0.70" male="0.80 0.70 0.70 0.70 0.90 0.70 0.70"></Unknown>
                        <Child        female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Child>
                    </SharpenWeights>
                </ExtraFusionRatio>
            </MinFaceConfig>

            <!-- config for mid face. -->
            <MidFaceConfig>
                <!-- run condition -->
                <RunCond use="1">
                    <MinLaplacian>0.0</MinLaplacian>
                </RunCond>
                <IQARunCond use="1">
                    <!-- <score lessThan="0.1" ratio="1.0"></score> -->
                    <score lessThan="0.04" ratio="0.01" ratioSkin="0.01"></score>
                    <score lessThan="0.06" ratio="0.25" ratioSkin="0.75"></score>
                    <score lessThan="0.10" ratio="0.75" ratioSkin="0.85"></score>
                    <score lessThan="0.20" ratio="0.85" ratioSkin="0.85"></score>
                    <score lessThan="0.40" ratio="0.95" ratioSkin="0.85"></score>
                    <score lessThan="0.50" ratio="1.00" ratioSkin="1.00"></score>
                    <score lessThan="1.01" ratio="1.00" ratioSkin="1.00"></score>
                </IQARunCond>
                <HairNetFusionRatio>1.0</HairNetFusionRatio>
                <!-- fusion ratios for output of FaceNet:  -->
                <HDFusionRatio>
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.20 0.50 0.35 0.50 0.00" male="0.50 0.50 0.20 0.50 0.35 0.50 0.00"></Child>
                    <Teenager     female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Teenager>
                    <Youth        female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Youth>
                    <MidAge       female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></MidAge>
                    <YoungElderly female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></YoungElderly>
                    <Elderly      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Elderly>
                </HDFusionRatio>
                <HDSkinFusionRatio use="1">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.50 0.50 0.30 0.30 0.00" male="0.50 0.50 0.50 0.50 0.30 0.30 0.00"></Child>
                </HDSkinFusionRatio>
                <DetailFusionRatio use="0">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Unknown>
                    <Child        female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Child>
                </DetailFusionRatio>
                <ExtraFusionRatio>
                    <SharpenWeights use="1">
                        <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                        <Unknown      female="0.80 0.70 0.70 0.70 0.90 0.70 0.70" male="0.80 0.70 0.70 0.70 0.90 0.70 0.70"></Unknown>
                        <Child        female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Child>
                    </SharpenWeights>
                </ExtraFusionRatio>
            </MidFaceConfig>

            <!-- config for max face. -->
            <MaxFaceConfig>
                <!-- run condition -->
                <RunCond use="1">
                    <MinLaplacian>0.0</MinLaplacian>
                </RunCond>
                <IQARunCond use="1">
                    <!-- <score lessThan="0.1" ratio="1.0"></score> -->
                    <score lessThan="0.04" ratio="0.01" ratioSkin="0.01"></score>
                    <score lessThan="0.06" ratio="0.25" ratioSkin="0.75"></score>
                    <score lessThan="0.10" ratio="0.75" ratioSkin="0.85"></score>
                    <score lessThan="0.20" ratio="0.85" ratioSkin="0.85"></score>
                    <score lessThan="0.40" ratio="0.95" ratioSkin="0.85"></score>
                    <score lessThan="0.50" ratio="1.00" ratioSkin="1.00"></score>
                    <score lessThan="1.01" ratio="1.00" ratioSkin="1.00"></score>
                </IQARunCond>
                <HairNetFusionRatio>1.0</HairNetFusionRatio>
                <!-- fusion ratios for output of FaceNet:  -->
                <HDFusionRatio>
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.20 0.50 0.35 0.50 0.00" male="0.50 0.50 0.20 0.50 0.35 0.50 0.00"></Child>
                    <Teenager     female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Teenager>
                    <Youth        female="0.90 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Youth>
                    <MidAge       female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></MidAge>
                    <YoungElderly female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></YoungElderly>
                    <Elderly      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Elderly>
                </HDFusionRatio>
                <HDSkinFusionRatio use="1">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="0.90 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.50 0.50 0.30 0.30 0.00" male="0.50 0.50 0.50 0.50 0.30 0.30 0.00"></Child>
                </HDSkinFusionRatio>
                <DetailFusionRatio use="0">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Child>
                </DetailFusionRatio>
                <ExtraFusionRatio>
                    <SharpenWeights use="1">
                        <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                        <Unknown      female="0.90 0.80 0.80 0.80 1.00 0.80 0.80" male="0.90 0.80 0.80 0.80 1.00 0.80 0.80"></Unknown>
                        <Child        female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Child>
                    </SharpenWeights>
                </ExtraFusionRatio>
            </MaxFaceConfig>

            <!-- config for sup face. -->
            <SupFaceConfig>
                <!-- run condition -->
                <RunCond use="1">
                    <MinLaplacian>0.0</MinLaplacian>
                </RunCond>
                <IQARunCond use="1">
                    <!-- <score lessThan="0.1" ratio="1.0"></score> -->
                    <!-- <score lessThan="0.1" ratio="1.0"></score> -->
                    <score lessThan="0.04" ratio="0.01" ratioSkin="0.01"></score>
                    <score lessThan="0.06" ratio="0.25" ratioSkin="0.75"></score>
                    <score lessThan="0.10" ratio="0.75" ratioSkin="0.85"></score>
                    <score lessThan="0.20" ratio="0.85" ratioSkin="0.85"></score>
                    <score lessThan="0.40" ratio="0.95" ratioSkin="0.85"></score>
                    <score lessThan="0.50" ratio="1.00" ratioSkin="1.00"></score>
                    <score lessThan="1.01" ratio="1.00" ratioSkin="1.00"></score>
                </IQARunCond>
                <HairNetFusionRatio>1.0</HairNetFusionRatio>
                <!-- fusion ratios for output of FaceNet:  -->
                <HDFusionRatio>
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.20 0.50 0.35 0.50 0.00" male="0.50 0.50 0.20 0.50 0.35 0.50 0.00"></Child>
                    <Teenager     female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Teenager>
                    <Youth        female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Youth>
                    <MidAge       female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></MidAge>
                    <YoungElderly female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></YoungElderly>
                    <Elderly      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Elderly>
                </HDFusionRatio>
                <HDSkinFusionRatio use="1">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="1.00 1.00 1.00 1.00 1.00 1.00 0.00" male="1.00 1.00 1.00 1.00 1.00 1.00 0.00"></Unknown>
                    <Child        female="0.50 0.50 0.50 0.50 0.30 0.30 0.00" male="0.50 0.50 0.50 0.50 0.30 0.30 0.00"></Child>
                </HDSkinFusionRatio>
                <DetailFusionRatio use="0">
                    <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                    <Unknown      female="0.90 1.00 1.00 1.00 1.00 1.00 1.00" male="1.00 1.00 1.00 1.00 1.00 1.00 1.00"></Unknown>
                    <Child        female="1.00 1.00 1.00 1.00 1.00 1.00 1.00" male="1.00 1.00 1.00 1.00 1.00 1.00 1.00"></Child>
                </DetailFusionRatio>
                <ExtraFusionRatio>
                    <SharpenWeights use="1">
                        <!-- regions:         hair|eye|brow|mouth|skin|bodyWithoutFace|background -->
                        <Unknown      female="0.80 0.70 0.70 0.70 0.90 0.70 0.70" male="0.80 0.70 0.70 0.70 0.90 0.70 0.70"></Unknown>
                        <Child        female="0.00 0.00 0.00 0.00 0.00 0.00 0.00" male="0.00 0.00 0.00 0.00 0.00 0.00 0.00"></Child>
                    </SharpenWeights>
                </ExtraFusionRatio>
            </SupFaceConfig>
        </EffectConfig>
    </EffectConfigList>
</PowerConfig>