Skip to content

Commit b887b54

Browse files
authored
update docs (#2561)
* update docs * update docs
1 parent 739db9e commit b887b54

File tree

8 files changed

+538
-456
lines changed

8 files changed

+538
-456
lines changed

docs/index.en.md

Lines changed: 137 additions & 116 deletions
Large diffs are not rendered by default.

docs/index.md

Lines changed: 137 additions & 116 deletions
Large diffs are not rendered by default.

docs/pipeline_usage/tutorials/cv_pipelines/image_anomaly_detection.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ When executing the above command, the default image anomaly detection pipeline c
6464

6565
After running, the result is:
6666

67-
```
68-
{'input_path': 'uad_grid.png'}
67+
```bash
68+
{'input_path': 'uad_grid.png', 'pred': '...'}
6969
```
7070
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/main/images/pipelines/image_anomaly_detection/02.png">
7171

docs/pipeline_usage/tutorials/cv_pipelines/image_anomaly_detection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ paddlex --pipeline anomaly_detection --input uad_grid.png --device gpu:0
6565

6666
运行后,得到的结果为:
6767

68-
```
69-
{'input_path': 'uad_grid.png'}
68+
```bash
69+
{'input_path': 'uad_grid.png', 'pred': '...'}
7070
```
7171
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/main/images/pipelines/image_anomaly_detection/02.png">
7272

docs/pipeline_usage/tutorials/cv_pipelines/semantic_segmentation.en.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,7 @@ When executing the above command, the default semantic segmentation pipeline con
239239

240240
After running, the result is:
241241

242-
```bash
243-
{'input_path': 'general_object_detection_002.png'}
244-
```
242+
{'input_path': 'makassaridn-road_demo.png', 'pred': '...'}
245243

246244
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/main/images/pipelines/semantic_segmentation/03.png">
247245

docs/pipeline_usage/tutorials/cv_pipelines/semantic_segmentation.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,7 @@ paddlex --pipeline semantic_segmentation --input makassaridn-road_demo.png --dev
241241

242242
运行后,得到的结果为:
243243

244-
```
245-
{'input_path': 'general_object_detection_002.png'}
246-
```
244+
{'input_path': 'makassaridn-road_demo.png', 'pred': '...'}
247245
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/main/images/pipelines/semantic_segmentation/03.png">
248246
可视化图片默认不进行保存,您可以通过 `--save_path` 自定义保存路径,随后所有结果将被保存在指定路径下。
249247

docs/pipeline_usage/tutorials/ocr_pipelines/seal_recognition.en.md

Lines changed: 129 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -187,113 +187,135 @@ After running, the result obtained is:
187187

188188
<details><summary> 👉 Click to expand</summary>
189189

190-
<pre><code>{'input_path': 'seal_text_det.png', 'layout_result': {'input_path': 'seal_text_det.png', 'boxes': [{'cls_id': 2, 'label': 'seal', 'score': 0.9813116192817688, 'coordinate': [0, 5.2238655, 639.59766, 637.6985]}]}, 'ocr_result': [{'input_path': PosixPath('/root/.paddlex/temp/tmp19fn93y5.png'), 'dt_polys': [array([[468, 469],
191-
[472, 469],
192-
[477, 471],
193-
[507, 501],
194-
[509, 505],
195-
[509, 509],
196-
[508, 513],
197-
[506, 514],
198-
[456, 553],
199-
[454, 555],
200-
[391, 581],
201-
[388, 581],
202-
[309, 590],
203-
[306, 590],
204-
[234, 577],
205-
[232, 577],
206-
[172, 548],
207-
[170, 546],
208-
[121, 504],
209-
[118, 501],
210-
[118, 496],
211-
[119, 492],
212-
[121, 490],
213-
[152, 463],
214-
[156, 461],
215-
[160, 461],
216-
[164, 463],
217-
[202, 495],
218-
[252, 518],
219-
[311, 530],
220-
[371, 522],
221-
[425, 501],
222-
[464, 471]]), array([[442, 439],
223-
[445, 442],
224-
[447, 447],
225-
[449, 490],
226-
[448, 494],
227-
[446, 497],
228-
[440, 499],
229-
[197, 500],
230-
[193, 499],
231-
[190, 496],
232-
[188, 491],
233-
[188, 448],
234-
[189, 444],
235-
[192, 441],
236-
[197, 439],
237-
[438, 438]]), array([[465, 341],
238-
[470, 344],
239-
[472, 346],
240-
[476, 356],
241-
[476, 419],
242-
[475, 424],
243-
[472, 428],
244-
[467, 431],
245-
[462, 433],
246-
[175, 434],
247-
[170, 433],
248-
[166, 430],
249-
[163, 426],
250-
[161, 420],
251-
[161, 354],
252-
[162, 349],
253-
[165, 345],
254-
[170, 342],
255-
[175, 340],
256-
[460, 340]]), array([[326, 34],
257-
[481, 85],
258-
[485, 88],
259-
[488, 90],
260-
[584, 220],
261-
[586, 225],
262-
[587, 229],
263-
[589, 378],
264-
[588, 383],
265-
[585, 388],
266-
[581, 391],
267-
[576, 393],
268-
[570, 392],
269-
[507, 373],
270-
[502, 371],
271-
[498, 367],
272-
[496, 359],
273-
[494, 255],
274-
[423, 162],
275-
[322, 129],
276-
[246, 151],
277-
[205, 169],
278-
[144, 252],
279-
[139, 360],
280-
[137, 365],
281-
[134, 369],
282-
[128, 373],
283-
[ 66, 391],
284-
[ 61, 392],
285-
[ 56, 390],
286-
[ 51, 387],
287-
[ 48, 382],
288-
[ 47, 377],
289-
[ 49, 230],
290-
[ 50, 225],
291-
[ 52, 221],
292-
[149, 89],
293-
[153, 86],
294-
[157, 84],
295-
[318, 34],
296-
[322, 33]])], 'dt_scores': [0.9943362380813267, 0.9994290391836306, 0.9945320407374245, 0.9908104427126033], 'rec_text': ['5263647368706', '吗繁物', '发票专用章', '天津君和缘商贸有限公司'], 'rec_score': [0.9921098351478577, 0.997374951839447, 0.9999369382858276, 0.9901710152626038]}]}
190+
<pre><code>
191+
{'input_path': PosixPath('/root/.paddlex/temp/tmpa8eqnpus.png'), 'layout_result': {'input_path': PosixPath('/root/.paddlex/temp/tmpa8eqnpus.png'), 'boxes': [{'cls_id': 2, 'label': 'seal', 'score': 0.9813321828842163, 'coordinate': [0, 5.1820183, 639.59314, 637.7533]}]}, 'ocr_result': {'dt_polys': [array([[166, 468],
192+
[206, 503],
193+
[249, 523],
194+
[312, 535],
195+
[364, 529],
196+
[390, 521],
197+
[428, 505],
198+
[465, 476],
199+
[468, 474],
200+
[473, 474],
201+
[476, 475],
202+
[478, 477],
203+
[508, 507],
204+
[510, 510],
205+
[511, 514],
206+
[509, 518],
207+
[507, 521],
208+
[458, 559],
209+
[455, 560],
210+
[399, 584],
211+
[399, 584],
212+
[369, 591],
213+
[367, 592],
214+
[308, 597],
215+
[305, 596],
216+
[240, 584],
217+
[239, 584],
218+
[220, 577],
219+
[169, 552],
220+
[166, 551],
221+
[120, 510],
222+
[117, 507],
223+
[116, 503],
224+
[117, 499],
225+
[121, 495],
226+
[153, 468],
227+
[156, 467],
228+
[161, 467]]), array([[439, 444],
229+
[443, 444],
230+
[446, 446],
231+
[448, 448],
232+
[450, 451],
233+
[450, 454],
234+
[448, 498],
235+
[448, 502],
236+
[445, 505],
237+
[442, 507],
238+
[439, 507],
239+
[399, 505],
240+
[196, 506],
241+
[192, 505],
242+
[189, 503],
243+
[187, 500],
244+
[187, 497],
245+
[186, 458],
246+
[186, 456],
247+
[187, 451],
248+
[188, 448],
249+
[192, 444],
250+
[194, 444],
251+
[198, 443]]), array([[463, 347],
252+
[468, 347],
253+
[472, 350],
254+
[474, 353],
255+
[476, 360],
256+
[477, 425],
257+
[476, 429],
258+
[474, 433],
259+
[470, 436],
260+
[466, 438],
261+
[463, 438],
262+
[175, 439],
263+
[170, 438],
264+
[166, 435],
265+
[163, 432],
266+
[161, 426],
267+
[161, 361],
268+
[161, 356],
269+
[163, 352],
270+
[167, 349],
271+
[172, 347],
272+
[184, 346],
273+
[186, 346]]), array([[325, 38],
274+
[485, 91],
275+
[489, 94],
276+
[493, 96],
277+
[587, 225],
278+
[588, 230],
279+
[589, 234],
280+
[592, 384],
281+
[591, 389],
282+
[588, 393],
283+
[585, 397],
284+
[581, 399],
285+
[576, 399],
286+
[572, 398],
287+
[508, 380],
288+
[503, 379],
289+
[499, 375],
290+
[498, 370],
291+
[497, 367],
292+
[493, 258],
293+
[428, 171],
294+
[421, 165],
295+
[323, 136],
296+
[225, 165],
297+
[207, 175],
298+
[144, 260],
299+
[141, 365],
300+
[141, 370],
301+
[138, 374],
302+
[134, 378],
303+
[131, 379],
304+
[ 66, 398],
305+
[ 61, 398],
306+
[ 56, 398],
307+
[ 52, 395],
308+
[ 48, 391],
309+
[ 47, 386],
310+
[ 47, 384],
311+
[ 47, 235],
312+
[ 48, 230],
313+
[ 50, 226],
314+
[146, 96],
315+
[151, 92],
316+
[154, 91],
317+
[315, 38],
318+
[320, 37]])], 'dt_scores': [0.99375725701319, 0.9871711582010613, 0.9937523531067023, 0.9911629231838204], 'rec_text': ['5263647368706', '吗繁物', '发票专天津君和缘商贸有限公司'], 'rec_score': [0.9933745265007019, 0.998288631439209, 0.9999362230300903, 0.9923253655433655], 'input_path': PosixPath('/Users/chenghong0temp/tmpa8eqnpus.png')}, 'src_file_name': 'https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/seal_text_det.png', 'page_id': 0}
297319
</code></pre></details>
298320

299321
<img src="https://raw.githubusercontent.com/cuicheng01/PaddleX_doc_images/main/images/pipelines/seal_recognition/03.png">

0 commit comments

Comments
 (0)