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
2 changes: 1 addition & 1 deletion _includes/sidelist-programming/programming-js.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<a
href="{{ site.dcvb_js_api }}capture-vision-router/single-image-processing.html"
class="otherLinkColour"
>Single-Image Processing</a
>Single-File Processing</a
>
</li>
<li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ The `CaptureVisionRouter` class defines how a user interacts with image-processi
| [dispose()](./instantiate.md#dispose) | Releases all resources used by the `CaptureVisionRouter` instance. |
| [disposed](./instantiate.md#disposed) | Returns whether the `CaptureVisionRouter` instance has been disposed of. |

### Single-Image Processing
### Single-File Processing

| Name | Description |
| ------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| [capture()](./single-image-processing.md#capture) | Processes a single image or a file containing a single image to derive important information. |
| [capture()](./single-image-processing.md#capture) | Processes a single image or file to derive important information. |

### Multiple-Image Processing

Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
---
layout: default-layout
title: CaptureVisionRouter Single Process - Dynamsoft Capture Vision JavaScript Edition API
description: This page introduces APIs related to Single Process with Dynamsoft Capture Vision JavaScript Edition.
keywords: capture vision, caputre, image processing, api reference, javascript, js
title: CaptureVisionRouter Single File Processing - Dynamsoft Capture Vision JavaScript Edition API
description: This page introduces APIs related to processing single files, including images and multi-page PDF documents.
keywords: capture vision, file processing, api reference, javascript, js
needAutoGenerateSidebar: true
needGenerateH3Content: false
noTitleIndex: true
breadcrumbText: CVR JavaScript CaptureVisionRouter
---

# CaptureVisionRouter Single Image Processing
# CaptureVisionRouter Single File Processing

| Name | Description |
| --------------------- | --------------------------------------------------------------------------------------------- |
| [capture()](#capture) | Processes a single image or a file containing a single image to derive important information. |
| [capture()](#capture) | Processes a single image or file to derive important information. |

## capture

Processes a single image or a file containing a single image to derive important information.
Processes a single image or file to derive important information.

**Syntax**

Expand All @@ -31,7 +31,7 @@ capture(imageOrFile: Blob | HTMLImageElement | HTMLCanvasElement | HTMLVideoElem

>The following data types are accepted: `Blob`, `HTMLImageElement`, `HTMLCanvasElement`, `HTMLVideoElement`, `DSImageData`, `string`.
>
>The supported image formats include: `.jpg`,`.jpeg`,`.icon`,`.gif`,`.svg`,`.webp`,`.png`,`.bmp`.
>The supported image formats include: `.jpg`, `.jpeg`, `.icon`, `.gif`, `.svg`, `.webp`, `.png`, `.bmp`.

`templateName`: specifies a "CaptureVisionTemplate" to use. If not specified, the preset template named 'Default' will be used.

Expand All @@ -41,7 +41,7 @@ Please be aware that the [preset CaptureVisionTemplates](./preset-templates.md)

**Return value**

A promise that resolves with a [CapturedResult]({{ site.dcv_js_api }}interfaces/captured-result.html) object which contains the derived information from the image processed.
A promise that resolves with a [CapturedResult]({{ site.dcv_js_api }}interfaces/captured-result.html) object which contains the derived information from the file processed.

**Code snippet**

Expand Down
4 changes: 4 additions & 0 deletions programming/javascript/release-notes/dcvb-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ noTitleIndex: true

# Release Notes - DynamsoftCaptureVisionBundle

## 3.4.3000 (07/02/2026)

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

## 3.4.2001 (04/24/2026)

### Fixed
Expand Down
1 change: 1 addition & 0 deletions programming/javascript/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 Bundle JavaScript

- [3.4.3000 (07/02/2026)](dcvb-3.md#343000-07022026)
- [3.4.2001 (04/24/2026)](dcvb-3.md#342001-04242026)
- [3.4.2000 (04/21/2026)](dcvb-3.md#342000-04212026)
- [3.2.5000 (12/16/2025)](dcvb-3.md#325000-12162025)
Expand Down