提交 df37f7a1 编写于 作者: B barriery

update ocr demo

上级 8a7006bd
......@@ -131,6 +131,6 @@ response_op = ResponseOp(input_ops=[rec_op])
server = PipelineServer()
server.set_response_op(response_op)
server.start_local_rpc_service() # add this line
server.prepare_server('config.yml')
server.start_local_rpc_service() # add this line
server.run_server()
......@@ -130,6 +130,6 @@ response_op = ResponseOp(input_ops=[rec_op])
server = PipelineServer()
server.set_response_op(response_op)
server.start_local_rpc_service() # add this line
server.prepare_server('config.yml')
server.start_local_rpc_service() # add this line
server.run_server()
......@@ -18,9 +18,6 @@ import json
import cv2
import base64
import os
import time
import util
import multiprocessing
def cv2_to_base64(image):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册