Interface IRecognitionPostProcessor

All Known Implementing Classes:
CrnnPostProcessor, EndOfStringPostProcessor

public interface IRecognitionPostProcessor
Interface for post-processors, which convert raw output of an ML model and returns recognized characters as a string.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the size of the output character label vector.
    Process ML model output and return recognized characters as string.
  • Method Details

    • process

      String process (FloatBufferMdArray output)
      Process ML model output and return recognized characters as string.
      Parameters:
      output - raw output of the ML model
      Returns:
      recognized characters as string
    • labelDimension

      int labelDimension()
      Returns the size of the output character label vector. I.e. how many distinct tokens/characters the model recognizes.
      Returns:
      the size of the output character label vector