feat: PoseFocusMode { MASK, CROP } for focus-area pose input
Adds a new parameter on the CameraView composable so callers can choose
how the focus rectangle is applied to the pose input. MASK preserves
existing behaviour — black out non-focus region and downscale the full
frame. CROP geometrically restricts the pose input to just the focus
rectangle before downscaling, giving the MLKit model more effective
pixels on the subject at the same downscaled side length; landmarks are
returned in full-frame coordinates via an offset that flows from
buildMlKitPoseInput through skeletonFromPoseScaled.
Object detection is intentionally unaffected — YOLO always sees the
full, unmasked frame.
Sample app exposes a menu toggle (Mask ↔ Crop) and points the demo at
the left half of the frame to exercise both modes.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>