tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stef Ald (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-93) OCR support
Date Tue, 07 Oct 2014 21:26:36 GMT

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

Stef Ald commented on TIKA-93:
------------------------------

Just installed tesseract, maven2, and tika on osx 10.9.  It looks like the TesseractOCR parser
was installed (3 tests were run, taking about 4 seconds).  When I run "java -jar tika-app/target/tika-app-1.7-SNAPSHOT.jar"
on a test PDF (scanned) the metadata is parsed, but there's no body text.  The pdf is only
parsed by the following:
<meta name="X-Parsed-By" content="org.apache.tika.parser.DefaultParser"/>
<meta name="X-Parsed-By" content="org.apache.tika.parser.pdf.PDFParser"/>

Do I need to do something in particular to invoke the tesseract ocr parser?

> 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: Petr_tika-config.xml, TIKA-93.patch, TIKA-93.patch, TIKA-93.patch,
TIKA-93.patch, TesseractOCRParser.patch, TesseractOCRParser.patch, TesseractOCR_Tyler.patch,
TesseractOCR_Tyler_v2.patch, TesseractOCR_Tyler_v3.patch, TesseractOCR_Tyler_v4.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.3.4#6332)

Mime
View raw message