ComplementedBarcodeImageUnit Class
The ComplementedBarcodeImageUnit
class represents a unit that contains complemented barcode image data. It inherits from the IntermediateResultUnit
class.
Definition
Module: dynamsoft_barcode_readers
Inheritance: IntermediateResultUnit -> ComplementedBarcodeImageUnit
class ComplementedBarcodeImageUnit(IntermediateResultUnit)
Methods
Method | Description |
---|---|
get_image_data |
Gets the complemented barcode image data. |
get_location |
Gets the location of the complemented barcode in a quadrilateral. |
set_location |
Sets the location of the complemented barcode in a quadrilateral. |
get_image_data
Gets the complemented barcode image data.
def get_image_data(self) -> ImageData:
Return value
Returns the complemented image of the barcode.
See Also
get_location
Gets the location of the complemented barcode in a quadrilateral.
def get_location(self) -> Quadrilateral:
Return value
Returns the location of the complemented barcode in a quadrilateral.
See Also
set_location
Sets the location of the complemented barcode in a quadrilateral.
def set_location(self, location: Quadrilateral, matrix_to_original_image: List[float] = IDENTITY_MATRIX) -> int:
Parameters
location
The location of the complemented barcode.
matrix_to_original_image
The matrix to original image.
Return value
Returns 0 if successful, otherwise returns a negative value.
See Also