Files
posefit-server/config.yaml
T
wsy182 c8fd057129 Centralize configuration into config.yaml
- All settings moved to config.yaml
- configs/load.py reads from config.yaml with env var overrides
- Environment variables still work for backward compatibility
- Added pyyaml to requirements
2026-06-10 10:19:41 +08:00

30 lines
539 B
YAML

# PoseFit Server Configuration
# ============================
server:
host: "0.0.0.0"
port: 8765
max_ws_size: 10485760 # 10 MB
video:
process_every_n_frames: 1
model:
path: "" # empty = auto-detect pose_models/pose_landmarker_full.task
prefer_gpu: true
dead_bug:
visibility_threshold: 0.45
extension_confirm_frames: 4
reset_confirm_frames: 3
audio:
rep_announcer_enabled: true
rep_announcer_rate: 185
rep_announcer_volume: 1.0
logging:
dir: logs
rotation: "20 MB"
retention: "14 days"