DWpose Keypoint Diff

KeypointDiff

<div id="dwpdlx_short_desc">Compares two keypoint datasets and reports differences.</div> **Function:** Compares every (x, y, confidence) value between two keypoint datasets of the same length. ### Inputs - **keypoints_1:** The first keypoint dataset (baseline). - **keypoints_2:** The second keypoint dataset (to compare). ### Outputs - **diff_info:** A string report detailing frame count, people count, and value mismatches. ### Notes - Automatically ignores minor rounding differences (delta < 0.0001). - Logs a summary to the console: `logger.info` for a perfect match, `logger.warning` if discrepancies are found. - Useful for verifying data integrity after multiple conversions or reversals.

Pack: ComfyUI_DWposeDeluxe

custom_nodes.ComfyUI_DWposeDeluxe

Inputs (4)

NameTypeRequired
keypoints_1POSE_KEYPOINTrequired
keypoints_2POSE_KEYPOINTrequired
coordinate_thresholdFLOATrequired
confidence_thresholdFLOATrequired

Outputs (1)

NameType
diff_infoSTRING