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

ASF GitHub Bot commented on TIKA-2189:
--------------------------------------

GitHub user dasbipulkumar opened a pull request:

    https://github.com/apache/tika/pull/139

    [TIKA-2189] fix for Default value mismatch for "enableImageProcessing…

    …" in TesseractOCRConfig.properties and TesseractOCRConfig.java

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dasbipulkumar/tika bug_TIKA-2189

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tika/pull/139.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #139
    
----
commit 40401e51b8a135634f54c8c437dafc10378059be
Author: dasbipulkumar <[email protected]>
Date:   2016-12-02T13:19:08Z

    [TIKA-2189] fix for Default value mismatch for "enableImageProcessing" in 
TesseractOCRConfig.properties and TesseractOCRConfig.java

----


> Default value mismatch for "enableImageProcessing" in 
> TesseractOCRConfig.properties and TesseractOCRConfig.java 
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: TIKA-2189
>                 URL: https://issues.apache.org/jira/browse/TIKA-2189
>             Project: Tika
>          Issue Type: Bug
>          Components: ocr, parser
>    Affects Versions: 1.14
>            Reporter: Bipul Kumar
>            Priority: Minor
>              Labels: ocr
>
> Default value of "enableImageProcessing" should be "0" (image processing not 
> required by default) in TesseractOCRConfig.properties as same as 
> TesseractOCRConfig.java.
> That value "1" in TesseractOCRConfig.properties is overriding the default at 
> runtime. As per Javadoc, it is optional.
> /** 
>        * Set the value to true if processing is to be enabled.
>        * Default value is false.
>        */
>       public void setEnableImageProcessing(int enableImageProcessing) {
>               this.enableImageProcessing = enableImageProcessing;
>       }



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

Reply via email to