[
https://issues.apache.org/jira/browse/TIKA-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14102181#comment-14102181
]
Petr Vas commented on TIKA-93:
------------------------------
That is basically what I am doing. Here is an original (Tyler's) version of
code:
{code:java} TesseractOCRConfig config =
context.get(TesseractOCRConfig.class);
if(config == null)
return;{code}
We just return from parse method here if we can't get config. I have replaced
this with default config initialization that is already built up by the
contructor of the TesseractOCRConfig class:
{code:java} TesseractOCRConfig config =
context.get(TesseractOCRConfig.class);
if(config == null)
config = new TesseractOCRConfig();{code}
> OCR support
> -----------
>
> Key: TIKA-93
> URL: https://issues.apache.org/jira/browse/TIKA-93
> Project: Tika
> Issue Type: New Feature
> Components: parser
> Reporter: Jukka Zitting
> Assignee: Chris A. Mattmann
> Priority: Minor
> Fix For: 1.7
>
> Attachments: TIKA-93.patch, TIKA-93.patch, TIKA-93.patch,
> TIKA-93.patch, TesseractOCRParser.patch, TesseractOCRParser.patch,
> TesseractOCR_Tyler.patch, TesseractOCR_Tyler_v2.patch, testOCR.docx,
> testOCR.pdf, testOCR.pptx
>
>
> I don't know of any decent open source pure Java OCR libraries, but there are
> command line OCR tools like Tesseract
> (http://code.google.com/p/tesseract-ocr/) that could be invoked by Tika to
> extract text content (where available) from image files.
--
This message was sent by Atlassian JIRA
(v6.2#6252)