nx_pose_keypoints.nx
buildroot/runtime/nx_pose_keypoints.nx
about
nx_pose_keypoints.nx -- T2 POSE, the WEIGHTS-FREE back half of a heatmap pose estimator (HRNet/OpenPose-class,
per the banked primary literature knowledge/library/vidclass_lit_pose.txt: heatmap -> keypoint, part-affinity).
A pose CNN emits one confidence HEATMAP per joint; this extracts the keypoint = argmax location + the standard
HRNet QUARTER-PIXEL subpixel refinement (shift 0.25px toward the higher neighbor). Pure integer, deterministic,
gate-able, and reusable under ANY heatmap producer -- so it composes with the future sovereign f32 pose CNN
(nx_f32_conv2d/resblock/groupnorm substrate confirmed present) WITHOUT needing its weights. Coordinates are
returned in QUARTER-PIXEL units (pixel*4 + {-1,0,+1}); divide by 4 for pixels. license_tier: ORIGINAL
dependencies 1 imports · 3 importers
imports: nx_syscalls.nx
imported by: nx_pose_cnn_gate.nxnx_pose_keypoints_gate.nxnx_vitpose_forward.nx
structs
| none |
consts
| none |
functions
| 11 | func pose_argmax(hm: *i64, W: i64, H: i64, px: *i64, py: *i64) -> i64 |
| 27 | func pose_keypoint(hm: *i64, W: i64, H: i64, thresh: i64, qx: *i64, qy: *i64) -> i64 |
| 47 | func pose_extract(heatmaps: *i64, J: i64, W: i64, H: i64, thresh: i64, out_qx: *i64, out_qy: *i64, out_conf: *i64) -> i64 |