|
|
@@ -56,7 +56,10 @@ ocr:
|
|
|
bbox_field: "bbox"
|
|
|
category_field: "category"
|
|
|
confidence_field: "confidence"
|
|
|
-
|
|
|
+ # 旋转处理配置
|
|
|
+ rotation:
|
|
|
+ coordinates_are_pre_rotated: false # 坐标不是预旋转的
|
|
|
+
|
|
|
ppstructv3:
|
|
|
name: "PPStructV3"
|
|
|
description: "PaddleOCR PP-StructureV3"
|
|
|
@@ -66,6 +69,9 @@ ocr:
|
|
|
bbox_field: "block_bbox"
|
|
|
category_field: "block_label"
|
|
|
confidence_field: "confidence"
|
|
|
+ # 旋转处理配置
|
|
|
+ rotation:
|
|
|
+ coordinates_are_pre_rotated: true # 坐标已经是预旋转的
|
|
|
|
|
|
# 自动检测工具类型的规则
|
|
|
auto_detection:
|