Skip to content

Commit 4dcaacc

Browse files
feat(templates): update templates & add debug tool link (#269)
1 parent 08a69f2 commit 4dcaacc

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1490,7 +1490,9 @@ <h3>
14901490
<div class="children">
14911491
<div class="file">
14921492
<span data-balloon-length="large" data-balloon-pos="down" aria-label="Debug utilities and frame collector for testing and troubleshooting."
1493-
><span class="github-label debug">Debug Tools</span> -
1493+
><a class="github-label debug" href="scenarios/debug/public/index.html" title="View live demo"
1494+
>Debug Tools</a
1495+
> -
14941496
<a
14951497
class="button title source-link"
14961498
href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/scenarios/debug"

scenarios/scan-common-2D-codes/ReadCommon2D.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@
5555
{
5656
"Mode": "LM_LINES"
5757
},
58+
{
59+
"Mode": "LM_SCAN_DIRECTLY"
60+
},
5861
{
5962
"Mode": "LM_NEURAL_NETWORK",
6063
"ModelNameArray": ["DataMatrixQRCodeLocalization"]

scenarios/scan-qr-code/ReadQR.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@
6161
"LocalizationModes": [
6262
{
6363
"Mode": "LM_CONNECTED_BLOCKS"
64-
}
64+
},
65+
{
66+
"Mode": "LM_SCAN_DIRECTLY"
67+
}
6568
]
6669
}
6770
]
@@ -77,7 +80,7 @@
7780
"Mode": "DM_BASED_ON_LOC_BIN"
7881
},
7982
{
80-
"Mode": "DM_DIRECT_BINARIZATION"
83+
"Mode": "DM_THRESHOLD_BINARIZATION"
8184
},
8285
{
8386
"Mode": "DM_DEEP_ANALYSIS"

0 commit comments

Comments
 (0)