diff --git a/CLAUDE.md b/CLAUDE.md index 7033017..f3561c1 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -44,7 +44,7 @@ Toujours répondre en français à l'utilisateur. Code, commentaires de code, co | `MULTIHMR_SERVER_BACKEND` | `pyobjc` | server: `pyobjc` or `coremltools` | | `MULTIHMR_LOOP_FPS` | `30` | Python worker loop target_fps | | `AVBODY_HOST` | `127.0.0.1` | route TCP mesh + OSC to remote AVLiveBody | -| `MEDIAPIPE_DELEGATE` | `cpu` | `gpu` Metal SRGBA (faster, flake on M5) | +| `MEDIAPIPE_DELEGATE` | `gpu` | Metal SRGBA (faster); `cpu` fallback for stability | | `POSE_FILTER` | `median+kalman+lookahead+ik` | filter chain stages | | `MULTIHMR_REID` | `dino` | DINO cosine matching, `iou` fallback | @@ -88,6 +88,9 @@ Toujours répondre en français à l'utilisateur. Code, commentaires de code, co | `HAND_NEAR_OFF` | `0.08` | hand size hysteresis off-threshold for gesture slot stabilizer | | `HAND_HOLD_FRAMES` | `2` | gesture slot: frames to hold last hand on Vision miss | | `ARKIT_BONE_MAX` | `0.5` | max ARKit body bone length in normalized units; longer bones are skipped (tracking-loss garbage filter) | +| `PINCH_ENABLE` | `0` | enable pinch gesture detection | +| `VIZ_HUD` | `0` | show debug HUD overlay | +| `CONCERT_MIRROR` | `1` | mirror video horizontally (!=0 enables) | ## Conventions globales diff --git a/data_only_viz/config.py b/data_only_viz/config.py index f62af39..6a653d5 100644 --- a/data_only_viz/config.py +++ b/data_only_viz/config.py @@ -29,10 +29,10 @@ PINCH_RATIO_OFF 0.65 float dist/size above which pinch re-arms PINCH_REFRACTORY_MS 250 float min ms between pinches per finger PINCH_MARGIN 0.20 float extra margin added to pinch zone PINCH_EXT_RATIO 1.35 float extended-pinch activation ratio -PINCH_EXT_MIN 2 int min frames for extended-pinch debounce +PINCH_EXT_MIN 2 int min extended fingers for a pinch to fire; 0 disables open-hand gate PINCH_DEBOUNCE_FRAMES 3 int debounce frames for pinch state machine HAND_CONF_MIN 0.45 float min hand landmark confidence to render -HAND_PERSIST_FRAMES 3 int frames to persist hand after disappearance +HAND_PERSIST_FRAMES 3 int consecutive frames before a hand track is drawn; 1=off HAND_SWAP_LR "0" bool Safety knob: invert Vision chirality (validated correct live 2026-07-02; keep 0 unless a future iPhone app build flips it) HAND_NEAR_MIN 0.10 float min hand size (norm) to consider "near" HAND_PERSIST_GRACE 2 int grace frames before dropping a hand track on Vision miss (0 = strict)