TextRemovedBinaryImageUnit
The TextRemovedBinaryImageUnit
class represents an intermediate result unit that contains a text-removed binary image.
Definition
Module: dynamsoft_core
class TextRemovedBinaryImageUnit(IntermediateResultUnit)
Methods
Method | Description |
---|---|
get_image_data |
Gets the text-removed binary image. |
set_image_data |
Sets the text-removed binary image. |
get_image_data
Gets the text-removed binary image.
def get_image_data(self) -> ImageData:
Return value
Returns an ImageData
object that contains the text-removed binary image.
See Also
set_image_data
Sets the text-removed binary image.
def set_image_data(self, img_data: ImageData) -> int:
Parameters
img_data
The image data to set.
Return value
Returns 0 if succeeds, nonzero otherwise.
See Also