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

数字负数无法识别2-1只识别出2和1,怎么办 #241

Open
css796919 opened this issue Dec 9, 2024 · 1 comment
Open

数字负数无法识别2-1只识别出2和1,怎么办 #241

css796919 opened this issue Dec 9, 2024 · 1 comment

Comments

@css796919
Copy link

No description provided.

@zhangjz777
Copy link

你可以主动限定识别范围,把减号或者说是负号“-”,包含进识别范围,这样应该会得到,[2,-,1],然后再手动,把“-”号作为后边一个字符的负号处理。
ocr.set_ranges("0123456789+-x/=")

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