Ver Fonte

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

zhch158_admin há 1 semana atrás
pai
commit
df48f4ed95
1 ficheiros alterados com 1 adições e 1 exclusões
  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),