__init__ constructor

On this page

init

Initializes a new PageBarcodeArea.

def __init__(self, value, code_type_name, page, rectangle):
    ...
Parameter Type Description
value str The value of the barcode.
code_type_name str The type name of the barcode.
page Page The page that contains the barcode area.
rectangle Rectangle The rectangular area that contains the barcode area.

init

Initializes a new PageBarcodeArea instance.

def __init__(self, value, code_type_name, confidence, angle, page, rectangle):
    ...
Parameter Type Description
value str The value of the barcode.
code_type_name str The type name of the barcode.
confidence int The level of confidence of the parsered barcode.
angle float The angle of the barcode.
page Page The page that contains the barcode area.
rectangle Rectangle The rectangular area that contains the barcode area.

See Also

On this page