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++不? #2

Open
xinsuinizhuan opened this issue May 12, 2021 · 7 comments
Open

大神好,可以转C++不? #2

xinsuinizhuan opened this issue May 12, 2021 · 7 comments

Comments

@xinsuinizhuan
Copy link

No description provided.

@hpc203
Copy link
Owner

hpc203 commented May 19, 2021

可以的,需要安装onnxruntime库

@xinsuinizhuan
Copy link
Author

可以的,需要安装onnxruntime库

有的。有没有cpp代码或者博客供参考一下。谢谢

@xinsuinizhuan
Copy link
Author

需要安装onnxruntime库

大佬,有没有参考?我试过了通过chinese_lite里面的dbnet识别的代码,但是识别为空。可否放出cpp的参考?

@hpc203
Copy link
Owner

hpc203 commented May 28, 2021

需要安装onnxruntime库

大佬,有没有参考?我试过了通过chinese_lite里面的dbnet识别的代码,但是识别为空。可否放出cpp的参考?

在chinese_lite里面的dbnet的c++代码里,预处理包括resize,减均值除方差的归一化操作,而我发布的这套代码里,预处理包括转换通道至RGB,除以255,减均值除方差的归一化操作。可见这两套程序的预处理是有差别的,修改chinese_lite里面的dbnet的预处理代码,再运行试试

@hpc203
Copy link
Owner

hpc203 commented May 28, 2021

需要安装onnxruntime库

大佬,有没有参考?我试过了通过chinese_lite里面的dbnet识别的代码,但是识别为空。可否放出cpp的参考?

已添加C++版本的程序

@xinsuinizhuan
Copy link
Author

非常感谢。太感谢了!困扰了我好久,我都准备转成ncnn试试了。

@xinsuinizhuan
Copy link
Author

需要安装onnxruntime库

大佬,有没有参考?我试过了通过chinese_lite里面的dbnet识别的代码,但是识别为空。可否放出cpp的参考?

已添加C++版本的程序

图片
我刚试了试,有些框,框的小了。

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