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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.14
    • 1.15
    • ocr, parser

    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

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

              Dates

                Created:
                Updated:
                Resolved: