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

+32 -19
View File
@@ -1,8 +1,37 @@
{
"updated_ts": 1765982203.946906,
"reason": "reservation_dedup",
"total": 85,
"updated_ts": 1766155589.686831,
"reason": "reservation",
"total": 86,
"rooms": [
{
"first_seen_ts": 1765799932.458368,
"last_seen_ts": 1766155589.686831,
"seen_count": 2,
"pos_seen": 0,
"pos_updated_ts": 1766155589.686831,
"room_title_raw_last": "小明正能。",
"alias_raw": [
"小明正能.."
],
"key_kind": "norm",
"last_content": "超大椰子螺5斤左右",
"last_prize_value_yuan": 899.0,
"max_prize_value_yuan": 899.0,
"room_title": "小明正能"
},
{
"first_seen_ts": 1766155502.130805,
"last_seen_ts": 1766155502.130805,
"seen_count": 1,
"pos_seen": 0,
"pos_updated_ts": 1766155502.130805,
"room_title_raw_last": "李亚鹏19.",
"key_kind": "norm",
"last_content": "ApplejPhone17256GB颜色随机发32468人巳参与",
"last_prize_value_yuan": 5999.0,
"max_prize_value_yuan": 5999.0,
"room_title": "李亚鹏19"
},
{
"first_seen_ts": 1765968226.497444,
"last_seen_ts": 1765982203.946906,
@@ -1229,22 +1258,6 @@
"max_prize_value_yuan": 1299.0,
"room_title": "左家皮具"
},
{
"first_seen_ts": 1765799932.458368,
"last_seen_ts": 1765799932.458368,
"seen_count": 1,
"pos_seen": 0,
"pos_updated_ts": 1765799932.458368,
"room_title_raw_last": "小明正能..",
"alias_raw": [
"小明正能.."
],
"key_kind": "norm",
"last_content": "半只羊肉礼盒10斤装2",
"last_prize_value_yuan": 599.0,
"max_prize_value_yuan": 599.0,
"room_title": "小明正能"
},
{
"first_seen_ts": 1765799022.2357109,
"last_seen_ts": 1765799022.2357109,