DocumentBarcode Klasse

Ein Barcodeobjekt.

Vererbung
builtins.object
DocumentBarcode

Konstruktor

DocumentBarcode(**kwargs: Any)

Methoden

from_dict

Konvertiert ein Diktat in der Form eines DocumentBarcode in das Modell selbst.

to_dict

Gibt eine Diktatdarstellung von DocumentBarcode zurück.

from_dict

Konvertiert ein Diktat in der Form eines DocumentBarcode in das Modell selbst.

from_dict(data: Dict[str, Any]) -> DocumentBarcode

Parameter

Name Beschreibung
data
Erforderlich

Ein Wörterbuch in der Form documentBarcode.

Gibt zurück

Typ Beschreibung

DocumentBarcode

to_dict

Gibt eine Diktatdarstellung von DocumentBarcode zurück.

to_dict() -> Dict[str, Any]

Gibt zurück

Typ Beschreibung

Dict[str, Any]

Attribute

confidence

Zuverlässigkeit der korrekten Extraktion des Barcodes.

confidence: float

kind

Barcode-Art. Bekannte Werte sind "QRCode", "PDF417", "UPCA", "UPCE", "Code39", "Code128", "EAN8", "EAN13", "DataBar", "Code93", "Codabar", "DataBarExpanded", "ITF", "MicroQRCode", "Aztec", "DataMatrix", "MaxiCode".

kind: Literal['QRCode', 'PDF417', 'UPCA', 'UPCE', 'Code39', 'Code128', 'EAN8', 'EAN13', 'DataBar', 'Code93', 'Codabar', 'DataBarExpanded', 'ITF', 'MicroQRCode', 'Aztec', 'DataMatrix', 'MaxiCode']

polygon

Umgebendes Polygon des Barcodes.

polygon: Sequence[Point]

span

Position des Barcodes in der Lesereihenfolge verketteten Inhalt.

span: DocumentSpan

value

Barcodewert.

value: str