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

installed chi_sim language for tesseract, Json result does not support though #8

Open
alagerald opened this issue Feb 19, 2016 · 0 comments

Comments

@alagerald
Copy link

Hi,

I installed tesseract-ocr with language of chi_sim. Run tesseract-web-service successfully. Though the results returned by tessearct-web-service is not readable like following:

{"result": "r\u4e00'\u4e00\u9082\u4e00\u9082^(\u2032lh\u6da4).\u4e00\u3001\u4e00\u6caa\u4ea1\u3001\u2032F\u535e\u800d\u6654\u6838.4/\u9b23\u4e00\u51fa\u5140\u4e61\u65ad(L\u3011.\u4e00\u5c97.u\u3001\u3001\u5f52\u5201\u3001\u7a33\u6b62\u8033\u5c71\u4e00[\u4e86\u72c2\u652b\u4e8c\u2032\u02c9\u3001\u5f52_2\uff0c\uff0c\u75c5\u53f3\u4e73\u817a\u5207\u9664\u672f\u540e\u4e00k\u3001\u4ea1'\u8f6c\uff0c\u51fa\u9662\u65f6\u597d\u51fa\u9662\u533b'\u02c9\u3007\u946b\u53e3\u5339\u64ce"l\u4e8c\u91cd_\u5de5\u3011\u9e92\u5587\u7ffc'\u723br_\u5f574\u4e8cvoIl\uff0c\u5f13\u201d\u6263\u8782\u4eec\u3001v.^\u02c9\u6069..\u3001.\u7ffc\u5984\u5bfb-\u3001v:gca\u9e92\u2026\u3001r\u54bf\u2026\u2016\u3001\u3001\u91b4\uff0c\u76c2\u841d\u66ffF\u722c\u02c9\u58f0_\u8231\u559cu:\u7f6e\u02c9\u2032\u3001\u9e92\u3001\u2016\u4e00\u3001__7.r\u300d_\u5c5e-\u3001-\u9e92\u02c9\u4e4c\u76cf\u9082n\u64b0\u5b66\u82b1\u2026\u3001k\u9082\u9e92\u9e92L\uff0ca\u3001__\u3001.\u4e8c\u2032\uff0c!:\u9082\u4e8c-v\u30014\u4e00_.v_"

When run tesseract command line, the result can be readable in unicode.
Is there a workaround for readable characters for returned Json?

Thanks,
Gerald

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

1 participant