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:
1 parent
5bb7d34054
commit
8b47b506d6
27 files changed
+4382
-540
No files matched your search
@@ -369,7 +369,7 @@ python run_cli.py \
|
||||
- `--wait-minutes`:倒计时超过 N 分钟时切换
|
||||
- `--min-prize-value-yuan`:最低奖品价值(元)
|
||||
- `--min-participants`:最少参与人数
|
||||
- `--skip-if-countdown-lt-seconds`:跳过倒计时少于 N 秒的福袋
|
||||
- `--skip-if-countdown-lt-seconds`:跳过倒计时小于 N 秒的福袋
|
||||
|
||||
### 方式三:Web GUI(适合远程控制)
|
||||
|
||||
@@ -412,7 +412,7 @@ python run_cli.py \
|
||||
|--------|------|--------|------|
|
||||
| `needswitch` | boolean | `true` | 是否允许上划切换直播间 |
|
||||
| `wait_minutes` | integer | `5` | 倒计时超过该分钟数时切换直播间(仅在 needswitch=true 时生效) |
|
||||
| `skip_if_countdown_lt_seconds` | integer | `5` | 跳过倒计时少于该秒数的福袋(避免来不及参与) |
|
||||
| `skip_if_countdown_lt_seconds` | integer | `5` | 倒计时小于该秒数时不参与(高价值福袋可预约) |
|
||||
| `reset_after_swipes_enabled` | boolean | `true` | 是否启用"切换N次后回到第一个直播间"功能 |
|
||||
| `reset_after_swipes` | integer | `30` | 切换直播间达到该次数后,下滑回退到第一个直播间 |
|
||||
| `fudai_find_max_attempts` | integer | `10` | 找福袋图标的最大尝试次数 |
|
||||
@@ -689,7 +689,7 @@ python run_cli.py \
|
||||
│ └─> 通过
|
||||
│
|
||||
├─> 倒计时筛选
|
||||
│ ├─> 倒计时 < skip_if_countdown_lt_seconds → 跳过
|
||||
│ ├─> 倒计时 < skip_if_countdown_lt_seconds → 不参与(高价值可预约)
|
||||
│ └─> 通过
|
||||
│
|
||||
├─> 关键词筛选
|
||||
|
||||
Reference in new issue
Block a user