CapturedResult
The CapturedResult
interface describes the basic structure of a result object returned by Dynamsoft Capture Vision Router.
NOTE:
Depending on the functional module that generated the result item, the interface may vary:
- dynamsoft-barcode-reader: DecodedBarcodesResult
- dynamsoft-label-recognizer: RecognizedTextLinesResult
- dynamsoft-document-normalizer: DetectedQuadsResult or NormalizedImagesResult
- dynamsoft-code-parser: ParsedResult
interface CapturedResult {
readonly originalImageHashId: string;
readonly originalImageTag: ImageTag;
readonly items: Array<CapturedResultItem>;
readonly errorCode: number;
readonly errorString: string;
}
originalImageHashId
The hash ID of the original image.
originalImageTag
The tag associated with the original image.
items
An array of CapturedResultItem objects representing the captured result items.
errorCode
Error code associated with the capture result.
errorString
Error string providing details about the error.