Skip to content

Commit ece1587

Browse files
Merge pull request #406 from dynamsoft-docs/rn-11.4.1000
Rn 11.4.1000
2 parents 5c52c08 + deefe0e commit ece1587

7 files changed

Lines changed: 187 additions & 3 deletions

File tree

_includes/sidelist-programming/programming-react-native.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
<li lang="react-native"><a href="{{ site.dbr_react_native_api }}barcode-reader/barcode-result-item.html" class="otherLinkColour">BarcodeResultItem</a></li>
9595
<li lang="react-native"><a href="{{ site.dbr_react_native_api }}barcode-reader/datamatrix-details.html" class="otherLinkColour">DataMatrixDetails</a></li>
9696
<li lang="react-native"><a href="{{ site.dbr_react_native_api }}barcode-reader/decoded-barcodes-result.html" class="otherLinkColour">DecodedBarcodesResult</a></li>
97+
<li lang="react-native"><a href="{{ site.dbr_react_native_api }}barcode-reader/eci-segment.html" class="otherLinkColour">ECISegment</a></li>
9798
<li lang="react-native"><a href="{{ site.dbr_react_native_api }}barcode-reader/oned-details.html" class="otherLinkColour">OneDCodeDetails</a></li>
9899
<li lang="react-native"><a href="{{ site.dbr_react_native_api }}barcode-reader/pdf417-details.html" class="otherLinkColour">PDF417Details</a></li>
99100
<li lang="react-native"><a href="{{ site.dbr_react_native_api }}barcode-reader/qr-code-details.html" class="otherLinkColour">QRCodeDetails</a></li>
@@ -171,6 +172,7 @@
171172
<ul lang="react-native">
172173
<li lang="react-native"><a class="otherLinkColour">Classes</a>
173174
<ul lang="react-native">
175+
<li lang="react-native"><a href="{{ site.dcv_react_native_api }}utility/cross-verification-criteria.html" class="otherLinkColour">CrossVerificationCriteria</a></li>
174176
<li lang="react-native"><a href="{{ site.dcv_react_native_api }}utility/image-drawer.html" class="otherLinkColour">ImageDrawer</a></li>
175177
<li lang="react-native"><a href="{{ site.dcv_react_native_api }}utility/image-io.html" class="otherLinkColour">ImageIO</a></li>
176178
<li lang="react-native"><a href="{{ site.dcv_react_native_api }}utility/image-processor.html" class="otherLinkColour">ImageProcessor</a></li>
@@ -474,6 +476,7 @@
474476
<li><a href="{{ site.dcvb_parameters_reference }}barcode-format-specification/barcode-width-range-array.html" class="otherLinkColour">BarcodeWidthRangeArray</a></li>
475477
<li><a href="{{ site.dcvb_parameters_reference }}barcode-format-specification/barcode-zone-bar-count-range-array.html" class="otherLinkColour">BarcodeZoneBarCountRangeArray</a></li>
476478
<li><a href="{{ site.dcvb_parameters_reference }}barcode-format-specification/barcode-zone-min-distance-to-image-borders.html" class="otherLinkColour">BarcodeZoneMinDistanceToImageBorders</a></li>
479+
<li><a href="{{ site.dcvb_parameters_reference }}barcode-format-specification/barcode-zone-width-to-height-ratio-range-array.html" class="otherLinkColour">BarcodeZoneWidthToHeightRatioRangeArray</a></li>
477480
<li><a href="{{ site.dcvb_parameters_reference }}barcode-format-specification/code128-subset.html" class="otherLinkColour">Code128Subset</a></li>
478481
<li><a href="{{ site.dcvb_parameters_reference }}barcode-format-specification/data-matrix-module-isotropic.html" class="otherLinkColour">DataMatrixModuleIsotropic</a></li>
479482
<li><a href="{{ site.dcvb_parameters_reference }}barcode-format-specification/data-matrix-size-options.html" class="otherLinkColour">DataMatrixSizeOptions</a></li>

programming/android/api-reference/barcode-scanner/barcode-scanner-config.md

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ final class BarcodeScannerConfig
4141
| [`setExpectedBarcodesCount`](#setexpectedbarcodescount) | Sets the expected number of barcodes. The multiple barcodes scanning will be stopped when the `expectedBarcodesCount` is reached. |
4242
| [`setCameraToggleButtonVisible`](#setcameratogglebuttonvisible) | Sets whether to display the camera toggle button. |
4343
| [`setZoomFactor`](#setzoomfactor) | Sets the zoom factor. |
44+
| [`setResolution`](#setresolution) | Sets the resolution. |
4445
| [`getLicense`](#getlicense) | Returns the license key string. |
4546
| [`getScanningMode`](#getscanningmode) | Returns the scanning mode. |
4647
| [`getTemplateFile`](#gettemplatefile) | Returns the template with a file path or a JSON string. |
@@ -55,7 +56,9 @@ final class BarcodeScannerConfig
5556
| [`getMaxConsecutiveStableFramesToExit`](#getmaxconsecutivestableframestoexit) | Returns the maximum number of consecutive stable frames to exit. |
5657
| [`getExpectedBarcodesCount`](#getexpectedbarcodescount) | Returns the expected number of barcodes. |
5758
| [`isCameraToggleButtonVisible`](#iscameratogglebuttonvisible) | Returns whether the camera toggle button is visible. |
58-
| [`getZoomFactor`](#getzoomfactor) | Gets the zoom factor. |
59+
| [`getZoomFactor`](#getzoomfactor) | Returns the zoom factor. |
60+
| [`getResolution`](#getresolution) | Returns the resolution. |
61+
5962

6063
### setLicense
6164

@@ -237,6 +240,22 @@ void setZoomFactor(float zoomFactor);
237240

238241
`zoomFactor`: The zoom factor.
239242

243+
### setResolution
244+
245+
Sets the resolution.
246+
247+
```java
248+
void setResolution(int resolution);
249+
```
250+
251+
**Parameter(s)**
252+
253+
`resolution`: The resolution. Reference [`EnumResolution`]({{ site.dce_android}}enum/resolution.html).
254+
255+
**Remarks**
256+
257+
- Introduced in Dynamsoft Barcode Reader SDK version 11.4.1000 and Dynamsoft Capture Vision version 3.4.1000.
258+
240259
### getLicense
241260

242261
Returns the license key string.
@@ -416,3 +435,19 @@ float getZoomFactor();
416435
**Return Value**
417436

418437
`zoomFactor`: The zoom factor.
438+
439+
### getResolution
440+
441+
Returns the resolution.
442+
443+
```java
444+
int getResolution();
445+
```
446+
447+
**Return Value**
448+
449+
The resolution. Represented by [`EnumResolution`]({{ site.dce_android}}enum/resolution.html).
450+
451+
**Remarks**
452+
453+
- Introduced in Dynamsoft Barcode Reader SDK version 11.4.1000 and Dynamsoft Capture Vision version 3.4.1000.

programming/react-native/api-reference/barcode-reader/barcode-result-item.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ interface BarcodeResultItem extends CapturedResultItem
2727
| [`format`](#format) | *BigInt* | The format of the barcode. |
2828
| [`formatString`](#formatstring) | *string* | The format of the barcode as a text string. |
2929
| [`text`](#text) | *string* | The decoded text of the barcode. |
30-
| [`bytes`](#bytes) | *Uint8List* | The raw bytes of the barcode. |
30+
| [`bytes`](#bytes) | *string* | The raw bytes of the barcode. |
3131
| [`location`](#location) | *Quadrilateral* | The location of the barcode in the image/frame. |
3232
| [`confidence`](#confidence) | *int* | The confidence of the barcode result. |
3333
| [`angle`](#angle) | *int* | The angle at which the barcode is detected if it's not aligned in the image/frame. |
@@ -39,6 +39,7 @@ interface BarcodeResultItem extends CapturedResultItem
3939
| [`dataMatrixDetails`](#datamatrixdetails) | *[DataMatrixDetails](datamatrix-details.md)* | Represents extended info that is specific to DataMatrix codes, if the decoded barcode is a DataMatrix code. |
4040
| [`aztecDetails`](#aztecdetails) | *[AztecDetails](aztec-details.md)* | Represents extended info that is specific to Aztec codes, if the decoded barcode is an Aztec code. |
4141
| [`qrCodeDetails`](#qrcodedetails) | *[QRCodeDetails](qr-code-details.md)* | Represents extended info that is specific to QR Codes, if the decoded barcode is a QR Code. |
42+
| [`eciSegments`](#ecisegments) | The ECI segments of the decoded barcode. |
4243
4344
### format
4445
@@ -64,6 +65,14 @@ The decoded text of the barcode.
6465
text: string;
6566
```
6667
68+
### bytes
69+
70+
A base64 string representing the raw bytes of the barcode.
71+
72+
```tsx
73+
bytes?: string;
74+
```
75+
6776
### location
6877
6978
The location of the barcode in the image/frame as a [`Quadrilateral`]({{ site.dcv_react_native_api }}core/quadrilateral.html). The quadrilateral contains the four vertex points of the location, with the first vertex being the left-most vertex, then going in a clockwise direction for the remaining points.
@@ -150,4 +159,16 @@ Represents extended info (as [`PDF417Details`](pdf417-details.md)) that is speci
150159
151160
```tsx
152161
pdf417Details?: PDF417Details;
153-
```
162+
```
163+
164+
### eciSegments
165+
166+
The Extended Channel Interpretation (ECI) segments of the decoded barcode. Each ECI segment specifies the character encoding used for a portion of the decoded bytes. The value is `null` if no ECI information is present.
167+
168+
```tsx
169+
eciSegments?: ECISegment[];
170+
```
171+
172+
**Remarks**
173+
174+
- Introduced in Dynamsoft Barcode Reader SDK version 11.4.1000 and Dynamsoft Capture Vision version 3.4.1000.
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
---
2+
layout: default-layout
3+
title: ECISegment Class - Dynamsoft Barcode Reader Android Edition
4+
description: ECISegment class of Dynamsoft Barcode Reader Android represents the Extended Channel Interpretation (ECI) information within a barcode, specifying the character encoding used for a portion of the decoded bytes.
5+
keywords: ECISegment, ECI, character encoding, api reference
6+
needAutoGenerateSidebar: true
7+
needGenerateH3Content: true
8+
breadcrumbText: ECISegment
9+
---
10+
11+
# ECISegment Class
12+
13+
`ECISegment` is a class that 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").
14+
15+
**Remarks**
16+
17+
- Introduced in Dynamsoft Barcode Reader SDK version 11.4.1000 and Dynamsoft Capture Vision version 3.4.1000.
18+
19+
## Definition
20+
21+
*Assembly:* dynamsoft-capture-vision-react-native
22+
23+
```tsx
24+
export interface ECISegment
25+
```
26+
27+
## Attributes
28+
29+
| Attribute | Description |
30+
| --------- | ------------|
31+
| [`eciValue`](#ecivalue) | The ECI assignment number as defined by ISO/IEC 15424. |
32+
| [`charsetEncoding`](#charsetencoding) | The charset encoding name defined by IANA (e.g. "UTF-8", "ISO-8859-1"). |
33+
| [`startIndex`](#startindex) | The start index of this ECI segment in the decoded barcode bytes. |
34+
| [`length`](#length) | The length (in bytes) of this segment within the decoded barcode bytes. |
35+
36+
### eciValue
37+
38+
The ECI assignment number as defined by ISO/IEC 15424. This value identifies the character set encoding used in this segment.
39+
40+
```tsx
41+
eciValue: number;
42+
```
43+
44+
### charsetEncoding
45+
46+
The charset encoding name defined by IANA (e.g. "UTF-8", "ISO-8859-1"). This specifies the character encoding scheme used to interpret the bytes in this segment.
47+
48+
```tsx
49+
charsetEncoding: string;
50+
```
51+
52+
### startIndex
53+
54+
The start index of this ECI segment in the decoded barcode bytes. This indicates the position where this segment begins within the overall decoded byte sequence.
55+
56+
```tsx
57+
startIndex: number;
58+
```
59+
60+
### length
61+
62+
The length (in bytes) of this segment within the decoded barcode bytes. This specifies how many bytes in the decoded data belong to this ECI segment.
63+
64+
```tsx
65+
length: number;
66+
```

programming/react-native/api-reference/barcode-scanner/barcode-scanner-config.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ interface BarcodeScanConfig
4040
| [`maxConsecutiveStableFramesToExit`](#maxconsecutivestableframestoexit) | *int* | Specifies the maximum number of consecutive stable frames to process before finishing the scan process. |
4141
| [`expectedBarcodesCount`](#expectedbarcodescount) | *int* | Defines the expected number of barcodes to be scanned in a single frame or image. |
4242
| [`templateNodeRequire`](#templatenoderequire) | *NodeRequire* | Provides a Node.js 'require' function to load the template file when running in a Node environment. |
43+
| [`resolution`](#resolution) | *[EnumResolution]({{ site.dce_react_native_api }}enum/resolution.html)* | Provides a Node.js 'require' function to load the template file when running in a Node environment. |
4344

4445
### license
4546

@@ -183,3 +184,15 @@ Provides a Node.js 'require' function to load the template file when running in
183184
```tsx
184185
templateNodeRequire?: NodeRequire;
185186
```
187+
188+
### resolution
189+
190+
Specifies the resolution with [`EnumResolution`]({{ site.dce_react_native_api }}enum/resolution.html).
191+
192+
```tsx
193+
resolution?: EnumResolution,
194+
```
195+
196+
**Remarks**
197+
198+
- Introduced in Dynamsoft Barcode Reader SDK version 11.4.1000 and Dynamsoft Capture Vision version 3.4.1000.

programming/react-native/release-notes/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ breadcrumbText: Release Notes
99

1010
# Dynamsoft Barcode Reader React Native SDK - Release Notes
1111

12+
- [11.4.1010 (03/19/2026)](react-native-11.md#1141010-03192026)
1213
- [11.2.5002 (01/22/2026)](react-native-11.md#1125002-01222026)
1314
- [11.2.5000 (12/18/2025)](react-native-11.md#1125000-12182025)
1415
- [11.2.3000 (12/04/2025)](react-native-11.md#1123000-12042025)

programming/react-native/release-notes/react-native-11.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,51 @@ breadcrumbText: Release Notes
99

1010
# Dynamsoft Barcode Reader React Native SDK - Release Notes
1111

12+
## 11.4.1010 (03/19/2026)
13+
14+
### Highlights
15+
16+
#### AI-Powered Barcode Detection and Decoding
17+
18+
- **PDF417 Localization Model** – Introduces the `PDF417Localization` neural network model for improved detection of PDF417 barcodes, especially under challenging conditions.
19+
- **Code39/ITF Decoding Model** – Adds the `Code39ITFDecoder` model for enhanced decoding of Code 39 and ITF barcodes under blurred or low-resolution conditions.
20+
- **Deblur Models for 2D Barcodes** – Adds the `DataMatrixQRCodeDeblur` and `PDF417Deblur` models provide more effective recovery from motion and focus blur for DataMatrix, QR Code, and PDF417 barcodes.
21+
22+
#### ECI (Extended Channel Interpretation) Support
23+
24+
- **ECI Information Return** – Adds support for retrieving Extended Channel Interpretation (ECI) data from barcodes. The new [`ECISegment`]({{ site.dbr_react_native_api }}barcode-reader/eci-segment.html) class, along with [`eciSegments`]({{ site.dbr_react_native_api }}barcode-reader/barcode-result-item.html#ecisegments) property in [`BarcodeResultItem`]({{ site.dbr_react_native_api }}barcode-reader/barcode-result-item.html) class, enable access to character encoding information embedded in barcodes.
25+
- **ECI-Based Text Interpretation** – Adds support for interpreting ECI segments during barcode decoding, improving compatibility with international character sets.
26+
27+
#### Performance Improvements
28+
29+
- **On-Demand Model Loading** – Implements lazy loading for AI models, reducing initialization time by loading models only when first needed.
30+
- **Smart Model Selection** – Models are now loaded based on configured barcode formats, minimizing memory usage by excluding unused models.
31+
- **Improved Confidence Scoring** – Enhances confidence score calculation for results from neural network models, providing more accurate quality indicators.
32+
- **DPM Barcode Optimization** – Improves recognition rate for Direct Part Marking (DPM) barcodes commonly used in industrial and manufacturing environments.
33+
34+
### New
35+
36+
- 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.
37+
- Added [`setResultCrossVerificationCriteria`]({{ site.dcv_react_native_api }}utility/multi-frame-cross-filter.html#setresultcrossverificationcriteria) and [`getResultCrossVerificationCriteria`]({{ site.dcv_react_native_api }}utility/multi-frame-cross-filter.html#getresultcrossverificationcriteria) methods to [`MultiFrameResultCrossFilter`]({{ site.dcv_react_native_api }}utility/multi-frame-cross-filter.html) for configurable multi-frame result verification.
38+
- Added a new resolution [`RESOLUTION_MAX`]({{ site.dce_react_native_api }}enum/resolution.html) for capturing photos at maximum resolution (3024*4032).
39+
40+
### Changed
41+
42+
- Barcode text encoding fallback changed from UTF-8 to ISO-8859-1 when no ECI information is present in the barcode.
43+
- Updated default value of `compensation` parameter in [`ImageProcessor.convertToBinaryLocal`]({{ site.dcv_react_native_api }}utility/image-processor.html#converttobinarylocal) from 0 to 10.
44+
- [`convertToBinaryGlobal`]({{ site.dcv_react_native_api }}utility/image-processor.html#converttobinaryglobal) and [`convertToBinaryLocal`]({{ site.dcv_react_native_api }}utility/image-processor.html#converttobinarylocal) of `ImageProcessor` class now support color and binary images as input in addition to grayscale images.
45+
46+
### Removed
47+
48+
- Removed `DataMatrixModuleIsotropic` parameter – use [`BarcodeZoneWidthToHeightRatioRangeArray`]({{ site.dcvb_parameters_reference }}barcode-format-specification/barcode-zone-width-to-height-ratio-range-array.html) instead.
49+
- Removed `MinRatioOfBarcodeZoneWidthToHeight` parameter – use [`BarcodeZoneWidthToHeightRatioRangeArray`]({{ site.dcvb_parameters_reference }}barcode-format-specification/barcode-zone-width-to-height-ratio-range-array.html) instead.
50+
51+
### Fixed
52+
53+
- Fixed incorrect coordinate in barcode result when using neural network models with a specified region.
54+
- Fixed crash and hang issues that could occur in certain scenarios.
55+
- Fixed various minor bugs and improved overall stability.
56+
1257
## 11.2.5002 (01/22/2026)
1358

1459
### Fixed

0 commit comments

Comments
 (0)