Class TextPatternScannerUiResult
Constructors
constructor
- new TextPatternScannerUiResult(source?): TextPatternScannerUiResult
Parameters
Optional source: DeepPartial<TextPatternScannerUiResult>
Properties
Readonly confidence
confidence: number
Readonly rawText
rawText: string
Methods
serialize
- serialize(config?): {
confidence?: number;
rawText?: string;
symbolBoxes?: {
boundingRect?: Rectangle;
recognitionConfidence?: number;
symbol?: string;
serialize?(config?): { readonly symbol?: string | undefined; readonly boundingRect?: Rectangle | undefined; readonly recognitionConfidence?: number | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
}[];
wordBoxes?: {
boundingRect?: Rectangle;
recognitionConfidence?: number;
text?: string;
serialize?(config?): { readonly text?: string | undefined; readonly boundingRect?: Rectangle | undefined; readonly recognitionConfidence?: number | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
}[];
serialize?(config?): { readonly rawText?: string | undefined; readonly wordBoxes?: { readonly text?: string | undefined; readonly boundingRect?: Rectangle | undefined; readonly recognitionConfidence?: number | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }[] | undefined; readonly symbolBoxes?: ...;
} Returns {
confidence?: number;
rawText?: string;
symbolBoxes?: {
boundingRect?: Rectangle;
recognitionConfidence?: number;
symbol?: string;
serialize?(config?): { readonly symbol?: string | undefined; readonly boundingRect?: Rectangle | undefined; readonly recognitionConfidence?: number | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
}[];
wordBoxes?: {
boundingRect?: Rectangle;
recognitionConfidence?: number;
text?: string;
serialize?(config?): { readonly text?: string | undefined; readonly boundingRect?: Rectangle | undefined; readonly recognitionConfidence?: number | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
}[];
serialize?(config?): { readonly rawText?: string | undefined; readonly wordBoxes?: { readonly text?: string | undefined; readonly boundingRect?: Rectangle | undefined; readonly recognitionConfidence?: number | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }[] | undefined; readonly symbolBoxes?: ...;
}
Optional Readonly confidence?: number
Optional Readonly rawText?: string
Optional Readonly symbolBoxes?: {
boundingRect?: Rectangle;
recognitionConfidence?: number;
symbol?: string;
serialize?(config?): { readonly symbol?: string | undefined; readonly boundingRect?: Rectangle | undefined; readonly recognitionConfidence?: number | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
}[]
Optional Readonly wordBoxes?: {
boundingRect?: Rectangle;
recognitionConfidence?: number;
text?: string;
serialize?(config?): { readonly text?: string | undefined; readonly boundingRect?: Rectangle | undefined; readonly recognitionConfidence?: number | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
}[]
serialize?:function
- serialize(config?): { readonly rawText?: string | undefined; readonly wordBoxes?: { readonly text?: string | undefined; readonly boundingRect?: Rectangle | undefined; readonly recognitionConfidence?: number | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }[] | undefined; readonly symbolBoxes?: ...
Returns { readonly rawText?: string | undefined; readonly wordBoxes?: { readonly text?: string | undefined; readonly boundingRect?: Rectangle | undefined; readonly recognitionConfidence?: number | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }[] | undefined; readonly symbolBoxes?: ...
Configuration of the generic text scanner RTU UI result.