BarCodeResult

BarCodeResult class

Module: aspose_barcode.recognition.barcode_result

Stores recognized barcode data like SingleDecodeType type,. codetext, BarCodeRegionParameters region and other parameters This sample shows how to obtain BarCodeResult.

Constructors

NameDescription
init

Methods

NameReturn TypeStaticDescription
eqboolNoReturns a value indicating whether this instance is equal to a specified BarCodeResult value.
hashintNoReturns the hash code for the current instance.
strstrNoReturns a human-readable string representation of this BarCodeResult.
code_bytesList[str]No
code_textOptional[str]No
code_typeDecodeTypeNo
code_type_nameOptional[str]No
confidenceBarCodeConfidenceNo
extendedOptional[BarCodeExtendedParameters]No
reading_qualityfloatNo
regionOptional[BarCodeRegionParameters]No

BarCodeResult Constructor

__init__(self, _java_class) -> def
ParameterTypeDescription
_java_class``

BarCodeResult.eq

__eq__(self, BarCodeResult other) -> bool

Returns a value indicating whether this instance is equal to a specified BarCodeResult value.

ParameterTypeDescription
otherBarCodeResult

Return Type: bool — true if obj has the same value as this instance otherwise, false.

BarCodeResult.hash

__hash__(self) -> int

Returns the hash code for the current instance.

Return Type: int — A hash code for the current object.

BarCodeResult.str

__str__(self) -> str

Returns a human-readable string representation of this BarCodeResult.

Return Type: str — A string that represents this BarCodeResult.

BarCodeResult.code_bytes

code_bytes(self) -> List[str]

Return Type: List[str]

BarCodeResult.code_text

code_text(self, Optional[str] encoding) -> Optional[str]
ParameterTypeDescription
encodingOptional[str]

Return Type: Optional[str]

BarCodeResult.code_type

code_type(self) -> DecodeType

Return Type: DecodeType

BarCodeResult.code_type_name

code_type_name(self) -> Optional[str]

Return Type: Optional[str]

BarCodeResult.confidence

confidence(self) -> BarCodeConfidence

Return Type: BarCodeConfidence

BarCodeResult.extended

extended(self) -> Optional[BarCodeExtendedParameters]

Return Type: Optional[BarCodeExtendedParameters]

BarCodeResult.reading_quality

reading_quality(self) -> float

Return Type: float

BarCodeResult.region

region(self) -> Optional[BarCodeRegionParameters]

Return Type: Optional[BarCodeRegionParameters]