Resource Base
Table of contents

NormalizedImagesResult

The NormalizedImagesResult class stores a collection of captured result items whose type are normalized images.

Definition

Module: dynamsoft_document_normalizer

class NormalizedImagesResult(object)

Methods

Method Description
get_error_code Gets the error code of the operation.
get_error_string Gets the error message of the operation.
get_items Gets a specific normalized image from the result.
get_rotation_transform_matrix Gets the 3x3 rotation transformation matrix of the original image relative to the rotated image.
get_original_image_hash_id Gets the hash ID of the original image, from which you get the normalized image.
get_original_image_tag Gets the tag of the original image, from which you get the normalized image.

get_error_code

Gets the error code of the operation.

def get_error_code(self) -> int:

Return Value

Returns the error code of the operation. A non-zero value indicates an error occurred.

See Also

EnumErrorCode

get_error_string

Gets the error message of the operation.

def get_error_string(self) -> str:

Return Value

Returns the error message of the operation.

get_items

Gets all the normalized images.

def get_items(self) -> List[NormalizedImageResultItem]:

Return Value

Returns a NormalizedImageResultItem list.

See Also

NormalizedImageResultItem

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_original_image_hash_id

Gets the hash ID of the original image that was normalized.

def get_original_image_hash_id(self) -> str:

Return Value

Returns the hash ID of the original image that was normalized.

get_original_image_tag

Gets the tag of the original image that was normalized.

def get_original_image_tag(self) -> ImageTag:

Return Value

Returns a tag of the original image that was normalized.

See Also

ImageTag

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version(2.4.10)
    • Version 2.x
      • Version 2.2.0
      • Version 2.0.20
      • Version 2.0.10
      • Version 2.0.0
    • Version 1.x
      • Version 1.0.20
      • Version 1.0.10
      • Version 1.0.0
      • Version 1.0.20
      • Version 1.0.10
      • Version 1.0.0
    • Documentation Homepage
    Change +