ComfyUI Extension: OpenPose Keypoint Extractor

Authored by hughescr

Created

Updated

25 stars

This is a single node which can take the POSE_KEYPOINT output from the OpenPose extractor node, parse it, and return x,y,width,height bounding boxes around any elements of the OpenPose skeleton

README

Openpose Keypoint Extractor

  • Take the keypoint output from OpenPose estimator node and calculate bounding boxes around those keypoints.
  • You need to give it the width and height of the original image and it will output (x,y,width,height) bounding box within that image
  • Note that the points on the OpenPose skeleton are inside the particular limb (eg center of wrist, middle of shoulder), so you probably will want to apply some padding around the bounding box to get the whole arm, leg or whatever you're looking for.
  • Reference for which control point is which - provide comma-separated list in the Node: OpenPose Docs

Example workflow

Drag this to your ComfyUI:

Workflow image