clashcr / config.yaml
stevenkhan's picture
Upload config.yaml with huggingface_hub
1cdea95 verified
# ClashCR Configuration
card_registry_cache: "~/.clashcr/cards_registry.json"
clash_royale_api_token: "" # Official API token (optional but recommended)
capture:
title_substring: "MuMu" # or "BlueStacks"
class_name: "" # e.g., "Qt5QWindowIcon"
battle_threshold: 0.6
battle_consecutive_frames: 3
diff_threshold: 25
min_event_area: 200
max_event_area: 50000
model:
yolo_path: "models/yolov8_clash_royale.pt" # Path to unit detector
conf_threshold: 0.5
spell_enabled: true
device: "cpu" # or "cuda"