Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
24b2fdf8
Commit
24b2fdf8
authored
May 08, 2021
by
tink2123
Browse files
update multi-doc
parent
3ed769d1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
18 deletions
+27
-18
doc/doc_ch/multi_languages.md
doc/doc_ch/multi_languages.md
+12
-8
doc/doc_en/multi_languages_en.md
doc/doc_en/multi_languages_en.md
+15
-10
doc/imgs_en/254.jpg
doc/imgs_en/254.jpg
+0
-0
No files found.
doc/doc_ch/multi_languages.md
View file @
24b2fdf8
...
@@ -82,33 +82,37 @@ Paddleocr目前支持80个语种,可以通过修改--lang参数进行切换,
...
@@ -82,33 +82,37 @@ Paddleocr目前支持80个语种,可以通过修改--lang参数进行切换,
```
bash
```
bash
paddleocr
--image_dir
doc/imgs
/japan_2
.jpg
--lang
=
japa
n
paddleocr
--image_dir
doc/imgs
_en/254
.jpg
--lang
=
e
n
```
```
<div
align=
"center"
>
<div
align=
"center"
>
<img
src=
"https://raw.githubusercontent.com/PaddlePaddle/PaddleOCR/release/2.1/doc/imgs/japan_2.jpg"
width=
"800"
>
<img
src=
"../imgs_en/254.jpg"
width=
"300"
height=
"600"
>
<img
src=
"../imgs_results/multi_lang/img_02.jpg"
width=
"600"
height=
"600"
>
</div>
</div>
结果是一个list,每个item包含了文本框,文字和识别置信度
结果是一个list,每个item包含了文本框,文字和识别置信度
```
text
```
text
[[[671.0, 60.0], [847.0, 63.0], [847.0, 104.0], [671.0, 102.0]], ('もちもち', 0.9993342)]
[('PHO CAPITAL', 0.95723116), [[66.0, 50.0], [327.0, 44.0], [327.0, 76.0], [67.0, 82.0]]]
[[[394.0, 82.0], [536.0, 77.0], [538.0, 127.0], [396.0, 132.0]], ('天然の', 0.9919842)]
[('107 State Street', 0.96311164), [[72.0, 90.0], [451.0, 84.0], [452.0, 116.0], [73.0, 121.0]]]
[[[880.0, 89.0], [1014.0, 93.0], [1013.0, 127.0], [879.0, 124.0]], ('とろっと', 0.9976762)]
[('Montpelier Vermont', 0.97389287), [[69.0, 132.0], [501.0, 126.0], [501.0, 158.0], [70.0, 164.0]]]
[[[1067.0, 101.0], [1294.0, 101.0], [1294.0, 138.0], [1067.0, 138.0]], ('後味のよい', 0.9988712)]
[('8022256183', 0.99810505), [[71.0, 175.0], [363.0, 170.0], [364.0, 202.0], [72.0, 207.0]]]
[('REG 07-24-201706:59 PM', 0.93537045), [[73.0, 299.0], [653.0, 281.0], [654.0, 318.0], [74.0, 336.0]]]
[('045555', 0.99346405), [[509.0, 331.0], [651.0, 325.0], [652.0, 356.0], [511.0, 362.0]]]
[('CT1', 0.9988654), [[535.0, 367.0], [654.0, 367.0], [654.0, 406.0], [535.0, 406.0]]]
......
......
```
```
*
识别预测
*
识别预测
```
bash
```
bash
paddleocr
--image_dir
doc/imgs_words
/japan/1.jpg
--det
false
--lang
=
japa
n
paddleocr
--image_dir
doc/imgs_words
_en/word_308.png
--det
false
--lang
=
e
n
```
```
结果是一个tuple,返回识别结果和识别置信度
结果是一个tuple,返回识别结果和识别置信度
```
text
```
text
(
'したがって', 0.99965394
)
(
0.99879867, 'LITTLE'
)
```
```
*
检测预测
*
检测预测
...
...
doc/doc_en/multi_languages_en.md
View file @
24b2fdf8
...
@@ -83,32 +83,37 @@ Paddleocr currently supports 80 languages, which can be switched by modifying th
...
@@ -83,32 +83,37 @@ Paddleocr currently supports 80 languages, which can be switched by modifying th
The specific supported [language] (#language_abbreviations) can be viewed in the table.
The specific supported [language] (#language_abbreviations) can be viewed in the table.
```
bash
```
bash
paddleocr
--image_dir
doc/imgs_en/254.jpg
--lang
=
en
paddleocr
--image_dir
doc/imgs/japan_2.jpg
--lang
=
japan
```
```

<div
align=
"center"
>
<img
src=
"../imgs_en/254.jpg"
width=
"300"
height=
"600"
>
<img
src=
"../imgs_results/multi_lang/img_02.jpg"
width=
"600"
height=
"600"
>
</div>
The result is a list, each item contains a text box, text and recognition confidence
The result is a list, each item contains a text box, text and recognition confidence
```
text
```
text
[[[671.0, 60.0], [847.0, 63.0], [847.0, 104.0], [671.0, 102.0]], ('もちもち', 0.9993342)]
[('PHO CAPITAL', 0.95723116), [[66.0, 50.0], [327.0, 44.0], [327.0, 76.0], [67.0, 82.0]]]
[[[394.0, 82.0], [536.0, 77.0], [538.0, 127.0], [396.0, 132.0]], ('自然の', 0.9919842)]
[('107 State Street', 0.96311164), [[72.0, 90.0], [451.0, 84.0], [452.0, 116.0], [73.0, 121.0]]]
[[[880.0, 89.0], [1014.0, 93.0], [1013.0, 127.0], [879.0, 124.0]], ('とろっと', 0.9976762)]
[('Montpelier Vermont', 0.97389287), [[69.0, 132.0], [501.0, 126.0], [501.0, 158.0], [70.0, 164.0]]]
[[[1067.0, 101.0], [1294.0, 101.0], [1294.0, 138.0], [1067.0, 138.0]], ('后味のよい', 0.9988712)]
[('8022256183', 0.99810505), [[71.0, 175.0], [363.0, 170.0], [364.0, 202.0], [72.0, 207.0]]]
[('REG 07-24-201706:59 PM', 0.93537045), [[73.0, 299.0], [653.0, 281.0], [654.0, 318.0], [74.0, 336.0]]]
[('045555', 0.99346405), [[509.0, 331.0], [651.0, 325.0], [652.0, 356.0], [511.0, 362.0]]]
[('CT1', 0.9988654), [[535.0, 367.0], [654.0, 367.0], [654.0, 406.0], [535.0, 406.0]]]
......
......
```
```
*
Recognition
*
Recognition
```
bash
```
bash
paddleocr
--image_dir
doc/imgs_words
/japan/1.jp
g
--det
false
--lang
=
japa
n
paddleocr
--image_dir
doc/imgs_words
_en/word_308.pn
g
--det
false
--lang
=
e
n
```
```


The result is a tuple, which returns the recognition result and recognition confidence
The result is a tuple, which returns the recognition result and recognition confidence
```
text
```
text
(
'したがって', 0.99965394
)
(
0.99879867, 'LITTLE'
)
```
```
*
Detection
*
Detection
...
...
doc/imgs_en/254.jpg
0 → 100644
View file @
24b2fdf8
63.6 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment