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

Luis Filipe Nassif commented on TIKA-93:
----------------------------------------

Hi Chris,

I noticed ExternalParser before. It would be very good to leverage it to start 
the OCR process, but Tesseract appends ".txt" to output filename and needs the 
environment variable TESSDATA_PREFIX to be setted up. Maybe updating 
ExternalParser to support an output filename suffix may be needed? And I tried 
to extend Grant's work, implementing OCRParser interface, so TesseractParser 
could also be used for images embedded into PDFs. Could that be done by 
leveraging ExternalParser?

> 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.6
>
>         Attachments: TIKA-93.patch, TIKA-93.patch, TIKA-93.patch, 
> TIKA-93.patch, TesseractOCRParser.patch, TesseractOCRParser.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)

Reply via email to