From 3df64b919fb2c497203ef55ee85a93ef5038b135 Mon Sep 17 00:00:00 2001 From: Jiawei Wang Date: Wed, 19 May 2021 09:40:30 +0800 Subject: [PATCH] Update README.md --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/README.md b/README.md index f4b87bb7..e6816869 100644 --- a/README.md +++ b/README.md @@ -209,6 +209,33 @@ the response is ``` {"result":{"price":[[18.901151657104492]]}} ``` +

Pipeline Service

+Paddle Serving provides industry-leading multi-model tandem services, which strongly supports the actual operating business scenarios of major companies, please refer to [OCR word recognition](python/examples/pipeline/ocr). + +we get two models +``` +python -m paddle_serving_app.package --get_model ocr_rec +tar -xzvf ocr_rec.tar.gz +python -m paddle_serving_app.package --get_model ocr_det +tar -xzvf ocr_det.tar.gz +``` +then we start server side, launch two models as one standalone web service +``` +python web_service.py +``` +http request +``` +python pipeline_http_client.py +``` +grpc request +``` +python pipeline_rpc_client.py +``` +output +``` +{'err_no': 0, 'err_msg': '', 'key': ['res'], 'value': ["['土地整治与土壤修复研究中心', '华南农业大学1素图']"]} +``` +

Document

-- GitLab