{
    "version": "3.5.1.7",
    "segment_configs": {
        "dumpPath": "/data/aisegment/dump",
        "platform": 1
    },
    "network_configs": [
        {
            "type": 1,
			"typename": "SEG_HUMAN_MINI_1",
			"modelRoot": "vendor/camera3rd/nti/ai_segment",
			"modelNames": ["undefine.vdnn", "undefine.vdnn", "undefine.vdnn", "undefine.vdnn", "pph.vdnn", "ppv.vdnn"], 
			"networkRuntime": "neuron",
			"deviceType": 3,
			"frontPluginType": "PadSliceVidIn",
			"postPluginType": "PadSliceVidOut",
			"desiredMaxSize": 240,
			"desiredMinSize": 192,
			"modelOutputStride": 16,
			"iTensorNames": [ "ImageTensor", "PrevXxxTensor", "PrevPersonTensor" ],
			"oTensorNames": [ "XxxPrediction", "PersonPrediction" ],
			"powerMode": 2,
			"frequency": 5,
			"deadline": 100
        },
        {
            "type": 5,
            "typename": "SEG_HUMAN_NORMAL_3",
            "modelPath": "vendor/camera3rd/nti/ai_segment/fes.vdnn",
            "networkRuntime": "neuron",
            "deviceType": 3,
            "postPluginType": "DoubleResizeArgmax",
            "postResizedWidth": 656,
            "postResizedHeight": 656,
            "postAlignCorners": 0,
            "postHalfPixelCenters": 0,
            "iNodeNames": ["input"],
            "oNodeNames": ["ResizeBilinear_1"]
        },
        {
            "type": 11,
            "typename": "SEG_PERSON_SKIN_HAIR",
            "modelPath": "vendor/camera3rd/nti/ai_segment/psh.vdnn",
	        "modelPath2": "vendor/camera3rd/nti/ai_segment/segsod.vdnn",
            "modelPath3": "vendor/camera3rd/nti/ai_segment/dxo.vdnn",
            "modelPathDet": "vendor/camera3rd/nti/ai_segment/detforseg.vdnn",
            "networkRuntime": "neuron",
            "deviceType": 3,
            "frontPluginType": "ResizeDet",
            "postPluginType": "MultiOutDet",
            "iNodeNames": ["input_0"],
            "oNodeNames": ["sigmoid_218","sigmoid_220","sigmoid_215"],
            "iNodeExtraNames": ["input_0"],
            "oNodeExtraNames": ["sigmoid"],
            "iNodeNamesDet": ["input_0"],
            "oNodeNamesDet": ["conv2d_50", "conv2d_51", "conv2d_46", "conv2d_47"],
            "frequency": 80,
            "powerMode": 2,
            "netInScale": 0.007782,
            "netInZeroPt": 0,
            "netOutScale": 3.0518509e-05,
            "netOutZeroPt": 0
        },
        {
            "type": 12,
            "typename": "SEG_PERSON_MATTING_2",
            "modelPath": "vendor/camera3rd/nti/ai_segment/pm.vdnn",
            "modelpath4": "vendor/camera3rd/nti/ai_segment/pmm.vdnn",
            "networkRuntime": "neuron",
            "deviceType": 3,
            "matProcessType": 1,
            "frontPluginType": "ResizeCropMat",
            "postPluginType": "SingleOutMat",
            "iNodeNames": ["input_0", "input_1"],
            "oNodeNames": ["sigmoid_437", "sigmoid_439"],
            "frequency": 80,
            "powerMode": 2
        },
        {
          "type": 13,
          "typename": "SEG_PERSON_SKIN_VIDEO",
          "modelRoot": "vendor/camera3rd/nti/ai_segment",
          "modelNames": ["psvh.vdnn", "psvv.vdnn", "svh.vdnn", "svv.vdnn", "pvh.vdnn", "pvv.vdnn"], 
          "skinProbLUT": "aisegment_skinprob.json",
          "networkRuntime": "neuron",
          "deviceType": 3,
          "frontPluginType": "PadSliceVidIn",
          "postPluginType": "PadSliceVidOut",
          "desiredMaxSize": 480,
          "desiredMinSize": 270,
          "modelOutputStride": 16,
          "iTensorNames": [ "ImageTensor", "PrevSkinTensor8x", "PrevSkinTensor4x", "PrevSkinTensor2x", "PrevPersonTensor8x", "PrevPersonTensor4x", "PrevPersonTensor2x" ],
          "oTensorNames": [ "SkinPrediction", "PersonPrediction" ],
          "powerMode": 1,
          "frequency": 40,
          "deadline": 100
        },
        {
            "type": 14,
            "typename": "SEG_PERSON_SKIN_VX_VIDEO",
            "modelPath": "vendor/camera3rd/nti/ai_segment/vx_psvh.vdnn",
            "modelPath2": "vendor/camera3rd/nti/ai_segment/vx_psvv.vdnn",
            "skinProbLUT": "aisegment_skinprob.json",
            "networkRuntime": "neuron",
            "deviceType": 3,
            "isDynamicShape": 1,
            "frontPluginType": "FrontVxVid",
            "postPluginType": "PostVxVid",
            "desiredMaxSize": 480,
            "desiredMinSize": 270,
            "modelOutputStride": 16,
            "iNodeNames": [ "input_y", "input_y_pre_scale_in_roi", "input_y_pre_scale_out_roi", "input_uv", "input_uv_pre_scale_in_roi",
                "input_uv_pre_scale_out_roi", "input_pre_rot_angle", "input_yuv2rgb_table", "input_pre_person", "input_pre_skin",
                "input_post_rot_angle", "input_right_sft_bits", "input_pack_mode", "input_post_scale_in_roi", "input_post_scale_out_roi" ],
            "oNodeNames": [ "seg_output_nxt_person", "seg_output_nxt_skin", "seg_output_skin", "seg_output_person" ],
            "powerMode": 1,
            "frequency": 35,
            "deadline": 100
        },
        {
            "type": 17,
            "typename": "SEG_PERSON_SKIN_HAIR",
            "modelPath": "vendor/camera3rd/nti/ai_segment/psh.vdnn",
	        "modelPath2": "vendor/camera3rd/nti/ai_segment/segsod.vdnn",
            "modelPath3": "vendor/camera3rd/nti/ai_segment/dxo.vdnn",
            "modelPathDet": "vendor/camera3rd/nti/ai_segment/detforseg.vdnn",
            "networkRuntime": "neuron",
            "deviceType": 3,
            "frontPluginType": "ResizeDet",
            "postPluginType": "MultiOutDet",
            "iNodeNames": ["input_0"],
            "oNodeNames": ["sigmoid_218","sigmoid_220","sigmoid_215"],
            "iNodeExtraNames": ["input_0"],
            "oNodeExtraNames": ["sigmoid"],
            "iNodeNamesDet": ["input_0"],
            "oNodeNamesDet": ["conv2d_50", "conv2d_51", "conv2d_46", "conv2d_47"],
            "frequency": 80,
            "powerMode": 2,
            "netInScale": 0.007782,
            "netInZeroPt": 0,
            "netOutScale": 3.0518509e-05,
            "netOutZeroPt": 0
        }
    ]
}
