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

Optional speed optimisation #2690

Merged
merged 1 commit into from
Oct 4, 2019
Merged

Optional speed optimisation #2690

merged 1 commit into from
Oct 4, 2019

Conversation

vidiecan
Copy link

@vidiecan vidiecan commented Oct 4, 2019

Allows for disabling automatic inverting of lines when tesseract feels the inverting could be of help.

@zdenop
Copy link
Contributor

zdenop commented Oct 4, 2019

thanks!

@zdenop zdenop merged commit 84c410a into tesseract-ocr:master Oct 4, 2019
@@ -66,6 +66,8 @@ Tesseract::Tesseract()
BOOL_MEMBER(tessedit_dump_pageseg_images, false,
"Dump intermediate images made during page segmentation",
this->params()),
BOOL_MEMBER(tessedit_do_invert, true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would the shorter form tessedit_invert or a more descriptive name tessedit_auto_invert be better?

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.

None yet

3 participants