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

Matthew Caruana Galizia commented on TIKA-2174:
-----------------------------------------------

That issue went away once I added 'jp2' and 'jpx' to the list of supported 
types in TesseractOCRParser via a new proxy parser that declares support for 
these types. It seems the embedded images are then handed off to Tesseract but 
nothing is OCRed, although that seems to be a separate issue arising from 
PDFBox.

> Too few formats in support declared by TesseractOCRParser
> ---------------------------------------------------------
>
>                 Key: TIKA-2174
>                 URL: https://issues.apache.org/jira/browse/TIKA-2174
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.14
>            Reporter: Matthew Caruana Galizia
>
> A complete install of Leptonica with Tesseract will add support for formats 
> that are not declared by TesseractOCRParser. These include JP2, JPX and PPM.
> Tesseract produces OCR output fine for JPX images as of this version:
> {noformat}
>   $ tesseract -v
>      tesseract 3.04.01
>        leptonica-1.73
>          libjpeg 8d : libpng 1.6.26 : libtiff 4.0.6 : zlib 1.2.5}}
> {noformat}
> However, these types are not declared by getSupportTypes so no output is 
> produced for PDFs which contained JPX images of scanned documents, for 
> example.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to