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/android/api-reference/capture-vision-router/capture-vision-router.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,7 @@ class CaptureVisionRouter
55
55
| [`removeCaptureStateListener`](multiple-file-processing.md#removecapturestatelistener) | Removes a `CaptureStateListener`. |
56
56
| [`addResultFilter`](multiple-file-processing.md#addresultfilter) | Adds a `CaptureResultFilter` object to filter non-essential results. |
57
57
| [`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. |
58
59
59
60
## Settings
60
61
@@ -67,6 +68,8 @@ class CaptureVisionRouter
67
68
| [`resetSettings`](settings.md#resetsettings) | Resets all templates to factory settings. |
68
69
| [`outputSettings`](settings.md#outputsettings) | Output the targeting Capture Vision settings to a JSON string. |
69
70
| [`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. |
Copy file name to clipboardExpand all lines: programming/android/api-reference/capture-vision-router/multiple-file-processing.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ noTitleIndex: true
30
30
|[`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. |
31
31
|[`removeImageSourceStateListener`](#removeimagesourcestatelistener)| Removes a [`ImageSourceStateListener`](auxiliary-classes/image-source-state-listener.html) from the Capture Vision Router. |
32
32
|[`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. |
33
34
34
35
## setInput
35
36
@@ -236,3 +237,25 @@ Removes all user-added [`ImageSourceStateListeners`](auxiliary-classes/image-sou
236
237
```java
237
238
void removeAllImageSourceStateListeners();
238
239
```
240
+
241
+
## switchCapturingTemplate
242
+
243
+
Switch the image processing settings with the CaptureVisionTemplate name during the image processing workflow.
🎉 **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
- 🔄 **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
-**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`:
0 commit comments