Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fastdeploy 服务化部署paddleocr如何调整输入图片为base64编码 #2411

Open
KyleWang-Hunter opened this issue Mar 25, 2024 · 1 comment
Assignees

Comments

@KyleWang-Hunter
Copy link

我现在试着用fastdeploy服务化部署的方式部署paddleocrv3模型,但是输入的图片是一个list,这也太慢了吧。有没有可以将输入数据转换为base64的参考资料?

@heliqi
Copy link
Collaborator

heliqi commented Mar 26, 2024

你可以自己改造下preprocess部分的代码,把输入从矩阵改成base64即可。
目前没提供这种例子,但改造应该很容易。 你可以提pr到仓库,我帮你review看看是否改的ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants