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调用wcocr.dll,识别结果返回:{"errcode":-1,"imgpath":"C","width":0,"height":0,"ocr_response":[]} #21

Open
lujihong opened this issue Nov 23, 2024 · 2 comments

Comments

@lujihong
Copy link

No description provided.

@swigger
Copy link
Owner

swigger commented Nov 28, 2024

你这个imgpath明显不对,检查传参编码,wechat和wechatocr为utf-16,imgfn为utf-8

@lujihong
Copy link
Author

嗯,imgfn我也写成utf-16了,改成utf-8可以了

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