Table of contents

This documentation is deprecated. It applies only to legacy version 2.x of Capture Vision and must not be used for new development.

Please refer to the latest documentation and Migration Guide, which supersede this content.

NormalizedImagesUnit Class

The NormalizedImagesUnit class represents an intermediate result unit whose type is normalized images.

Definition

Module: dynamsoft_document_normalizer

class NormalizedImagesUnit(IntermediateResultUnit)

Inheritance: IntermediateResultUnit -> NormalizedImagesUnit

Methods

Method Description
get_count Gets the count of NormalizedImageElement objects in current object.
get_normalized_image Gets a NormalizedImageElement object from current object.
operator[] Gets a NormalizedImageElement object from current object by specifying a index.
remove_all_normalized_images Removes all the normalized images in current object.
set_normalized_image Sets the normalized image.

get_count

Gets the count of NormalizedImageElement objects in current object.

def get_count(self) -> int:

Return Value

The count of NormalizedImageElement objects in current object.

get_normalized_image

Gets a NormalizedImageElement object from current object.

def get_normalized_image(self, index: int) -> NormalizedImageElement:

Parameters

index The index of the NormalizedImageElement object.

Return Value

Returns the NormalizedImageElement object.

See Also

NormalizedImageElement

remove_all_normalized_images

Removes all the normalized images in current object.

def remove_all_normalized_images(self) -> None:

set_normalized_image

Sets the normalized image.

def set_normalized_image(self, element: NormalizedImageElement, matrix_to_original_image: List[float] = IDENTITY_MATRIX) -> int:

Parameters

element The normalized image to be set.

matrix_to_original_image The matrix to original image.

Return value

Returns 0 if successful, otherwise returns a negative value.

See Also

NormalizedImageElement

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: