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
| Name | Description |
|---|---|
| init |
Methods
| Name | Return Type | Static | Description |
|---|---|---|---|
| eq | bool | No | Returns a value indicating whether this instance is equal to a specified BarCodeResult value. |
| hash | int | No | Returns the hash code for the current instance. |
| str | str | No | Returns a human-readable string representation of this BarCodeResult. |
| code_bytes | List[str] | No | |
| code_text | Optional[str] | No | |
| code_type | DecodeType | No | |
| code_type_name | Optional[str] | No | |
| confidence | BarCodeConfidence | No | |
| extended | Optional[BarCodeExtendedParameters] | No | |
| reading_quality | float | No | |
| region | Optional[BarCodeRegionParameters] | No |
BarCodeResult Constructor
__init__(self, _java_class) -> def
| Parameter | Type | Description |
|---|---|---|
_java_class | `` |
BarCodeResult.eq
__eq__(self, BarCodeResult other) -> bool
Returns a value indicating whether this instance is equal to a specified BarCodeResult value.
| Parameter | Type | Description |
|---|---|---|
other | BarCodeResult |
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]
| Parameter | Type | Description |
|---|---|---|
encoding | Optional[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]