[ 
https://issues.apache.org/jira/browse/TIKA-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tyler Palsulich updated TIKA-93:
--------------------------------

    Attachment: TesseractOCR_Tyler_v2.patch

Minor updates to the patch: Moved the OCRParser to tika-parsers (unless others 
think it should be in tika-core?), moved the files from test-documents/ocr to 
just test-documents.
In PDFParserTest, I added testOCR.pdf to the list of known metadataDiff, since 
the PDF version is different for the NonSeq and Seq PDFBox parsers.

In tika-server TikaMimeTypesTest, I changed testGetJSON() -- will someone look 
at this part? Something seems weird about it.

There still needs to be a check for if Tesseract is installed, and where. I 
looked a bit at the ExternalParser code -- it seems useful, but I'm not sure 
how to combine TesseractOCRParser and ExternalParser. Can someone else chime 
in? At this point, I don't think we need more than a call to 
ExternalParser.check(). But, I could be wrong.

In my opinion, we should just require that Tesseract be on the user's path. 
It's an uncommon program. So, if a user installs it, it will probably be *for* 
Tika OCR. So, it's not a big deal for them to put it on their path.

I put up a review: https://reviews.apache.org/r/22402/. I don't think this is 
ready yet, but I'd like to get it moving.

> 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)

Reply via email to