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

为什么我整的golang版本的识别精度不如C#版本的? #429

Open
tx7do opened this issue Feb 15, 2023 · 3 comments
Open

为什么我整的golang版本的识别精度不如C#版本的? #429

tx7do opened this issue Feb 15, 2023 · 3 comments

Comments

@tx7do
Copy link

tx7do commented Feb 15, 2023

系统: WSL Ubuntu
Onnx Runtime 1.14.0
OpenCV 4.2.0

首先,我提取出来cpp_project为:https://github.com/tx7do/cppocrlite;
然后,我通过cgo,封装成了golang版本:https://github.com/tx7do/go-chineseocr-lite。

然后,我运行demo图片,图1的歌词,它把“檐”识别成了“糖”。竖版的结果更是令人奔溃。

谁能解答我的疑惑么?

@benjaminwan
Copy link
Contributor

可以尝试调节unClipRatio参数,把框增大点

@tx7do
Copy link
Author

tx7do commented Feb 16, 2023

可以尝试调节unClipRatio参数,把框增大点

可是,我跟C#的一样都是设置的unClipRatio=2.0呢。

@tx7do
Copy link
Author

tx7do commented Feb 16, 2023

刚刚试了下,unClipRatio=2.5。2.jpg识别正常。

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