|
|
@@ -28,6 +28,13 @@ layout_detection:
|
|
|
min_text_width_ratio: 0.4 # 最小宽度占比(40%)
|
|
|
min_text_height_ratio: 0.3 # 最小高度占比(30%)
|
|
|
|
|
|
+ # Debug 可视化配置(与 MinerUWiredTableRecognizer.DebugOptions 对齐)
|
|
|
+ # 默认关闭。开启后将保存:layout检测结果
|
|
|
+ debug_options:
|
|
|
+ enabled: true # 是否开启调试可视化输出
|
|
|
+ output_dir: null # 调试输出目录;null不输出
|
|
|
+ prefix: "" # 保存文件名前缀(如设置为页码)
|
|
|
+
|
|
|
ocr_recognition:
|
|
|
module: "mineru"
|
|
|
language: "ch"
|