judian17/ComfyUI-SDPose-OOD
소개
ComfyUI에서 SDPose-OOD를 구현하는 노드입니다.
기타 프로젝트What you can do
- Two Model Types:
- Automatic Model Download: Nodes will automatically download the required models on first use.
- YOLO Integration: Optional YOLO-based person detection for precise multi-person pose estimation.
- Advanced BBox Detection: In addition to YOLO, now supports precise person detection using ComfyUI-Florence2 (https://github.com/kijai/ComfyUI-Florence2) or GroundingDINO(from ComfyUI-SAM2: ) (https://github.com/neverbiasu/ComfyUI-SAM2).
측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalSDPose-OOD for ComfyUI
Introduction
This project is a ComfyUI custom node implementation of SDPose-OOD.
It brings the powerful and robust pose estimation capabilities of SDPose-OOD into the ComfyUI workflow, allowing for the extraction of high-quality body or whole-body poses from images.
[2026.03.08] ComfyUI officially supports SDPose_OOD natively, and multi-person pose estimation can be additionally achieved using the ComfyUI_YOLO_For_Multi_SDPose_Detection node.
Features
- Two Model Types:
* Body: 17 keypoints, body-only pose.
* WholeBody: 133 keypoints, including body, face, and hands.
Automatic Model Download: Nodes will automatically download the required models on first use.
YOLO Integration: Optional YOLO-based person detection for precise multi-person pose estimation.
Advanced BBox Detection: In addition to YOLO, now supports precise person detection using ComfyUI-Florence2 (https://github.com/kijai/ComfyUI-Florence2) or GroundingDINO(from ComfyUI-SAM2: ) (https://github.com/neverbiasu/ComfyUI-SAM2).
Keypoint Filtering: Options to keep or remove keypoints for the face, hands, and feet to suit different needs.
Precision Control: Supports
bf16,fp16, andfp32inference to balance speed and VRAM usage.OpenPose Editor Compatibility: One-click save poses as JSON files for import and editing in the ComfyUI-OpenPose-Editor.
Installation
- Install this node:
* Clone this repository into your ComfyUI/custom_nodes/ directory using git clone.
* cd ComfyUI/custom_nodes/SDPose-OOD-ComfyUI
* pip install -r requirements.txt
- Install Models (Automatic or Manual):
* Automatic (Recommended): The nodes (Load SDPose Model, Load YOLO Model) will automatically download models from Hugging Face and Github on first run and place them in the correct directories.
* Manual: You can also download the models yourself and place them in the corresponding folders:
* SDPose Models: Download and place in ComfyUI/models/SDPose_OOD/
* SDPose-Body: huggingface.co/teemosliang/SDPose-Body
* SDPose-Wholebody: huggingface.co/teemosliang/SDPose-Wholebody
* YOLO Models: Download and place in ComfyUI/models/yolo/
* YOLOv8: yolov8n-pose.pt
* YOLOv11: yolo11x.pt (or other YOLO models)
* Default YOLO models (like yolov8n-pose.pt) are better suited for detecting real people.
* SDPose-OOD itself handles anime characters well (even without YOLO).
* If you don't want to use Florence2/GroundingDINO, you can consider this detection model which performs excellently for both real and anime characters: real_person_detection. Download your preferred model version (.pt file) from the repo and place it in the models/yolo folder.
* groundingdino model: Download the model file and py file for either of the two models listed below, and place them in the modelsgrounding-dino directory. Usually, the model will be downloaded automatically.
* groundingdino_swint_ogc: groundingdino_swint_ogc and GroundingDINO_SwinT_OGC.cfg.py
* ggroundingdino_swinb_cogcoor: groundingdino_swinb_cogcoor and GroundingDINO_SwinB.cfg
- Install Optional Dependencies (for Advanced BBox Detection):
* For Florence2, install ComfyUI-Florence2.
Node Descriptions
1. Load SDPose Model
model_type: ChooseBody(17 keypoints) orWholeBody(133 keypoints).unet_precision: Precision selection.
* bf16: Recommended for 30-series GPUs and newer.
* fp16: Recommended for 20-series GPUs and older.
* fp32: For CPU inference or when maximum precision is required.
* Note: bf16/fp16 significantly reduce VRAM usage with almost identical speed to fp32.
device:autowill detect CUDA. CPU inference only supportsfp32.
2. Load YOLO Model (Optional)
Loads a YOLO model (e.g.,
yolov8n-pose.pt).Connect the
YOLO_MODELoutput of this node to theRun SDPose Estimationnode.
3. Run SDPose Estimation
sdpose_model: The model fromLoad SDPose Model.image: Your input image.yolo_model(Optional):
* Not connected (and bbox_input also not connected): The node will process the entire image. Suitable for single-person images.
* Connected: The node will first use YOLO to detect all persons in the image, then process each detected person individually.
bbox_input(Optional): New input. Can be connected to the BBox output from ComfyUI-Florence2 or GroundingDINO (ComfyUI-SAM2).
* Note: Detection Priority: If yolo_model and (grounding_dino_model or data_from_florence2) are connected simultaneously, the node will prioritize data_from_florence2 first, followed by GroundingDINO. (This implies yolo_model is the lowest priority).
score_threshold: Keypoint confidence threshold. Points below this score will be ignored.keep_face(bool):Trueto keep face keypoints (only effective forWholeBody).keep_hands(bool):Trueto keep hand keypoints (only effective forWholeBody).keep_feet(bool):Trueto keep feet keypoints (only effective forWholeBody).overlay_alpha: Controls the visibility of the output image.
* 0.0: 100% original image.
* 0.6: Blend of original image and pose map (original image at 60% brightness).
* 1.0: 100% pose map (pure black background).
save_for_editor(bool):
* True: Saves a JSON file to the ComfyUI/output/poses/ directory with the prefix pose_edit.
* This JSON file can be loaded by the ComfyUI-OpenPose-Editor node for further editing.
image(Output): The final visualized image (based onoverlay_alphasetting).pose_json(Output):
* Important: This is a string output containing the original JSON format from the SDPose-OOD project.
* This format is different from the JSON saved by save_for_editor and cannot be used with the OpenPose editor node.
Workflow Example

Load Imageto load your source image.Load SDPose Modeland selectWholeBodyandbf16.Load YOLO Modeland selectyolov8n-pose.pt. (Or use Florence2 / GroundingDINO and connect to the appropriate input).Connect all three (or replace #3 with a BBox node) to
Run SDPose Estimation.Set
overlay_alphato1.0(if you want a pure pose map).Set
save_for_editortoTrue(if you want to edit it later).Connect a
Preview Imagenode to theimageoutput.
관련 프로젝트 살펴보기
불러오는 중…