You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can also integrate the text line orientation classification model into your project. Run the following code after downloading the [example image](https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/textline_rot180_demo.jpg) to your local machine.
Copy file name to clipboardExpand all lines: docs/version3.x/pipeline_usage/PP-ChatOCRv4.en.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -664,6 +664,12 @@ The name of the document orientation classification model. If not set, the defau
664
664
<td></td>
665
665
</tr>
666
666
<tr>
667
+
<td><code>use_textline_orientation</code></td>
668
+
<td>Whether to load and use the text line orientation classification module. If not set, the parameter value initialized by the pipeline will be used by default, initialized as <code>True</code>.</td>
669
+
<td><code>bool</code></td>
670
+
<td></td>
671
+
</tr>
672
+
<tr>
667
673
<td><code>use_seal_recognition</code></td>
668
674
<td>Whether to load and use the seal recognition sub-pipeline. If not set, the parameter's value initialized during pipeline setup will be used, defaulting to <code>True</code>.</td>
669
675
<td><code>bool</code></td>
@@ -1106,6 +1112,12 @@ The relevant parameter descriptions are as follows:
1106
1112
<td><code>None</code></td>
1107
1113
</tr>
1108
1114
<tr>
1115
+
<td><code>use_textline_orientation</code></td>
1116
+
<td>Whether to load and use the text line orientation classification function. If set to<code>None</code>, the value initialized by the pipeline for this parameter will be used by default (initialized to <code>True</code>).</td>
1117
+
<td><code>bool</code></td>
1118
+
<td><code>None</code></td>
1119
+
</tr>
1120
+
<tr>
1109
1121
<td><code>use_seal_recognition</code></td>
1110
1122
<td>Whether to load and use the seal recognition sub-pipeline. If set to<code>None</code>, the value initialized by the pipeline for this parameter will be used by default (initialized to <code>True</code>).</td>
1111
1123
<td><code>bool</code></td>
@@ -1418,7 +1430,13 @@ The relevant parameter descriptions are as follows:
1418
1430
</tr>
1419
1431
<tr>
1420
1432
<td><code>use_doc_unwarping</code></td>
1421
-
<td>Whether to use the text image correction module during inference.</td>
1433
+
<td>Whether to use the document image unwarping module during inference.</td>
1434
+
<td><code>bool</code></td>
1435
+
<td><code>None</code></td>
1436
+
</tr>
1437
+
<tr>
1438
+
<td><code>use_textline_orientation</code></td>
1439
+
<td>Whether to use the text line orientation classification module during inference.</td>
0 commit comments