ScaledUpBarcodeImageUnit Class
The ScaledUpBarcodeImageUnit
class represents a unit that contains scaled up barcode image. It inherits from the IntermediateResultUnit
class.
Definition
Module: dynamsoft_barcode_readers
Inheritance: IntermediateResultUnit -> ScaledUpBarcodeImageUnit
class ScaledUpBarcodeImageUnit(IntermediateResultUnit)
Methods
Method | Description |
---|---|
get_image_data |
Gets the scaled up barcode image data. |
set_image_data |
Sets the scaled up image data. |
get_image_data
Gets the scaled up barcode image data.
def get_image_data(self) -> ImageData:
Return value
Returns the scaled up image of the barcode.
See Also
set_image_data
Sets the scaled up image data.
def set_image_data(self, image_data: ImageData) -> int:
Parameters
image_data
The scaled up image data.
Return value
Returns 0 if successful, otherwise returns a negative value.
See Also