UNPKG

scandit-sdk

Version:

Scandit Barcode Scanner SDK for the Web

33 lines (32 loc) 840 B
import { Quadrilateral } from "./quadrilateral"; /** * A text result. */ export interface RecognizedText { /** * The location of the text. */ readonly location: Quadrilateral; /** * The value of the text. */ readonly value: string; } /** * @hidden */ export type RecognizedTextWASMResult = { readonly location: number[][]; readonly value: string; }; export declare namespace RecognizedText { /** * @hidden * * Create a [[RecognizedText]] object from a partial object returned by the external Scandit Data Capture library. * * @param result The text result coming from the external Scandit Data Capture library. * @returns The generated [[RecognizedText]] object. */ function createFromWASMResult(result: RecognizedTextWASMResult): RecognizedText; }