Upload config.yaml with huggingface_hub
Browse files- config.yaml +20 -0
config.yaml
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ClashCR Configuration
|
| 2 |
+
card_registry_cache: "~/.clashcr/cards_registry.json"
|
| 3 |
+
clash_royale_api_token: "" # Official API token (optional but recommended)
|
| 4 |
+
|
| 5 |
+
capture:
|
| 6 |
+
title_substring: "MuMu" # or "BlueStacks"
|
| 7 |
+
class_name: "" # e.g., "Qt5QWindowIcon"
|
| 8 |
+
|
| 9 |
+
battle_threshold: 0.6
|
| 10 |
+
battle_consecutive_frames: 3
|
| 11 |
+
|
| 12 |
+
diff_threshold: 25
|
| 13 |
+
min_event_area: 200
|
| 14 |
+
max_event_area: 50000
|
| 15 |
+
|
| 16 |
+
model:
|
| 17 |
+
yolo_path: "models/yolov8_clash_royale.pt" # Path to unit detector
|
| 18 |
+
conf_threshold: 0.5
|
| 19 |
+
spell_enabled: true
|
| 20 |
+
device: "cpu" # or "cuda"
|