{
 "last_node_id": 15,
 "last_link_id": 16,
 "nodes": [
  {
   "id": 1,
   "type": "MarkdownNote",
   "pos": [
    0,
    -460.0
   ],
   "size": [
    640,
    290
   ],
   "flags": {},
   "order": 1,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "properties": {},
   "widgets_values": [
    "**Needs in ComfyUI's `input` folder:** `scene.png`\n\nPose estimation (skeleton overlay). Top-down models (rtmpose/vitpose/dwpose) need person boxes, the one-stage rtmo-m finds people itself (the detector node on the left feeds the others). dwpose-l is the same network as the DWPose of comfyui_controlnet_aux (dw-ll), so those two compare like for like; switch `model` to rtmw-x for whole body.\n\n**Orange group:** the same task in another pack; install it, or delete the group."
   ]
  },
  {
   "id": 2,
   "type": "LoadImage",
   "pos": [
    0.0,
    0.0
   ],
   "size": [
    300,
    340
   ],
   "flags": {},
   "order": 2,
   "mode": 0,
   "inputs": [],
   "outputs": [
    {
     "name": "IMAGE",
     "type": "IMAGE",
     "links": [
      1,
      2,
      4,
      7,
      10,
      13,
      15
     ],
     "slot_index": 0
    },
    {
     "name": "MASK",
     "type": "MASK",
     "links": [],
     "slot_index": 1
    }
   ],
   "properties": {},
   "widgets_values": [
    "scene.png",
    "image"
   ]
  },
  {
   "id": 3,
   "type": "FastforksDetect",
   "pos": [
    540.0,
    400.0
   ],
   "size": [
    330,
    260
   ],
   "flags": {},
   "order": 3,
   "mode": 0,
   "inputs": [
    {
     "name": "image",
     "type": "IMAGE",
     "link": 1
    }
   ],
   "outputs": [
    {
     "name": "mask",
     "type": "MASK",
     "links": [],
     "slot_index": 0
    },
    {
     "name": "detections",
     "type": "STRING",
     "links": [
      5,
      8,
      11
     ],
     "slot_index": 1
    }
   ],
   "properties": {},
   "title": "person detector (feeds top-down models)",
   "widgets_values": [
    "rtmdet-m-person",
    "auto",
    "auto",
    0.3,
    "",
    1
   ]
  },
  {
   "id": 4,
   "type": "FastforksPose",
   "pos": [
    540.0,
    0.0
   ],
   "size": [
    330,
    260
   ],
   "flags": {},
   "order": 4,
   "mode": 0,
   "inputs": [
    {
     "name": "image",
     "type": "IMAGE",
     "link": 2
    },
    {
     "name": "detections",
     "type": "STRING",
     "link": null
    }
   ],
   "outputs": [
    {
     "name": "preview",
     "type": "IMAGE",
     "links": [
      3
     ],
     "slot_index": 0
    },
    {
     "name": "keypoints",
     "type": "STRING",
     "links": [],
     "slot_index": 1
    }
   ],
   "properties": {},
   "title": "pose 1 (fastforks)",
   "widgets_values": [
    "rtmo-m",
    "auto",
    "auto",
    0.3,
    4,
    1
   ]
  },
  {
   "id": 5,
   "type": "PreviewImage",
   "pos": [
    950.0,
    0.0
   ],
   "size": [
    300,
    300
   ],
   "flags": {},
   "order": 5,
   "mode": 0,
   "inputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "link": 3
    }
   ],
   "outputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "widgets_values": []
  },
  {
   "id": 6,
   "type": "FastforksPose",
   "pos": [
    950.0,
    420.0
   ],
   "size": [
    330,
    260
   ],
   "flags": {},
   "order": 6,
   "mode": 0,
   "inputs": [
    {
     "name": "image",
     "type": "IMAGE",
     "link": 4
    },
    {
     "name": "detections",
     "type": "STRING",
     "link": 5
    }
   ],
   "outputs": [
    {
     "name": "preview",
     "type": "IMAGE",
     "links": [
      6
     ],
     "slot_index": 0
    },
    {
     "name": "keypoints",
     "type": "STRING",
     "links": [],
     "slot_index": 1
    }
   ],
   "properties": {},
   "title": "pose 2 (fastforks)",
   "widgets_values": [
    "rtmpose-m",
    "auto",
    "auto",
    0.3,
    4,
    1
   ]
  },
  {
   "id": 7,
   "type": "PreviewImage",
   "pos": [
    1360.0,
    420.0
   ],
   "size": [
    300,
    300
   ],
   "flags": {},
   "order": 7,
   "mode": 0,
   "inputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "link": 6
    }
   ],
   "outputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "widgets_values": []
  },
  {
   "id": 8,
   "type": "FastforksPose",
   "pos": [
    950.0,
    840.0
   ],
   "size": [
    330,
    260
   ],
   "flags": {},
   "order": 8,
   "mode": 0,
   "inputs": [
    {
     "name": "image",
     "type": "IMAGE",
     "link": 7
    },
    {
     "name": "detections",
     "type": "STRING",
     "link": 8
    }
   ],
   "outputs": [
    {
     "name": "preview",
     "type": "IMAGE",
     "links": [
      9
     ],
     "slot_index": 0
    },
    {
     "name": "keypoints",
     "type": "STRING",
     "links": [],
     "slot_index": 1
    }
   ],
   "properties": {},
   "title": "pose 3 (fastforks)",
   "widgets_values": [
    "vitpose-plus-small",
    "auto",
    "auto",
    0.3,
    4,
    1
   ]
  },
  {
   "id": 9,
   "type": "PreviewImage",
   "pos": [
    1360.0,
    840.0
   ],
   "size": [
    300,
    300
   ],
   "flags": {},
   "order": 9,
   "mode": 0,
   "inputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "link": 9
    }
   ],
   "outputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "widgets_values": []
  },
  {
   "id": 10,
   "type": "FastforksPose",
   "pos": [
    950.0,
    1260.0
   ],
   "size": [
    330,
    260
   ],
   "flags": {},
   "order": 10,
   "mode": 0,
   "inputs": [
    {
     "name": "image",
     "type": "IMAGE",
     "link": 10
    },
    {
     "name": "detections",
     "type": "STRING",
     "link": 11
    }
   ],
   "outputs": [
    {
     "name": "preview",
     "type": "IMAGE",
     "links": [
      12
     ],
     "slot_index": 0
    },
    {
     "name": "keypoints",
     "type": "STRING",
     "links": [],
     "slot_index": 1
    }
   ],
   "properties": {},
   "title": "pose 4 (fastforks)",
   "widgets_values": [
    "dwpose-l",
    "auto",
    "auto",
    0.3,
    4,
    1
   ]
  },
  {
   "id": 11,
   "type": "PreviewImage",
   "pos": [
    1360.0,
    1260.0
   ],
   "size": [
    300,
    300
   ],
   "flags": {},
   "order": 11,
   "mode": 0,
   "inputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "link": 12
    }
   ],
   "outputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "widgets_values": []
  },
  {
   "id": 12,
   "type": "DWPreprocessor",
   "pos": [
    540.0,
    1770.0
   ],
   "size": [
    330,
    260
   ],
   "flags": {},
   "order": 12,
   "mode": 0,
   "inputs": [
    {
     "name": "image",
     "type": "IMAGE",
     "link": 13
    }
   ],
   "outputs": [
    {
     "name": "IMAGE",
     "type": "IMAGE",
     "links": [
      14
     ],
     "slot_index": 0
    },
    {
     "name": "POSE_KEYPOINT",
     "type": "POSE_KEYPOINT",
     "links": [],
     "slot_index": 1
    }
   ],
   "properties": {},
   "title": "controlnet_aux: DWPose",
   "widgets_values": [
    "enable",
    "enable",
    "enable",
    512,
    "yolox_l.onnx",
    "dw-ll_ucoco_384_bs5.torchscript.pt",
    "disable"
   ]
  },
  {
   "id": 13,
   "type": "PreviewImage",
   "pos": [
    950.0,
    1770.0
   ],
   "size": [
    300,
    300
   ],
   "flags": {},
   "order": 13,
   "mode": 0,
   "inputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "link": 14
    }
   ],
   "outputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "widgets_values": []
  },
  {
   "id": 14,
   "type": "OpenposePreprocessor",
   "pos": [
    540.0,
    2190.0
   ],
   "size": [
    330,
    260
   ],
   "flags": {},
   "order": 14,
   "mode": 0,
   "inputs": [
    {
     "name": "image",
     "type": "IMAGE",
     "link": 15
    }
   ],
   "outputs": [
    {
     "name": "IMAGE",
     "type": "IMAGE",
     "links": [
      16
     ],
     "slot_index": 0
    },
    {
     "name": "POSE_KEYPOINT",
     "type": "POSE_KEYPOINT",
     "links": [],
     "slot_index": 1
    }
   ],
   "properties": {},
   "title": "controlnet_aux: OpenPose",
   "widgets_values": [
    "enable",
    "enable",
    "enable",
    512,
    "disable"
   ]
  },
  {
   "id": 15,
   "type": "PreviewImage",
   "pos": [
    950.0,
    2190.0
   ],
   "size": [
    300,
    300
   ],
   "flags": {},
   "order": 15,
   "mode": 0,
   "inputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "link": 16
    }
   ],
   "outputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "widgets_values": []
  }
 ],
 "links": [
  [
   1,
   2,
   0,
   3,
   0,
   "IMAGE"
  ],
  [
   2,
   2,
   0,
   4,
   0,
   "IMAGE"
  ],
  [
   3,
   4,
   0,
   5,
   0,
   "IMAGE"
  ],
  [
   4,
   2,
   0,
   6,
   0,
   "IMAGE"
  ],
  [
   5,
   3,
   1,
   6,
   1,
   "STRING"
  ],
  [
   6,
   6,
   0,
   7,
   0,
   "IMAGE"
  ],
  [
   7,
   2,
   0,
   8,
   0,
   "IMAGE"
  ],
  [
   8,
   3,
   1,
   8,
   1,
   "STRING"
  ],
  [
   9,
   8,
   0,
   9,
   0,
   "IMAGE"
  ],
  [
   10,
   2,
   0,
   10,
   0,
   "IMAGE"
  ],
  [
   11,
   3,
   1,
   10,
   1,
   "STRING"
  ],
  [
   12,
   10,
   0,
   11,
   0,
   "IMAGE"
  ],
  [
   13,
   2,
   0,
   12,
   0,
   "IMAGE"
  ],
  [
   14,
   12,
   0,
   13,
   0,
   "IMAGE"
  ],
  [
   15,
   2,
   0,
   14,
   0,
   "IMAGE"
  ],
  [
   16,
   14,
   0,
   15,
   0,
   "IMAGE"
  ]
 ],
 "groups": [
  {
   "id": 1,
   "title": "Inputs",
   "bounding": [
    -30.0,
    -90.0,
    360.0,
    460.0
   ],
   "color": "#88A",
   "font_size": 24,
   "flags": {}
  },
  {
   "id": 2,
   "title": "fastforks",
   "bounding": [
    510.0,
    -90.0,
    1180.0,
    1680.0
   ],
   "color": "#3f789e",
   "font_size": 24,
   "flags": {}
  },
  {
   "id": 3,
   "title": "Other packs (install them, or delete this group)",
   "bounding": [
    510.0,
    1680.0,
    770.0,
    840.0
   ],
   "color": "#b58b2a",
   "font_size": 24,
   "flags": {}
  }
 ],
 "config": {},
 "extra": {},
 "version": 0.4
}