f1da7abf93
- 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
11 lines
385 B
Bash
Executable File
11 lines
385 B
Bash
Executable File
#!/bin/bash
|
|
# 构建入口:scripts/build.sh [gradle 参数...],默认 assembleDebug;日志入 logs/
|
|
set -euo pipefail
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
source /home/ubuntu/android-build/env.sh
|
|
cd "$ROOT"
|
|
./scripts/prepare-expression.sh
|
|
if [ $# -eq 0 ]; then set -- assembleDebug; fi
|
|
TS=$(date +%Y%m%d-%H%M%S)
|
|
./gradlew --console=plain "$@" 2>&1 | tee "logs/build-$TS.log"
|