[
https://issues.apache.org/jira/browse/TIKA-2189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15715112#comment-15715112
]
Bipul Kumar commented on TIKA-2189:
-----------------------------------
Please review. I am raising a pull request for this.
> 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)