Package io.scanbot.sdk.textpattern
Class SymbolBox
- java.lang.Object
-
- io.scanbot.sdk.textpattern.SymbolBox
-
public class SymbolBox extends java.lang.ObjectStructure containing recognized symbol text and bounds.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RectanglegetBoundingRect()Getter for boundingRect field.doublegetRecognitionConfidence()Getter for recognitionConfidence field.java.lang.StringgetSymbol()Getter for symbol field.
-
-
-
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
-
-