请教一下版面分析+OCR服务部署
#12462
Replies: 3 comments
-
可以看一下FastAPI这个工具来部署成服务 |
Beta Was this translation helpful? Give feedback.
0 replies
-
目前还在尝试将PPStructure封装的预处理和后处理拆出来写成op,用Paddle Serving自定义pipeline,如果还是有问题的话,那只能放弃Paddle Serving,教程文档可读性太差了,完全无法实现自己的服务。 FastAPI是能直接复用上面的推理代码,放在服务的特定方法里是吧 |
Beta Was this translation helpful? Give feedback.
0 replies
-
这个可以参考我整理的RapidStructure |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
``请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem
目前尝试了Paddle Hub封装的方法,发现2.0版本后被弃用,只能基于Paddle Serving写服务。不过现有文档看不出如何将一个版面分析+OCR的多阶段pipeline写成服务的教程。样例也只有一个OCR的检测+识别样例:
如果我想要在前面添加版面分析模型,然后再筛选特定块进行OCR的化,如何自定义呢?从给出的样例里是仅需要定义各阶段的OP类吗?需要实现哪些方法呢?从文档和代码里均未发现模型推理的部分,仅有预处理和后处理。
我现有一段推理的代码,先版面分析,然后将OCR的行聚合到文本块中,该如何将其写成服务呢?
Beta Was this translation helpful? Give feedback.
All reactions