浏览代码

feat: 关闭流水分析场景的方向分类功能

zhch158_admin 1 周之前
父节点
当前提交
df48f4ed95
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      zhch/ppstructurev3_single_process.py

+ 1 - 1
zhch/ppstructurev3_single_process.py

@@ -111,7 +111,7 @@ def process_images_unified(image_paths: List[str],
                         # PP-StructureV3 使用下划线命名
                         predict_kwargs = {
                             'img_path': img_path,
-                            'use_doc_orientation_classify': kwargs.get('use_doc_orientation', True),
+                            'use_doc_orientation_classify': kwargs.get('use_doc_orientation', False), # 流水分析场景关闭方向分类
                             'use_doc_unwarping': kwargs.get('use_doc_unwarping', False),
                             'use_layout_detection': kwargs.get('use_layout_detection', True),
                             'use_seal_recognition': kwargs.get('use_seal_recognition', True),