Class SymbolBox

java.lang.Object
io.scanbot.sdk.textpattern.SymbolBox

public class SymbolBox extends Object
Structure containing recognized symbol text and bounds.
  • Constructor Details

    • SymbolBox

      public SymbolBox(String symbol, Rectangle boundingRect, double recognitionConfidence)
      Constructs SymbolBox with the given params.
      Parameters:
      symbol - Recognized symbol text.
      boundingRect - Bounding rectangle of the recognized symbol.
      recognitionConfidence - Confidence of the recognition.
  • Method Details

    • getSymbol

      public String getSymbol()
      Getter for symbol field. See constructor documentation for more information about the field.
      Returns:
      symbol
    • getBoundingRect

      public Rectangle getBoundingRect()
      Getter for boundingRect field. See constructor documentation for more information about the field.
      Returns:
      boundingRect
    • getRecognitionConfidence

      public double getRecognitionConfidence()
      Getter for recognitionConfidence field. See constructor documentation for more information about the field.
      Returns:
      recognitionConfidence