[jira] [Commented] (TIKA-3271) Change default image resize size in TesseractParser's pre-processing step

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (TIKA-3271) Change default image resize size in TesseractParser's pre-processing step

Steve Loughran (Jira)

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

Hudson commented on TIKA-3271:
------------------------------

SUCCESS: Integrated in Jenkins build Tika ยป tika-main-jdk8 #128 (See [https://ci-builds.apache.org/job/Tika/job/tika-main-jdk8/128/])
TIKA-3271 -- make default resize 200 - fix unit test (tallison: [https://github.com/apache/tika/commit/ad129ffd41f175ac2e92137b507f6b6f834458d4])
* (edit) tika-parsers/tika-parsers-classic/tika-parsers-classic-modules/tika-parser-ocr-module/src/test/java/org/apache/tika/parser/ocr/TesseractOCRConfigTest.java


> Change default image resize size in TesseractParser's pre-processing step
> -------------------------------------------------------------------------
>
>                 Key: TIKA-3271
>                 URL: https://issues.apache.org/jira/browse/TIKA-3271
>             Project: Tika
>          Issue Type: Improvement
>            Reporter: Tim Allison
>            Priority: Major
>             Fix For: 2.0.0
>
>
> If users have ImageMagick installed and they select image preprocessing, one of the things we are currently doing is telling ImageMagick to expand the image by 900%.  This _may_ make sense for small images..tbd...however, this can lead to massive files and dramatic increases in processing time.
> At some point, we should probably increase the image size based on the initial image size, e.g. dynamic resizing.
> Until then, for Tika 2.0.0, I propose that we change the default to 200%.  This value is completely heuristic and not based on much data aside from Peter Kronenberg's work: https://lists.apache.org/thread.html/rb1dece05760d10f1b165b03b97fef8b609dc40c4cd06bdb8cc36469d%40%3Cuser.tika.apache.org%3E



--
This message was sent by Atlassian Jira
(v8.3.4#803005)