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

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

Bipul Kumar created TIKA-2189:
---------------------------------

             Summary: 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


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)