Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_41840029
PaddleOCR
提交
a24017ed
P
PaddleOCR
项目概览
weixin_41840029
/
PaddleOCR
与 Fork 源项目一致
Fork自
PaddlePaddle / PaddleOCR
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleOCR
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
a24017ed
编写于
5月 08, 2021
作者:
T
tink2123
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update multi-doc
上级
f4509e69
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
27 addition
and
18 deletion
+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
未找到文件。
doc/doc_ch/multi_languages.md
浏览文件 @
a24017ed
...
...
@@ -82,33 +82,37 @@ Paddleocr目前支持80个语种,可以通过修改--lang参数进行切换,
```
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"
>
<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>
结果是一个list,每个item包含了文本框,文字和识别置信度
```
text
[[[671.0, 60.0], [847.0, 63.0], [847.0, 104.0], [671.0, 102.0]], ('もちもち', 0.9993342)]
[[[394.0, 82.0], [536.0, 77.0], [538.0, 127.0], [396.0, 132.0]], ('天然の', 0.9919842)]
[[[880.0, 89.0], [1014.0, 93.0], [1013.0, 127.0], [879.0, 124.0]], ('とろっと', 0.9976762)]
[[[1067.0, 101.0], [1294.0, 101.0], [1294.0, 138.0], [1067.0, 138.0]], ('後味のよい', 0.9988712)]
[('PHO CAPITAL', 0.95723116), [[66.0, 50.0], [327.0, 44.0], [327.0, 76.0], [67.0, 82.0]]]
[('107 State Street', 0.96311164), [[72.0, 90.0], [451.0, 84.0], [452.0, 116.0], [73.0, 121.0]]]
[('Montpelier Vermont', 0.97389287), [[69.0, 132.0], [501.0, 126.0], [501.0, 158.0], [70.0, 164.0]]]
[('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
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,返回识别结果和识别置信度
```
text
(
'したがって', 0.99965394
)
(
0.99879867, 'LITTLE'
)
```
*
检测预测
...
...
doc/doc_en/multi_languages_en.md
浏览文件 @
a24017ed
...
...
@@ -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.
```
bash
paddleocr
--image_dir
doc/imgs/japan_2.jpg
--lang
=
japan
paddleocr
--image_dir
doc/imgs_en/254.jpg
--lang
=
en
```
![](
https://raw.githubusercontent.com/PaddlePaddle/PaddleOCR/release/2.0/doc/imgs/japan_2.jpg
)
<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
```
text
[[[671.0, 60.0], [847.0, 63.0], [847.0, 104.0], [671.0, 102.0]], ('もちもち', 0.9993342)]
[[[394.0, 82.0], [536.0, 77.0], [538.0, 127.0], [396.0, 132.0]], ('自然の', 0.9919842)]
[[[880.0, 89.0], [1014.0, 93.0], [1013.0, 127.0], [879.0, 124.0]], ('とろっと', 0.9976762)]
[[[1067.0, 101.0], [1294.0, 101.0], [1294.0, 138.0], [1067.0, 138.0]], ('后味のよい', 0.9988712)]
[('PHO CAPITAL', 0.95723116), [[66.0, 50.0], [327.0, 44.0], [327.0, 76.0], [67.0, 82.0]]]
[('107 State Street', 0.96311164), [[72.0, 90.0], [451.0, 84.0], [452.0, 116.0], [73.0, 121.0]]]
[('Montpelier Vermont', 0.97389287), [[69.0, 132.0], [501.0, 126.0], [501.0, 158.0], [70.0, 164.0]]]
[('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
```
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
```
![](
https://raw.githubusercontent.com/PaddlePaddle/PaddleOCR/release/2.
0/doc/imgs_words/japan/1.jp
g
)
![](
https://raw.githubusercontent.com/PaddlePaddle/PaddleOCR/release/2.
1/doc/imgs_words_en/word_308.pn
g
)
The result is a tuple, which returns the recognition result and recognition confidence
```
text
(
'したがって', 0.99965394
)
(
0.99879867, 'LITTLE'
)
```
*
Detection
...
...
doc/imgs_en/254.jpg
0 → 100644
浏览文件 @
a24017ed
63.6 KB
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录