[
https://issues.apache.org/jira/browse/TIKA-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15514215#comment-15514215
]
ASF GitHub Bot commented on TIKA-2093:
--------------------------------------
GitHub user epugh opened a pull request:
https://github.com/apache/tika/pull/133
add hOCR output format to TesseractParser TIKA-2093
Small change to Tesseract OCR code to add the hOCR outputType. In the
future we can add `pdf` and `tsv` as output types as well.
First patch to Tika, please provide feedback!
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/epugh/tika feature/hocr_osr_support
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tika/pull/133.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #133
----
commit 10507d0521a0f06c50f32aa6150228ef4ac773d4
Author: Eric Pugh <[email protected]>
Date: 2016-09-22T17:14:55Z
add hOCR output format to TesseractParser
----
> Add hOCR output type to the TesseractOCRParser
> ----------------------------------------------
>
> Key: TIKA-2093
> URL: https://issues.apache.org/jira/browse/TIKA-2093
> Project: Tika
> Issue Type: Improvement
> Components: ocr
> Affects Versions: 1.13
> Reporter: Eric Pugh
> Labels: easyfix, features, newbie
> Fix For: 1.14
>
>
> I've tweaked the TesseractOCRParser and TesseractOCRConfig to add the "txt"
> or "hocr" parameters that allows you to get specific outputs. There are also
> "pdf" and in the next version of Tesseract a "tsv" outputs, but didn't add
> support for those.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)