Parcourir la source

revert: 恢复 use_doc_orientation_classify 为 True

- 保持文档方向分类功能启用
- 根据用户要求恢复原始设置
何文松 il y a 23 heures
Parent
commit
d420403bc2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pdf_converter_v2/processor/converter.py

+ 1 - 1
pdf_converter_v2/processor/converter.py

@@ -70,7 +70,7 @@ def _paddle_base_cmd(input_path: str, save_path_base: str, device_args: list) ->
         "--use_doc_unwarping",
         "False",
         "--use_doc_orientation_classify",
-        "False",
+        "True",
         "--use_chart_recognition",
         "True",
         "--save_path",