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
6 changes: 3 additions & 3 deletions programming/javascript/faq/adaptive-wasm-loading.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Once correctly configured, the SDK will automatically detect the environment and

## How to manually specify which Wasm variant to load?

By default, the SDK automatically determines the most suitable WebAssembly (Wasm) variant to load based on the browsers capabilities.
By default, the SDK automatically determines the most suitable WebAssembly (Wasm) variant to load based on the browser's capabilities.
However, developers can **manually override** this behavior and explicitly specify which Wasm module to load through the `wasmLoadOptions` property.

### Example
Expand Down Expand Up @@ -75,7 +75,7 @@ type WasmType =
>
>If the specified Wasm variant is not supported in the current browser, the SDK will gracefully fall back to a compatible variant.

## Why isnt -SIMD-Pthread Wasm enabled by default on iOS?
## Why isn't -SIMD-Pthread Wasm enabled by default on iOS?

Due to iOSs strict memory allocation and management limitations, loading `-SIMD-Pthread Wasm` can sometimes lead to “out of memory” errors on older devices or iOS versions.
Due to iOS's strict memory allocation and management limitations, loading `-SIMD-Pthread Wasm` can sometimes lead to “out of memory” errors on older devices or iOS versions.
To ensure stability and compatibility, the SDK does not load `-SIMD-Pthread Wasm` by default on iOS. Instead, it automatically falls back to the most suitable Baseline or SIMD variant depending on the environment.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Generally, with some setting changes via our APIs, Dynamsoft Barcode Reader Java


<img src="../assets/full_hd.jpg" alt="Full HD" width="50%" height="50%">
> **_NOTE:_** If the barcode is decoded, then you can output the settings and use that setting template via the `updateRuntimeSettings` method. If the barcode still cant be decoded via the online demo, then move on to step 2.
> **_NOTE:_** If the barcode is decoded, then you can output the settings and use that setting template via the `updateRuntimeSettings` method. If the barcode still can't be decoded via the online demo, then move on to step 2.

## Step 2 - capture image frames and send to Dynamsoft for analysis

Expand Down
2 changes: 1 addition & 1 deletion programming/javascript/faq/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ noTitleIndex: true

17. [What file/image formats are supported when reading barcodes from files in local memory?](formats-supported-for-existing-files.html)

18. [How to scan the barcode on a US Drivers License and get the first name, last name, DOB, etc.?](scan-US-drivers-license.html)
18. [How to scan the barcode on a US Driver's License and get the first name, last name, DOB, etc.?](scan-US-drivers-license.html)

19. [How to add/remove a "beep" sound once a barcode is found?](add-remove-beep-sound.html)

Expand Down
20 changes: 10 additions & 10 deletions programming/javascript/release-notes/js-9.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ permalink: /programming/javascript/release-notes/js-9.html

- Updated the barcode reader algorithm to v9.6.30.
- Updated the internal `Dynamsoft Camera Enhancer` from version 3.3.5 to version 3.3.6.
- Updated the API [`singleFrameMode`](../api-reference/BarcodeScanner.md#singleframemode) to support using the system camera directly without prompting for image source selection on mobile devices.
- Updated the API `singleFrameMode` to support using the system camera directly without prompting for image source selection on mobile devices.
- Updated the method `close()` so that it automatically clears the highlighting of found barcode symbols.

## 9.6.21 (08/03/2023)
Expand Down Expand Up @@ -113,9 +113,9 @@ permalink: /programming/javascript/release-notes/js-9.html

- Updated the barcode reader algorithm to v9.6.10.
- Updated the internal `Dynamsoft Camera Enhancer` to [v3.3.1](https://www.dynamsoft.com/camera-enhancer/docs-archive/web/programming/javascript/release-note/release-notes-3.x.html#331-02202023).
- The method [`decodeBuffer`](../api-reference/BarcodeReader.md#decodebuffer) is updated to accept an additional parameter "orientation" to help specify the orientation of the image data.
- The interface [`LocalizationResult`](../api-reference/interface/LocalizationResult.md) is updated to have a new property "transformationMatrix".
- Three missing errorcodes are added: DBR_PANORAMA_LICENSE_INVALID, DBR_PHARMACODE_LICENSE_INVALID, DBR_IMAGE_ORIENTATION_INVALID. Check the full list at [`EnumErrorCode`](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/enum/EnumErrorCode.html).
- The method `decodeBuffer` is updated to accept an additional parameter "orientation" to help specify the orientation of the image data.
- The interface `LocalizationResult` is updated to have a new property "transformationMatrix".
- Three missing errorcodes are added: DBR_PANORAMA_LICENSE_INVALID, DBR_PHARMACODE_LICENSE_INVALID, DBR_IMAGE_ORIENTATION_INVALID. Check the full list at [`EnumErrorCode`](https://www.dynamsoft.com/barcode-reader/docs/v9/web/programming/javascript/api-reference/enum/EnumErrorCode.html).

#### Fixed

Expand Down Expand Up @@ -153,7 +153,7 @@ permalink: /programming/javascript/release-notes/js-9.html

#### Added

- Added 3 new properties in [`ScanSettings`](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/interface/ScanSettings.html#scansettings)
- Added 3 new properties in `ScanSettings`
1. `autoZoom`, when set to `true`, means the SDK will automatically zoom in on the video if the barcode appears too small in the video feed and fails to be read;
2. `autoFocus`, when set to `true`, means the SDK will automatically focus on the part of the video where a barcode is found but fails to be read;
3. `autoSuggestTip`, when set to `true`, means the SDK will automatically suggest Tip messages to help guide the user to acquire better video frames for barcode reading.
Expand Down Expand Up @@ -243,7 +243,7 @@ permalink: /programming/javascript/release-notes/js-9.html
### Added

* Added method `setVideoFit()` to `BarcodeScanner` to allow the video element to either fit or cover the viewer.
* Added method `setImageSource()` to `BarcodeReader` to specify an Image Source which provides images of the type [`DSImage`](../api-reference/interface/dsimage.md) for continuous scanning.
* Added method `setImageSource()` to `BarcodeReader` to specify an Image Source which provides images of the type `DSImage` for continuous scanning.
* Added methods `startScanning()`, `pauseScanning()`, `resumeScanning()`, `stopScanning()`, `getScanSettings()` and `updateScanSettings()` as well as events `onUniqueRead` and `onImageRead` to `BarcodeReader` to facilitate continous scanning of images coming from the Image Source.

## 9.0.0 (03/24/2022)
Expand Down Expand Up @@ -290,10 +290,10 @@ The following APIs are moved:

| API Name | Notes |
|:-|:-|
| `whenToPlaySoundforSuccessfulRead` | Moved to [`ScanSettings`](../api-reference/interface/ScanSettings.md). |
| `soundOnSuccessfullRead` | Moved to [`ScanSettings`](../api-reference/interface/ScanSettings.md). |
| `whenToVibrateforSuccessfulRead` | Moved to [`ScanSettings`](../api-reference/interface/ScanSettings.md). |
| `vibrateDuration` | Moved to [`ScanSettings`](../api-reference/interface/ScanSettings.md). |
| `whenToPlaySoundforSuccessfulRead` | Moved to `ScanSettings` |
| `soundOnSuccessfullRead` | Moved to `ScanSettings` |
| `whenToVibrateforSuccessfulRead` | Moved to `ScanSettings` |
| `vibrateDuration` | Moved to `ScanSettings` |

#### Deprecated

Expand Down
4 changes: 2 additions & 2 deletions programming/javascript/upgrade-guide/10to11.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Dynamsoft.Core.CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdel

### Upgrade your template

The template system is upgraded. The template you used for the previous version cant be directly recognized by the new version. Please use the [template upgrade tool](https://www.dynamsoft.com/tools/template-upgrade/) to upgrade your template.
The template system is upgraded. The template you used for the previous version can't be directly recognized by the new version. Please use the [template upgrade tool](https://www.dynamsoft.com/tools/template-upgrade/) to upgrade your template.

## From version 9.x or earlier

Expand All @@ -70,6 +70,6 @@ The Dynamsoft Barcode Reader JavaScript edition has been refactored to integrate

> [!IMPORTANT]
>
> Dynamsofts ongoing feature development is based on the new DCV architecture. By upgrading to v11, youll gain access to improved performance and new capabilities.
> Dynamsoft's ongoing feature development is based on the new DCV architecture. By upgrading to v11, you'll gain access to improved performance and new capabilities.

Due to the architectural changes, **a significant rewrite of your existing code is required**. we recommend you to follow the [User Guide](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/barcode-scanner.html) and re-write your codes.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Refer to [`Use customized template`](#use-customized-template) for more details.

## Use customized template

In more complex scenarios—such as blurred, damaged, curved, or unevenly lit barcodes—you might need a custom template to perform specific image processing steps. BarcodeScannerConfig provides a property to load a template file, allowing you to customize the algorithms processing workflow.
In more complex scenarios—such as blurred, damaged, curved, or unevenly lit barcodes—you might need a custom template to perform specific image processing steps. BarcodeScannerConfig provides a property to load a template file, allowing you to customize the algorithm's processing workflow.

> [!WARNING]
> This operation will overwrite the built-in templates.
Expand Down Expand Up @@ -141,7 +141,7 @@ npm install dynamsoft-barcode-reader-bundle@11.2.4000 -E

### Component for video decoding

Heres how to quickly set up a video barcode scanner using the `BarcodeScanner` class:
Here's how to quickly set up a video barcode scanner using the `BarcodeScanner` class:

```ts
const config = {
Expand All @@ -155,7 +155,7 @@ Here’s how to quickly set up a video barcode scanner using the `BarcodeScanner

#### Define the resource paths

To ensure stability, especially in environments with limited internet access, its a good idea to **host all required resources locally** (e.g., under the dist/ folder).
To ensure stability, especially in environments with limited internet access, it's a good idea to **host all required resources locally** (e.g., under the dist/ folder).
Below is an example using the official CDN — feel free to replace it with your own path:

```ts
Expand Down
10 changes: 5 additions & 5 deletions programming/javascript/user-guide/zip-guide.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Dynamsoft Barcode Reader JavaScript Package Readme
# Dynamsoft Barcode Reader JavaScript - Package Readme

Welcome! This package contains all resource files related to **Dynamsoft Barcode Reader JavaScript SDK**, and sample projects demonstrating how to use it.

Expand Down Expand Up @@ -38,18 +38,18 @@ Here are a couple of easy ways to start one:
http://localhost:8000
```

Youll see the `index.html` page, which links to all sample pages.
You'll see the `index.html` page, which links to all sample pages.

>[!TIP]
> Dont want to set up a local server? You can view the latest version of our samples hosted on the Dynamsoft server here:
> Don't want to set up a local server? You can view the latest version of our samples hosted on the Dynamsoft server here:
>https://demo.dynamsoft.com/Samples/DBR/JS/index.html

---

## Sample Folders

- `frameworks/` This directory contains framework-specific examples demonstrating how to integrate the Dynamsoft Barcode Reader (JavaScript edition) into common web and hybrid frameworks. Each framework folder contains one or more runnable sub-examples (for example, scan-using-foundational-api and/or scan-using-rtu-api) showing practical integration patterns.
- `scenarios/` This directory contains focused scenario samples that show common real-world uses of the Dynamsoft Barcode Reader (JavaScript edition).
- `frameworks/` - This directory contains framework-specific examples demonstrating how to integrate the Dynamsoft Barcode Reader (JavaScript edition) into common web and hybrid frameworks. Each framework folder contains one or more runnable sub-examples (for example, scan-using-foundational-api and/or scan-using-rtu-api) showing practical integration patterns.
- `scenarios/` - This directory contains focused scenario samples that show common real-world uses of the Dynamsoft Barcode Reader (JavaScript edition).

## Documentation

Expand Down