Skip to content

Commit f5fe99d

Browse files
Merge pull request #208 from dynamsoft-docs/preview
update to internal commit d1deee9f
2 parents 5f0c370 + e35ec8e commit f5fe99d

File tree

20 files changed

+329
-625
lines changed

20 files changed

+329
-625
lines changed

_includes/sidelist-programming/programming-android.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,7 @@
535535
<li><a href="{{ site.dcv_parameters_reference }}label-recognizer-task-settings/stage-localize-text-lines.html" class="otherLinkColour">LocalizeTextLinesStage Object</a>
536536
<ul>
537537
<li><a href="{{ site.dcv_parameters_reference }}label-recognizer-task-settings/stage-localize-text-lines.html#stage" class="otherLinkColour">Stage</a></li>
538+
<li><a href="{{ site.dcvb_parameters_reference }}label-recognizer-task-settings/localization-modes.html" class="otherLinkColour">LocalizationModes</a></li>
538539
</ul>
539540
</li>
540541
</ul>
@@ -792,7 +793,9 @@
792793
<li><a href="{{ site.dcv_parameters_reference }}barcode-format-specification/enable-addon-code.html" class="otherLinkColour">EnableAddOnCode</a></li>
793794
<li><a href="{{ site.dcv_parameters_reference }}barcode-format-specification/enable-data-matrix-ecc000-140.html" class="otherLinkColour">EnableDataMatrixECC000-140</a></li>
794795
<li><a href="{{ site.dcv_parameters_reference }}barcode-format-specification/enable-qr-code-model-1.html" class="otherLinkColour">EnableQRCodeModel1</a></li>
796+
<li><a href="{{ site.dcv_parameters_reference }}barcode-format-specification/expected-barcodes-count.html" class="otherLinkColour">ExpectedBarcodesCount</a></li>
795797
<li><a href="{{ site.dcv_parameters_reference }}barcode-format-specification/find-uneven-module-barcode.html" class="otherLinkColour">FindUnevenModuleBarcode</a></li>
798+
<li><a href="{{ site.dcv_parameters_reference }}barcode-format-specification/has-vertical-quietzone.html" class="otherLinkColour">HasVerticalQuietZone</a></li>
796799
<li><a href="{{ site.dcv_parameters_reference }}barcode-format-specification/head-module-ratio.html" class="otherLinkColour">HeadModuleRatio</a></li>
797800
<li><a href="{{ site.dcv_parameters_reference }}barcode-format-specification/min-quiet-zone-width.html" class="otherLinkColour">MinQuietZoneWidth</a></li>
798801
<li><a href="{{ site.dcv_parameters_reference }}barcode-format-specification/min-ratio-of-barcode-zone-width-to-height.html" class="otherLinkColour">MinRatioOfBarcodeZoneWidthToHeight</a></li>
@@ -849,7 +852,8 @@
849852
</li>
850853
<li><a href="{{ site.parameter }}file/auxiliary/global-parameter.html" class="otherLinkColour">Global Parameter</a>
851854
<ul>
852-
<li><a href="{{ site.dcv_parameters_reference }}global-parameter/max-total-image-dimension.html" class="otherLinkColour">MaxTotalImageDimension</a></li>
855+
<li><a href="{{ site.parameters }}file/auxiliary/global-parameter.html#maxtotalimagedimension" class="otherLinkColour">MaxTotalImageDimension</a></li>
856+
<li><a href="{{ site.parameters }}file/auxiliary/global-parameter.html#intraopnumthreads" class="otherLinkColour">IntraOpNumThreads</a></li>
853857
</ul>
854858
</li>
855859
<li><a href="{{ site.parameter }}file/semantic-processing/index.html" class="otherLinkColour">SemanticProcessing Object</a>

_includes/sidelist-programming/programming-ios.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,7 @@
539539
<li><a href="{{ site.dcv_parameters_reference }}label-recognizer-task-settings/stage-localize-text-lines.html" class="otherLinkColour">LocalizeTextLinesStage Object</a>
540540
<ul>
541541
<li><a href="{{ site.dcv_parameters_reference }}label-recognizer-task-settings/stage-localize-text-lines.html#stage" class="otherLinkColour">Stage</a></li>
542+
<li><a href="{{ site.dcvb_parameters_reference }}label-recognizer-task-settings/localization-modes.html" class="otherLinkColour">LocalizationModes</a></li>
542543
</ul>
543544
</li>
544545
</ul>
@@ -796,7 +797,9 @@
796797
<li><a href="{{ site.dcv_parameters_reference }}barcode-format-specification/enable-addon-code.html" class="otherLinkColour">EnableAddOnCode</a></li>
797798
<li><a href="{{ site.dcv_parameters_reference }}barcode-format-specification/enable-data-matrix-ecc000-140.html" class="otherLinkColour">EnableDataMatrixECC000-140</a></li>
798799
<li><a href="{{ site.dcv_parameters_reference }}barcode-format-specification/enable-qr-code-model-1.html" class="otherLinkColour">EnableQRCodeModel1</a></li>
800+
<li><a href="{{ site.dcv_parameters_reference }}barcode-format-specification/expected-barcodes-count.html" class="otherLinkColour">ExpectedBarcodesCount</a></li>
799801
<li><a href="{{ site.dcv_parameters_reference }}barcode-format-specification/find-uneven-module-barcode.html" class="otherLinkColour">FindUnevenModuleBarcode</a></li>
802+
<li><a href="{{ site.dcv_parameters_reference }}barcode-format-specification/has-vertical-quietzone.html" class="otherLinkColour">HasVerticalQuietZone</a></li>
800803
<li><a href="{{ site.dcv_parameters_reference }}barcode-format-specification/head-module-ratio.html" class="otherLinkColour">HeadModuleRatio</a></li>
801804
<li><a href="{{ site.dcv_parameters_reference }}barcode-format-specification/min-quiet-zone-width.html" class="otherLinkColour">MinQuietZoneWidth</a></li>
802805
<li><a href="{{ site.dcv_parameters_reference }}barcode-format-specification/min-ratio-of-barcode-zone-width-to-height.html" class="otherLinkColour">MinRatioOfBarcodeZoneWidthToHeight</a></li>
@@ -853,7 +856,8 @@
853856
</li>
854857
<li><a href="{{ site.parameter }}file/auxiliary/global-parameter.html" class="otherLinkColour">Global Parameter</a>
855858
<ul>
856-
<li><a href="{{ site.dcv_parameters_reference }}global-parameter/max-total-image-dimension.html" class="otherLinkColour">MaxTotalImageDimension</a></li>
859+
<li><a href="{{ site.parameters }}file/auxiliary/global-parameter.html#maxtotalimagedimension" class="otherLinkColour">MaxTotalImageDimension</a></li>
860+
<li><a href="{{ site.parameters }}file/auxiliary/global-parameter.html#intraopnumthreads" class="otherLinkColour">IntraOpNumThreads</a></li>
857861
</ul>
858862
</li>
859863
<li><a href="{{ site.parameter }}file/semantic-processing/index.html" class="otherLinkColour">SemanticProcessing Object</a>

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ class CaptureVisionRouter
5555
| [`removeCaptureStateListener`](multiple-file-processing.md#removecapturestatelistener) | Removes a `CaptureStateListener`. |
5656
| [`addResultFilter`](multiple-file-processing.md#addresultfilter) | Adds a `CaptureResultFilter` object to filter non-essential results. |
5757
| [`removeResultFilter`](multiple-file-processing.md#removeresultfilter) | Removes the specified `CaptureResultFilter` object. |
58+
| [`switchCapturingTemplate`](multiple-file-processing.md#switchcapturingtemplate) | Switch the image processing settings with the CaptureVisionTemplate name during the image processing workflow. |
5859

5960
## Settings
6061

@@ -67,6 +68,8 @@ class CaptureVisionRouter
6768
| [`resetSettings`](settings.md#resetsettings) | Resets all templates to factory settings. |
6869
| [`outputSettings`](settings.md#outputsettings) | Output the targeting Capture Vision settings to a JSON string. |
6970
| [`outputSettingsToFile`](settings.md#outputsettingstofile) | Output the targeting Capture Vision settings to a JSON file. |
71+
| [`clearDLModelBuffers`](settings.md#cleardlmodelbuffers) | Clear the buffered deep learning models to release the memory. |
72+
| [`setGlobalIntraOpNumThreads`](settings.md#setglobalintraopnumthreads) | Sets the global number of threads used internally for model execution. |
7073

7174
## Intermediate Result
7275

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

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ noTitleIndex: true
3030
| [`addImageSourceStateListener`](#addimagesourcestatelistener) | Register a [`ImageSourceStateListener`](auxiliary-classes/image-source-state-listener.html) to get callback when the status of [`ImageSourceAdapter`]({{ site.dcv_android_api }}core/basic-structures/image-source-adapter.html) received. |
3131
| [`removeImageSourceStateListener`](#removeimagesourcestatelistener) | Removes a [`ImageSourceStateListener`](auxiliary-classes/image-source-state-listener.html) from the Capture Vision Router. |
3232
| [`removeAllImageSourceStateListeners`](#removeallimagesourcestatelisteners) | Removes all user-added [`ImageSourceStateListeners`](auxiliary-classes/image-source-state-listener.html). |
33+
| [`switchCapturingTemplate`](#switchcapturingtemplate) | Switch the image processing settings with the CaptureVisionTemplate name during the image processing workflow. |
3334

3435
## setInput
3536

@@ -236,3 +237,25 @@ Removes all user-added [`ImageSourceStateListeners`](auxiliary-classes/image-sou
236237
```java
237238
void removeAllImageSourceStateListeners();
238239
```
240+
241+
## switchCapturingTemplate
242+
243+
Switch the image processing settings with the CaptureVisionTemplate name during the image processing workflow.
244+
245+
```java
246+
void switchCapturingTemplate(String templateName) throws CaptureVisionException;
247+
```
248+
249+
**Parameters**
250+
251+
`[in] templateName`: The name of the new capturing template to apply.
252+
253+
**Exception**
254+
255+
| Error Code | Value | Description |
256+
| :--------- | :---- | :---------- |
257+
| EC_TEMPLATE_NAME_INVALID | -10036 | The target template name is invalid. |
258+
259+
**Remarks**
260+
261+
- Introduced in Dynamsoft Barcode Reader SDK version 11.2.1000 and Dynamsoft Capture Vision version 3.2.1000.

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ noTitleIndex: true
2020
| [`resetSettings`](#resetsettings) | Restores all settings to their original default values. |
2121
| [`outputSettings`](#outputsettings) | Returns an object that contains settings for the specified `CaptureVisionTemplate`. |
2222
| [`outputSettingsToFile`](#outputsettingstofile) | Generates a JSON file download containing the settings for the specified `CaptureVisionTemplate`. |
23+
| [`clearDLModelBuffers`](#cleardlmodelbuffers) | Clear the buffered deep learning models to release the memory. |
24+
| [`setGlobalIntraOpNumThreads`](#setglobalintraopnumthreads) | Sets the global number of threads used internally for model execution. |
2325

2426
## initSettings
2527

@@ -248,3 +250,31 @@ try {
248250
throw new RuntimeException(e);
249251
}
250252
```
253+
254+
## clearDLModelBuffers
255+
256+
Clear the buffered deep learning models to release the memory.
257+
258+
```java
259+
static void clearDLModelBuffers();
260+
```
261+
262+
**Remarks**
263+
264+
- Introduced in Dynamsoft Barcode Reader SDK version 11.2.1000 and Dynamsoft Capture Vision version 3.2.1000.
265+
266+
## SetGlobalIntraOpNumThreads
267+
268+
Sets the global number of threads used internally for model execution.
269+
270+
```java
271+
static void setGlobalIntraOpNumThreads(int intraOpNumThreads);
272+
```
273+
274+
**Parameters**
275+
276+
`intraOpNumThreads`: Number of threads used internally for model execution. Valid range: [0, 256]. Default: 2.
277+
278+
**Remarks**
279+
280+
- Introduced in Dynamsoft Barcode Reader SDK version 11.2.1000 and Dynamsoft Capture Vision version 3.2.1000.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ noTitleIndex: true
1212

1313
This page introduces the `capture` APIs of the `CaptureVisionRouter` that designed for processing a single image (or single page file).
1414

15-
> Note:
15+
<div class="blockquote-note"></div>
1616
>
1717
> - [Use the `DirectoryFetcher` to process a set of image files]({{ site.dcv_android_api }}utility/directory-fetcher.html).
1818
> - [Use the `FileFetcher` to process the multi-page files such as PDF and TIFF]({{ site.dcv_android_api }}utility/file-fetcher.html).

programming/android/api-reference/core/basic-structures/video-frame-tag.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,22 @@ class VideoFrameTag extends ImageTag
2626

2727
| Methods | Description |
2828
| ---------- | ----------- |
29+
| [`getClarity`](#getquality) | Get the clarity of the video frame. |
2930
| [`getQuality`](#getquality) | Get the quality of the video frame. |
3031
| [`isCropped`](#iscropped) | Check whether the video frame is cropped. |
3132
| [`getCropRegion`](#getcropregion) | Get the crop region of the video frame. |
3233
| [`getOriginalWidth`](#getoriginalwidth) | Get the original width of the video frame. |
3334
| [`getOriginalHeight`](#getoriginalheight) | Get the original height of the video frame. |
3435
| [`VideoFrameTag(frameID,quality,isCropped,cropRegion,originalWidth,originalHeight)`](#videoframetagframeidqualityiscroppedcropregionoriginalwidthoriginalheight) | The constructor. |
3536

37+
### getClarity
38+
39+
The clarity of the video frame.
40+
41+
```java
42+
int getClarity();
43+
```
44+
3645
### getQuality
3746

3847
The quality of the video frame.

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

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,67 @@ noTitleIndex: true
99

1010
# Release Notes - DynamsoftCaptureVision Android v3.x
1111

12+
## 3.2.1000 (10/16/2025)
13+
14+
🎉 **Milestone Release** - This version introduces groundbreaking AI-powered enhancements that significantly improve accuracy and performance across all barcode and MRZ processing scenarios.
15+
16+
### ✨ Key Highlights
17+
18+
#### 🔬 Barcode Reader - AI-Powered Revolution
19+
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.
25+
26+
**Precision Control**
27+
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+
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+
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
39+
40+
### 💡 What This Means for You
41+
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
46+
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
50+
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
56+
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
61+
62+
### Changed
63+
64+
- 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.
65+
- Added a new method, [`clearDLModelBuffers`]({{ site.dcv_android_api }}capture-vision-router/settings.html#cleardlmodelbuffers), to release memory by clearing buffered deep learning models.
66+
- Added a new method, [`setGlobalIntraOpNumThreads`]({{ site.dcv_android_api }}capture-vision-router/settings.html#setglobalintranumthreads), to configure the global number of threads used for model execution.
67+
- Added a new button, `cameraToggleButton`, to the `CameraView`, allowing users to switch between the front and back cameras.
68+
The following APIs are provided for configuring the `cameraToggleButton`:
69+
- [`setCameraToggleButton`]({{ site.dce_android_api }}auxiliary-api/dcecameraview.html#setcameratogglebutton)
70+
- [`setCameraToggleButtonVisible`]({{ site.dce_android_api }}auxiliary-api/dcecameraview.html#setcameratogglebuttonvisible)
71+
- [`getCameraToggleButtonVisible`]({{ site.dce_android_api }}auxiliary-api/dcecameraview.html#getcameratogglebuttonvisible)
72+
1273
## 3.0.5000 (07/29/2025)
1374

1475
### New

0 commit comments

Comments
 (0)