fix: correct face detection threshold defaults

- Changed min_confidence from 50.0 to 0.5 (Vision uses 0.0-1.0 range)
- Changed min_size from 32 to 1 (was filtering out all small faces)
- Changed min_capture_quality from 25.0 to 0.25
- Fixes issue where all videos showed 0 faces detected

Root cause: admin_config.rs used wrong defaults (50.0/32) instead of
config.rs constants (0.5/1), causing Vision framework to filter out
ALL faces because confidence threshold exceeded valid range.

Verified: IMG_9449 now correctly detects 191 faces (was 0).
This commit is contained in:
Accusys
2026-09-18 02:42:21 +08:00
parent e4b8ddab94
commit 31d1b4050f
59 changed files with 11110 additions and 6163 deletions
+10
View File
@@ -17,6 +17,16 @@ export MOMENTRY_REDIS_PREFIX=momentry:
export QDRANT_URL=http://127.0.0.1:6333
export QDRANT_API_KEY=Test3200Test3200Test3200
# LLM/VLM configuration for Python subprocesses
export MOMENTRY_LLM_VISION_URL=http://localhost:8091/v1/chat/completions
export MOMENTRY_LLM_VISION_MODEL=llava-v1.6-vicuna-13b
export MOMENTRY_LLM_CHAT_URL=http://localhost:8080/v1/chat/completions
export MOMENTRY_LLM_CHAT_MODEL=gemma-4-12b-it
export MOMENTRY_LLM_SUMMARY_URL=http://localhost:8080/v1/chat/completions
export MOMENTRY_LLM_SUMMARY_MODEL=gemma-4-12b-it
export MOMENTRY_EMBEDDING_URL=http://localhost:11436/v1/embeddings
export MOMENTRY_EMBEDDING_MODEL=embeddinggemma-300m
# Kill existing worker and all child processes (prevent orphans)
if [ -f logs/worker_3002.pid ]; then
WPID=$(cat logs/worker_3002.pid)