{
  "version": "1.0",
  "mode": 2,
  "nodes": [
    {
      "name": "blit_0",
      "type": "blit",
      "config": {
        "keymaps": {
          "intParam": {},
          "floatParam": {},
          "stringParam": {}
        },
        "size": {
          "width": 360,
          "height": 640
        }
      }
    },
    {
      "name": "face_0",
      "type": "face",
      "config": {
        "keymaps": {
          "intParam": {
            "face_max_num": 5,
            "face_fast_mode": 0,
            "face_detect_mode": 262144,
            "face_detect_ability": 1
          },
          "floatParam": {},
          "stringParam": {}
        }
      }
    },
    {
      "name": "expression_detect_0",
      "type": "expression_detect",
      "config": {
        "keymaps": {
          "stringParam": {},
          "intParam": {
            "face_attr_detect_ability": 2,
            "face_attr_force_detect": 1
          }
        }
      }
    },
    {
      "name": "nh_script",
      "type": "script",
      "enable": true,
      "config": {
        "keyMaps": {
          "intParam": {},
          "floatParam": {},
          "stringParam": {
            "model_name": "jianying_aigc_charge"
          },
          "pathParam": {}
        }
      }
    }
  ],
  "links": [
    {
      "fromNode": "blit_0",
      "fromIndex": 0,
      "toNode": "face_0",
      "toIndex": 0
    },
    {
      "fromNode": "blit_0",
      "fromIndex": 0,
      "toNode": "expression_detect_0",
      "toIndex": 0
    },
    {
      "fromNode": "face_0",
      "fromIndex": 0,
      "toNode": "expression_detect_0",
      "toIndex": 1
    },
    {
      "fromNode": "expression_detect_0",
      "fromIndex": 0,
      "toNode": "nh_script",
      "toIndex": 0
    },
    {
      "fromNode": "blit_0",
      "fromIndex": 0,
      "toNode": "nh_script",
      "toIndex": 1
    }
  ],
  "extra": {
    "input": [
      {
        "name": "src_data_0",
        "inputType": "IMAGE_BUFFER",
        "dataSrc": "video_input"
      }
    ],
    "output": [
      {
        "name": "nh_script",
        "algorithmType": "script",
        "usage": "VECache"
      }
    ],
    "param": [
      {
        "name": "vid",
        "node": "nh_script",
        "key": "vid",
        "type": 2
      }
    ]
  },
  "VEConfig": {
    "needEOFExecute": true,
    "output": {
      "PassAllResultToClient": {
        "handleTime": 2
      }
    }
  }
}