Class InferenceConfig

java.lang.Object
com.itextpdf.pdfocr.onnx.conf.paddle.model.InferenceConfig

public class InferenceConfig extends Object
POJO for the root object in a config file.
  • Constructor Details

    • InferenceConfig

      public InferenceConfig (PreProcess preProcess, PostProcess postProcess)
      Creates a new POJO for the config file object.
      Parameters:
      preProcess - value under the PreProcess key
      postProcess - value under the PostProcess key
  • Method Details

    • getPreProcess

      public PreProcess getPreProcess()
      Returns the value under the PreProcess key.
      Returns:
      the value under the PreProcess key
    • getPostProcess

      public PostProcess getPostProcess()
      Returns the value under the PostProcess key.
      Returns:
      the value under the PostProcess key
    • equals

      public boolean equals (Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object