Class OcrConfig.StrategyAuto

java.lang.Object
org.apache.tika.parser.pdf.OcrConfig.StrategyAuto
All Implemented Interfaces:
Serializable
Enclosing class:
OcrConfig

public static class OcrConfig.StrategyAuto extends Object implements Serializable
Configuration for AUTO strategy behavior. Controls when OCR is triggered based on character analysis.
See Also:
  • Field Details

  • Constructor Details

    • StrategyAuto

      public StrategyAuto()
    • StrategyAuto

      public StrategyAuto(float unmappedUnicodeCharsPerPage, int totalCharsPerPage)
  • Method Details

    • getUnmappedUnicodeCharsPerPage

      public float getUnmappedUnicodeCharsPerPage()
    • setUnmappedUnicodeCharsPerPage

      public void setUnmappedUnicodeCharsPerPage(float unmappedUnicodeCharsPerPage)
    • getTotalCharsPerPage

      public int getTotalCharsPerPage()
    • setTotalCharsPerPage

      public void setTotalCharsPerPage(int totalCharsPerPage)
    • toString

      public String toString()
      Overrides:
      toString in class Object