You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That said, as shown in the sample above, you don't necessarily need to call the above API because other APIs like `Dynamsoft.BarcodeReader.createInstance` and `Dynamsoft.BarcodeScanner.createInstance` will call `loadWasm` themselves.
> **NOTE**: Including the library with a script tag doesn't automatically initialize the library. For better performance, you may want to call `loadWasm` to download and compile the `wasm` file in advance and create a reader or scanner instance later.
@@ -542,7 +551,7 @@ let scanner = null;
542
551
To speed up the scanning process, you can choose to scan only a specific area/region.
543
552
544
553
```javascript
545
-
let settings =awaitbarcodeScanner.getRuntimeSettings();
Copy file name to clipboardExpand all lines: doc/api reference/index.html
+15-6Lines changed: 15 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -408,11 +408,20 @@ <h3>Initializing</h3>
408
408
</a>
409
409
<p>The library is based on the <code>WebAssembly</code> standard, therefore, <strong>on first use</strong>, it needs some time to download and compile the <code>wasm</code> files. After the first use, the browser may cache the file so that the next time no 'downloading' is required.</p>
410
410
<p><code>Dynamsoft.BarcodeReader.loadWasm</code> is the API to start the initialization. </p>
<p>That said, as shown in the sample above, you don't necessarily need to call the above API because other APIs like <code>Dynamsoft.BarcodeReader.createInstance</code> and <code>Dynamsoft.BarcodeScanner.createInstance</code> will call <code>loadWasm</code> themselves.</p>
<p><strong>NOTE</strong>: Including the library with a script tag doesn't automatically initialize the library. For better performance, you may want to call <code>loadWasm</code> to download and compile the <code>wasm</code> file in advance and create a reader or scanner instance later.</p>
418
427
</blockquote>
@@ -640,7 +649,7 @@ <h3>Show found barcodes</h3>
640
649
<h3>Read a specific area/region</h3>
641
650
</a>
642
651
<p>To speed up the scanning process, you can choose to scan only a specific area/region.</p>
<p>If there are any questions, please feel free to contact <ahref="mailto:support@dynamsoft.com">support@dynamsoft.com</a>.</p>
749
+
<p>If there are any questions, please feel free to contact <ahref="mailto:support@dynamsoft.com">support@dynamsoft.com</a>.</p>
0 commit comments