File tree 2 files changed +18
-2
lines changed
2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,15 @@ <h1>Hello World for ES6 (Decode via Camera)</h1>
36
36
* LICENSE ALERT - THE END
37
37
*/
38
38
39
- CoreModule . engineResourcePaths . rootDirectory = "https://cdn.jsdelivr.net/npm/" ;
39
+ CoreModule . engineResourcePaths = {
40
+ std : "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.4.10/dist/" ,
41
+ dip : "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.4.20/dist/" ,
42
+ core : "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.4.20/dist/" ,
43
+ license : "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.4.20/dist/" ,
44
+ cvr : "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.4.20/dist/" ,
45
+ dbr : "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.4.20/dist/" ,
46
+ dce : "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.1.0/dist/" ,
47
+ } ;
40
48
41
49
// Optional. Used to load wasm resources in advance, reducing latency between video playing and barcode decoding.
42
50
CoreModule . loadWasm ( [ "DBR" ] ) ;
Original file line number Diff line number Diff line change @@ -39,7 +39,15 @@ <h1>Hello World for RequireJS (Decode via Camera)</h1>
39
39
* LICENSE ALERT - THE END
40
40
*/
41
41
42
- CoreModule . engineResourcePaths . rootDirectory = "https://cdn.jsdelivr.net/npm/" ;
42
+ CoreModule . engineResourcePaths = {
43
+ std : "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.4.10/dist/" ,
44
+ dip : "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.4.20/dist/" ,
45
+ core : "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.4.20/dist/" ,
46
+ license : "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.4.20/dist/" ,
47
+ cvr : "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.4.20/dist/" ,
48
+ dbr : "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.4.20/dist/" ,
49
+ dce : "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.1.0/dist/" ,
50
+ } ;
43
51
44
52
// Optional. Used to load wasm resources in advance, reducing latency between video playing and barcode decoding.
45
53
CoreModule . loadWasm ( [ "DBR" ] ) ;
You can’t perform that action at this time.
0 commit comments