Skip to content

Commit eb5aa05

Browse files
committed
fix: on demo, remove torch
1 parent 1595b80 commit eb5aa05

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

samples/demo.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@ <h1 class="title">Dynamsoft Document Scanner</h1>
224224

225225
// Initialize the Dynamsoft Document Scanner
226226
const documentScanner = new Dynamsoft.DocumentScanner({
227+
scannerViewConfig: {
228+
cameraEnhancerUIPath: "../dist/document-scanner.ui.html",
229+
},
227230
license:
228231
"DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAwLTEwMzYzOTcyMSIsIm1haW5TZXJ2ZXJVUkwiOiJodHRwczovL21sdHMuZHluYW1zb2Z0LmNvbS8iLCJvcmdhbml6YXRpb25JRCI6IjIwMDAwMCIsInN0YW5kYnlTZXJ2ZXJVUkwiOiJodHRwczovL3NsdHMuZHluYW1zb2Z0LmNvbS8iLCJjaGVja0NvZGUiOjEyOTQzODU5NDJ9",
229232
});

samples/hello-world.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ <h1 style="font-size: large">Dynamsoft Document Scanner</h1>
2626

2727
// Initialize the Dynamsoft Document Scanner
2828
const documentScanner = new Dynamsoft.DocumentScanner({
29+
scannerViewConfig: {
30+
cameraEnhancerUIPath: "../dist/document-scanner.ui.html",
31+
},
2932
license:
3033
"DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAwLTEwMzYzOTcyMSIsIm1haW5TZXJ2ZXJVUkwiOiJodHRwczovL21sdHMuZHluYW1zb2Z0LmNvbS8iLCJvcmdhbml6YXRpb25JRCI6IjIwMDAwMCIsInN0YW5kYnlTZXJ2ZXJVUkwiOiJodHRwczovL3NsdHMuZHluYW1zb2Z0LmNvbS8iLCJjaGVja0NvZGUiOjEyOTQzODU5NDJ9",
3134
});

0 commit comments

Comments
 (0)