Skip to content

Commit 09df369

Browse files
Merge pull request #270 from Dynamsoft/main
feat(templates): update templates & add debug tool link (#269)
2 parents df48291 + 4dcaacc commit 09df369

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
@@ -1544,7 +1544,9 @@ <h3>
15441544
<div class="children">
15451545
<div class="file">
15461546
<span data-balloon-length="large" data-balloon-pos="down" aria-label="Debug utilities and frame collector for testing and troubleshooting."
1547-
><span class="github-label debug">Debug Tools</span> -
1547+
><a class="github-label debug" href="scenarios/debug/public/index.html" title="View live demo"
1548+
>Debug Tools</a
1549+
> -
15481550
<a
15491551
class="button title source-link"
15501552
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)