DeformationResistedBarcode Class
The DeformationResistedBarcode class represents a deformation resisted barcode.
Definition
Module: dynamsoft_barcode_readers
class DeformationResistedBarcode
Methods
| Method | Description |
|---|---|
__init__ |
Initializes a new instance of the DeformationResistedBarcode class. |
get_format |
Gets the format of the deformation resisted barcode. |
set_format |
Sets the format of the deformation resisted barcode. |
get_image_data |
Gets the deformation resisted barcode image. |
set_image_data |
Sets the deformation resisted barcode image. |
get_location |
Gets the location of the deformation resisted barcode. |
set_location |
Sets the location of the deformation resisted barcode. |
__init__
Initializes a new instance of the DeformationResistedBarcode class.
def __init__(self, *args):
Parameters
args <optional>: A variable-length argument list. Can be either empty or contain exactly three parameters in the following specified order:
img<ImageData>,location<Quadrilateral>,format<int>: Specifies the barcode image, location and format of the deformation resisted barcode.
See Also
get_format
Gets the format of the deformation resisted barcode.
def get_format(self) -> int:
Return value
Returns the format of the deformation resisted barcode.
See Also
set_format
Sets the format of the deformation resisted barcode.
def set_format(self, format: int) -> None:
Parameters
format The format of the deformation resisted barcode.
See Also
get_image_data
Gets the deformation resisted barcode image.
def get_image_data(self) -> ImageData:
Return value
Returns the deformation resisted barcode image.
See Also
set_image_data
Sets the deformation resisted barcode image.
def set_image_data(self, img: ImageData) -> None:
Parameters
img The deformation resisted barcode image.
See Also
get_location
Gets the location of the deformation resisted barcode.
def get_location(self) -> Quadrilateral:
Return value
Returns the location of the deformation resisted barcode.
See Also
set_location
Sets the location of the deformation resisted barcode.
def set_location(self, loc: Quadrilateral) -> None:
Parameters
loc The location of the deformation resisted barcode.
See Also