Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2189

Default value mismatch for "enableImageProcessing" in TesseractOCRConfig.properties and TesseractOCRConfig.java

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.14
    • Fix Version/s: 1.15
    • Component/s: ocr, parser
    • Labels:

      Description

      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; }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dasbipulkumar Bipul Kumar
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: