docs: 收尾 DEBUG_IMAGE_SYSTEM + ocr_engine_decision 路径
- DEBUG_IMAGE_SYSTEM.md: 'path_config.py' → 'douyin/core/path_config.py' - ocr_engine_decision.md: 'Underlying_Operations.py' → 'douyin/core/underlying_operations.py' 至此活文档(除 docs/完整技术文档.md 头部对照表里的旧→新示例外)已无 裸路径残留。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
1 parent
941bbc2475
commit
818c3139b1
2 files changed
+2
-2
No files matched your search
@@ -171,7 +171,7 @@ YYYYMMDD_HHMMSS_操作类型_图片名_步骤_坐标_额外信息.png
|
||||
|
||||
### 目录配置
|
||||
|
||||
调试图像目录通过 `path_config.py` 配置:
|
||||
调试图像目录通过 `douyin/core/path_config.py` 配置:
|
||||
- `get_pic_dir()`: 返回 pic 目录路径
|
||||
- `get_debug_captures_dir()`: 返回调试图像存档目录路径
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ v4-mobile 综合最优。
|
||||
2. 加 LRU 结果缓存(256 条),重复图直接命中(业务里 cut_pic 短时间常重读相同区域)
|
||||
3. 抽出 `PADDLE_KWARGS` / `_build_paddle()` / `_build_easyocr()` 工厂消除重复
|
||||
|
||||
`Underlying_Operations.py`:
|
||||
`douyin/core/underlying_operations.py`:
|
||||
1. `__init__` / `_ensure_ocr` 都对齐到 Paddle 优先
|
||||
2. `analyse_pic_word` 加缓存层(基于 blake2b 内容哈希 + change_color)
|
||||
3. 删掉小图自动放大+锐化+对比度增强(实测负优化)
|
||||
|
||||
Reference in new issue
Block a user