Your Name
|
9062ee7204
|
fix fudai countdown full-line ocr
|
2026-06-23 23:32:20 +08:00 |
|
Your Name
|
4dea1328ec
|
fix one-task countdown config crop
|
2026-06-23 22:49:30 +08:00 |
|
Your Name
|
dc34b7484b
|
fix one-task countdown box root cause
|
2026-06-23 22:18:54 +08:00 |
|
Your Name
|
a2a899bb9f
|
fix countdown frame fallback
|
2026-06-23 19:54:40 +08:00 |
|
Your Name
|
ec51772cf0
|
Fix fudai countdown and room mapping guards
|
2026-06-18 19:25:46 +08:00 |
|
Your Name
|
207cf0eadb
|
improve fudai ocr debug captures
|
2026-06-05 15:50:00 +08:00 |
|
Your Name
|
1d37d57c90
|
修复福袋详情OCR v2与调试日志
|
2026-06-03 01:22:13 +08:00 |
|
Your Name
|
93d950e78f
|
fix: 根治倒计时分钟误识别并统一候选解析策略
|
2026-06-01 14:48:36 +08:00 |
|
 CodexandClaude Opus 4.7
|
457edcfdc8
|
refactor(fudai_core): 合并 4 个 renwu 分支截图准备到 cut_regions (1825 → 1651)
get_fudai_contain L160-334 按 renwu (1/2/3/其他) 重复 4 次相似的 175 行
分支,每个分支都做"内容/倒计时(切两段)/价值"4 次 cut_pic + 可选调试截图,
唯一差异只是 countdown_box 常量。
抽到 douyin_fudai_core_pkg/cut_regions.py:
- _select_countdown_box(renwu) 选坐标
- cut_detail_regions(analyser, renwu, save_debug_images) 统一切割
原 175 行 4 个重复分支替换为 8 行调用,净减 167 行。
新增 12 个单元测试覆盖:
- _select_countdown_box 4 种 renwu
- cut_detail_regions 调 cut_pic 4 次 / 名称顺序 / 30%-30% 分割比例
- save_debug_images 开关效果
1272 passed (+12)。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-23 01:47:36 +08:00 |
|