Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,7 @@
<li><a href="{{ site.dcvb_parameters_reference }}barcode-format-specification/australian-post-encoding-table.html" class="otherLinkColour">AustralianPostEncodingTable</a></li>
<li><a href="{{ site.dcvb_parameters_reference }}barcode-format-specification/barcode-angle-range-array.html" class="otherLinkColour">BarcodeAngleRangeArray</a></li>
<li><a href="{{ site.dcvb_parameters_reference }}barcode-format-specification/barcode-bytes-length-range-array.html" class="otherLinkColour">BarcodeBytesLengthRangeArray</a></li>
<li><a href="{{ site.dcvb_parameters_reference }}barcode-format-specification/barcode-format-ids.html" class="otherLinkColour">BarcodeFormatIds</a></li>
<li><a href="{{ site.dcvb_parameters_reference }}barcode-format-specification/barcode-height-range-array.html" class="otherLinkColour">BarcodeHeightRangeArray</a></li>
<li><a href="{{ site.dcvb_parameters_reference }}barcode-format-specification/barcode-text-length-range-array.html" class="otherLinkColour">BarcodeTextLengthRangeArray</a></li>
<li><a href="{{ site.dcvb_parameters_reference }}barcode-format-specification/barcode-text-regex-pattern.html" class="otherLinkColour">BarcodeTextRegExPattern</a></li>
Expand Down Expand Up @@ -491,10 +492,11 @@
<ul>
<li><a href="{{ site.dcvb_parameters }}file/auxiliary/capture-vision-model.html#directorypath" class="otherLinkColour">DirectoryPath</a></li>
<li><a href="{{ site.dcvb_parameters }}file/auxiliary/capture-vision-model.html#maxmodelinstances" class="otherLinkColour">MaxModelInstances</a></li>
<li><a href="{{ site.dcvb_parameters }}file/auxiliary/capture-vision-model.html#modelargs" class="otherLinkColour">ModelArgs</a></li>
<li><a href="{{ site.dcvb_parameters }}file/auxiliary/capture-vision-model.html#modelargs" class="otherLinkColour">ModelArgs</a>
<ul>
<li><a href="{{ site.dcvb_parameters }}file/auxiliary/char-set.html#" class="otherLinkColour">CharSet Object</a></li>
</ul>
</li>
<li><a href="{{ site.dcvb_parameters }}file/auxiliary/capture-vision-model.html#name" class="otherLinkColour">Name</a></li>
</ul>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class CCaptureVisionRouter
| [`StopCapturing`](multiple-file-processing.md#stopcapturing) | Stops the consecutive process. |
| [`PauseCapturing`](multiple-file-processing.md#pausecapturing) | Pauses the capture process. The current thread will be blocked until the capture process is resumed. |
| [`ResumeCapturing`](multiple-file-processing.md#resumecapturing) | Resumes the capture process. The current thread will be unblocked after the capture process is resumed. |
| [`SwitchCapturingTemplate`](multiple-file-processing.md#switchcapturingtemplate) | Switches the capturing template during the image processing workflow. |

## Settings

Expand All @@ -68,7 +69,6 @@ class CCaptureVisionRouter
| [`ResetSettings`](settings.md#resetsettings) | Resets all templates to factory settings. |
| [`GetParameterTemplateCount`](settings.md#getparametertemplatecount) | Retrieves the total number of available parameter templates. |
| [`GetParameterTemplateName`](settings.md#getparametertemplatename) | Retrieves the name of a specific parameter template by its index. |
| [`SwitchCapturingTemplate`](settings.md#switchcapturingtemplate) | Switches the capturing template during the image processing workflow. |

## Intermediate Result

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ breadcrumbText: CVR C++ Multiple-File Processing
| [`StopCapturing`](#stopcapturing) | Stops the consecutive processing. |
| [`PauseCapturing`](#pausecapturing) | Pauses the capture process. The current thread will be blocked until the capture process is resumed. |
| [`ResumeCapturing`](#resumecapturing) | Resumes the capture process. The current thread will be unblocked after the capture process is resumed. |
| [`SwitchCapturingTemplate`](#switchcapturingtemplate) | Switches the capturing template during the image processing workflow. |

## SetInput

Expand Down Expand Up @@ -363,3 +364,27 @@ else
delete filter, filter = NULL;;
}
```

## SwitchCapturingTemplate

Switches the capturing template during the image processing workflow.

```cpp
int SwitchCapturingTemplate(const char* templateName, char errorMsgBuffer[] = NULL, const int errorMsgBufferLen = 0);
```

**Parameters**

`[in] templateName` The name of the new capturing template to apply.

`[in] errorMsgBuffer` A buffer for error messages.

`[in] errorMsgBufferLen` The length of the error message buffer.

**Return value**

Returns an error code. Zero indicates success.

**Remarks**

- Introduced in Dynamsoft Barcode Reader SDK version 11.2.1000 and Dynamsoft Capture Vision version 3.2.1000.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ needGenerateH3Content: false
| [`ResetSettings`](#resetsettings) | Resets all templates to factory settings. |
| [`GetParameterTemplateCount`](#getparametertemplatecount) | Retrieves the total number of available parameter templates. |
| [`GetParameterTemplateName`](#getparametertemplatename) | Retrieves the name of a specific parameter template by its index. |
| [`SwitchCapturingTemplate`](#switchcapturingtemplate) | Switches the capturing template during the image processing workflow. |

## InitSettings

Expand Down Expand Up @@ -269,26 +268,3 @@ int GetParameterTemplateName(const int index, char nameBuffer[], int nameBufferL

Returns an error code. Zero indicates success.

## SwitchCapturingTemplate

Switches the capturing template during the image processing workflow.

```cpp
int SwitchCapturingTemplate(const char* templateName, char errorMsgBuffer[] = NULL, const int errorMsgBufferLen = 0);
```

**Parameters**

`[in] templateName` The name of the new capturing template to apply.

`[in] errorMsgBuffer` A buffer for error messages.

`[in] errorMsgBufferLen` The length of the error message buffer.

**Return value**

Returns an error code. Zero indicates success.

**Remarks**

- Introduced in Dynamsoft Barcode Reader SDK version 11.2.1000 and Dynamsoft Capture Vision version 3.2.1000.
4 changes: 2 additions & 2 deletions programming/cplusplus/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ For an overview of the APIs, see the [API Reference]({{ site.dcvb_cpp_api }}).

For a peek of DCV C++ Edition history, check the [Release Notes]({{ site.dcvb_cpp }}release-notes/index.html).

### License Subscription
## License Subscription

To develop and run your application with Dynamsoft Capture Vision SDK, you need an active license key:

* <a href = "https://www.dynamsoft.com/customer/license/trialLicense?utm_source=docs&product=DCV&package=c_cpp" target = "_blank">Request a 30-day free trial license</a>

### Contact Us
## Contact Us

<a href = "https://www.dynamsoft.com/company/customer-service/#contact" target = "_blank">Feel free to contact us if you have any questions.</a>
13 changes: 13 additions & 0 deletions programming/cplusplus/release-notes/cpp-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@ needGenerateH3Content: false

# Release Notes for C++ Edition - 3.x

## 3.2.5000 (12/16/2025)

This release includes security maintenance updates to ensure continued protection of the product.

### Security Updates

- Updated third-party libraries to incorporate the latest security fixes.

### Bug Fixes

- Fixed memory leak, crash, and hang issues in various scenarios.
- Improved stability in multi-threading operations.

## 3.2.1000 (10/14/2025)

### 🎉Milestone Release
Expand Down
1 change: 1 addition & 0 deletions programming/cplusplus/release-notes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ noTitleIndex: true

# Release Notes - Dynamsoft Capture Vision CPP

- [3.2.5000 (12/16/2025)]({{ site.dcvb_cpp_release_notes_v3 }}cpp-3.html#325000-12162025)
- [3.2.1000 (10/14/2025)]({{ site.dcvb_cpp_release_notes_v3 }}cpp-3.html#321000-10142025)
- [3.0.6000 (08/06/2025)]({{ site.dcvb_cpp_release_notes_v3 }}cpp-3.html#306000-08062025)
- [3.0.4000 (07/15/2025)]({{ site.dcvb_cpp_release_notes_v3 }}cpp-3.html#304000-07152025)
Expand Down
16 changes: 8 additions & 8 deletions programming/cplusplus/user-guide/document-scanner.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ To find out whether your environment is supported, please read the [System Requi

## Installation

If you haven't downloaded the SDK yet, <a href="https://download2.dynamsoft.com/dcv/dynamsoft-capture-vision-cpp-3.2.1000.251014.zip" target="_blank">download the `C/C++ Package`</a> now and unpack the package into a directory of your choice.
If you haven't downloaded the SDK yet, <a href="https://download2.dynamsoft.com/dcv/dynamsoft-capture-vision-cpp-3.2.5000.251216.zip" target="_blank">download the `C/C++ Package`</a> now and unpack the package into a directory of your choice.

> [!IMPORTANT]
> For this tutorial, we unpack it to a pseudo directory `[INSTALLATION FOLDER]`, change it to your unpacking path for the following content.
Expand Down Expand Up @@ -175,24 +175,24 @@ CCaptureVisionRouter* router = new CCaptureVisionRouter();
cout << "Error: " << result->GetErrorCode() << "," << result->GetErrorString() << endl;
}
CProcessedDocumentResult *processedDocumentResult = result->GetProcessedDocumentResult();
if (processedDocumentResult == nullptr || processedDocumentResult->GetDeskewedImageResultItemsCount() == 0)
if (processedDocumentResult == nullptr || processedDocumentResult->GetEnhancedImageResultItemsCount() == 0)
{
cout << "No document found." << endl;
}
else
{
int count = processedDocumentResult->GetDeskewedImageResultItemsCount();
cout << "Deskewed " << count << " documents" << endl;
int count = processedDocumentResult->GetEnhancedImageResultItemsCount();
cout << "Normalized " << count << " documents" << endl;
for (int i = 0; i < count; i++)
{
const CDeskewedImageResultItem *deskewedImage = processedDocumentResult->GetDeskewedImageResultItem(i);
string outPath = "deskewedResult_";
const CEnhancedImageResultItem *enhancedImage = processedDocumentResult->GetEnhancedImageResultItem(i);
string outPath = "enhancedResult_";
outPath += to_string(i) + ".png";

CImageIO imageIO;

// 5.Save deskewed image to file.
errorCode = imageIO.SaveToFile(deskewedImage->GetImageData(), outPath.c_str());
// 5.Save normalized image to file.
errorCode = imageIO.SaveToFile(enhancedImage->GetImageData(), outPath.c_str());
if (errorCode == 0)
{
cout << "Document " << i << " file: " << outPath << endl;
Expand Down
2 changes: 1 addition & 1 deletion programming/cplusplus/user-guide/mrz-scanner.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ To find out whether your environment is supported, please read the [System Requi

## Installation

If you haven't downloaded the SDK yet, <a href="https://download2.dynamsoft.com/dcv/dynamsoft-capture-vision-cpp-3.2.1000.251014.zip" target="_blank">download the `C/C++ Package`</a> now and unpack the package into a directory of your choice.
If you haven't downloaded the SDK yet, <a href="https://download2.dynamsoft.com/dcv/dynamsoft-capture-vision-cpp-3.2.5000.251216.zip" target="_blank">download the `C/C++ Package`</a> now and unpack the package into a directory of your choice.

> [!IMPORTANT]
> For this tutorial, we unpack it to a pseudo directory `[INSTALLATION FOLDER]`, change it to your unpacking path for the following content.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public class CaptureVisionRouter : IDisposable
| [`StopCapturing`](multiple-file-processing.md#stopcapturing) | Stops the consecutive process. |
| [`PauseCapturing`](multiple-file-processing.md#pausecapturing) | Pauses the capture process. The current thread will be blocked until the capture process is resumed. |
| [`ResumeCapturing`](multiple-file-processing.md#resumecapturing) | Resumes the capture process. The current thread will be unblocked after the capture process is resumed. |
| [`SwitchCapturingTemplate`](multiple-file-processing.md#switchcapturingtemplate) | Switches the capturing template during the image processing workflow. |

## Setting Methods

Expand All @@ -67,7 +68,6 @@ public class CaptureVisionRouter : IDisposable
| [`ResetSettings`](settings.md#resetsettings) | Resets all templates to factory settings. |
| [`GetParameterTemplateCount`](settings.md#getparametertemplatecount) | Retrieves the total number of available parameter templates. |
| [`GetParameterTemplateName`](settings.md#getparametertemplatename) | Retrieves the name of a specific parameter template by its index. |
| [`SwitchCapturingTemplate`](settings.md#switchcapturingtemplate) | Switches the capturing template during the image processing workflow. |

## Auxiliary Methods

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ needGenerateH3Content: false
| [`StopCapturing`](#stopcapturing) | Stops the consecutive processing. |
| [`PauseCapturing`](#pausecapturing) | Pauses the capture process. The current thread will be blocked until the capture process is resumed. |
| [`ResumeCapturing`](#resumecapturing) | Resumes the capture process. The current thread will be unblocked after the capture process is resumed. |
| [`SwitchCapturingTemplate`](#switchcapturingtemplate) | Switches the capturing template during the image processing workflow. |

## SetInput

Expand Down Expand Up @@ -297,3 +298,22 @@ Resumes the capture process. The current thread will be unblocked after the capt
void ResumeCapturing()
```

## SwitchCapturingTemplate

Switches the capturing template during the image processing workflow.

```csharp
public int SwitchCapturingTemplate(string templateName)
```

**Parameters**

`[in] templateName` The name of the new capturing template to apply.

**Return value**

Returns an error code. Zero indicates success.

**Remarks**

- Introduced in Dynamsoft Barcode Reader SDK version 11.2.1000 and Dynamsoft Capture Vision version 3.2.1000.
20 changes: 0 additions & 20 deletions programming/dotnet/api-reference/capture-vision-router/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ needGenerateH3Content: false
| [`ResetSettings`](#resetsettings) | Resets all templates to factory settings. |
| [`GetParameterTemplateCount`](#getparametertemplatecount) | Retrieves the total number of available parameter templates. |
| [`GetParameterTemplateName`](#getparametertemplatename) | Retrieves the name of a specific parameter template by its index. |
| [`SwitchCapturingTemplate`](#switchcapturingtemplate) | Switches the capturing template during the image processing workflow. |

## InitSettings

Expand Down Expand Up @@ -259,22 +258,3 @@ public int GetParameterTemplateName(int index, out string nameBuffer)

Returns an error code. Zero indicates success.

## SwitchCapturingTemplate

Switches the capturing template during the image processing workflow.

```csharp
public int SwitchCapturingTemplate(string templateName)
```

**Parameters**

`[in] templateName` The name of the new capturing template to apply.

**Return value**

Returns an error code. Zero indicates success.

**Remarks**

- Introduced in Dynamsoft Barcode Reader SDK version 11.2.1000 and Dynamsoft Capture Vision version 3.2.1000.
13 changes: 13 additions & 0 deletions programming/dotnet/release-notes/dotnet-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@ needGenerateH3Content: false

# Release Notes for .NET Edition - 3.x

## 3.2.5000 (12/16/2025)

This release includes security maintenance updates to ensure continued protection of the product.

### Security Updates

- Updated third-party libraries to incorporate the latest security fixes.

### Bug Fixes

- Fixed memory leak, crash, and hang issues in various scenarios.
- Improved stability in multi-threading operations.

## 3.2.1000 (10/14/2025)

### 🎉Milestone Release
Expand Down
1 change: 1 addition & 0 deletions programming/dotnet/release-notes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ noTitleIndex: true

# Module Release Notes - Dynamsoft Capture Vision .NET Edition

- [3.2.5000 (12/16/2025)]({{ site.dcvb_dotnet_release_notes_v3 }}dotnet-3.html#325000-12162025)
- [3.2.1000 (10/14/2025)]({{ site.dcvb_dotnet_release_notes_v3 }}dotnet-3.html#321000-10142025)
- [3.0.6000 (08/06/2025)]({{ site.dcvb_dotnet_release_notes_v3 }}dotnet-3.html#306000-08062025)
- [3.0.4000 (07/15/2025)]({{ site.dcvb_dotnet_release_notes_v3 }}dotnet-3.html#304000-07152025)
Expand Down
Loading