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)
| Name | Type | Required |
|---|---|---|
| keypoints_1 | POSE_KEYPOINT | required |
| keypoints_2 | POSE_KEYPOINT | required |
| coordinate_threshold | FLOAT | required |
| confidence_threshold | FLOAT | required |
Outputs (1)
| Name | Type |
|---|---|
| diff_info | STRING |