The CapturedResult interface describes the basic structure of a result object returned by Dynamsoft Capture Vision Router(CaptureVisionRouter).

Depending on the functional module that generated the result item, the interface may vary:

Properties

decodedBarcodesResult?: DecodedBarcodesResult

Get a DecodedBarcodesResult object that contains all the BarcodeResultItem in this CapturedResult.

detectedQuadsResult?: DetectedQuadsResult

Get a DetectedQuadsResult object that contains all the DetectedQuadResultItem in this CapturedResult.

errorCode: number

Error code associated with the capture result.

errorMessage: string

Error string providing details about the error.

An array of CapturedResultItem objects representing the captured result items.

normalizedImagesResult?: NormalizedImagesResult

Get a NormalizedImagesResult object that contains all the NormalizedImageResultItem in this CapturedResult.

originalImageHashId: string

The hash ID of the original image.

parsedResult?: ParsedResult

Get a ParsedResult object that contains all the ParsedResultItem in this CapturedResult.

recognizedTextLinesResult?: RecognizedTextLinesResult

Get a RecognizedTextLinesResult object that contains all the TextLineResultItem in this CapturedResult.

rotationTransformMatrix: number[]

the rotation transformation matrix of the original image relative to the rotated image.