You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2016/09/23 01:27:20 UTC

[jira] [Comment Edited] (TIKA-2093) Add hOCR output type to the TesseractOCRParser

    [ https://issues.apache.org/jira/browse/TIKA-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15515035#comment-15515035 ] 

Tim Allison edited comment on TIKA-2093 at 9/23/16 1:26 AM:
------------------------------------------------------------

[~epugh], I made a few modifications.  The biggest was parsing hocr and passing on the relevant elements to Tika's xhtml handler.  The rest was in great shape.  

Once I hear back that this will work for your use case with my mods, I'll resolve this ticket.

Thank you for the PR!


was (Author: tallison@mitre.org):
[~epugh], I made a few modifications.  The biggest was parsing hocr and passing on the relevant elements to Tika's xhtml handler.  The rest was in great shape.  

Once I hear back that this will work with my mods, I'll close this ticket.

Thank you for the PR!

> 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
>            Assignee: Tim Allison
>              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)