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)

Reply via email to