M5: camera expression cues via MediaPipe Face Landmarker

- CameraX ImageAnalysis + Face Landmarker (CPU, 10Hz, KEEP_ONLY_LATEST)
- Rule-based blendshape mapping: smiling/brow_furrowed/gaze/blink/face_presence
- Camera off by default, explicit user toggle, no image storage/upload
- Expression cues displayed as passive labels, never affect dialogue flow
- CameraX pinned 1.4.2 (compileSdk 34 compat), MediaPipe tasks-vision 1.1.0
- Face model bundled: face_landmarker.task (sha256 TOFU recorded)
- docs/EXPRESSION.md with rules table and privacy notes
- Version 0.2.0-m5
This commit is contained in:
zenord
2026-10-11 08:40:51 +08:00
parent 07d5f77808
commit f1da7abf93
18 changed files with 1612 additions and 21 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
# External-shell bootstrap: pin stable dependencies once and package the official CPU model.
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
python3 "$ROOT/scripts/prepare-expression.py"