From 818c3139b1624409cb2e28ac7fc707349151adb7 Mon Sep 17 00:00:00 2001 From: Codex Date: Thu, 21 May 2026 13:38:47 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=94=B6=E5=B0=BE=20DEBUG=5FIMAGE=5FSY?= =?UTF-8?q?STEM=20+=20ocr=5Fengine=5Fdecision=20=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- docs/DEBUG_IMAGE_SYSTEM.md | 2 +- docs/ocr_engine_decision.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/DEBUG_IMAGE_SYSTEM.md b/docs/DEBUG_IMAGE_SYSTEM.md index ad3e7de..ffae9fa 100644 --- a/docs/DEBUG_IMAGE_SYSTEM.md +++ b/docs/DEBUG_IMAGE_SYSTEM.md @@ -171,7 +171,7 @@ YYYYMMDD_HHMMSS_操作类型_图片名_步骤_坐标_额外信息.png ### 目录配置 -调试图像目录通过 `path_config.py` 配置: +调试图像目录通过 `douyin/core/path_config.py` 配置: - `get_pic_dir()`: 返回 pic 目录路径 - `get_debug_captures_dir()`: 返回调试图像存档目录路径 diff --git a/docs/ocr_engine_decision.md b/docs/ocr_engine_decision.md index c6428a1..93e6a15 100644 --- a/docs/ocr_engine_decision.md +++ b/docs/ocr_engine_decision.md @@ -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. 删掉小图自动放大+锐化+对比度增强(实测负优化)