DeformationResistedBarcodeImageUnit Class
The DeformationResistedBarcodeImageUnit class represents a unit that contains deformation resisted barcode image data. It inherits from the IntermediateResultUnit class.
Definition
Module: dynamsoft_barcode_readers
Inheritance: IntermediateResultUnit -> DeformationResistedBarcodeImageUnit
class DeformationResistedBarcodeImageUnit(IntermediateResultUnit)
Methods
| Method | Description |
|---|---|
get_deformation_resisted_barcode |
Gets the deformation resisted barcode object. |
set_deformation_resisted_barcode |
Sets the deformation resisted barcode object. |
get_deformation_resisted_barcode
Gets the deformation resisted barcode object.
def get_deformation_resisted_barcode(self) -> DeformationResistedBarcode:
Return value
Returns an instance of DeformationResistedBarcode.
See Also
set_deformation_resisted_barcode
Sets the deformation resisted barcode object.
def set_deformation_resisted_barcode(self, barcode: DeformationResistedBarcode, matrix_to_original_image: List[float] = IDENTITY_MATRIX) -> int:
Parameters
barcode The deformation resisted barcode object.
matrix_to_original_image The matrix to original image.
Return value
Returns 0 if successful, otherwise returns a negative value.
See Also