feat: Enhance 福袋 detection and reservation logic

- Updated `config.json` to introduce new settings for infinite loop mode and adjust various thresholds for 福袋 detection.
- Refined the pixel detection logic in `douyin_detection.py` to improve error handling and retry mechanisms.
- Enhanced reservation handling in `douyin_flow_control.py` to prioritize high-value 福袋 and streamline the switching process.
- Improved the GUI in `gui_app.py` to support new configuration options and ensure better user experience.
- Added new tools for analyzing 福袋 colors and comparing them with coupon colors to aid in detection accuracy.
- Updated documentation to reflect changes in configuration and usage instructions.
This commit is contained in:
Your Name committed 2025-12-20 13:32:32 +08:00
1 parent 5bb7d34054
commit 8b47b506d6
27 files changed
+4382 -540

No files matched your search

+1 -1
View File
@@ -90,7 +90,7 @@ def parse_args(argv: list[str]) -> argparse.Namespace:
p.add_argument("--min-prize-value-yuan", type=float, default=None, help="最低奖品价值(元),低于则不参与")
p.add_argument("--min-participants", type=int, default=None, help="最少参与人数(0/空表示不启用)")
p.add_argument("--max-participants", type=int, default=None, help="最多参与人数(0/空表示不启用)")
p.add_argument("--skip-if-countdown-lt-seconds", type=int, default=None, help="倒计时小于该秒数则不参与(needswitch 生效)")
p.add_argument("--skip-if-countdown-lt-seconds", type=int, default=None, help="倒计时小于该秒数则不参与,高价值福袋可预约(needswitch 生效)")
p.add_argument(
"--reset-after-swipes",
type=int,