Class CtcLabelDecode

java.lang.Object
com.itextpdf.pdfocr.onnx.conf.paddle.model.CtcLabelDecode
All Implemented Interfaces:
PostProcess

public class CtcLabelDecode extends Object implements PostProcess
POJO for the CTCLabelDecode post-processor object under a PostProcess key in a config file.
  • Field Details

  • Constructor Details

    • CtcLabelDecode

      public CtcLabelDecode (String[] characterDict)
      Creates a new POJO for the config file object.
      Parameters:
      characterDict - values under the character_dict key
  • Method Details

    • getName

      public String getName()
      Returns the value under the name key.
      Specified by:
      getName in interface PostProcess
      Returns:
      the value under the name key
    • getCharacterDict

      public String[] getCharacterDict()
      Returns the value under the character_dict key.
      Returns:
      the value under the character_dict key
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object