Przeglądaj źródła

add_seal_docs (#2951)

* add_seal_docs

* add_seal_docs

* add_seal_docs
Sunflower7788 9 miesięcy temu
rodzic
commit
6436e46da7

+ 1 - 1
docs/module_usage/tutorials/ocr_modules/layout_detection.md

@@ -53,7 +53,7 @@ comments: true
 <b>注:以上精度指标的评估集是 PaddleOCR 自建的版面区域检测数据集,包含中英文论文、杂志、合同、书本、试卷和研报等常见的 500 张文档类型图片。GPU 推理耗时基于 NVIDIA Tesla T4 机器,精度类型为 FP32, CPU 推理速度基于 Intel(R) Xeon(R) Gold 5117 CPU @ 2.00GHz,线程数为 8,精度类型为 FP32。</b>
 
 
-> ❗ 以上列出的是文本识别模块重点支持的<b>3个核心模型</b>,该模块总共支持<b>11个全量模型</b>,包含多个预定义了不同类别的模型,完整的模型列表如下:
+> ❗ 以上列出的是版面检测模块重点支持的<b>3个核心模型</b>,该模块总共支持<b>11个全量模型</b>,包含多个预定义了不同类别的模型,完整的模型列表如下:
 
 <details><summary> 👉模型列表详情</summary>
 

Plik diff jest za duży
+ 665 - 213
docs/pipeline_usage/tutorials/ocr_pipelines/seal_recognition.md


+ 67 - 1
paddlex/utils/pipeline_arguments.py

@@ -107,7 +107,73 @@ PIPELINE_ARGUMENTS = {
     ],
     "table_recognition": None,
     "layout_parsing": None,
-    "seal_recognition": None,
+    "seal_recognition": [
+        {
+            "name": "--use_doc_orientation_classify",
+            "type": bool,
+            "help": "Determines whether to use document preprocessing",
+        },
+        {
+            "name": "--use_doc_unwarping",
+            "type": bool,
+            "help": "Determines whether to use document unwarping",
+        },
+        {
+            "name": "--use_layout_detection",
+            "type": bool,
+            "help": "Determines whether to use document layout detection",
+        },
+        {
+            "name": "--layout_threshold",
+            "type": float,
+            "help": "Determines confidence threshold for layout detection",
+        },
+        {
+            "name": "--layout_nms",
+            "type": bool,
+            "help": "Determines whether to use non maximum suppression",
+        },
+        {
+            "name": "--layout_unclip_ratio",
+            "type": float,
+            "help": "Determines unclip ratio for layout detection boxes",
+        },
+        {
+            "name": "--layout_merge_bboxes_mode",
+            "type": str,
+            "help": "Determines merge mode for layout detection bboxes, 'union', 'large' or 'small'",
+        },
+        {
+            "name": "--seal_det_limit_side_len",
+            "type": int,
+            "help": "Sets the side length limit for text detection.",
+        },
+        {
+            "name": "--seal_det_limit_type",
+            "type": str,
+            "help": "Sets the limit type for text detection, 'min', 'max'.",
+        },
+        {
+            "name": "--seal_det_thresh",
+            "type": float,
+            "help": "Sets the threshold for text detection.",
+        },
+        {
+            "name": "--seal_det_box_thresh",
+            "type": float,
+            "help": "Sets the box threshold for text detection.",
+        },
+        {
+            "name": "--seal_det_unclip_ratio",
+            "type": float,
+            "help": "Sets the unclip ratio for text detection.",
+        },
+        {
+            "name": "--seal_rec_score_thresh",
+            "type": float,
+            "help": "Sets the score threshold for text recognition.",
+        },
+    ],
     "ts_forecast": None,
     "ts_anomaly_detection": None,
     "ts_classification": None,

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików