CapturedResult
Interface CapturedResult represents the result of a capture operation on an image. Internally, CapturedResult stores an array of CapturedResultItem, each of which may be a barcode, text line, detected quad, normalized image, original image, or parsed item depending on the functional product that is used.
Definition
Assembly: dynamsoft-capture-vision-react-native
interface CapturedResult extends CapturedResultBase
Properties
| Property | Type | Description |
|---|---|---|
decodedBarcodesResult |
DecodedBarcodesResult | All results of type barcode in the CapturedResult as a DecodedBarcodesResult object. |
items |
Array<CapturedResultItem>? | An array of CapturedResultItem objects. |
parsedResult |
ParsedResult | All results of type parsedResult in the CapturedResult as a ParsedResult object. |
processedDocumentResult |
ProcessedDocumentResult | All results of type detectedQuad, deskewedImage and enhancedImage in the CapturedResult as a ProcessedDocumentResult object. |
recognizedTextLinesResult |
RecognizedTextLinesResult | All results of type textLine in the CapturedResult as a RecognizedTextLinesResult object. |
The following properties are inherited from CapturedResultBase:
| Properties | Types | Description |
|---|---|---|
errorCode |
number | The error code of this result. |
errorMessage |
string | The error message of this result. |
originalImageHashId |
string | The hash id of the original image. |
rotationTransformMatrix |
*Array |
The rotation transformation matrix of the original image relative to the rotated image. |
decodedBarcodesResult
All results of type barcode in the CapturedResult as a DecodedBarcodesResult object.
decodedBarcodesResult?: DecodedBarcodesResult;
items
An array of CapturedResultItem objects.
items?: CapturedResultItem[];
parsedResult
All results of type parsedResult in the CapturedResult as a ParsedResult object.
parsedResult?: ParsedResult;
processedDocumentResult
All results of type detectedQuad, deskewedImage and enhancedImage in the CapturedResult as a ProcessedDocumentResult object.
processingDocumentResult?: ProcessedDocumentResult;
recognizedTextLinesResult
All results of type textLine in the CapturedResult as a RecognizedTextLinesResult object.
recognizedTextLinesResult?: RecognizedTextLinesResult;
errorCode
The error code of this result.
errorCode: number;
errorMessage
The error message of this result.
errorMessage: string;
originalImageHashId
The hash id of the original image.
originalImageHashId: string;
rotationTransformMatrix
The rotation transformation matrix of the original image relative to the rotated image.
rotationTransformMatrix: number[];