You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2016/12/20 21:41:58 UTC

[jira] [Resolved] (TIKA-2189) Default value mismatch for "enableImageProcessing" in TesseractOCRConfig.properties and TesseractOCRConfig.java

     [ https://issues.apache.org/jira/browse/TIKA-2189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Allison resolved TIKA-2189.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.15

Thank you!

> 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
>             Fix For: 1.15
>
>
> 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)