File size: 526 Bytes
1cdea95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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"