When the pose detection model produces NaN coordinates for undetected
keypoints, int() conversion crashes with "ValueError: cannot convert
float NaN to integer". NaN values bypass existing guards because NaN
comparisons always return False.
Added math.isnan() checks before all int() conversions on keypoint
coordinates in draw_wholebody_keypoints(), covering body limbs, body
keypoints, feet, hands (left/right edges and points), and face keypoints.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>