Table of contents

EnhancedImageUnit Class

The EnhancedImageUnit class represents an intermediate result unit whose type is enhanced images.

Definition

Module: dynamsoft_document_normalizer

class EnhancedImageUnit(IntermediateResultUnit):

Inheritance: IntermediateResultUnit -> EnhancedImageUnit

Methods

Method Description
get_enhanced_image Gets an EnhancedImageElement object from current object.
set_enhanced_image Sets the enhanced image.

get_enhanced_image

Gets an EnhancedImageElement object from current unit.

def get_enhanced_image(self) -> EnhancedImageElement:

Return Value

Returns the EnhancedImageElement object.

See Also

set_enhanced_image

Sets the enhanced image.

def set_enhanced_image(self, element: EnhancedImageElement) -> int: 

Parameters

element The enhanced image to be set.

Return value

Returns 0 if successful, otherwise returns a negative value.

See Also

Is this page helpful?

YesYes NoNo

In this article: