|
|
@@ -68,7 +68,7 @@ table_recognition_wired:
|
|
|
need_ocr: true
|
|
|
row_threshold: 10
|
|
|
col_threshold: 15
|
|
|
- ocr_conf_threshold: 0.8 # 单元格 OCR 置信度阈值
|
|
|
+ ocr_conf_threshold: 0.9 # 单元格 OCR 置信度阈值
|
|
|
cell_crop_margin: 2
|
|
|
use_custom_postprocess: true # 是否使用自定义后处理(默认启用)
|
|
|
|
|
|
@@ -81,7 +81,7 @@ table_recognition_wired:
|
|
|
# 融合引擎配置
|
|
|
cell_fusion:
|
|
|
# RT-DETR 模型路径(必需)
|
|
|
- rtdetr_model_path: "/Users/zhch158/workspace/repository.git/ocr_platform/ocr_tools/pytorch_models/Table/RT-DETR-L_wired_table_cell_det.onnx"
|
|
|
+ rtdetr_model_path: "/Users/zhch158/models/pytorch_models/Table/RT-DETR-L_wired_table_cell_det.onnx"
|
|
|
|
|
|
# 融合权重
|
|
|
unet_weight: 0.6 # UNet 权重(结构性强)
|