Skip to content

Commit e128ef3

Browse files
changdazhouTingquanGao
authored andcommitted
update doc
1 parent 8252abf commit e128ef3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/pipeline_usage/tutorials/ocr_pipelines/PP-StructureV3.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,9 +750,9 @@ for item in markdown_images:
750750

751751
**Note:**
752752

753-
(1) The default text recognition model used by PP-StructureV3 is the **Chinese recognition model**. There is a certain probability of errors when recognizing some English text. You can refer to the model list to switch to an English recognition model.
753+
(1) The default text recognition model used by PP-StructureV3 is the **Chinese-English recognition model**. For scenarios involving only English, you can modify the model_name under the `TextRecognition` configuration item in the [PP-StructureV3 configuration file](../../../../paddlex/configs/pipelines/PP-StructureV3.yaml) to the `en_PP-OCRv4_mobile_rec` English recognition model for better recognition performance. For other language scenarios, you can also refer to the model list mentioned earlier and choose the corresponding language recognition model for replacement.
754754

755-
(2) In the example code, the parameters `use_doc_orientation_classify`, `use_doc_unwarping`, and `use_textline_orientation` are all set to False. This means that document orientation classification, document unwarping, and text line orientation classification are disabled. If you need to use these features, you can set them to True.
755+
(2) In the example code, the parameters `use_doc_orientation_classify`, `use_doc_unwarping`, and `use_textline_orientation` are all set to False by default. These parameters respectively control the document orientation classification, document unwarping, and text line orientation classification functions. If you need to use these features, you can manually set them to True.
756756

757757
(3) PP-StructureV3 provides flexible parameter configuration, allowing you to adjust parameters for layout detection, text detection, text recognition, etc., based on the characteristics of the document for better results. For more detailed configurations, please refer to the [PP-StructureV3 configuration file](../../../../paddlex/configs/pipelines/PP-StructureV3.yaml).
758758

docs/pipeline_usage/tutorials/ocr_pipelines/PP-StructureV3.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,9 +700,9 @@ for item in markdown_images:
700700

701701
**注:**
702702

703-
(1)PP-StructureV3 产线使用的默认文本识别模型为**中文识别模型**对于部分英文文字存在一定概率识别错误,可以参考模型列表更换英文识别模型
703+
(1)PP-StructureV3 产线使用的默认文本识别模型为**中英文识别模型**对于全英文场景,您可以将 [PP-StructureV3 配置文件](../../../../paddlex/configs/pipelines/PP-StructureV3.yaml)`TextRecognition` 配置项下的 `model_name` 修改为 `en_PP-OCRv4_mobile_rec` 英文识别模型以取得更好的识别效果。对应其他语言场景,也可以参考前文的模型列表,选择对应的语言识别模型进行替换
704704

705-
(2)在示例代码中,`use_doc_orientation_classify``use_doc_unwarping``use_textline_orientation` 参数均设置为 False,分别表示关闭文档方向分类、文档去扭曲、文本行方向分类功能,如果需要使用这些功能,可以设置为 True。
705+
(2)在示例代码中,`use_doc_orientation_classify``use_doc_unwarping``use_textline_orientation` 参数默认均设置为 False,分别表示关闭文档方向分类、文档扭曲矫正、文本行方向分类功能,如果需要使用这些功能,可以手动设置为 True。
706706

707707
(3)PP-StructureV3 产线提供了灵活的参数配置,可以在使用过程中针对文档的特点灵活的调整版面检测、文本检测、文本识别等模块的参数,以获得更好的效果,更多详细配置可以参考[PP-StructureV3 配置文件](../../../../paddlex/configs/pipelines/PP-StructureV3.yaml)
708708

0 commit comments

Comments
 (0)