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

通用OCR部署后,能推理pdf文件吗 #3566

Open
gaoxiangpost opened this issue Mar 10, 2025 · 3 comments
Open

通用OCR部署后,能推理pdf文件吗 #3566

gaoxiangpost opened this issue Mar 10, 2025 · 3 comments
Assignees

Comments

@gaoxiangpost
Copy link

描述问题

通用OCR部署后,能推理pdf文件吗?
我看请求参数从file变成image了

@zhangyubo0722
Copy link
Collaborator

@gaoxiangpost
Copy link
Author

可以的,参考这个文档哈https://github.com/PaddlePaddle/PaddleX/blob/release/3.0-rc/docs/pipeline_usage/tutorials/ocr_pipelines/OCR.md

Image
根据这个页面中导出的部署包,只能推理图片,请求中的json字段也被修改为了image。
请帮忙确认一下,这里的离线部署是否支持推理pdf,感谢。

@zhangyubo0722
Copy link
Collaborator

部署包中的是推理模型,只需要按照以上文档进行部署,就可以推理pdf了

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