dynamsoft-barcode-reader-bundle 11.4.2001 → 11.6.2000-beta-202608131436

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/LEGAL.txt +1 -8
  2. package/LICENSE +1 -1
  3. package/README.html +26 -62
  4. package/README.md +26 -62
  5. package/dist/dbr.bundle.d.ts +1867 -1658
  6. package/dist/dbr.bundle.esm.js +2 -2
  7. package/dist/dbr.bundle.js +2 -2
  8. package/dist/dbr.bundle.mjs +2 -2
  9. package/dist/dbr.bundle.worker.js +2 -2
  10. package/dist/dynamsoft-barcode-reader-bundle-ml-simd-pthread-with-pdf.js +1 -0
  11. package/dist/dynamsoft-barcode-reader-bundle-ml-simd-pthread-with-pdf.wasm +0 -0
  12. package/dist/dynamsoft-barcode-reader-bundle-ml-simd-pthread-with-pdf.worker.js +6 -0
  13. package/dist/dynamsoft-barcode-reader-bundle-ml-simd-pthread.js +1 -1
  14. package/dist/dynamsoft-barcode-reader-bundle-ml-simd-pthread.wasm +0 -0
  15. package/dist/dynamsoft-barcode-reader-bundle-ml-simd-with-pdf.js +1 -0
  16. package/dist/dynamsoft-barcode-reader-bundle-ml-simd-with-pdf.wasm +0 -0
  17. package/dist/dynamsoft-barcode-reader-bundle-ml-simd.js +1 -1
  18. package/dist/dynamsoft-barcode-reader-bundle-ml-simd.wasm +0 -0
  19. package/dist/dynamsoft-barcode-reader-bundle.js +1 -1
  20. package/dist/dynamsoft-barcode-reader-bundle.wasm +0 -0
  21. package/dist/models/Code128Decoder.data +0 -0
  22. package/dist/models/Code39ITFDecoder.data +0 -0
  23. package/dist/models/DataMatrixQRCodeDeblur.data +0 -0
  24. package/dist/models/DataMatrixQRCodeLocalization.data +0 -0
  25. package/dist/models/EAN13Decoder.data +0 -0
  26. package/dist/models/OneDDeblur.data +0 -0
  27. package/dist/models/OneDLocalization.data +0 -0
  28. package/dist/models/PDF417Deblur.data +0 -0
  29. package/dist/models/PDF417Localization.data +0 -0
  30. package/dist/templates/DBR-PresetTemplates.json +12 -1
  31. package/dist/ui/barcode-scanner.ui.xml +3 -3
  32. package/dist/ui/dce.mobile-native.ui.xml +222 -0
  33. package/package.json +79 -78
  34. package/samples.url +1 -1
  35. package/dist/parser-resources/MRTD.data +0 -1
package/LEGAL.txt CHANGED
@@ -1,4 +1,4 @@
1
- ===================================================================================
1
+ \===================================================================================
2
2
  >>>>>>>>>>>>>>>>>>>>>>>> dynamsoft-barcode-reader-bundle <<<<<<<<<<<<<<<<<<<<<<<<<<
3
3
  ===================================================================================
4
4
 
@@ -1407,10 +1407,3 @@ Apache License
1407
1407
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1408
1408
  See the License for the specific language governing permissions and
1409
1409
  limitations under the License.
1410
-
1411
- ====================================================================================
1412
-
1413
- libzueci
1414
-
1415
- A simple, standalone, BSD-3-Clause C library for converting UTF-8 to/from Extended Channel Interpretations, as defined by AIM ITS/04-023 International Technical Standard - Extended Channel Interpretations Part 3: Register (Version 2, February 2022).
1416
-
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright © 20032026 Dynamsoft. All Rights Reserved.
1
+ Copyright © 2003-2026 Dynamsoft. All Rights Reserved.
2
2
 
3
3
  The use of this software is governed by the Dynamsoft Terms and Conditions.
4
4
  URL=https://www.dynamsoft.com/barcode-reader/license-agreement/#javascript
package/README.html CHANGED
@@ -229,42 +229,6 @@
229
229
  ![downloads](https://img.shields.io/npm/dm/dynamsoft-javascript-barcode.svg)
230
230
  ![jsdelivr](https://img.shields.io/jsdelivr/npm/hm/dynamsoft-javascript-barcode.svg) -->
231
231
  <p>In this guide, you will learn step by step on how to integrate the DBR-JS SDK into your website.</p>
232
- <p><span style="font-size:20px">Table of Contents</span></p>
233
- <ul>
234
- <li><a href="#barcode-reader-for-your-website---foundational-api-guide">Barcode Reader for Your Website - Foundational API Guide</a></li>
235
- <li><a href="#hello-world---simplest-implementation">Hello World - Simplest Implementation</a><ul>
236
- <li><a href="#understand-the-code">Understand the code</a></li>
237
- <li><a href="#about-the-code">About the code</a></li>
238
- <li><a href="#run-the-example">Run the example</a></li></ul></li>
239
- <li><a href="#preparing-the-sdk">Preparing the SDK</a><ul>
240
- <li><a href="#step-1-include-the-sdk">Step 1: Include the SDK</a></li>
241
- <li><a href="#step-2-prepare-the-sdk">Step 2: Prepare the SDK</a></li>
242
- <li><a href="#1-specify-the-license">1. Specify the license</a></li>
243
- <li><a href="#2-optional-specify-the-location-of-the-engine-files">2. [Optional] Specify the location of the "engine" files</a></li></ul></li>
244
- <li><a href="#using-the-sdk">Using the SDK</a><ul>
245
- <li><a href="#step-1-preload-the-module">Step 1: Preload the module</a></li>
246
- <li><a href="#step-2-create-a-capturevisionrouter-object">Step 2: Create a CaptureVisionRouter object</a></li>
247
- <li><a href="#step-3-connect-an-image-source">Step 3: Connect an image source</a></li>
248
- <li><a href="#step-4-register-a-result-receiver">Step 4: Register a result receiver</a></li>
249
- <li><a href="#step-5-start-process-video-frames">Step 5: Start process video frames</a></li></ul></li>
250
- <li><a href="#customizing-the-process">Customizing the process</a><ul>
251
- <li><a href="#1-adjust-the-preset-template-settings">1. Adjust the preset template settings</a></li>
252
- <li><a href="#11-change-barcode-settings">1.1. Change barcode settings</a></li>
253
- <li><a href="#12-retrieve-the-original-image">1.2. Retrieve the original image</a></li>
254
- <li><a href="#13-change-reading-frequency-to-save-power">1.3. Change reading frequency to save power</a></li>
255
- <li><a href="#14-specify-a-scan-region">1.4. Specify a scan region</a></li>
256
- <li><a href="#2-edit-the-preset-templates-directly">2. Edit the preset templates directly</a></li>
257
- <li><a href="#3-important-filter-the-results">3. [Important] Filter the results</a></li>
258
- <li><a href="#method-1-verify-results-across-multiple-frames">Method 1: Verify results across multiple frames</a></li>
259
- <li><a href="#method-2-eliminate-redundant-results-detected-within-a-short-time-frame">Method 2: Eliminate redundant results detected within a short time frame</a></li>
260
- <li><a href="#4-add-feedback">4. Add feedback</a></li></ul></li>
261
- <li><a href="#customizing-the-ui">Customizing the UI</a></li>
262
- <li><a href="#documentation">Documentation</a><ul>
263
- <li><a href="#api-reference">API Reference</a></li>
264
- <li><a href="#how-to-upgrade">How to Upgrade</a></li>
265
- <li><a href="#release-notes">Release Notes</a></li></ul></li>
266
- <li><a href="#next-steps">Next Steps</a></li>
267
- </ul>
268
232
  <h2 id="hello-world---simplest-implementation">Hello World - Simplest Implementation</h2>
269
233
  <p>Let's start with the "Hello World" example of the DBR-JS SDK which demonstrates how to use the minimum code to enable a web page to read barcodes from a live video stream. </p>
270
234
  <p><strong>Basic Requirements</strong></p>
@@ -283,7 +247,7 @@
283
247
  <span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
284
248
  <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">id</span>=<span class="hljs-string">&quot;camera-view-container&quot;</span> <span class="hljs-attr">style</span>=<span class="hljs-string">&quot;width: 100%; height: 60vh&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
285
249
  <span class="hljs-tag">&lt;<span class="hljs-name">textarea</span> <span class="hljs-attr">id</span>=<span class="hljs-string">&quot;results&quot;</span> <span class="hljs-attr">style</span>=<span class="hljs-string">&quot;width: 100%; min-height: 10vh; font-size: 3vmin; overflow: auto&quot;</span> <span class="hljs-attr">disabled</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">textarea</span>&gt;</span>
286
- <span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.4.2001/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
250
+ <span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
287
251
  <span class="hljs-tag">&lt;<span class="hljs-name">script</span>&gt;</span><span class="javascript">
288
252
  Dynamsoft.License.LicenseManager.initLicense(<span class="hljs-string">&quot;DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9&quot;</span>);
289
253
  Dynamsoft.Core.CoreModule.loadWasm();
@@ -318,7 +282,7 @@
318
282
  <span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
319
283
  </code></pre>
320
284
  <p align="center" style="text-align:center; white-space: normal; ">
321
- <a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.4.20/hello-world.html" title="Code in Github" style="text-decoration:none;">
285
+ <a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.6.20/basics/hello-world.html" title="Code in Github" style="text-decoration:none;">
322
286
  <img src="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/github.svg" alt="Code in Github" width="20" height="20" style="width:20px;height:20px;">
323
287
  </a>
324
288
  &nbsp;
@@ -326,7 +290,7 @@
326
290
  <img src="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/jsfiddle.svg" alt="Run via JSFiddle" width="20" height="20" style="width:20px;height:20px;" >
327
291
  </a>
328
292
  &nbsp;
329
- <a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/hello-world.html?ver=11.4.20&utm_source=npm" title="Run in Dynamsoft" style="text-decoration:none;">
293
+ <a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/basics/hello-world.html?ver=11.6.20&utm_source=npm" title="Run in Dynamsoft" style="text-decoration:none;">
330
294
  <img src="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.0.0/svgs/solid/circle-play.svg" alt="Run in Dynamsoft" width="20" height="20" style="width:20px;height:20px;">
331
295
  </a>
332
296
  </p>
@@ -369,15 +333,15 @@ cvRouter.addResultFilter(filter);
369
333
  <p>Read more on <a href="https://www.dynamsoft.com/capture-vision/docs/core/architecture/#capture-vision-router">Capture Vision Router</a>.</p>
370
334
  </blockquote>
371
335
  <h3 id="run-the-example">Run the example</h3>
372
- <p>You can run the example deployed to <a href="https://demo.dynamsoft.com/Samples/DBR/JS/hello-world.html?ver=11.4.20&utm_source=npm">the Dynamsoft Demo Server</a> or test it with <a href="https://jsfiddle.net/DynamsoftTeam/csm2f9wb/">JSFiddle code editor</a>. </p>
336
+ <p>You can run the example deployed to <a href="https://demo.dynamsoft.com/Samples/DBR/JS/basics/hello-world.html?ver=11.6.20&utm_source=npm">the Dynamsoft Demo Server</a> or test it with <a href="https://jsfiddle.net/DynamsoftTeam/csm2f9wb/">JSFiddle code editor</a>. </p>
373
337
  <p>You will be asked to allow access to your camera, after which the video will be displayed on the page. After that, you can point the camera at a barcode to read it.</p>
374
338
  <p>When a barcode is decoded, you will see the result text show up under the video and the barcode location will be highlighted in the video feed.</p>
375
339
  <p>Alternatively, you can test locally by copying and pasting the code shown above into a local file (e.g. "hello-world.html") and opening it in your browser.</p>
376
340
  <blockquote>
377
341
  <p><em>Secure Contexts</em>:</p>
378
- <p>If you open the web page as <code>http://</code> , our SDK may not work correctly because the <a href="https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia">MediaDevices: getUserMedia()</a> and other methods only work in <a href="https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts">secure contexts</a> (HTTPS, <code>localhost</code>, <code>127.0.0.1</code>, <code>file://</code>), in some or all supporting browsers.</p>
342
+ <p>If you open the web page as <code>http://</code>, our SDK may not work correctly because the <a href="https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia">MediaDevices: getUserMedia()</a> and other methods only work in <a href="https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts">secure contexts</a> (HTTPS, <code>localhost</code>, <code>127.0.0.1</code>, <code>file://</code>), in some or all supporting browsers.</p>
379
343
  <p>Regarding configuring https on your server, these guides for <a href="https://nginx.org/en/docs/http/configuring_https_servers.html">nginx</a> / <a href="https://aboutssl.org/how-to-create-a-self-signed-certificate-in-iis/">IIS</a> / <a href="https://dzone.com/articles/setting-ssl-tomcat-5-minutes">tomcat</a> / <a href="https://nodejs.org/docs/v0.4.1/api/tls.html">nodejs</a> might help.</p>
380
- <p>If the test doesn't go as expected, you can <a href="https://www.dynamsoft.com/company/contact/?ver=11.4.20&utm_source=npm&product=dbr&package=js">contact us</a>.</p>
344
+ <p>If the test doesn't go as expected, you can <a href="https://www.dynamsoft.com/company/contact/?ver=11.6.20&utm_source=npm&product=dbr&package=js">contact us</a>.</p>
381
345
  </blockquote>
382
346
  <h2 id="preparing-the-sdk">Preparing the SDK</h2>
383
347
  <h3 id="step-1-include-the-sdk">Step 1: Include the SDK</h3>
@@ -391,24 +355,24 @@ cvRouter.addResultFilter(filter);
391
355
  <ul>
392
356
  <li>jsDelivr</li>
393
357
  </ul>
394
- <pre><code class="hljs html language-html"> <span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.4.2001/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
358
+ <pre><code class="hljs html language-html"> <span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
395
359
  </code></pre>
396
360
  <ul>
397
361
  <li>UNPKG</li>
398
362
  </ul>
399
- <pre><code class="hljs html language-html"> <span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;https://unpkg.com/dynamsoft-barcode-reader-bundle@11.4.2001/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
363
+ <pre><code class="hljs html language-html"> <span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;https://unpkg.com/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
400
364
  </code></pre>
401
365
  <!-- - In some rare cases (such as some restricted areas), you might not be able to access the CDN. If this happens, you can use the following files for the test.
402
- <pre><code class="hljs html language-html"> <span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;https://download2.dynamsoft.com/packages/dynamsoft-barcode-reader-bundle@11.4.2001/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
366
+ <pre><code class="hljs html language-html"> <span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;https://download2.dynamsoft.com/packages/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
403
367
  </code></pre>
404
368
 
405
369
  However, please **DO NOT** use `download2.dynamsoft.com` resources in a production application as they are for temporary testing purposes only. Instead, you can try hosting the SDK yourself. -->
406
370
  <ul>
407
371
  <li>In frameworks like React, Vue and Angular, you may want to add the package as a dependency.</li>
408
372
  </ul>
409
- <pre><code class="hljs sh language-sh"> npm i dynamsoft-barcode-reader-bundle@11.4.2001 -E
373
+ <pre><code class="hljs sh language-sh"> npm i dynamsoft-barcode-reader-bundle@11.6.2000 -E
410
374
  <span class="hljs-comment"># or</span>
411
- yarn add dynamsoft-barcode-reader-bundle@11.4.2001 -E
375
+ yarn add dynamsoft-barcode-reader-bundle@11.6.2000 -E
412
376
  </code></pre>
413
377
  <p>NOTE that in frameworks, you need to <a href="#2-optional-specify-the-location-of-the-engine-files">specify the location of the engine files</a>.</p>
414
378
  <div class="multi-panel-end"></div>
@@ -417,28 +381,28 @@ cvRouter.addResultFilter(filter);
417
381
  <p>Besides using the public CDN, you can also download the SDK and host its files on your own server or a commercial CDN before including it in your application.</p>
418
382
  <ul>
419
383
  <li><p>From the website</p>
420
- <p><a href="https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.4.20&utm_source=npm&product=dbr&package=js">Download Dynamsoft Barcode Reader JavaScript Package</a></p>
421
- <p>The resources are located at path <code>dynamsoft/distributables/&lt;pkg&gt;@&lt;version&gt;</code>.</p></li>
384
+ <p><a href="https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.6.20&utm_source=npm&product=dbr&package=js">Download Dynamsoft Barcode Reader JavaScript Package</a></p>
385
+ <p>The resources are located at the path <code>dynamsoft-barcode-reader-js-{version-number}/dist/</code>.</p></li>
422
386
  <li><p>From npm</p></li>
423
387
  </ul>
424
- <pre><code class="hljs sh language-sh"> npm i dynamsoft-barcode-reader-bundle@11.4.2001 -E
388
+ <pre><code class="hljs sh language-sh"> npm i dynamsoft-barcode-reader-bundle@11.6.2000 -E
425
389
  </code></pre>
426
390
  <p>The resources are located at the path <code>node_modules/&lt;pkg&gt;</code>, without <code>@&lt;version&gt;</code>. You must copy "dynamsoft-xxx" packages elsewhere and add <code>@&lt;version&gt;</code>. The <code>&lt;version&gt;</code> can be obtained from <code>package.json</code> of each package. Another thing to do is to <a href="#2-optional-specify-the-location-of-the-engine-files">specify the engineResourcePaths</a> so that the SDK can correctly locate the resources.</p>
427
391
  <blockquote>
428
392
  <p>Since "node<em>modules" is reserved for Node.js dependencies, and in our case the package is used only as static resources, we recommend either renaming the "node</em>modules" folder or moving the "dynamsoft-" packages to a dedicated folder for static resources in your project to facilitate self-hosting.</p>
429
393
  </blockquote>
430
394
  <p>You can typically include SDK like this:</p>
431
- <pre><code class="hljs html language-html"><span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;path/to/dynamsoft-barcode-reader-bundle@11.4.2001/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
395
+ <pre><code class="hljs html language-html"><span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;path/to/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>
432
396
  </code></pre>
433
397
  <div class="multi-panel-end"></div>
434
398
  <div class="multi-panel-switching-end"></div>
435
399
  <p><em>Note</em>:</p>
436
400
  <ul>
437
- <li>Certain legacy web application servers may lack support for the <code>application/wasm</code> mimetype for .wasm files. To address this, you have two options:</li>
401
+ <li>Certain legacy web application servers may lack support for the <code>application/wasm</code> MIME type for .wasm files. To address this, you have two options:</li>
438
402
  </ul>
439
403
  <ol>
440
- <li>Upgrade your web application server to one that supports the <code>application/wasm</code> mimetype.</li>
441
- <li>Manually define the mimetype on your server. You can refer to the guides for <a href="https://developer.mozilla.org/en-US/docs/Learn/Server-side/Apache_Configuration_htaccess#media_types_and_character_encodings">apache</a> / <a href="https://docs.microsoft.com/en-us/iis/configuration/system.webserver/staticcontent/mimemap">IIS</a> / <a href="https://www.nginx.com/resources/wiki/start/topics/examples/full/#mime-types">nginx</a>.</li>
404
+ <li>Upgrade your web application server to one that supports the <code>application/wasm</code> MIME type.</li>
405
+ <li>Manually define the MIME type on your server. You can refer to the guides for <a href="https://developer.mozilla.org/en-US/docs/Learn/Server-side/Apache_Configuration_htaccess#media_types_and_character_encodings">apache</a> / <a href="https://docs.microsoft.com/en-us/iis/configuration/system.webserver/staticcontent/mimemap">IIS</a> / <a href="https://www.nginx.com/resources/wiki/start/topics/examples/full/#mime-types">nginx</a>.</li>
442
406
  </ol>
443
407
  <ul>
444
408
  <li>To work properly, the SDK requires a few engine files, which are relatively large and may take quite a few seconds to download. We recommend that you set a longer cache time for these engine files, to maximize the performance of your web application.</li>
@@ -452,21 +416,21 @@ cvRouter.addResultFilter(filter);
452
416
  <p>To enable the SDK's functionality, you must provide a valid license. Utilize the API function initLicense to set your license key.</p>
453
417
  <pre><code class="hljs javascript language-javascript">Dynamsoft.License.LicenseManager.initLicense(<span class="hljs-string">&quot;DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9&quot;</span>);
454
418
  </code></pre>
455
- <p>As previously stated, the key "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" serves as a test license valid for 24 hours, applicable to any newly authorized browser. To test the SDK further, you can request a 30-day free trial license via the <a href="https://www.dynamsoft.com/customer/license/trialLicense?ver=11.4.20&utm_source=npm&product=dbr&package=js" target="_blank">Request a Trial License</a> link.</p>
419
+ <p>As previously stated, the key "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" serves as a test license valid for 24 hours, applicable to any newly authorized browser. To test the SDK further, you can request a 30-day free trial license via the <a href="https://www.dynamsoft.com/customer/license/trialLicense?ver=11.6.20&utm_source=npm&product=dbr&package=js" target="_blank">Request a Trial License</a> link.</p>
456
420
  <blockquote>
457
421
  <p>Upon registering a Dynamsoft account and obtaining the SDK package from the official website, Dynamsoft will automatically create a 30-day free trial license and embed the corresponding license key into all the provided SDK samples.</p>
458
422
  </blockquote>
459
423
  <h4 id="2-optional-specify-the-location-of-the-engine-files">2. [Optional] Specify the location of the "engine" files</h4>
460
- <p>This step is generally necessary when utilizing frameworks such as Angular, React, Vue, or when managing the hosting of resource files yourself.</p>
424
+ <p>This step is optional and is only necessary if you need to specify a custom location for the engine files, such as when hosting these resources yourself or when your project's build setup does not automatically resolve them from the default location.</p>
461
425
  <p>The purpose is to tell the SDK where to find the engine files (*.worker.js, *.wasm.js and *.wasm, etc.).</p>
462
- <pre><code class="hljs ts language-ts"><span class="hljs-comment">// in framework</span>
426
+ <pre><code class="hljs ts language-ts"><span class="hljs-comment">// In an ES Module</span>
463
427
  <span class="hljs-keyword">import</span> { CoreModule } <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;dynamsoft-barcode-reader-bundle&quot;</span>;
464
428
  CoreModule.engineResourcePaths.rootDirectory = <span class="hljs-string">&quot;https://cdn.jsdelivr.net/npm/&quot;</span>;
465
429
  </code></pre>
466
- <pre><code class="hljs js language-js"><span class="hljs-comment">// in pure js</span>
430
+ <pre><code class="hljs js language-js"><span class="hljs-comment">// Using the global namespace</span>
467
431
  Dynamsoft.Core.CoreModule.engineResourcePaths.rootDirectory = <span class="hljs-string">&quot;https://cdn.jsdelivr.net/npm/&quot;</span>;
468
432
  </code></pre>
469
- <p>These code uses the jsDelivr CDN as an example, feel free to change it to your own location.</p>
433
+ <p>This code uses the jsDelivr CDN as an example, feel free to change it to your own location.</p>
470
434
  <h2 id="using-the-sdk">Using the SDK</h2>
471
435
  <h3 id="step-1-preload-the-module">Step 1: Preload the module</h3>
472
436
  <p>The image processing logic is encapsulated within .wasm library files, and these files may require some time for downloading. To enhance the speed, we advise utilizing the following method to preload the libraries.</p>
@@ -694,7 +658,7 @@ settings.timeout = <span class="hljs-number">500</span>;
694
658
  <h3 id="2-edit-the-preset-templates-directly">2. Edit the preset templates directly</h3>
695
659
  <p>The preset templates have many more settings that can be customized to suit your use case best. If you <a href="https://www.dynamsoft.com/barcode-reader/downloads/1000003-confirmation/">download the SDK from Dynamsoft website</a>, you can find the templates under</p>
696
660
  <ul>
697
- <li>"/dynamsoft-barcode-reader-js-11.4.2001/dist/templates/"</li>
661
+ <li>"/dynamsoft-barcode-reader-js-11.6.2000/dist/templates/"</li>
698
662
  </ul>
699
663
  <p>Upon completing the template editing, you can invoke the <code>initSettings</code> method and provide it with the template path as an argument.</p>
700
664
  <pre><code class="hljs javascript language-javascript"><span class="hljs-keyword">await</span> cvRouter.initSettings(<span class="hljs-string">&quot;PATH-TO-THE-FILE&quot;</span>); <span class="hljs-comment">// E.g. &quot;https://your-website/ReadSingleBarcode.json&quot;)</span>
@@ -768,7 +732,7 @@ uiElement.querySelector(<span class="hljs-string">&#x27;.dce-sel-resolution&#x27
768
732
  <h2 id="documentation">Documentation</h2>
769
733
  <h3 id="api-reference">API Reference</h3>
770
734
  <p>You can check out the detailed documentation about the APIs of the SDK at<br />
771
- <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.4.2001">https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.4.2001</a>.</p>
735
+ <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.6.2000">https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.6.2000</a>.</p>
772
736
  <!-- Compatibility is basically not an issue. Pls remove to another place
773
737
 
774
738
  ## System Requirements
@@ -780,7 +744,7 @@ DBR requires the following features to work:
780
744
  When deploying your application / website for production, make sure to serve it via a secure HTTPS connection. This is required for two reasons
781
745
 
782
746
  - Access to the camera video stream is only granted in a security context. Most browsers impose this restriction.
783
- > Some browsers like Chrome may grant the access for `http://127.0.0.1` and `http://localhost` or even for pages opened directly from the local disk (`file:///...`). This can be helpful for temporary development and test.
747
+ > Some browsers like Chrome may grant access for `http://127.0.0.1` and `http://localhost` or even for pages opened directly from the local disk (`file:///...`). This can be helpful for temporary development and testing.
784
748
 
785
749
  - Dynamsoft License requires a secure context to work.
786
750
 
package/README.md CHANGED
@@ -12,42 +12,6 @@
12
12
 
13
13
  In this guide, you will learn step by step on how to integrate the DBR-JS SDK into your website.
14
14
 
15
- <span style="font-size:20px">Table of Contents</span>
16
-
17
- - [Barcode Reader for Your Website - Foundational API Guide](#barcode-reader-for-your-website---foundational-api-guide)
18
- - [Hello World - Simplest Implementation](#hello-world---simplest-implementation)
19
- - [Understand the code](#understand-the-code)
20
- - [About the code](#about-the-code)
21
- - [Run the example](#run-the-example)
22
- - [Preparing the SDK](#preparing-the-sdk)
23
- - [Step 1: Include the SDK](#step-1-include-the-sdk)
24
- - [Step 2: Prepare the SDK](#step-2-prepare-the-sdk)
25
- - [1. Specify the license](#1-specify-the-license)
26
- - [2. \[Optional\] Specify the location of the "engine" files](#2-optional-specify-the-location-of-the-engine-files)
27
- - [Using the SDK](#using-the-sdk)
28
- - [Step 1: Preload the module](#step-1-preload-the-module)
29
- - [Step 2: Create a CaptureVisionRouter object](#step-2-create-a-capturevisionrouter-object)
30
- - [Step 3: Connect an image source](#step-3-connect-an-image-source)
31
- - [Step 4: Register a result receiver](#step-4-register-a-result-receiver)
32
- - [Step 5: Start process video frames](#step-5-start-process-video-frames)
33
- - [Customizing the process](#customizing-the-process)
34
- - [1. Adjust the preset template settings](#1-adjust-the-preset-template-settings)
35
- - [1.1. Change barcode settings](#11-change-barcode-settings)
36
- - [1.2. Retrieve the original image](#12-retrieve-the-original-image)
37
- - [1.3. Change reading frequency to save power](#13-change-reading-frequency-to-save-power)
38
- - [1.4. Specify a scan region](#14-specify-a-scan-region)
39
- - [2. Edit the preset templates directly](#2-edit-the-preset-templates-directly)
40
- - [3. \[Important\] Filter the results](#3-important-filter-the-results)
41
- - [Method 1: Verify results across multiple frames](#method-1-verify-results-across-multiple-frames)
42
- - [Method 2: Eliminate redundant results detected within a short time frame](#method-2-eliminate-redundant-results-detected-within-a-short-time-frame)
43
- - [4. Add feedback](#4-add-feedback)
44
- - [Customizing the UI](#customizing-the-ui)
45
- - [Documentation](#documentation)
46
- - [API Reference](#api-reference)
47
- - [How to Upgrade](#how-to-upgrade)
48
- - [Release Notes](#release-notes)
49
- - [Next Steps](#next-steps)
50
-
51
15
  ## Hello World - Simplest Implementation
52
16
 
53
17
  Let's start with the "Hello World" example of the DBR-JS SDK which demonstrates how to use the minimum code to enable a web page to read barcodes from a live video stream.
@@ -70,7 +34,7 @@ The complete code of the "Hello World" example is shown below
70
34
  <body>
71
35
  <div id="camera-view-container" style="width: 100%; height: 60vh"></div>
72
36
  <textarea id="results" style="width: 100%; min-height: 10vh; font-size: 3vmin; overflow: auto" disabled></textarea>
73
- <script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.4.2001/dist/dbr.bundle.js"></script>
37
+ <script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js"></script>
74
38
  <script>
75
39
  Dynamsoft.License.LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9");
76
40
  Dynamsoft.Core.CoreModule.loadWasm();
@@ -106,7 +70,7 @@ The complete code of the "Hello World" example is shown below
106
70
  ```
107
71
 
108
72
  <p align="center" style="text-align:center; white-space: normal; ">
109
- <a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.4.20/hello-world.html" title="Code in Github" style="text-decoration:none;">
73
+ <a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.6.20/basics/hello-world.html" title="Code in Github" style="text-decoration:none;">
110
74
  <img src="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/github.svg" alt="Code in Github" width="20" height="20" style="width:20px;height:20px;">
111
75
  </a>
112
76
  &nbsp;
@@ -114,7 +78,7 @@ The complete code of the "Hello World" example is shown below
114
78
  <img src="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/jsfiddle.svg" alt="Run via JSFiddle" width="20" height="20" style="width:20px;height:20px;" >
115
79
  </a>
116
80
  &nbsp;
117
- <a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/hello-world.html?ver=11.4.20&utm_source=npm" title="Run in Dynamsoft" style="text-decoration:none;">
81
+ <a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/basics/hello-world.html?ver=11.6.20&utm_source=npm" title="Run in Dynamsoft" style="text-decoration:none;">
118
82
  <img src="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.0.0/svgs/solid/circle-play.svg" alt="Run in Dynamsoft" width="20" height="20" style="width:20px;height:20px;">
119
83
  </a>
120
84
  </p>
@@ -159,7 +123,7 @@ The complete code of the "Hello World" example is shown below
159
123
 
160
124
  ### Run the example
161
125
 
162
- You can run the example deployed to [the Dynamsoft Demo Server](https://demo.dynamsoft.com/Samples/DBR/JS/hello-world.html?ver=11.4.20&utm_source=npm) or test it with [JSFiddle code editor](https://jsfiddle.net/DynamsoftTeam/csm2f9wb/).
126
+ You can run the example deployed to [the Dynamsoft Demo Server](https://demo.dynamsoft.com/Samples/DBR/JS/basics/hello-world.html?ver=11.6.20&utm_source=npm) or test it with [JSFiddle code editor](https://jsfiddle.net/DynamsoftTeam/csm2f9wb/).
163
127
 
164
128
  You will be asked to allow access to your camera, after which the video will be displayed on the page. After that, you can point the camera at a barcode to read it.
165
129
 
@@ -169,11 +133,11 @@ Alternatively, you can test locally by copying and pasting the code shown above
169
133
 
170
134
  > *Secure Contexts*:
171
135
  >
172
- > If you open the web page as `http://` , our SDK may not work correctly because the [MediaDevices: getUserMedia()](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia) and other methods only work in [secure contexts](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts) (HTTPS, `localhost`, `127.0.0.1`, `file://`), in some or all supporting browsers.
136
+ > If you open the web page as `http://`, our SDK may not work correctly because the [MediaDevices: getUserMedia()](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia) and other methods only work in [secure contexts](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts) (HTTPS, `localhost`, `127.0.0.1`, `file://`), in some or all supporting browsers.
173
137
  >
174
138
  > Regarding configuring https on your server, these guides for [nginx](https://nginx.org/en/docs/http/configuring_https_servers.html) / [IIS](https://aboutssl.org/how-to-create-a-self-signed-certificate-in-iis/) / [tomcat](https://dzone.com/articles/setting-ssl-tomcat-5-minutes) / [nodejs](https://nodejs.org/docs/v0.4.1/api/tls.html) might help.
175
139
  >
176
- > If the test doesn't go as expected, you can [contact us](https://www.dynamsoft.com/company/contact/?ver=11.4.20&utm_source=npm&product=dbr&package=js).
140
+ > If the test doesn't go as expected, you can [contact us](https://www.dynamsoft.com/company/contact/?ver=11.6.20&utm_source=npm&product=dbr&package=js).
177
141
 
178
142
  ## Preparing the SDK
179
143
 
@@ -192,19 +156,19 @@ The simplest way to include the SDK is to use either the [jsDelivr](https://jsde
192
156
  - jsDelivr
193
157
 
194
158
  ```html
195
- <script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.4.2001/dist/dbr.bundle.js"></script>
159
+ <script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js"></script>
196
160
  ```
197
161
 
198
162
  - UNPKG
199
163
 
200
164
  ```html
201
- <script src="https://unpkg.com/dynamsoft-barcode-reader-bundle@11.4.2001/dist/dbr.bundle.js"></script>
165
+ <script src="https://unpkg.com/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js"></script>
202
166
  ```
203
167
 
204
168
  <!-- - In some rare cases (such as some restricted areas), you might not be able to access the CDN. If this happens, you can use the following files for the test.
205
169
 
206
170
  ```html
207
- <script src="https://download2.dynamsoft.com/packages/dynamsoft-barcode-reader-bundle@11.4.2001/dist/dbr.bundle.js"></script>
171
+ <script src="https://download2.dynamsoft.com/packages/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js"></script>
208
172
  ```
209
173
 
210
174
  However, please **DO NOT** use `download2.dynamsoft.com` resources in a production application as they are for temporary testing purposes only. Instead, you can try hosting the SDK yourself. -->
@@ -212,9 +176,9 @@ The simplest way to include the SDK is to use either the [jsDelivr](https://jsde
212
176
  - In frameworks like React, Vue and Angular, you may want to add the package as a dependency.
213
177
 
214
178
  ```sh
215
- npm i dynamsoft-barcode-reader-bundle@11.4.2001 -E
179
+ npm i dynamsoft-barcode-reader-bundle@11.6.2000 -E
216
180
  # or
217
- yarn add dynamsoft-barcode-reader-bundle@11.4.2001 -E
181
+ yarn add dynamsoft-barcode-reader-bundle@11.6.2000 -E
218
182
  ```
219
183
 
220
184
  NOTE that in frameworks, you need to [specify the location of the engine files](#2-optional-specify-the-location-of-the-engine-files).
@@ -227,14 +191,14 @@ Besides using the public CDN, you can also download the SDK and host its files o
227
191
 
228
192
  - From the website
229
193
 
230
- [Download Dynamsoft Barcode Reader JavaScript Package](https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.4.20&utm_source=npm&product=dbr&package=js)
194
+ [Download Dynamsoft Barcode Reader JavaScript Package](https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.6.20&utm_source=npm&product=dbr&package=js)
231
195
 
232
- The resources are located at path `dynamsoft/distributables/<pkg>@<version>`.
196
+ The resources are located at the path `dynamsoft-barcode-reader-js-{version-number}/dist/`.
233
197
 
234
198
  - From npm
235
199
 
236
200
  ```sh
237
- npm i dynamsoft-barcode-reader-bundle@11.4.2001 -E
201
+ npm i dynamsoft-barcode-reader-bundle@11.6.2000 -E
238
202
  ```
239
203
 
240
204
  The resources are located at the path `node_modules/<pkg>`, without `@<version>`. You must copy "dynamsoft-xxx" packages elsewhere and add `@<version>`. The `<version>` can be obtained from `package.json` of each package. Another thing to do is to [specify the engineResourcePaths](#2-optional-specify-the-location-of-the-engine-files) so that the SDK can correctly locate the resources.
@@ -243,7 +207,7 @@ Besides using the public CDN, you can also download the SDK and host its files o
243
207
  You can typically include SDK like this:
244
208
 
245
209
  ```html
246
- <script src="path/to/dynamsoft-barcode-reader-bundle@11.4.2001/dist/dbr.bundle.js"></script>
210
+ <script src="path/to/dynamsoft-barcode-reader-bundle@11.6.2000/dist/dbr.bundle.js"></script>
247
211
  ```
248
212
  <div class="multi-panel-end"></div>
249
213
 
@@ -251,9 +215,9 @@ You can typically include SDK like this:
251
215
 
252
216
  *Note*:
253
217
 
254
- * Certain legacy web application servers may lack support for the `application/wasm` mimetype for .wasm files. To address this, you have two options:
255
- 1. Upgrade your web application server to one that supports the `application/wasm` mimetype.
256
- 2. Manually define the mimetype on your server. You can refer to the guides for [apache](https://developer.mozilla.org/en-US/docs/Learn/Server-side/Apache_Configuration_htaccess#media_types_and_character_encodings) / [IIS](https://docs.microsoft.com/en-us/iis/configuration/system.webserver/staticcontent/mimemap) / [nginx](https://www.nginx.com/resources/wiki/start/topics/examples/full/#mime-types).
218
+ * Certain legacy web application servers may lack support for the `application/wasm` MIME type for .wasm files. To address this, you have two options:
219
+ 1. Upgrade your web application server to one that supports the `application/wasm` MIME type.
220
+ 2. Manually define the MIME type on your server. You can refer to the guides for [apache](https://developer.mozilla.org/en-US/docs/Learn/Server-side/Apache_Configuration_htaccess#media_types_and_character_encodings) / [IIS](https://docs.microsoft.com/en-us/iis/configuration/system.webserver/staticcontent/mimemap) / [nginx](https://www.nginx.com/resources/wiki/start/topics/examples/full/#mime-types).
257
221
 
258
222
  * To work properly, the SDK requires a few engine files, which are relatively large and may take quite a few seconds to download. We recommend that you set a longer cache time for these engine files, to maximize the performance of your web application.
259
223
 
@@ -275,26 +239,26 @@ To enable the SDK's functionality, you must provide a valid license. Utilize the
275
239
  Dynamsoft.License.LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9");
276
240
  ```
277
241
 
278
- As previously stated, the key "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" serves as a test license valid for 24 hours, applicable to any newly authorized browser. To test the SDK further, you can request a 30-day free trial license via the <a href="https://www.dynamsoft.com/customer/license/trialLicense?ver=11.4.20&utm_source=npm&product=dbr&package=js" target="_blank">Request a Trial License</a> link.
242
+ As previously stated, the key "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" serves as a test license valid for 24 hours, applicable to any newly authorized browser. To test the SDK further, you can request a 30-day free trial license via the <a href="https://www.dynamsoft.com/customer/license/trialLicense?ver=11.6.20&utm_source=npm&product=dbr&package=js" target="_blank">Request a Trial License</a> link.
279
243
 
280
244
  > Upon registering a Dynamsoft account and obtaining the SDK package from the official website, Dynamsoft will automatically create a 30-day free trial license and embed the corresponding license key into all the provided SDK samples.
281
245
 
282
246
  #### 2. [Optional] Specify the location of the "engine" files
283
247
 
284
- This step is generally necessary when utilizing frameworks such as Angular, React, Vue, or when managing the hosting of resource files yourself.
248
+ This step is optional and is only necessary if you need to specify a custom location for the engine files, such as when hosting these resources yourself or when your project's build setup does not automatically resolve them from the default location.
285
249
 
286
250
  The purpose is to tell the SDK where to find the engine files (\*.worker.js, \*.wasm.js and \*.wasm, etc.).
287
251
 
288
252
  ```ts
289
- // in framework
253
+ // In an ES Module
290
254
  import { CoreModule } from "dynamsoft-barcode-reader-bundle";
291
255
  CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdelivr.net/npm/";
292
256
  ```
293
257
  ```js
294
- // in pure js
258
+ // Using the global namespace
295
259
  Dynamsoft.Core.CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdelivr.net/npm/";
296
260
  ```
297
- These code uses the jsDelivr CDN as an example, feel free to change it to your own location.
261
+ This code uses the jsDelivr CDN as an example, feel free to change it to your own location.
298
262
 
299
263
  ## Using the SDK
300
264
 
@@ -562,7 +526,7 @@ await cvRouter.startCapturing("ReadSingleBarcode");
562
526
 
563
527
  The preset templates have many more settings that can be customized to suit your use case best. If you [download the SDK from Dynamsoft website](https://www.dynamsoft.com/barcode-reader/downloads/1000003-confirmation/), you can find the templates under
564
528
 
565
- * "/dynamsoft-barcode-reader-js-11.4.2001/dist/templates/"
529
+ * "/dynamsoft-barcode-reader-js-11.6.2000/dist/templates/"
566
530
 
567
531
  Upon completing the template editing, you can invoke the `initSettings` method and provide it with the template path as an argument.
568
532
 
@@ -664,7 +628,7 @@ The UI is part of the auxiliary SDK "Dynamsoft Camera Enhancer", read more on ho
664
628
  ### API Reference
665
629
 
666
630
  You can check out the detailed documentation about the APIs of the SDK at
667
- [https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.4.2001](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.4.2001).
631
+ [https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.6.2000](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.6.2000).
668
632
 
669
633
  <!-- Compatibility is basically not an issue. Pls remove to another place
670
634
 
@@ -677,7 +641,7 @@ DBR requires the following features to work:
677
641
  When deploying your application / website for production, make sure to serve it via a secure HTTPS connection. This is required for two reasons
678
642
 
679
643
  - Access to the camera video stream is only granted in a security context. Most browsers impose this restriction.
680
- > Some browsers like Chrome may grant the access for `http://127.0.0.1` and `http://localhost` or even for pages opened directly from the local disk (`file:///...`). This can be helpful for temporary development and test.
644
+ > Some browsers like Chrome may grant access for `http://127.0.0.1` and `http://localhost` or even for pages opened directly from the local disk (`file:///...`). This can be helpful for temporary development and testing.
681
645
 
682
646
  - Dynamsoft License requires a secure context to work.
683
647