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 errorCode: number;
readonly errorString: string;
readonly originalImageHashId: string;
readonly originalImageTag: Core.ImageTag;
readonly items: Array<Core.CapturedResultItem>;
readonly detectedQuadResultItems: Array<DDN.DetectedQuadResultItem>;
readonly normalizedImageResultItems: Array<DDN.NormalizedImageResultItem>;
readonly barcodeResultItems: Array<DBR.BarcodeResultItem>;
readonly textLineResultItems: Array<DLR.TextLineResultItem>;
readonly parsedResultItems: Array<DCP.ParsedResultItem>;
}
errorCode
Error code associated with the capture result.
errorString
Error string providing details about the error.
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.
detectedQuadResultItems
An array of DetectedQuadResultItem objects representing the detected quadrilateral result items.
normalizedImageResultItems
An array of NormalizedImageResultItem objects representing the normalized image result items.
barcodeResultItems
An array of BarcodeResultItem objects representing the decoded barcode result items.
textLineResultItems
An array of TextLineResultItem objects representing the recognized text line result items.
parsedResultItems
An array of ParsedResultItem objects representing the parsed result items.