Skip to content

Commit 51435d3

Browse files
committed
UPDATE
1 parent 47efd89 commit 51435d3

File tree

6 files changed

+0
-6
lines changed

6 files changed

+0
-6
lines changed

foundational-api-samples/hello-world/hello-world.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ <h1>Hello World (Decode via Camera)</h1>
3636
// Optional. Used to load wasm resources in advance, reducing latency between video playing and barcode decoding.
3737
Dynamsoft.Core.CoreModule.loadWasm();
3838
// // If the network is unstable or you prefer to self-host the SDK, uncomment the line below to define the root path of the engine files
39-
// Dynamsoft.Core.CoreModule.engineResourcePaths.rootDirectory = "../../../distributables/";
4039
// Defined globally for easy debugging.
4140
let cameraEnhancer, cvRouter;
4241

foundational-api-samples/others/debug/public/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ <h1 style="font-size: 1.5em">Read Barcodes from Camera - Debug</h1>
4848
// Preload "BarcodeReader" module for reading barcodes. It will save time on the initial decoding by skipping the module loading.
4949
Dynamsoft.Core.CoreModule.loadWasm();
5050
// // If the network is unstable or you prefer to self-host the SDK, uncomment the line below to define the root path of the engine files
51-
// Dynamsoft.Core.CoreModule.engineResourcePaths.rootDirectory = "../../../dist/";
5251
const init = async () => {
5352
try {
5453
// Create a `CameraEnhancer` instance for camera control and a `CameraView` instance for UI control.

foundational-api-samples/use-case/fill-a-form-with-barcode-reading.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ <h3>Click each input box to fill in!</h3>
8484
// Preload "BarcodeReader" module for reading barcodes. It will save time on the initial decoding by skipping the module loading.
8585
Dynamsoft.Core.CoreModule.loadWasm();
8686
// // If the network is unstable or you prefer to self-host the SDK, uncomment the line below to define the root path of the engine files
87-
// Dynamsoft.Core.CoreModule.engineResourcePaths.rootDirectory = "../../../distributables/";
8887
const inputsContainer = document.getElementById("inputs-container");
8988
const loadingIndicator = document.getElementById("lib-load");
9089
const cameraViewContainer = document.getElementById("camera-view-container");

foundational-api-samples/use-case/locate-an-item-with-barcode/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,6 @@ <h6 id="camera-switch-notification"></h6>
325325
// Preload "BarcodeReader" module for reading barcodes. It will save time on the initial decoding by skipping the module loading.
326326
Dynamsoft.Core.CoreModule.loadWasm();
327327
// // If the network is unstable or you prefer to self-host the SDK, uncomment the line below to define the root path of the engine files
328-
// Dynamsoft.Core.CoreModule.engineResourcePaths.rootDirectory = "../../../../dist/";
329328

330329
const cameraViewContainer = document.getElementById("camera-view-container");
331330
const cameraViewTitle = document.getElementById("camera-view-title");

foundational-api-samples/use-case/read-a-drivers-license/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ <h1>Read a Driver's License</h1>
7070
// Preload "BarcodeReader" module for reading barcodes. It will save time on the initial decoding by skipping the module loading.
7171
Dynamsoft.Core.CoreModule.loadWasm();
7272
// // If the network is unstable or you prefer to self-host the SDK, uncomment the line below to define the root path of the engine files
73-
// Dynamsoft.Core.CoreModule.engineResourcePaths.rootDirectory = "../../../../dist/";
7473
Dynamsoft.DCP.CodeParserModule.loadSpec("AAMVA_DL_ID");
7574
Dynamsoft.DCP.CodeParserModule.loadSpec("AAMVA_DL_ID_WITH_MAG_STRIPE");
7675
Dynamsoft.DCP.CodeParserModule.loadSpec("SOUTH_AFRICA_DL");

foundational-api-samples/use-case/show-result-texts-on-the-video.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ <h3>Scan barcodes to display results as overlays on video</h3>
6565
// Optional. Used to load wasm resources in advance, reducing latency between video playing and barcode decoding.
6666
Dynamsoft.Core.CoreModule.loadWasm();
6767
// // If the network is unstable or you prefer to self-host the SDK, uncomment the line below to define the root path of the engine files
68-
// Dynamsoft.Core.CoreModule.engineResourcePaths.rootDirectory = "../../../distributables/";
6968
const resultsContainer = document.querySelector("#results");
7069

7170
(async () => {

0 commit comments

Comments
 (0)