diff --git a/programming/javascript/faq/adaptive-wasm-loading.md b/programming/javascript/faq/adaptive-wasm-loading.md index 08330691..2c2b2d57 100644 --- a/programming/javascript/faq/adaptive-wasm-loading.md +++ b/programming/javascript/faq/adaptive-wasm-loading.md @@ -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 browser’s 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 @@ -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 isn’t -SIMD-Pthread Wasm enabled by default on iOS? +## Why isn't -SIMD-Pthread Wasm enabled by default on iOS? -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. +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. \ No newline at end of file diff --git a/programming/javascript/faq/general-troubleshooting-steps-for-decode-failure.md b/programming/javascript/faq/general-troubleshooting-steps-for-decode-failure.md index 78188afd..a3e886fa 100644 --- a/programming/javascript/faq/general-troubleshooting-steps-for-decode-failure.md +++ b/programming/javascript/faq/general-troubleshooting-steps-for-decode-failure.md @@ -28,7 +28,7 @@ Generally, with some setting changes via our APIs, Dynamsoft Barcode Reader Java Full HD -> **_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. +> **_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 diff --git a/programming/javascript/faq/index.md b/programming/javascript/faq/index.md index 75a15ecc..81c868fc 100644 --- a/programming/javascript/faq/index.md +++ b/programming/javascript/faq/index.md @@ -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 Driver’s 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) diff --git a/programming/javascript/release-notes/js-9.md b/programming/javascript/release-notes/js-9.md index 57bd1ddf..9c701a9a 100644 --- a/programming/javascript/release-notes/js-9.md +++ b/programming/javascript/release-notes/js-9.md @@ -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) @@ -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 @@ -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. @@ -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) @@ -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 diff --git a/programming/javascript/upgrade-guide/10to11.md b/programming/javascript/upgrade-guide/10to11.md index 3128810f..13629e08 100644 --- a/programming/javascript/upgrade-guide/10to11.md +++ b/programming/javascript/upgrade-guide/10to11.md @@ -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 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. +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 @@ -70,6 +70,6 @@ The Dynamsoft Barcode Reader JavaScript edition has been refactored to integrate > [!IMPORTANT] > -> 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. +> 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. \ No newline at end of file diff --git a/programming/javascript/user-guide/barcode-scanner-customization.md b/programming/javascript/user-guide/barcode-scanner-customization.md index e5e093be..c93ef54e 100644 --- a/programming/javascript/user-guide/barcode-scanner-customization.md +++ b/programming/javascript/user-guide/barcode-scanner-customization.md @@ -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 algorithm’s 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. @@ -141,7 +141,7 @@ npm install dynamsoft-barcode-reader-bundle@11.2.4000 -E ### Component for video decoding -Here’s 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 = { @@ -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, it’s 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 diff --git a/programming/javascript/user-guide/zip-guide.md b/programming/javascript/user-guide/zip-guide.md index 222b152d..0ce8babc 100644 --- a/programming/javascript/user-guide/zip-guide.md +++ b/programming/javascript/user-guide/zip-guide.md @@ -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. @@ -38,18 +38,18 @@ Here are a couple of easy ways to start one: http://localhost:8000 ``` - You’ll 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] -> Don’t 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