Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
s920243400
PaddleOCR
提交
1eaae43a
P
PaddleOCR
项目概览
s920243400
/
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看板
提交
1eaae43a
编写于
3月 30, 2022
作者:
文幕地方
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix desc error
上级
b3fbfc31
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
8 addition
and
4 deletion
+8
-4
deploy/hubserving/ocr_cls/module.py
deploy/hubserving/ocr_cls/module.py
+3
-2
deploy/hubserving/ocr_det/module.py
deploy/hubserving/ocr_det/module.py
+2
-1
deploy/hubserving/ocr_rec/module.py
deploy/hubserving/ocr_rec/module.py
+1
-0
deploy/hubserving/ocr_system/module.py
deploy/hubserving/ocr_system/module.py
+2
-1
未找到文件。
deploy/hubserving/ocr_cls/module.py
浏览文件 @
1eaae43a
...
...
@@ -22,10 +22,10 @@ from deploy.hubserving.ocr_cls.params import read_params
@
moduleinfo
(
name
=
"ocr_cls"
,
version
=
"1.0.0"
,
summary
=
"ocr
recognition
service"
,
summary
=
"ocr
angle cls
service"
,
author
=
"paddle-dev"
,
author_email
=
"paddle-dev@baidu.com"
,
type
=
"cv/text_
recognition
"
)
type
=
"cv/text_
angle_cls
"
)
class
OCRCls
(
hub
.
Module
):
def
_initialize
(
self
,
use_gpu
=
False
,
enable_mkldnn
=
False
):
"""
...
...
@@ -128,6 +128,7 @@ class OCRCls(hub.Module):
if
__name__
==
'__main__'
:
ocr
=
OCRCls
()
ocr
.
_initialize
()
image_path
=
[
'./doc/imgs_words/ch/word_1.jpg'
,
'./doc/imgs_words/ch/word_2.jpg'
,
...
...
deploy/hubserving/ocr_det/module.py
浏览文件 @
1eaae43a
...
...
@@ -27,7 +27,7 @@ from deploy.hubserving.ocr_system.params import read_params
summary
=
"ocr detection service"
,
author
=
"paddle-dev"
,
author_email
=
"paddle-dev@baidu.com"
,
type
=
"cv/text_
recogni
tion"
)
type
=
"cv/text_
detec
tion"
)
class
OCRDet
(
hub
.
Module
):
def
_initialize
(
self
,
use_gpu
=
False
,
enable_mkldnn
=
False
):
"""
...
...
@@ -126,6 +126,7 @@ class OCRDet(hub.Module):
if
__name__
==
'__main__'
:
ocr
=
OCRDet
()
ocr
.
_initialize
()
image_path
=
[
'./doc/imgs/11.jpg'
,
'./doc/imgs/12.jpg'
,
...
...
deploy/hubserving/ocr_rec/module.py
浏览文件 @
1eaae43a
...
...
@@ -128,6 +128,7 @@ class OCRRec(hub.Module):
if
__name__
==
'__main__'
:
ocr
=
OCRRec
()
ocr
.
_initialize
()
image_path
=
[
'./doc/imgs_words/ch/word_1.jpg'
,
'./doc/imgs_words/ch/word_2.jpg'
,
...
...
deploy/hubserving/ocr_system/module.py
浏览文件 @
1eaae43a
...
...
@@ -28,7 +28,7 @@ from deploy.hubserving.ocr_system.params import read_params
summary
=
"ocr system service"
,
author
=
"paddle-dev"
,
author_email
=
"paddle-dev@baidu.com"
,
type
=
"cv/
text_recognition
"
)
type
=
"cv/
PP-OCR_system
"
)
class
OCRSystem
(
hub
.
Module
):
def
_initialize
(
self
,
use_gpu
=
False
,
enable_mkldnn
=
False
):
"""
...
...
@@ -134,6 +134,7 @@ class OCRSystem(hub.Module):
if
__name__
==
'__main__'
:
ocr
=
OCRSystem
()
ocr
.
_initialize
()
image_path
=
[
'./doc/imgs/11.jpg'
,
'./doc/imgs/12.jpg'
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录