Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_41840029
PaddleOCR
提交
cfc192bd
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看板
未验证
提交
cfc192bd
编写于
10月 21, 2022
作者:
E
Evezerest
提交者:
GitHub
10月 21, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #8020 from WenmuZhou/whl_2.6
add recovery requirements to whl
上级
d062e730
1751893b
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
15 addition
and
18 deletion
+15
-18
paddleocr.py
paddleocr.py
+2
-2
ppstructure/docs/quickstart.md
ppstructure/docs/quickstart.md
+0
-6
ppstructure/docs/quickstart_en.md
ppstructure/docs/quickstart_en.md
+0
-6
setup.py
setup.py
+13
-4
未找到文件。
paddleocr.py
浏览文件 @
cfc192bd
...
...
@@ -47,7 +47,7 @@ __all__ = [
]
SUPPORT_DET_MODEL
=
[
'DB'
]
VERSION
=
'2.6.0.
1
'
VERSION
=
'2.6.0.
3
'
SUPPORT_REC_MODEL
=
[
'CRNN'
,
'SVTR_LCNet'
]
BASE_DIR
=
os
.
path
.
expanduser
(
"~/.paddleocr/"
)
...
...
ppstructure/docs/quickstart.md
浏览文件 @
cfc192bd
...
...
@@ -49,12 +49,6 @@ pip3 install "paddleocr>=2.6"
# 安装 图像方向分类依赖包paddleclas(如不需要图像方向分类功能,可跳过)
pip3
install
paddleclas>
=
2.4.3
# 安装 关键信息抽取 依赖包(如不需要KIE功能,可跳过)
pip3
install
-r
ppstructure/kie/requirements.txt
# 安装 版面恢复 依赖包(如不需要版面恢复功能,可跳过)
pip3
install
-r
ppstructure/recovery/requirements.txt
```
<a
name=
"2"
></a>
...
...
ppstructure/docs/quickstart_en.md
浏览文件 @
cfc192bd
...
...
@@ -51,12 +51,6 @@ pip3 install "paddleocr>=2.6"
# Install the image direction classification dependency package paddleclas (if you do not use the image direction classification, you can skip it)
pip3
install
paddleclas>
=
2.4.3
# Install the KIE dependency packages (if you do not use the KIE, you can skip it)
pip3
install
-r
kie/requirements.txt
# Install the layout recovery dependency packages (if you do not use the layout recovery, you can skip it)
pip3
install
-r
recovery/requirements.txt
```
<a
name=
"2"
></a>
...
...
setup.py
浏览文件 @
cfc192bd
...
...
@@ -16,9 +16,17 @@ from setuptools import setup
from
io
import
open
from
paddleocr
import
VERSION
with
open
(
'requirements.txt'
,
encoding
=
"utf-8-sig"
)
as
f
:
requirements
=
f
.
readlines
()
requirements
.
append
(
'tqdm'
)
def
load_requirements
(
file_list
=
None
):
if
file_list
is
None
:
file_list
=
[
'requirements.txt'
]
if
isinstance
(
file_list
,
str
):
file_list
=
[
file_list
]
requirements
=
[]
for
file
in
file_list
:
with
open
(
file
,
encoding
=
"utf-8-sig"
)
as
f
:
requirements
.
extend
(
f
.
readlines
())
return
requirements
def
readme
():
...
...
@@ -34,7 +42,8 @@ setup(
include_package_data
=
True
,
entry_points
=
{
"console_scripts"
:
[
"paddleocr= paddleocr.paddleocr:main"
]},
version
=
VERSION
,
install_requires
=
requirements
,
install_requires
=
load_requirements
(
[
'requirements.txt'
,
'ppstructure/recovery/requirements.txt'
]),
license
=
'Apache License 2.0'
,
description
=
'Awesome OCR toolkits based on PaddlePaddle (8.6M ultra-lightweight pre-trained model, support training and deployment among server, mobile, embeded and IoT devices'
,
long_description
=
readme
(),
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录