ECISegment Class
The ECISegment class represents the Extended Channel Interpretation (ECI) information within a barcode. Each ECI segment specifies the character encoding used for a portion of the decoded bytes. The charset names follow the IANA character set registry (e.g. “UTF-8”, “ISO-8859-1”).
Remarks
Introduced in Dynamsoft Barcode Reader SDK version 11.4.1000 and Dynamsoft Capture Vision version 3.4.1000.
Definition
Module: dbr
class ECISegment()
Properties
| Property | Type | Description |
|---|---|---|
eci_value |
int | ECI assignment number as defined by ISO/IEC 15424. |
charset_encoding |
str | Charset encoding name defined by IANA. |
start_index |
int | Start index of this ECI segment in the decoded barcode bytes. |
length |
int | Length (in bytes) of this segment within the decoded barcode bytes. |
eci_value
ECI assignment number as defined by ISO/IEC 15424.
eci_value: int
charset_encoding
Charset encoding name defined by IANA (e.g. “UTF-8”, “ISO-8859-1”).
charset_encoding: str
start_index
Start index of this ECI segment in the decoded barcode bytes.
start_index: int
length
Length (in bytes) of this segment within the decoded barcode bytes.
length: int