Jelajahi Sumber

Update service API (#4352)

Lin Manhui 4 bulan lalu
induk
melakukan
a676c65039

+ 30 - 30
docs/pipeline_usage/tutorials/ocr_pipelines/PP-DocTranslation.en.md

@@ -1603,181 +1603,181 @@ The following is the API reference for basic Serving and examples of multilingua
 <tr>
 <td><code>useDocOrientationClassify</code></td>
 <td><code>boolean</code>|<code>null</code></td>
-<td>Refer to the description of the <code>use_doc_orientation_classify</code>parameter in the <code>predict</code>method of the pipeline object.</td>
+<td>Refer to the description of the <code>use_doc_orientation_classify</code>parameter in the <code>visual_predict</code>method of the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>useDocUnwarping</code></td>
 <td><code>boolean</code>|<code>null</code></td>
-<td>Refer to the description of the <code>use_doc_unwarping</code>parameter in the <code>predict</code>method of the pipeline object.</td>
+<td>Refer to the description of the <code>use_doc_unwarping</code>parameter in the <code>visual_predict</code>method of the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>useTextlineOrientation</code></td>
 <td><code>boolean</code>|<code>null</code></td>
-<td>Refer to the description of the <code>use_textline_orientation</code>parameter in the <code>predict</code>method of the pipeline object.</td>
+<td>Refer to the description of the <code>use_textline_orientation</code>parameter in the <code>visual_predict</code>method of the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>useSealRecognition</code></td>
 <td><code>boolean</code>|<code>null</code></td>
-<td>See the description of the <code>use_seal_recognition</code> parameter for the <code>predict</code> method in the pipeline object.</td>
+<td>See the description of the <code>use_seal_recognition</code> parameter for the <code>visual_predict</code> method in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>useTableRecognition</code></td>
 <td><code>boolean</code>|<code>null</code></td>
-<td>See the description of the <code>use_table_recognition</code> parameter for the <code>predict</code> method in the pipeline object.</td>
+<td>See the description of the <code>use_table_recognition</code> parameter for the <code>visual_predict</code> method in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>useFormulaRecognition</code></td>
 <td><code>boolean</code>|<code>null</code></td>
-<td>See the description of the <code>use_formula_recognition</code> parameter for the <code>predict</code> method in the pipeline object.</td>
+<td>See the description of the <code>use_formula_recognition</code> parameter for the <code>visual_predict</code> method in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>useChartRecognition</code></td>
 <td><code>boolean</code>|<code>null</code></td>
-<td>See the description of the <code>use_chart_recognition</code> parameter for the <code>predict</code> method in the pipeline object.</td>
+<td>See the description of the <code>use_chart_recognition</code> parameter for the <code>visual_predict</code> method in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>useRegionDetection</code></td>
 <td><code>boolean</code>|<code>null</code></td>
-<td>See the description of the <code>use_region_detection</code> parameter for the <code>predict</code> method in the pipeline object.</td>
+<td>See the description of the <code>use_region_detection</code> parameter for the <code>visual_predict</code> method in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>layoutThreshold</code></td>
 <td><code>number</code>|<code>object</code>|<code>null</code></td>
-<td>Refer to the description of the <code>predict</code> method's <code>layout_threshold</code> parameter in the pipeline object.</td>
+<td>Refer to the description of the <code>visual_predict</code> method's <code>layout_threshold</code> parameter in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>layoutNms</code></td>
 <td><code>boolean</code>|<code>null</code></td>
-<td>Refer to the description of the <code>predict</code> method's <code>layout_nms</code> parameter in the pipeline object.</td>
+<td>Refer to the description of the <code>visual_predict</code> method's <code>layout_nms</code> parameter in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>layoutUnclipRatio</code></td>
 <td><code>number</code>|<code>array</code>|<code>object</code>|<code>null</code></td>
-<td>Refer to the description of the <code>predict</code> method's <code>layout_unclip_ratio</code> parameter in the pipeline object.</td>
+<td>Refer to the description of the <code>visual_predict</code> method's <code>layout_unclip_ratio</code> parameter in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>layoutMergeBboxesMode</code></td>
 <td><code>string</code>|<code>object</code>|<code>null</code></td>
-<td>Refer to the description of the <code>predict</code> method's <code>layout_merge_bboxes_mode</code> parameter in the pipeline object.</td>
+<td>Refer to the description of the <code>visual_predict</code> method's <code>layout_merge_bboxes_mode</code> parameter in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>textDetLimitSideLen</code></td>
 <td><code>integer</code>|<code>null</code></td>
-<td>Refer to the description of the <code>predict</code> method's <code>text_det_limit_side_len</code> parameter in the pipeline object.</td>
+<td>Refer to the description of the <code>visual_predict</code> method's <code>text_det_limit_side_len</code> parameter in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>textDetLimitType</code></td>
 <td><code>string</code>|<code>null</code></td>
-<td>Refer to the description of the <code>text_det_limit_type</code> parameter of the <code>predict</code> method in the pipeline object.</td>
+<td>Refer to the description of the <code>text_det_limit_type</code> parameter of the <code>visual_predict</code> method in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>textDetThresh</code></td>
 <td><code>number</code>|<code>null</code></td>
-<td>Refer to the description of the <code>text_det_thresh</code> parameter of the <code>predict</code> method in the pipeline object.</td>
+<td>Refer to the description of the <code>text_det_thresh</code> parameter of the <code>visual_predict</code> method in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>textDetBoxThresh</code></td>
 <td><code>number</code>|<code>null</code></td>
-<td>Refer to the description of the <code>text_det_box_thresh</code> parameter of the <code>predict</code> method in the pipeline object.</td>
+<td>Refer to the description of the <code>text_det_box_thresh</code> parameter of the <code>visual_predict</code> method in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>textDetUnclipRatio</code></td>
 <td><code>number</code>|<code>null</code></td>
-<td>Refer to the description of the <code>text_det_unclip_ratio</code> parameter of the <code>predict</code> method in the pipeline object.</td>
+<td>Refer to the description of the <code>text_det_unclip_ratio</code> parameter of the <code>visual_predict</code> method in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>textRecScoreThresh</code></td>
 <td><code>number</code>|<code>null</code></td>
-<td>Refer to the description of the <code>text_rec_score_thresh</code> parameter of the <code>predict</code> method in the pipeline object.</td>
+<td>Refer to the description of the <code>text_rec_score_thresh</code> parameter of the <code>visual_predict</code> method in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>sealDetLimitSideLen</code></td>
 <td><code>integer</code>|<code>null</code></td>
-<td>Refer to the description in the pipeline object<code>predict</code>method<code>seal_det_limit_side_len</code>parameter description.</td>
+<td>Refer to the description in the pipeline object<code>visual_predict</code>method<code>seal_det_limit_side_len</code>parameter description.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>sealDetLimitType</code></td>
 <td><code>string</code>|<code>null</code></td>
-<td>Refer to the parameter description of <code>predict</code>method's<code>seal_det_limit_type</code> in the pipeline object.</td>
+<td>Refer to the parameter description of <code>visual_predict</code>method's<code>seal_det_limit_type</code> in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>sealDetThresh</code></td>
 <td><code>number</code>|<code>null</code></td>
-<td>Refer to the parameter description of <code>predict</code>method's<code>seal_det_thresh</code> in the pipeline object.</td>
+<td>Refer to the parameter description of <code>visual_predict</code>method's<code>seal_det_thresh</code> in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>sealDetBoxThresh</code></td>
 <td><code>number</code>|<code>null</code></td>
-<td>Refer to the parameter description of <code>predict</code>method's<code>seal_det_box_thresh</code> in the pipeline object.</td>
+<td>Refer to the parameter description of <code>visual_predict</code>method's<code>seal_det_box_thresh</code> in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>sealDetUnclipRatio</code></td>
 <td><code>number</code>|<code>null</code></td>
-<td>Refer to the parameter description of <code>predict</code>method's<code>seal_det_unclip_ratio</code> in the pipeline object.</td>
+<td>Refer to the parameter description of <code>visual_predict</code>method's<code>seal_det_unclip_ratio</code> in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>sealRecScoreThresh</code></td>
 <td><code>number</code>|<code>null</code></td>
-<td>Refer to the parameter description of <code>predict</code>method's<code>seal_rec_score_thresh</code>Parameter description.</td>
+<td>Refer to the parameter description of <code>visual_predict</code>method's<code>seal_rec_score_thresh</code>Parameter description.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>useWiredTableCellsTransToHtml</code></td>
 <td><code>boolean</code></td>
-<td>Refer to the parameter description of <code>use_wired_table_cells_trans_to_html</code> in the <code>predict</code> method of the pipeline object.</td>
+<td>Refer to the parameter description of <code>use_wired_table_cells_trans_to_html</code> in the <code>visual_predict</code> method of the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>useWirelessTableCellsTransToHtml</code></td>
 <td><code>boolean</code></td>
-<td>Refer to the parameter description of <code>use_wireless_table_cells_trans_to_html</code> in the <code>predict</code> method of the pipeline object.</td>
+<td>Refer to the parameter description of <code>use_wireless_table_cells_trans_to_html</code> in the <code>visual_predict</code> method of the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>useTableOrientationClassify</code></td>
 <td><code>boolean</code></td>
-<td>Refer to the parameter description of <code>use_table_orientation_classify</code> in the <code>predict</code> method of the pipeline object.</td>
+<td>Refer to the parameter description of <code>use_table_orientation_classify</code> in the <code>visual_predict</code> method of the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>useOcrResultsWithTableCells</code></td>
 <td><code>boolean</code></td>
-<td>Refer to the parameter description of <code>use_ocr_results_with_table_cells</code> in the <code>predict</code> method of the pipeline object.</td>
+<td>Refer to the parameter description of <code>use_ocr_results_with_table_cells</code> in the <code>visual_predict</code> method of the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>useE2eWiredTableRecModel</code></td>
 <td><code>boolean</code></td>
-<td>Refer to the parameter description of <code>use_e2e_wired_table_rec_model</code> in the <code>predict</code> method of the pipeline object.</td>
+<td>Refer to the parameter description of <code>use_e2e_wired_table_rec_model</code> in the <code>visual_predict</code> method of the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>useE2eWirelessTableRecModel</code></td>
 <td><code>boolean</code></td>
-<td>Refer to the <code>predict</code>method's <code>use_e2e_wireless_table_rec_model</code>parameter description in the pipeline object.</td>
+<td>Refer to the <code>visual_predict</code>method's <code>use_e2e_wireless_table_rec_model</code>parameter description in the pipeline object.</td>
 <td>No</td>
 </tr>
 <tr>

+ 30 - 30
docs/pipeline_usage/tutorials/ocr_pipelines/PP-DocTranslation.md

@@ -1659,181 +1659,181 @@ for tgt_md_info in tgt_md_info_list:
 <tr>
 <td><code>useDocOrientationClassify</code></td>
 <td><code>boolean</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>use_doc_orientation_classify</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>use_doc_orientation_classify</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>useDocUnwarping</code></td>
 <td><code>boolean</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>use_doc_unwarping</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>use_doc_unwarping</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>useTextlineOrientation</code></td>
 <td><code>boolean</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>use_textline_orientation</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>use_textline_orientation</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>useSealRecognition</code></td>
 <td><code>boolean</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>use_seal_recognition</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>use_seal_recognition</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>useTableRecognition</code></td>
 <td><code>boolean</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>use_table_recognition</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>use_table_recognition</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>useFormulaRecognition</code></td>
 <td><code>boolean</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>use_formula_recognition</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>use_formula_recognition</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>useChartRecognition</code></td>
 <td><code>boolean</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>use_chart_recognition</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>use_chart_recognition</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>useRegionDetection</code></td>
 <td><code>boolean</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>use_region_detection</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>use_region_detection</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>layoutThreshold</code></td>
 <td><code>number</code> | <code>object</code> | </code><code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>layout_threshold</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>layout_threshold</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>layoutNms</code></td>
 <td><code>boolean</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>layout_nms</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>layout_nms</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>layoutUnclipRatio</code></td>
 <td><code>number</code> | <code>array</code> | <code>object</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>layout_unclip_ratio</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>layout_unclip_ratio</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>layoutMergeBboxesMode</code></td>
 <td><code>string</code> | <code>object</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>layout_merge_bboxes_mode</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>layout_merge_bboxes_mode</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>textDetLimitSideLen</code></td>
 <td><code>integer</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>text_det_limit_side_len</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>text_det_limit_side_len</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>textDetLimitType</code></td>
 <td><code>string</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>text_det_limit_type</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>text_det_limit_type</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>textDetThresh</code></td>
 <td><code>number</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>text_det_thresh</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>text_det_thresh</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>textDetBoxThresh</code></td>
 <td><code>number</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>text_det_box_thresh</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>text_det_box_thresh</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>textDetUnclipRatio</code></td>
 <td><code>number</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>text_det_unclip_ratio</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>text_det_unclip_ratio</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>textRecScoreThresh</code></td>
 <td><code>number</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>text_rec_score_thresh</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>text_rec_score_thresh</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>sealDetLimitSideLen</code></td>
 <td><code>integer</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>seal_det_limit_side_len</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>seal_det_limit_side_len</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>sealDetLimitType</code></td>
 <td><code>string</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>seal_det_limit_type</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>seal_det_limit_type</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>sealDetThresh</code></td>
 <td><code>number</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>seal_det_thresh</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>seal_det_thresh</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>sealDetBoxThresh</code></td>
 <td><code>number</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>seal_det_box_thresh</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>seal_det_box_thresh</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>sealDetUnclipRatio</code></td>
 <td><code>number</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>seal_det_unclip_ratio</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>seal_det_unclip_ratio</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>sealRecScoreThresh</code></td>
 <td><code>number</code> | <code>null</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>seal_rec_score_thresh</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>seal_rec_score_thresh</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>useWiredTableCellsTransToHtml</code></td>
 <td><code>boolean</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>use_wired_table_cells_trans_to_html</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>use_wired_table_cells_trans_to_html</code> 参数相关说明。</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>useWirelessTableCellsTransToHtml</code></td>
 <td><code>boolean</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>use_wireless_table_cells_trans_to_html</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>use_wireless_table_cells_trans_to_html</code> 参数相关说明。</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>useTableOrientationClassify</code></td>
 <td><code>boolean</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>use_table_orientation_classify</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>use_table_orientation_classify</code> 参数相关说明。</td>
 <td>No</td>
 </tr>
 <tr>
 <td><code>useOcrResultsWithTableCells</code></td>
 <td><code>boolean</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>use_ocr_results_with_table_cells</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>use_ocr_results_with_table_cells</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>useE2eWiredTableRecModel</code></td>
 <td><code>boolean</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>use_e2e_wired_table_rec_model</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>use_e2e_wired_table_rec_model</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>
 <td><code>useE2eWirelessTableRecModel</code></td>
 <td><code>boolean</code></td>
-<td>请参阅产线对象中 <code>predict</code> 方法的 <code>use_e2e_wireless_table_rec_model</code> 参数相关说明。</td>
+<td>请参阅产线对象中 <code>visual_predict</code> 方法的 <code>use_e2e_wireless_table_rec_model</code> 参数相关说明。</td>
 <td>否</td>
 </tr>
 <tr>

+ 3 - 3
paddlex/inference/serving/schemas/pp_doctranslation.py

@@ -35,13 +35,13 @@ ANALYZE_IMAGES_ENDPOINT: Final[str] = "/doctrans-visual"
 
 
 class AnalyzeImagesRequest(ocr.BaseInferRequest):
-    useDocOrientationClassify: Optional[bool] = False
-    useDocUnwarping: Optional[bool] = False
+    useDocOrientationClassify: Optional[bool] = None
+    useDocUnwarping: Optional[bool] = None
     useTextlineOrientation: Optional[bool] = None
     useSealRecognition: Optional[bool] = None
     useTableRecognition: Optional[bool] = None
     useFormulaRecognition: Optional[bool] = None
-    useChartRecognition: Optional[bool] = False
+    useChartRecognition: Optional[bool] = None
     useRegionDetection: Optional[bool] = None
     layoutThreshold: Optional[Union[float, dict]] = None
     layoutNms: Optional[bool] = None

+ 3 - 3
paddlex/inference/serving/schemas/pp_structurev3.py

@@ -31,13 +31,13 @@ INFER_ENDPOINT: Final[str] = "/layout-parsing"
 
 
 class InferRequest(ocr.BaseInferRequest):
-    useDocOrientationClassify: Optional[bool] = False
-    useDocUnwarping: Optional[bool] = False
+    useDocOrientationClassify: Optional[bool] = None
+    useDocUnwarping: Optional[bool] = None
     useTextlineOrientation: Optional[bool] = None
     useSealRecognition: Optional[bool] = None
     useTableRecognition: Optional[bool] = None
     useFormulaRecognition: Optional[bool] = None
-    useChartRecognition: Optional[bool] = False
+    useChartRecognition: Optional[bool] = None
     useRegionDetection: Optional[bool] = None
     layoutThreshold: Optional[Union[float, dict]] = None
     layoutNms: Optional[bool] = None