You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Dave Meikle (JIRA)" <ji...@apache.org> on 2018/01/15 11:47:00 UTC
[jira] [Resolved] (TIKA-2509) TesseractOCRParser ignores configured
ImageMagickPath in processImage method
[ https://issues.apache.org/jira/browse/TIKA-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Meikle resolved TIKA-2509.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.18
Updated in [0b9aa9b5efde795f6b863c987abff5be07530a41|https://github.com/apache/tika/commit/0b9aa9b5efde795f6b863c987abff5be07530a41] on master and [2922511b5d1662654921a2e02599324aae4a84f4|https://github.com/apache/tika/commit/2922511b5d1662654921a2e02599324aae4a84f4] on branch_1x. Thank you!
> TesseractOCRParser ignores configured ImageMagickPath in processImage method
> ----------------------------------------------------------------------------
>
> Key: TIKA-2509
> URL: https://issues.apache.org/jira/browse/TIKA-2509
> Project: Tika
> Issue Type: Bug
> Components: ocr
> Affects Versions: 1.16, 1.17
> Reporter: Richard Jones
> Assignee: Dave Meikle
> Priority: Major
> Fix For: 1.18
>
>
> The TesseractOCRParser class uses the configured ImageMagickPath in method hasImageMagick to determine whether ImageMagick is present. Ref:
> String ImageMagick = config.getImageMagickPath() + getImageMagickProg();
> BUT then completely ignores the configured path in the processImage method meaning ImageMagick has to be present on system path (so what's the point of the ImageMagickPath config setting).
> The doOCR method on the other hand DOES use the configured tesseractPath.
> Incidentally I notice there is no equivalent PythonPath config setting even though Python is attempted to be found/used.
> Some consistency would be appreciated so that ImageMagick and Python don't have to be present on the system path. i.e. follow the model already in place for finding/using Tesseract.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)