diff --git a/_includes/sidelist-programming/programming-js.html b/_includes/sidelist-programming/programming-js.html
index 88e33d1..71fc036 100644
--- a/_includes/sidelist-programming/programming-js.html
+++ b/_includes/sidelist-programming/programming-js.html
@@ -932,11 +932,12 @@
- Supported Code Types
-
diff --git a/_includes/sidelist-programming/sidelist-parameters.html b/_includes/sidelist-programming/sidelist-parameters.html
index 554f681..a711c9c 100644
--- a/_includes/sidelist-programming/sidelist-parameters.html
+++ b/_includes/sidelist-programming/sidelist-parameters.html
@@ -438,7 +438,9 @@
- EnableAddOnCode
- EnableDataMatrixECC000-140
- EnableQRCodeModel1
+ - ExpectedBarcodesCount
- FindUnevenModuleBarcode
+ - HasVerticalQuietZone
- HeadModuleRatio
- IncludeImpliedAI01
- IncludeTrailingCheckDigit
@@ -497,7 +499,8 @@
- Global Parameter
- SemanticProcessing Object
diff --git a/programming/javascript/api-reference/capture-vision-router/auxiliary.md b/programming/javascript/api-reference/capture-vision-router/auxiliary.md
index 59e07ff..95ccf65 100644
--- a/programming/javascript/api-reference/capture-vision-router/auxiliary.md
+++ b/programming/javascript/api-reference/capture-vision-router/auxiliary.md
@@ -14,9 +14,11 @@ breadcrumbText: CVR JavaScript CaptureVisionRouter
| Name | Description |
| -------------------------------------------- | ------------------------------------------------------------------------ |
| [maxImageSideLength](#maximagesidelength) | Limits the maximum pixel value of the longest side of an image during the processing workflow. |
-| [appendModelBuffer()](#appendmodelbuffer) | Loads a specific data file containing recognition information. |
+| [appendDLModelBuffer()](#appenddlmodelbuffer) | Loads a specific data file containing recognition information. |
| [onDataLoadProgressChanged](#ondataloadprogresschanged) | An event that fires during the loading of a recognition data file (.data). |
| [onCaptureError](#oncaptureerror) | An event that fires when an error occurs from the start of capturing process. |
+| `static`[setGlobalIntraOpNumThreads](#setglobalintraopnumthreads) | Sets the global number of threads used internally for model execution. |
+| `static`[clearDLModelBuffers](#cleardlmodelbuffers) | Clears all deep learning models from buffer to free up memory. |
## maxImageSideLength
@@ -28,14 +30,14 @@ The `maxImageSideLength` property limits the maximum pixel value of the longest
maxImageSideLength: number;
```
-## appendModelBuffer
+## appendDLModelBuffer
Loads a specific data file containing recognition information. This file typically comprises a Convolutional Neural Networks (CNN) model.
**Syntax**
```typescript
-static appendModelBuffer(dataName: string, dataPath?: string) : Promise;
+static appendDLModelBuffer(dataName: string, dataPath?: string) : Promise;
```
**Parameter**
@@ -51,7 +53,7 @@ None.
**Code snippet**
```javascript
-CaptureVisionRouter.appendModelBuffer("sample-model.data")
+CaptureVisionRouter.appendDLModelBuffer("sample-model.data")
.then(() => {
console.log("Model appended successfully.");
})
@@ -60,6 +62,10 @@ CaptureVisionRouter.appendModelBuffer("sample-model.data")
});
```
+**Remarks**
+
+This method was renamed from `appendModelBuffer()` in Dynamsoft Barcode Reader Bundle version 11.2.2000 and Dynamsoft Capture Vision Bundle version 3.2.1000.
+
## onDataLoadProgressChanged
An event that fires during the loading of a recognition data file (.data).
@@ -122,4 +128,48 @@ CaptureVisionRouter.onCaptureError = function(error) {
// You can also show an alert or update the UI
alert("An error occurred during capture: " + error.message);
};
-```
\ No newline at end of file
+```
+
+## setGlobalIntraOpNumThreads
+
+Sets the global number of threads used internally for model execution.
+
+**Syntax**
+
+```typescript
+static setGlobalIntraOpNumThreads(intraOpNumThreads?: number): Promise;
+```
+
+**Parameter**
+
+`intraOpNumThreads`(optional) : Number of threads used internally for model execution.
+
+**Code snippet**
+
+```javascript
+await CaptureVisionRouter.setGlobalIntraOpNumThreads(4);
+```
+
+**Remarks**
+
+Introduced in Dynamsoft Barcode Reader Bundle version 11.2.2000 and Dynamsoft Capture Vision Bundle version 3.2.1000.
+
+## clearDLModelBuffers
+
+Clears all deep learning models from buffer to free up memory.
+
+**Syntax**
+
+```typescript
+static clearDLModelBuffers(): Promise;
+```
+
+**Code snippet**
+
+```javascript
+await CaptureVisionRouter.clearDLModelBuffers();
+```
+
+**Remarks**
+
+Introduced in Dynamsoft Barcode Reader Bundle version 11.2.2000 and Dynamsoft Capture Vision Bundle version 3.2.1000.
\ No newline at end of file
diff --git a/programming/javascript/api-reference/capture-vision-router/settings.md b/programming/javascript/api-reference/capture-vision-router/settings.md
index 2662079..4fc0249 100644
--- a/programming/javascript/api-reference/capture-vision-router/settings.md
+++ b/programming/javascript/api-reference/capture-vision-router/settings.md
@@ -11,15 +11,16 @@ breadcrumbText: CVR JavaScript CaptureVisionRouter
# CaptureVisionRouter Settings
-| Name | Description |
-| ------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| [initSettings()](#initsettings) | Configures runtime settings using a provided JSON string, an object, or a URL pointing to an object, which contains settings for one or more `CaptureVisionTemplates`. |
-| [outputSettings()](#outputsettings) | Outputs a `CaptureVisionTemplate` specified by its name. |
-| [outputSettingsToFile](#outputsettingstofile) | Generates a Blob object or initiates a JSON file download containing the settings for the specified `CaptureVisionTemplate`. |
-| [getSimplifiedSettings()](#getsimplifiedsettings) | Retrieves a JSON object that contains simplified settings for the specified `CaptureVisionTemplate`. |
-| [getTemplateNames()](#gettemplatenames) | Retrieves the names of all the currently available templates. |
-| [updateSettings()](#updatesettings) | Updates the specified `CaptureVisionTemplate` with an updated `SimplifiedCaptureVisionSettings` object. |
-| [resetSettings()](#resetsettings) | Restores all runtime settings to their original default values. |
+| Name | Description |
+| ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| [initSettings()](#initsettings) | Configures runtime settings using a provided JSON string, an object, or a URL pointing to an object, which contains settings for one or more `CaptureVisionTemplates`. |
+| [outputSettings()](#outputsettings) | Outputs a `CaptureVisionTemplate` specified by its name. |
+| [outputSettingsToFile](#outputsettingstofile) | Generates a Blob object or initiates a JSON file download containing the settings for the specified `CaptureVisionTemplate`. |
+| [getSimplifiedSettings()](#getsimplifiedsettings) | Retrieves a JSON object that contains simplified settings for the specified `CaptureVisionTemplate`. |
+| [getTemplateNames()](#gettemplatenames) | Retrieves the names of all the currently available templates. |
+| [updateSettings()](#updatesettings) | Updates the specified `CaptureVisionTemplate` with an updated `SimplifiedCaptureVisionSettings` object. |
+| [resetSettings()](#resetsettings) | Restores all runtime settings to their original default values. |
+| [switchCapturingTemplate()](#switchcapturingtemplate) | Switches the currently active capturing template during the image processing workflow. |
## initSettings
@@ -235,3 +236,34 @@ A promise that resolves when the operation has completed. It provides an object
let router = await Dynamsoft.CVR.CaptureVisionRouter.createInstance();
await router.resetSettings();
```
+
+## switchCapturingTemplate
+
+Switches the currently active capturing template during the image processing workflow. This allows dynamic reconfiguration of the capture process without restarting or reinitializing the system, enabling different settings or rules to be applied on the fly.
+
+**Syntax**
+
+```typescript
+switchCapturingTemplate(templateName: string): Promise;
+```
+
+**Parameters**
+
+`templateName`: The name of the new capturing template to apply.
+
+**Return Value**
+
+A promise that resolves when the operation has completed.
+
+**Code snippet**
+
+```javascript
+let router = await Dynamsoft.CVR.CaptureVisionRouter.createInstance();
+await router.startCapturing("ReadSingleBarcode");
+// Switching to ReadRateFirst template
+await router.switchCapturingTemplate("ReadBarcodes_ReadRateFirst");
+```
+
+**Remarks**
+
+Introduced in Dynamsoft Barcode Reader Bundle version 11.2.2000 and Dynamsoft Capture Vision Bundle version 3.2.1000.
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/basic-structures/original-image-result-item.md b/programming/javascript/api-reference/core/basic-structures/original-image-result-item.md
index 0c1fa78..677fd8b 100644
--- a/programming/javascript/api-reference/core/basic-structures/original-image-result-item.md
+++ b/programming/javascript/api-reference/core/basic-structures/original-image-result-item.md
@@ -15,9 +15,48 @@ The `OriginalImageResultItem` interface extends the [CapturedResultItem](./captu
```typescript
interface OriginalImageResultItem extends CapturedResultItem {
readonly imageData: DSImageData;
+ toCanvas: () => HTMLCanvasElement;
+ toImage: (MIMEType: "image/png" | "image/jpeg") => HTMLImageElement;
+ toBlob: (MIMEType: "image/png" | "image/jpeg") => Promise;
}
```
## imageData
The image data associated with this result item.
+
+## toCanvas
+
+Converts the image data into an HTMLCanvasElement for display or further manipulation in web applications.
+
+**See Also**
+
+[HTMLCanvasElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement)
+
+**Remarks**
+
+Introduced in Dynamsoft Barcode Reader Bundle version 11.2.2000 and Dynamsoft Capture Vision Bundle version 3.2.1000.
+
+## toImage
+
+Converts the image data into an HTMLImageElement of a specified MIME type ('image/png' or 'image/jpeg').
+
+**See Also**
+
+[HTMLImageElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement)
+
+**Remarks**
+
+Introduced in Dynamsoft Barcode Reader Bundle version 11.2.2000 and Dynamsoft Capture Vision Bundle version 3.2.1000.
+
+## toBlob
+
+Converts the image data into a Blob object of a specified MIME type ('image/png' or 'image/jpeg').
+
+**See Also**
+
+[Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob)
+
+**Remarks**
+
+Introduced in Dynamsoft Barcode Reader Bundle version 11.2.2000 and Dynamsoft Capture Vision Bundle version 3.2.1000.
\ No newline at end of file
diff --git a/programming/javascript/api-reference/core/core-module-class.md b/programming/javascript/api-reference/core/core-module-class.md
index cc38a79..e216915 100644
--- a/programming/javascript/api-reference/core/core-module-class.md
+++ b/programming/javascript/api-reference/core/core-module-class.md
@@ -12,13 +12,14 @@ noTitleIndex: true
The CoreModule class defines common functionality in the Core module.
-| Name | Description |
-| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
-| `static` [detectEnvironment()](#detectenvironment) | Detects and returns information about the current runtime environment. |
-| `static` [engineResourcePaths](#engineresourcepaths) | Configures the paths where the .wasm files and other necessary resources for modules are located. |
-| `static` [getVersion()](#getversion) | Returns the version of the Core module. |
-| `static` [isModuleLoaded()](#ismoduleloaded) | Returns whether the WebAssembly (.wasm) file for the specified module is successfully loaded. |
-| `static` [loadWasm()](#loadwasm) | Initiates the loading process for the .wasm file(s) corresponding to the specified module(s). |
+| Name | Description |
+| ---------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
+| `static` [detectEnvironment()](#detectenvironment) | Detects and returns information about the current runtime environment. |
+| `static` [engineResourcePaths](#engineresourcepaths) | Configures the paths where the .wasm files and other necessary resources for modules are located. |
+| `static` [getVersion()](#getversion) | Returns the version of the Core module. |
+| `static` [isModuleLoaded()](#ismoduleloaded) | Returns whether the WebAssembly (.wasm) file for the specified module is successfully loaded. |
+| `static` [loadWasm()](#loadwasm) | Initiates the loading process for the .wasm file(s) corresponding to the specified module(s). |
+| `static` [onWasmLoadProgressChanged()](#onwasmloadprogresschanged) | An event that fires during the loading of a WebAssembly module (.wasm). |