Files
momentry_core/test_quick.sh
Warren b54c2def30 feat: add migrations, test scripts, and utility tools
- Add database migrations (006-028) for face recognition, identity, file_uuid
- Add test scripts for ASR, face, search, processing
- Add portal frontend (Tauri)
- Add config, benchmark, and monitoring utilities
- Add model checkpoints and pretrained model references
2026-04-30 15:11:53 +08:00

29 lines
728 B
Bash
Executable File

#!/bin/bash
# Quick test - play first 3 segments only
set -e
VIDEO=/tmp/charade_audio.wav
ASR=/tmp/asr_small.json
ASRX=/tmp/asrx_charade_optimized.json
FACE=/tmp/face_long.json
POSE=/tmp/pose_long.json
echo "Quick Test: First 3 segments"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
# Extract first 3 ASR segments
jq '.segments[:3]' "$ASR" >/tmp/asr_test_3.json
echo "Test segments:"
jq -r '.segments[] | "[{start}s - {end}s] {text}"' /tmp/asr_test_3.json
echo
./target/release/integrated_player \
--video "$VIDEO" \
--asr /tmp/asr_test_3.json \
--asrx "$ASRX" \
--face "$FACE" \
--pose "$POSE" \
--continuous-demo