Class SymbolBox


  • public class SymbolBox
    extends java.lang.Object
    Structure containing recognized symbol text and bounds.
    • Constructor Summary

      Constructors 
      Constructor Description
      SymbolBox​(java.lang.String symbol, Rectangle boundingRect, double recognitionConfidence)
      Constructs SymbolBox with the given params.
    • Constructor Detail

      • SymbolBox

        public SymbolBox​(java.lang.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 Detail

      • getSymbol

        public java.lang.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