BarcodeResultItem Class
The BarcodeResultItem
class represents a barcode result item decoded by barcode reader engine. It is derived from CapturedResultItem
.
Definition
Module: dynamsoft_barcode_reader
Inheritance: CapturedResultItem -> BarcodeResultItem
class BarcodeResultItem(dynamsoft_core.CapturedResultItem)
Methods
Method | Description |
---|---|
get_format |
Gets the format of the decoded barcode result. |
get_format_string |
Gets the format string of the decoded barcode result. |
get_text |
Gets the text result of the decoded barcode. |
get_bytes |
Gets the text bytes of the decoded barcode result. |
get_location |
Gets the location of the decoded barcode in a quadrilateral. |
get_confidence |
Gets the confidence of the decoded barcode result. |
get_angle |
Gets the angle of the decoded barcode result. |
get_module_size |
Gets the module size of the decoded barcode result. |
get_details |
Gets the details of the decoded barcode result. |
is_dpm |
Gets whether the decoded barcode is a DPM code. |
is_mirrored |
Gets whether the decoded barcode is a mirrored barcode. |
get_format
Gets the format of the decoded barcode result.
def get_format(self) -> int:
Return Value
Returns the format of the decoded barcode result which is a value of the EnumBarcodeFormat
enumeration.
See Also
get_format_string
Gets the format string of the decoded barcode result.
def get_format_string(self) -> str:
Return Value
Returns the format string of the decoded barcode result.
get_text
Gets the text result of the decoded barcode.
def get_text(self) -> str:
Return Value
Returns the text result of the decoded barcode.
get_bytes
Gets the text bytes of the decoded barcode result.
def get_bytes(self) -> bytes:
Return Value
Returns the text bytes of the decoded barcode result.
get_location
Gets the location of the decoded barcode in a quadrilateral.
def get_location(self) -> Quadrilateral:
Return Value
Returns the location of the decoded barcode in a quadrilateral.
See Also
get_confidence
Gets the confidence of the decoded barcode result.
def get_confidence(self) -> int:
Return Value
Returns the confidence of the decoded barcode result.
get_angle
Gets the angle of the decoded barcode result.
def get_angle(self) -> int:
Return Value
Returns the angle of the decoded barcode result.
get_module_size
Gets the module size of the decoded barcode result.
def get_module_size(self) -> int:
Return Value
Returns the module size of the decoded barcode result.
get_details
Gets the details of the decoded barcode result.
def get_details(self) -> BarcodeDetails:
Return Value
Returns the details of the decoded barcode result.
See Also
is_dpm
Gets whether the decoded barcode is a DPM code.
def is_dpm(self) -> bool:
Return Value
Returns whether the decoded barcode is a DPM code.
is_mirrored
Gets whether the decoded barcode is mirrored.
def is_mirrored(self) -> bool:
Return Value
Returns whether the decoded barcode is mirrored.