You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: programming/cplusplus/api-reference/barcode-result-item.md
+48Lines changed: 48 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,8 @@ class CBarcodeResultItem : public CCapturedResultItem
38
38
| [`IsDPM`](#isdpm) | Gets whether the decoded barcode is a DPM code. |
39
39
| [`IsMirrored`](#ismirrored) | Gets whether the decoded barcode is a mirrored barcode. |
40
40
| [`SetLocation`](#setlocation) | Set the location of the barcode item. |
41
+
| [`GetECISegmentsCount`](#getecisegmentscount) | Gets the number of ECI segments in the barcode. |
42
+
| [`GetECISegment`](#getecisegment) | Gets the ECI segment at the specified index. |
41
43
| **Methods Inherited from [CCapturedResultItem]({{ site.dcvb_cpp_api }}core/basic-structures/captured-result-item.html):** | |
42
44
| [`GetType`]({{ site.dcvb_cpp_api }}core/basic-structures/captured-result-item.html#gettype) | Gets the type of the captured result item. |
43
45
| [`GetReferenceItem`]({{ site.dcvb_cpp_api }}core/basic-structures/captured-result-item.html#getreferenceitem) | Gets a pointer to the referenced item in the captured result. |
The text result is returned in UTF-8 encoding. The SDK will automatically attempt to detect and convert the barcode bytes to UTF-8 based on ECI information or common character encodings.
95
+
96
+
If the returned text contains unexpected characters, it may indicate that the automatic encoding detection did not match the actual encoding of the barcode data. In this case, you should use [`GetBytes`](#getbytes) to retrieve the raw byte data and convert it to the appropriate character encoding yourself.
97
+
90
98
### GetBytes
91
99
92
100
It is used to get the text bytes of the decoded barcode result.
@@ -231,3 +239,43 @@ Returns an error code. Zero indicates success.
Copy file name to clipboardExpand all lines: programming/cplusplus/api-reference/decoded-barcode-element.md
+41Lines changed: 41 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,8 @@ class CDecodedBarcodeElement : public CRegionObjectElement
41
41
| [`SetText`](#settext) | Sets the text of the decoded barcode. |
42
42
| [`SetBytes`](#setbytes)| Sets the raw bytes of the decoded barcode.|
43
43
| [`SetConfidence`](#setconfidence) | Sets the confidence score of the barcode recognition result. |
44
+
| [`GetECISegmentsCount`](#getecisegmentscount) | Gets the number of ECI segments in the barcode. |
45
+
| [`GetECISegment`](#getecisegment) | Gets the ECI segment at the specified index. |
44
46
| **Methods Inherited from [CRegionObjectElement]({{ site.dcvb_cpp_api }}core/intermediate-results/region-object-element.html):** | |
45
47
| [`GetLocation`]({{ site.dcvb_cpp_api }}core/intermediate-results/region-object-element.html#getlocation) | Gets the location of the region object element. |
46
48
| [`GetReferencedElement`]({{ site.dcvb_cpp_api }}core/intermediate-results/region-object-element.html#getreferencedelement) | Gets a pointer to a referenced region object element. |
title: CECISegment Class - Dynamsoft Barcode Reader C++ Edition API Reference
4
+
description: This page shows CECISegment class definition of Dynamsoft Barcode Reader SDK C++ Edition.
5
+
keywords: CECISegment, ECI, Extended Channel Interpretation, api reference
6
+
---
7
+
8
+
# CECISegment Class
9
+
10
+
The `CECISegment` 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").
11
+
12
+
**Remarks**
13
+
14
+
Introduced in Dynamsoft Barcode Reader SDK version 11.4.1000 and Dynamsoft Capture Vision version 3.4.1000.
15
+
16
+
## Definition
17
+
18
+
*Namespace:* dynamsoft::dbr
19
+
20
+
*Assembly:* DynamsoftBarcodeReader
21
+
22
+
```cpp
23
+
classCECISegment
24
+
```
25
+
26
+
## Attributes
27
+
28
+
| Attribute | Type | Description |
29
+
| --------- | ---- | ----------- |
30
+
| [`eciValue`](#ecivalue) | *int* | ECI assignment number as defined by ISO/IEC 15424. |
31
+
| [`charsetEncoding`](#charsetencoding) | *const char\** | Charset encoding name defined by IANA. |
32
+
| [`startIndex`](#startindex) | *int* | Start index of this ECI segment in the decoded barcode bytes. |
33
+
| [`length`](#length) | *int* | Length (in bytes) of this segment within the decoded barcode bytes. |
34
+
35
+
### eciValue
36
+
37
+
ECI assignment number as defined by ISO/IEC 15424.
38
+
39
+
```cpp
40
+
int eciValue
41
+
```
42
+
43
+
### charsetEncoding
44
+
45
+
Charset encoding name defined by IANA (e.g. "UTF-8", "ISO-8859-1").
46
+
47
+
```cpp
48
+
constchar* charsetEncoding
49
+
```
50
+
51
+
### startIndex
52
+
53
+
Start index of this ECI segment in the decoded barcode bytes.
54
+
55
+
```cpp
56
+
int startIndex
57
+
```
58
+
59
+
### length
60
+
61
+
Length (in bytes) of this segment within the decoded barcode bytes.
Copy file name to clipboardExpand all lines: programming/cplusplus/release-notes/cpp-11.md
+57Lines changed: 57 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,63 @@ needGenerateH3Content: false
8
8
9
9
# Release Notes for C++ Edition - 11.x
10
10
11
+
## 11.4.1000 (02/05/2026)
12
+
13
+
### Highlights
14
+
15
+
#### AI-Powered Barcode Detection and Decoding
16
+
17
+
-**PDF417 Localization Model** – Introduces the [`PDF417Localization`]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/localization-modes.html#modelnamearray) neural network model for improved detection of PDF417 barcodes, especially in challenging conditions.
18
+
19
+
-**Code39/ITF Decoding Model** – Adds the [`Code39ITFDecoder`]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/deblur-modes.html#modelnamearray) model for enhanced decoding of Code 39 and ITF barcodes under blur or low-resolution conditions.
20
+
21
+
-**Deblur Models for 2D Barcodes** – New [`DataMatrixQRCodeDeblur`]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/deblur-modes.html#modelnamearray) and [`PDF417Deblur`]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/deblur-modes.html#modelnamearray) models provide more effective recovery from motion and focus blur for DataMatrix, QR Code, and PDF417 barcodes.
22
+
23
+
#### ECI (Extended Channel Interpretation) Support
24
+
25
+
-**ECI Information Return** – Added support for retrieving Extended Channel Interpretation (ECI) data from barcodes. The new [`CECISegment`]({{ site.dbr_cpp_api }}eci-segment.html) class along with `GetECISegmentsCount()` and `GetECISegment()` methods in [`CBarcodeResultItem`]({{ site.dbr_cpp_api }}barcode-result-item.html#getecisegment) and [`CDecodedBarcodeElement`]({{ site.dbr_cpp_api }}decoded-barcode-element.html#getecisegment) classes enable access to character encoding information embedded in barcodes.
26
+
27
+
-**Automatic UTF-8 Conversion** – Barcode text is now automatically converted to UTF-8 based on ECI segments when available, improving compatibility with international character sets.
28
+
29
+
#### Performance Improvements
30
+
31
+
-**On-Demand Model Loading** – Implemented lazy loading for AI models, reducing initialization time by loading models only when first needed.
32
+
33
+
-**Smart Model Selection** – Models are now loaded based on configured barcode formats, minimizing memory usage by excluding unused models.
34
+
35
+
-**Improved Confidence Scoring** – Enhanced confidence score calculation for results from neural network models, providing more accurate quality indicators.
36
+
37
+
-**DPM Barcode Optimization** – Improved recognition rate for Direct Part Marking (DPM) barcodes commonly used in industrial and manufacturing environments.
38
+
39
+
### New
40
+
41
+
- Added [`BarcodeZoneWidthToHeightRatioRangeArray`]({{ site.dcvb_parameters_reference }}barcode-format-specification/barcode-zone-width-to-height-ratio-range-array.html) parameter for filtering barcodes based on aspect ratio constraints.
42
+
43
+
- Added [`SetResultCrossVerificationCriteria()`]({{ site.dcvb_cpp_api }}utility/multi-frame-result-cross-filter.html#setresultcrossverificationcriteria) and [`GetResultCrossVerificationCriteria()`]({{ site.dcvb_cpp_api }}utility/multi-frame-result-cross-filter.html#getresultcrossverificationcriteria) methods to `CMultiFrameResultCrossFilter` for configurable multi-frame result verification.
44
+
45
+
### Changed
46
+
47
+
-`CaptureMultiPages` now returns results sorted by page number.
48
+
49
+
- Barcode text encoding fallback changed from UTF-8 to ISO-8859-1 when no ECI information is present in the barcode.
50
+
51
+
- Improved license binding stability on MacOS devices.
52
+
53
+
- Updated default value of `compensation` parameter in [`CImageProcessor::ConvertToBinaryLocal()`]({{ site.dcvb_cpp_api }}utility/image-processor.html#converttobinarylocal) from 0 to 10.
54
+
55
+
-[`ConvertToBinaryGlobal()`]({{ site.dcvb_cpp_api }}utility/image-processor.html#converttobinaryglobal) and [`ConvertToBinaryLocal()`]({{ site.dcvb_cpp_api }}utility/image-processor.html#converttobinarylocal) of `CImageProcessor` class now support color and binary images as input in addition to grayscale images.
56
+
57
+
### Deprecated
58
+
59
+
-`DataMatrixModuleIsotropic` parameter – use [`BarcodeZoneWidthToHeightRatioRangeArray`]({{ site.dcvb_parameters_reference }}barcode-format-specification/barcode-zone-width-to-height-ratio-range-array.html) instead.
60
+
-`MinRatioOfBarcodeZoneWidthToHeight` parameter – use [`BarcodeZoneWidthToHeightRatioRangeArray`]({{ site.dcvb_parameters_reference }}barcode-format-specification/barcode-zone-width-to-height-ratio-range-array.html) instead.
61
+
62
+
### Fixed
63
+
64
+
- Fixed incorrect coordinate in barcode result when using neural network models with a specified region.
65
+
- Fixed crash and hang issues that could occur in certain scenarios.
66
+
- Fixed various minor bugs and improved overall stability.
67
+
11
68
## 11.2.5000 (12/16/2025)
12
69
13
70
This release includes security maintenance updates to ensure continued protection of the product.
0 commit comments