Skip to main content

DWPose Estimator

ControlNet Preprocessors/Faces and Poses Estimators
DWPreprocessor

Example

JSON Example
{
  "class_type": "DWPreprocessor",
  "inputs": {
    "image": [
      "node_id",
      0
    ]
  }
}

This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.

Inputs

NameTypeStatusConstraintsDefault
imageIMAGErequired--
detect_handENUM
2 options
  • enable
  • disable
optional-"enable"
detect_bodyENUM
2 options
  • enable
  • disable
optional-"enable"
detect_faceENUM
2 options
  • enable
  • disable
optional-"enable"
resolutionINToptionalmin: 64, max: 16384, step: 64512
bbox_detectorENUM
6 options
  • None
  • yolox_l.torchscript.pt
  • yolox_l.onnx
  • yolo_nas_l_fp16.onnx
  • yolo_nas_m_fp16.onnx
  • yolo_nas_s_fp16.onnx
optional-"yolox_l.onnx"
pose_estimatorENUM
3 options
  • dw-ll_ucoco_384_bs5.torchscript.pt
  • dw-ll_ucoco_384.onnx
  • dw-ll_ucoco.onnx
optional-"dw-ll_ucoco_384_bs5.torchscript.pt"
scale_stick_for_xinsr_cnENUM
2 options
  • disable
  • enable
optional-"disable"

Outputs

IndexNameTypeIs ListConnection Reference
0IMAGEIMAGENo["{node_id}", 0]
1POSE_KEYPOINTPOSE_KEYPOINTNo["{node_id}", 1]
How to connect to these outputs

To connect another node's input to an output from this node, use the connection reference format:

["node_id", output_index]

Where node_id is the ID of this DWPreprocessor node in your workflow, and output_index is the index from the table above.

Example

If this node has ID "5" in your workflow:

  • IMAGE (IMAGE): ["5", 0]
  • POSE_KEYPOINT (POSE_KEYPOINT): ["5", 1]
Was this page helpful?