Skip to content

Commit 7061d69

Browse files
Merge pull request #210 from dynamsoft-docs/preview
update to internal commit e1950e76
2 parents 451f62a + 1c30522 commit 7061d69

File tree

8 files changed

+100
-128
lines changed

8 files changed

+100
-128
lines changed

programming/android/api-reference/capture-vision-router/constructors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ noTitleIndex: true
1919
Create an instance of CaptureVisionRouter.
2020

2121
```java
22-
CaptureVisionRouter(Context context);
22+
CaptureVisionRouter();
2323
```

programming/android/api-reference/capture-vision-router/multiple-file-processing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ noTitleIndex: true
3737
Sets up an image source to provide images for continuous processing.
3838

3939
```java
40-
void setInput(ImageSourceAdapter adapter) throws CaptureVisionRouterException;
40+
void setInput(ImageSourceAdapter imageSourceAdapter) throws CaptureVisionRouterException;
4141
```
4242

4343
**Parameters**
4444

45-
`[in] adapter`: An object of [`ImageSourceAdapter`]({{ site.dcv_android_api }}core/basic-structures/image-source-adapter.html).
45+
`[in] imageSourceAdapter`: An object of [`ImageSourceAdapter`]({{ site.dcv_android_api }}core/basic-structures/image-source-adapter.html).
4646

4747
You can use the following officially implemented `ImageSourceAdapter` classes:
4848

programming/android/api-reference/capture-vision-router/settings.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ noTitleIndex: true
2828
Configures runtime settings using a provided JSON string, which contains settings for one or more `CaptureVisionTemplates`.
2929

3030
```java
31-
void initSettings(String content) throws CaptureVisionRouterException;
31+
void initSettings(@NonNull String content) throws CaptureVisionRouterException;
3232
```
3333

3434
**Parameters**
@@ -54,7 +54,7 @@ void initSettings(String content) throws CaptureVisionRouterException;
5454
Configures runtime settings using a provided JSON file, which contains settings for one or more `CaptureVisionTemplates`.
5555

5656
```java
57-
void initSettingsFromFile(String filePath) throws CaptureVisionRouterException;
57+
void initSettingsFromFile(@NonNull String filePath) throws CaptureVisionRouterException;
5858
```
5959

6060
**Parameters**
@@ -214,7 +214,7 @@ The Capture Vision settings in a JSON string.
214214
Generates a JSON file download containing the settings for the specified `CaptureVisionTemplate`.
215215

216216
```java
217-
void outputSettingsToFile(String templateName, String filePath, boolean includeDefaultValues) throws CaptureVisionRouterException;
217+
void outputSettingsToFile(String templateName, @NonNull String filePath, boolean includeDefaultValues) throws CaptureVisionRouterException;
218218
```
219219

220220
**Parameters**
@@ -263,12 +263,12 @@ static void clearDLModelBuffers();
263263

264264
- Introduced in Dynamsoft Barcode Reader SDK version 11.2.1000 and Dynamsoft Capture Vision version 3.2.1000.
265265

266-
## SetGlobalIntraOpNumThreads
266+
## setGlobalIntraOpNumThreads
267267

268268
Sets the global number of threads used internally for model execution.
269269

270270
```java
271-
static void setGlobalIntraOpNumThreads(int intraOpNumThreads);
271+
native static void setGlobalIntraOpNumThreads(int numThreads);
272272
```
273273

274274
**Parameters**

programming/android/api-reference/core/intermediate-results/region-object-element.md

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@ class RegionObjectElement
2727
| Method | Description |
2828
| ------ | ----------- |
2929
| [`getLocation`](#getlocation) | Gets the location of the region object, represented as a [`Quadrilateral`](../basic-structures/quadrilateral.md). |
30-
| [`setLocation`](#setlocation) | Sets the location of the region object, represented as a [`Quadrilateral`](../basic-structures/quadrilateral.md). |
3130
| [`getReferencedElement`](#getreferencedelement) | Gets the referenced element that supports the capturing of this element. |
32-
| [`getRegionObjectElementType`](#getregionobjectelementtype) | The type of the region object element, defined by the enumeration `EnumRegionObjectElementType`. |
33-
| [`getImageData`](#getimagedata) | Gets the image data of this region object element. |
31+
| [`getType`](#gettype) | The type of the region object element, defined by the enumeration `EnumRegionObjectElementType`. |
32+
| [`getImageData`](#getimagedata) | Gets the original image that produce this element. |
3433

3534
### getLocation
3635

@@ -44,18 +43,6 @@ Quadrilateral getLocation();
4443

4544
The location of the region object, represented as a [`Quadrilateral`](../basic-structures/quadrilateral.md).
4645

47-
### setLocation
48-
49-
Sets the location of the region object, represented as a [`Quadrilateral`](../basic-structures/quadrilateral.md).
50-
51-
```java
52-
void setLocation(Quadrilateral location);
53-
```
54-
55-
**Parameters**
56-
57-
`[in] location`: A `Quadrilateral` object that defines the location of the region object.
58-
5946
### getReferencedElement
6047

6148
Gets the referenced element that supports the capturing of this element.
@@ -68,12 +55,13 @@ RegionObjectElement getReferencedElement();
6855

6956
The referenced element that supports the capturing of this element.
7057

71-
### getRegionObjectElementType
58+
### getType
7259

7360
Gets the type of the region object element, defined by the enumeration [`EnumRegionObjectElementType`]({{ site.dcv_android_api }}core/enum/region-object-element-type.html).
7461

7562
```java
76-
EnumRegionObjectElementType getType();
63+
@EnumRegionObjectElementType
64+
int getType();
7765
```
7866

7967
**Return Value**
@@ -82,12 +70,12 @@ The type of the region object element.
8270

8371
### getImageData
8472

85-
Gets the image data of this region object element.
73+
Gets the original image that produce this element.
8674

8775
```java
8876
ImageData getImageData();
8977
```
9078

9179
**Return Value**
9280

93-
The image data of this region object element.
81+
An `ImageData` object represents the original image that produce this element.

programming/android/release-notes/android-3.md

Lines changed: 38 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -11,55 +11,58 @@ noTitleIndex: true
1111

1212
## 3.2.1000 (10/16/2025)
1313

14-
🎉 **Milestone Release** - This version introduces groundbreaking AI-powered enhancements that significantly improve accuracy and performance across all barcode and MRZ processing scenarios.
14+
### 🎉Milestone Release
15+
16+
Version 3.2.1000 introduces a series of AI-driven improvements designed to enhance barcode and MRZ detection accuracy, processing speed, and configuration flexibility.
17+
18+
This release focuses on practical performance gains for production environments across retail, logistics, manufacturing, and identity verification workflows.
1519

1620
### ✨ Key Highlights
1721

18-
#### 🔬 Barcode Reader - AI-Powered Revolution
22+
#### AI-Powered Barcode Detection and Decoding
1923

20-
**AI-Powered Detection & Decoding**
21-
- 🧠 **First-to-Market AI Localization**: Revolutionary `OneDLocalization` and `DataMatrixQRCodeLocalization` neural network models for superior detection of **blurred/low-resolution 1D codes** and **DataMatrix/QR codes with missing or damaged finder patterns**
22-
-**Specialized Decoders**: Cutting-edge `EAN13Decoder` and `Code128Decoder` models deliver unprecedented accuracy for **blurred and long-distance** scenarios
23-
- 🔍 **Enhanced Clarity Processing**: Completely redesigned `OneDDeblur` model with superior **motion blur and focus blur** recovery algorithms
24-
- 🎯 **Flexible Model Configuration**: Advanced [`ModelNameArray`]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/deblur-modes.html#mode-arguments) parameter enables on-demand model loading and precise selection for specific barcode scenarios.
24+
- New Localization Models – Introduces [`OneDLocalization`]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/localization-modes.html#modelnamearray) and [`DataMatrixQRCodeLocalization`]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/localization-modes.html#modelnamearray) neural network models for improved detection of **blurred / low-resolution 1D codes**, or **partially damaged DataMatrix/QR codes**.
25+
- Specialized Decoders – Adds [`EAN13Decoder`]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/deblur-modes.html#modelnamearray) and [`Code128Decoder`]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/deblur-modes.html#modelnamearray) models optimized for **long-distance** and **motion-blurred** decoding scenarios.
26+
- Redesigned Deblur Model – The [`OneDDeblur`]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/deblur-modes.html#modelnamearray) model now provides more effective recovery from **motion and focus blur**.
27+
- Configurable Model Selection – The new `ModelNameArray` parameter supports flexible model loading and fine-grained control for specific barcode types.
2528

26-
**Precision Control**
29+
#### Precision and Processing Control
2730

28-
- ⚙️ **Granular Deblur Methods**: Fine-tuned [`DM_DEEP_ANALYSIS`]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/deblur-modes.html#dm_deep_analysis) with specialized method control - `OneDGeneral`, `TwoDGeneral`, and `EAN13Enhanced` for targeted optimization.
29-
- 🎯 **Smart Barcode Counting**: New [`ExpectedBarcodesCount`]({{ site.dcvb_parameters_reference }}barcode-format-specification/expected-barcodes-count.html) parameter enables **format-specific quantity control** and **early termination optimization** for known-quantity scenarios.
30-
- 🔍 **Advanced Region Detection**: New [`RPM_GRAY_CONSISTENCY`]({{ site.dcvb_parameters_reference }}image-parameter/region-predetection-modes.html#rpm_gray_consistency) mode enables precise region detection based on **grayscale uniformity** and **local consistency** for document and label processing.
31+
- Enhanced Deblur Methods [`DM_DEEP_ANALYSIS`]({{ site.dcvb_parameters_reference }}barcode-reader-task-settings/deblur-modes.html#dm_deep_analysis) now includes sub-level control with `OneDGeneral`, `TwoDGeneral`, and `EAN13Enhanced` options.
32+
- Barcode Count Expectation – The new [`ExpectedBarcodesCount`]({{ site.dcvb_parameters_reference }}barcode-format-specification/expected-barcodes-count.html) parameter enables **format-specific quantity control** and **early termination** in fixed-count workflows.
33+
- Improved Region Detection – The new [`RPM_GRAY_CONSISTENCY`]({{ site.dcvb_parameters_reference }}image-parameter/region-predetection-modes.html#rpm_gray_consistency) mode provides more precise region extraction based on **grayscale uniformity** and **local consistency** for document and label processing.
3134

32-
**Enhanced Text Processing**
33-
- 🚀 **High-Speed and Precise MRZ Region Detection**: Revolutionary neural network `MRZLocalization` model delivers **42.7% faster processing** with enhanced region detection accuracy for passport and ID workflows
34-
- 🎛️ **Advanced Localization**: New [`LocalizationModes`]({{ site.dcvb_parameters_reference }}label-recognizer-task-settings/localization-modes.html) parameter provides unprecedented control over text line detection algorithms
35+
#### AI-Powered MRZ Detection
3536

36-
**Smart Document Processing**
37-
- 🎥 **Clarity-Based Frame Selection**: Intelligent frame selection automatically chooses the sharpest, highest-quality document images
38-
- 🔄 **Enhanced Cross-Frame Verification**: Advanced cross-frame verification algorithms significantly improve result reliability and accuracy
37+
- Neural MRZ Localization – The new [`MRZLocalization`]({{ site.dcvb_parameters_reference }}label-recognizer-task-settings/localization-modes.html#modelnamearray) model improves region detection accuracy and delivers up to **42.7%** faster processing for MRZ-based document workflows.
38+
- Configurable Localization Control – The new [`LocalizationModes`]({{ site.dcvb_parameters_reference }}label-recognizer-task-settings/localization-modes.html) parameter allows configuration for text line detection.
3939

40-
### 💡 What This Means for You
40+
#### Smart Document Capture
4141

42-
**For Challenging Barcode Scenarios**
43-
- **Blurred conditions**: 26.5% better read rates with 44% faster processing - ideal for handheld scanning and moving objects
44-
- **Extended distance capability**: Breakthrough support for reading distances beyond 75cm - revolutionizing warehouse automation and high-shelf scanning
45-
- **Damaged 2D codes**: Enhanced detection of DataMatrix and QR codes with missing or damaged finder patterns - perfect for manufacturing and logistics applications
42+
- Clarity-Based Frame Selection – Automatically selects the sharpest and highest-quality frame in live capture workflows.
43+
- Cross-Frame Verification – Updated verification algorithms enhance result reliability.
4644

47-
**For Document Processing Applications**
48-
- **Real-time video streams**: Optimized performance maintains smooth user experience in live capture scenarios
49-
- **Document quality assessment**: Intelligent clarity-based frame selection ensures highest quality document captures
45+
### Performance Highlights
5046

51-
**For Enterprise Integration**
52-
- **Retail environments**: Enhanced performance for blurred handheld scanning and long-distance shelf reading
53-
- **Logistics & shipping**: Improved recognition for package tracking with better blur and long-distance scanning capabilities
54-
- **Manufacturing QC**: Improved 2D code reading on printed/etched parts with wear damage
55-
- **Security applications**: Faster MRZ processing for high-throughput identity verification
47+
#### Barcode Workflows
5648

57-
**For Developers**
58-
- **Backward Compatible**: Seamless upgrade with existing code and easy migration path
59-
- **Flexible Configuration**: Extensive parameter customization for specific use cases and comprehensive model configuration options
60-
- **Enterprise Ready**: Battle-tested stability for production environments
49+
- Up to **26.5%** higher read rates under blur conditions with as much as **44%** faster processing.
50+
- Reliable decoding of DataMatrix and QR codes with missing or damaged finder patterns.
51+
- Extended operational range beyond 75 cm for long-distance barcode scanning.
6152

62-
### Changed
53+
#### Document Workflows
54+
55+
- Improved performance in live video capture environments.
56+
- Consistent document quality through clarity-based frame evaluation.
57+
- Faster MRZ processing for high-throughput identity verification
58+
59+
### Developer Notes
60+
61+
- Backward Compatibility – Fully compatible with existing integrations; no code-level changes required for upgrade.
62+
- Configuration Flexibility – Expanded parameter set allows comprehensive model configuration for scenario-specific tuning.
63+
- Production Stability – All new models validated in enterprise environments.
64+
65+
### New
6366

6467
- Added a new method, [`switchCapturingTemplate`]({{ site.dcv_android_api }}capture-vision-router/multiple-file-processing.html#switchcapturingtemplate), which allows switching templates dynamically during the image processing workflow.
6568
- Added a new method, [`clearDLModelBuffers`]({{ site.dcv_android_api }}capture-vision-router/settings.html#cleardlmodelbuffers), to release memory by clearing buffered deep learning models.

programming/ios/api-reference/core/intermediate-results/region-object-element.md

Lines changed: 7 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,9 @@ class RegionObjectElement : NSObject
3434
| Method | Description |
3535
|------- |-------------|
3636
| [`getLocation`](#getlocation) | Gets the location of the region object, represented as a quadrilateral. |
37-
| [`setLocation`](#setlocation) | Sets the location of the region object. |
3837
| [`getReferencedElement`](#getreferencedelement) | Gets the referenced element that supports the capturing of this element. |
39-
| [`getRegionObjectElementType`](#getregionobjectelementtype) | Gets the type of the region object element, defined by the enumeration [`DSRegionObjectElementType`]({{ site.dcv_ios_api }}core/enum/region-object-element-type.html?lang=objc,swift). |
40-
| [`getImageData`](#getimagedata) | Gets the image data of this region object element. |
38+
| [`getRegionObjectElementType`](#gettype) | Gets the type of the region object element, defined by the enumeration [`DSRegionObjectElementType`]({{ site.dcv_ios_api }}core/enum/region-object-element-type.html?lang=objc,swift). |
39+
| [`getImageData`](#getimagedata) | Gets the original image that produce this element. |
4140

4241
### getLocation
4342

@@ -60,27 +59,6 @@ func getLocation() -> DSQuadrilateral?
6059

6160
The location info of the element that defined in DSQuadrilateral.
6261

63-
### setLocation
64-
65-
Sets the location of the region object.
66-
67-
<div class="sample-code-prefix"></div>
68-
>- Objective-C
69-
>- Swift
70-
>
71-
>1.
72-
```objc
73-
-(void)setLocation:(DSQuadrilateral *)location;
74-
```
75-
2.
76-
```swift
77-
func setLocation(_ location: DSQuadrilateral?)
78-
```
79-
80-
**Parameters**
81-
82-
`location`: The location info of the element that defined in DSQuadrilateral.
83-
8462
### getReferencedElement
8563

8664
Get the referenced element that supports the capturing of this element.
@@ -102,7 +80,7 @@ func getReferencedElement() -> RegionObjectElement?
10280

10381
The referenced element that supports the capturing of this element.
10482

105-
### getRegionObjectElementType
83+
### getType
10684

10785
Gets the type of the region object element, defined by the enumeration [`DSRegionObjectElementType`]({{ site.dcv_ios_api }}core/enum/region-object-element-type.html?lang=objc,swift).
10886

@@ -112,11 +90,11 @@ Gets the type of the region object element, defined by the enumeration [`DSRegio
11290
>
11391
>1.
11492
```objc
115-
-(DSRegionObjectElementType)getRegionObjectElementType;
93+
- (DSRegionObjectElementType)getType;
11694
```
11795
2.
11896
```swift
119-
func getRegionObjectElementType() -> RegionObjectElementType
97+
func getType() -> DSRegionObjectElementType
12098
```
12199

122100
**Return Value**
@@ -125,7 +103,7 @@ The type of the region object element.
125103

126104
### getImageData
127105

128-
Gets the image data of this region object element.
106+
Gets the original image that produce this element.
129107

130108
<div class="sample-code-prefix"></div>
131109
>- Objective-C
@@ -142,4 +120,4 @@ func getImageData() -> DSImageData?
142120

143121
**Return Value**
144122

145-
A `DSImageData` object that represents the image data of this region object element.
123+
A `DSImageData` object represents the original image that produce this element.

0 commit comments

Comments
 (0)