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

c++怎么调用 #149

Open
Bigb20 opened this issue Aug 28, 2024 · 4 comments
Open

c++怎么调用 #149

Bigb20 opened this issue Aug 28, 2024 · 4 comments

Comments

@Bigb20
Copy link

Bigb20 commented Aug 28, 2024

No description provided.

@hiroi-sora
Copy link
Owner

如果愿意折腾源码,那么直接使用PaddleOCR原项目的cpp代码,性能和可定制性更好,参考:

如果不愿折腾源码,那么直接用本项目发行包更简单。通过管道发送指令进行调用,或者通过TCP连接调用。

@Bigb20
Copy link
Author

Bigb20 commented Aug 29, 2024

通过管道发送指令进行调用,支持直接传入rgb图片吗?我看是传入图片路径

@hiroi-sora
Copy link
Owner

通过管道发送指令进行调用,支持直接传入rgb图片吗

支持的,通过base64字符串传入,文档里有说明。

@lipancs
Copy link

lipancs commented Mar 5, 2025

使用外部套接字或者管道时间损失太多了,识别只花了100多ms,握手再回传到客户端用了将近500ms。

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

3 participants