Commit graph

6 commits

Author SHA1 Message Date
0f5ea86ab0 fix(input/gestures): enforce numpy array immutability in HandLandmarks; add CameraCapture tests
- Set points.flags.writeable = False in HandsDetector.detect() so in-place
  mutation of HandLandmarks.points raises ValueError (frozen=True alone does not
  protect numpy array contents)
- Extend test_handlandmarks_is_immutable to assert ValueError on array mutation
- Add test_camera.py with 3 tests covering is_open, frames() yield/break
  behaviour, and context manager release (was at 0% coverage)
- Remove unused `import numpy as np` from camera.py; fix frames() return
  annotation to Iterator (np.ndarray ref removed with the import)
2026-04-26 20:48:02 -07:00
a62bff5f1e test(input/gestures): add full pipeline smoke test 2026-04-26 20:18:40 -07:00
a31e6099c6 feat(input/gestures): implement HandsDetector wrapping mediapipe Hands 2026-04-26 20:08:05 -07:00
5a4917d455 style: black format normalizer.py and test_normalizer.py 2026-04-26 20:05:54 -07:00
460530bb03 feat(input/gestures): implement normalize_hand() with scale/translation invariance 2026-04-26 19:58:00 -07:00
b2b58913c7 feat: scaffold cf_input.gestures module + gestures-mediapipe dep group 2026-04-26 18:51:45 -07:00