Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_41840029
PaddleOCR
提交
c21081fd
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看板
未验证
提交
c21081fd
编写于
10月 19, 2020
作者:
M
MissPenguin
提交者:
GitHub
10月 19, 2020
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #957 from wangjiawei04/ocr_1019
pdserving remove OCRReader
上级
2e0f9696
ba5d50f5
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
0 addition
and
10 deletion
+0
-10
deploy/pdserving/clas_local_server.py
deploy/pdserving/clas_local_server.py
+0
-2
deploy/pdserving/clas_rpc_server.py
deploy/pdserving/clas_rpc_server.py
+0
-2
deploy/pdserving/ocr_local_server.py
deploy/pdserving/ocr_local_server.py
+0
-1
deploy/pdserving/ocr_rpc_server.py
deploy/pdserving/ocr_rpc_server.py
+0
-1
deploy/pdserving/rec_local_server.py
deploy/pdserving/rec_local_server.py
+0
-2
deploy/pdserving/rec_rpc_server.py
deploy/pdserving/rec_rpc_server.py
+0
-2
未找到文件。
deploy/pdserving/clas_local_server.py
浏览文件 @
c21081fd
...
...
@@ -13,7 +13,6 @@
# limitations under the License.
from
paddle_serving_client
import
Client
from
paddle_serving_app.reader
import
OCRReader
import
cv2
import
sys
import
numpy
as
np
...
...
@@ -90,7 +89,6 @@ class TextClassifierHelper(TextClassifier):
class
OCRService
(
WebService
):
def
init_rec
(
self
):
self
.
ocr_reader
=
OCRReader
()
self
.
text_classifier
=
TextClassifierHelper
(
global_args
)
def
preprocess
(
self
,
feed
=
[],
fetch
=
[]):
...
...
deploy/pdserving/clas_rpc_server.py
浏览文件 @
c21081fd
...
...
@@ -13,7 +13,6 @@
# limitations under the License.
from
paddle_serving_client
import
Client
from
paddle_serving_app.reader
import
OCRReader
import
cv2
import
sys
import
numpy
as
np
...
...
@@ -95,7 +94,6 @@ class TextClassifierHelper(TextClassifier):
class
OCRService
(
WebService
):
def
init_rec
(
self
):
self
.
ocr_reader
=
OCRReader
()
self
.
text_classifier
=
TextClassifierHelper
(
global_args
)
def
preprocess
(
self
,
feed
=
[],
fetch
=
[]):
...
...
deploy/pdserving/ocr_local_server.py
浏览文件 @
c21081fd
...
...
@@ -13,7 +13,6 @@
# limitations under the License.
from
paddle_serving_client
import
Client
from
paddle_serving_app.reader
import
OCRReader
import
cv2
import
sys
import
numpy
as
np
...
...
deploy/pdserving/ocr_rpc_server.py
浏览文件 @
c21081fd
...
...
@@ -13,7 +13,6 @@
# limitations under the License.
from
paddle_serving_client
import
Client
from
paddle_serving_app.reader
import
OCRReader
import
cv2
import
sys
import
numpy
as
np
...
...
deploy/pdserving/rec_local_server.py
浏览文件 @
c21081fd
...
...
@@ -13,7 +13,6 @@
# limitations under the License.
from
paddle_serving_client
import
Client
from
paddle_serving_app.reader
import
OCRReader
import
cv2
import
sys
import
numpy
as
np
...
...
@@ -135,7 +134,6 @@ class TextRecognizerHelper(TextRecognizer):
class
OCRService
(
WebService
):
def
init_rec
(
self
):
self
.
ocr_reader
=
OCRReader
()
self
.
text_recognizer
=
TextRecognizerHelper
(
global_args
)
def
preprocess
(
self
,
feed
=
[],
fetch
=
[]):
...
...
deploy/pdserving/rec_rpc_server.py
浏览文件 @
c21081fd
...
...
@@ -13,7 +13,6 @@
# limitations under the License.
from
paddle_serving_client
import
Client
from
paddle_serving_app.reader
import
OCRReader
import
cv2
import
sys
import
numpy
as
np
...
...
@@ -140,7 +139,6 @@ class TextRecognizerHelper(TextRecognizer):
class
OCRService
(
WebService
):
def
init_rec
(
self
):
self
.
ocr_reader
=
OCRReader
()
self
.
text_recognizer
=
TextRecognizerHelper
(
global_args
)
def
preprocess
(
self
,
feed
=
[],
fetch
=
[]):
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录