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

If there is no explicit renderer(s), default to TessTextRenderer #173

Merged
merged 2 commits into from
Dec 13, 2015
Merged

If there is no explicit renderer(s), default to TessTextRenderer #173

merged 2 commits into from
Dec 13, 2015

Conversation

amitdo
Copy link
Collaborator

@amitdo amitdo commented Dec 11, 2015

Revert fd429c3, 43834da, 05de195.

See #49, #59.

The code in this commit solves the issue in a more elegant way, IMHO.

Now you can use:

  • tesseract eurotext.tif eurotext txt pdf
  • tesseract eurotext.tif eurotext txt hocr
  • tesseract eurotext.tif eurotext txt hocr pdf

NOTE:
With tesseract eurotext.tif eurotext
or tesseract eurotext.tif eurotext txt
the psm will be set to '3', but...
With tesseract eurotext.tif eurotext txt pdf
or tesseract eurotext.tif eurotext txt hocr
the psm will be set to '1'.

Revert fd429c3, 43834da, 05de195.

See #49, #59.

The code in this commit solves the issue in a more elegant way, IMHO.

Now you can use:
  * `tesseract eurotext.tif eurotext txt pdf`
  * `tesseract eurotext.tif eurotext txt hocr`
  * `tesseract eurotext.tif eurotext txt hocr pdf`

NOTE:
  With `tesseract eurotext.tif eurotext`
  or `tesseract eurotext.tif eurotext txt`
  the psm will be set to '3', but...
  With `tesseract eurotext.tif eurotext txt pdf`
  or `tesseract eurotext.tif eurotext txt hocr`
  the psm will be set to '1'.
@amitdo amitdo closed this Dec 11, 2015
@amitdo amitdo reopened this Dec 11, 2015
zdenop added a commit that referenced this pull request Dec 13, 2015
If there is no explicit renderer(s), default to TessTextRenderer
@zdenop zdenop merged commit e3f56cc into tesseract-ocr:master Dec 13, 2015
@amitdo amitdo deleted the renderers-default-to-text branch December 14, 2015 12:36
zvezdochiot pushed a commit to ImageProcessing-ElectronicPublications/tesseract that referenced this pull request Mar 28, 2021
…-text

If there is no explicit renderer(s), default to TessTextRenderer
zvezdochiot pushed a commit to ImageProcessing-ElectronicPublications/tesseract that referenced this pull request Mar 28, 2021
…-text

If there is no explicit renderer(s), default to TessTextRenderer
zvezdochiot pushed a commit to ImageProcessing-ElectronicPublications/tesseract that referenced this pull request Mar 28, 2021
…-text

If there is no explicit renderer(s), default to TessTextRenderer
zvezdochiot pushed a commit to ImageProcessing-ElectronicPublications/tesseract that referenced this pull request Mar 28, 2021
…-text

If there is no explicit renderer(s), default to TessTextRenderer
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.

2 participants