CapturedResult
The CapturedResult class represents the result of a capture operation on an image. Internally, CaptureResult stores an array that contains multiple items, each of which may be a barcode, text line, detected quad, normalized image, raw image, parsed item, etc.
Definition
Module: dynamsoft_capture_vision_router
class CapturedResult
Methods
| Method | Description |
|---|---|
get_original_image_hash_id |
Gets the hash ID of the original image. |
get_original_image_tag |
Gets the tag of the original image. |
get_items |
Gets all items in the captured result. |
get_rotation_transform_matrix |
Gets the 3x3 rotation transformation matrix of the original image relative to the rotated image. |
get_error_code |
Gets the error code of the capture operation. |
get_error_string |
Gets the error message of the capture operation. |
get_decoded_barcodes_result |
Gets the decoded barcode items from the CapturedResult. |
get_recognized_text_lines_result |
Gets the recognized text line items from the CapturedResult. |
get_processed_document_result |
Gets the processed document items from the CapturedResult. |
get_parsed_result |
Gets the parsed result items from the CapturedResult. |
get_original_image_hash_id
Gets the hash ID of the original image.
def get_original_image_hash_id(self) -> str:
Return Value
Returns the hash ID of the original image as a string.
get_original_image_tag
Gets the tag of the original image.
def get_original_image_tag(self) -> ImageTag:
Return Value
Returns an ImageTag object containing the tag of the original image.
See Also
get_items
Gets all items in the captured result.
def get_items(self) -> List[CapturedResultItem]:
Return Value
Returns a CapturedResultItem list with all items in the captured result.
See Also
get_rotation_transform_matrix
Gets the 3x3 rotation transformation matrix of the original image relative to the rotated image.
def get_rotation_transform_matrix(self) -> List[float]:
Return Value
Returns a float list of length 9 which represents a 3x3 rotation matrix.
get_error_code
Gets the error code of the capture operation.
def get_error_code(self) -> int:
Return Value
Returns the error code of the capture operation.
See Also
get_error_string
Gets the error message of the capture operation.
def get_error_string(self) -> str:
Return Value
Returns the error message of the capture operation as a string.
get_decoded_barcodes_result
Gets the decoded barcode items from the CapturedResult.
def get_decoded_barcodes_result(self) -> "DecodedBarcodesResult":
Return Value
Returns a DecodedBarcodesResult object containing the decoded barcode items.
See Also
get_recognized_text_lines_result
Gets the recognized text line items from the CapturedResult.
def get_recognized_text_lines_result(self) -> "RecognizedTextLinesResult":
Return Value
Returns a RecognizedTextLinesResult object containing the recognized text line items.
See Also
get_processed_document_result
Gets the processed document items from the CapturedResult.
def get_processed_document_result(self) -> "ProcessedDocumentResult":
Return Value
Returns a ProcessedDocumentResult object containing the processed document items.
See Also
get_parsed_result
Gets the parsed result items from the CapturedResult.
def get_parsed_result(self) -> "ParsedResult":
Return Value
Returns a ParsedResult object containing the parsed result items.
See Also