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

Add TSVText method #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add TSVText method #18

wants to merge 2 commits into from

Conversation

mb0
Copy link

@mb0 mb0 commented Jan 21, 2021

that returns a tsv string the contains word confidence

there is currently no other api exposed in go.tesseract that exports the
word recognition confidence value.

I do not expect it to be merged with other 4 year old PRs open. I just drop it as pull request in case anyone else needs it too.

thanks for the project Geert. have fun!

mb0 added 2 commits January 21, 2021 18:07
…ence

There is currently no other api exposed in go.tesseract that exports the
word recognition confidence value.
…flag

Tesseract uses the source image dpi info if available and otherwise falls
back to 70dpi and prints a warning to stderr. Tesseract works find with
70dpi and only uses that info for recognising font size. However, when
manually preparing and cutting many text blocks using opencv, which does
not encode the dpi in images for recognition the warning messages sure are
annoying and eat performance.
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

Successfully merging this pull request may close these issues.

1 participant