File tree Expand file tree Collapse file tree 6 files changed +0
-6
lines changed
locate-an-item-with-barcode Expand file tree Collapse file tree 6 files changed +0
-6
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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" ) ;
Original file line number Diff line number Diff 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" ) ;
Original file line number Diff line number Diff 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" ) ;
Original file line number Diff line number Diff 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 ( ) => {
You can’t perform that action at this time.
0 commit comments