|
@@ -36,7 +36,8 @@ ui:
|
|
|
|
|
|
|
|
# 文件路径配置
|
|
# 文件路径配置
|
|
|
paths:
|
|
paths:
|
|
|
- ocr_out_dir: "/Users/zhch158/workspace/data/至远彩色印刷工业有限公司/data_PPStructureV3_Results"
|
|
|
|
|
|
|
+ ocr_out_dir: "/Users/zhch158/workspace/data/至远彩色印刷工业有限公司/data_DotsOCR_Results"
|
|
|
|
|
+ # ocr_out_dir: "/Users/zhch158/workspace/data/至远彩色印刷工业有限公司/data_PPStructureV3_Results"
|
|
|
src_img_dir: "/Users/zhch158/workspace/data/至远彩色印刷工业有限公司/data_PPStructureV3_Results/2023年度报告母公司"
|
|
src_img_dir: "/Users/zhch158/workspace/data/至远彩色印刷工业有限公司/data_PPStructureV3_Results/2023年度报告母公司"
|
|
|
supported_image_formats: [".png", ".jpg", ".jpeg"]
|
|
supported_image_formats: [".png", ".jpg", ".jpeg"]
|
|
|
|
|
|
|
@@ -46,6 +47,13 @@ ocr:
|
|
|
default_confidence: 1.0
|
|
default_confidence: 1.0
|
|
|
exclude_texts: ["Picture", ""]
|
|
exclude_texts: ["Picture", ""]
|
|
|
|
|
|
|
|
|
|
+ # 图片方向检测配置
|
|
|
|
|
+ orientation_detection:
|
|
|
|
|
+ enabled: true
|
|
|
|
|
+ confidence_threshold: 0.3 # 置信度阈值
|
|
|
|
|
+ methods: ["opencv_analysis"] # 检测方法
|
|
|
|
|
+ cache_results: true # 缓存检测结果
|
|
|
|
|
+
|
|
|
# OCR工具类型配置
|
|
# OCR工具类型配置
|
|
|
tools:
|
|
tools:
|
|
|
dots_ocr:
|
|
dots_ocr:
|