From 08b0a9e6cc02019ff4c0c8ad743f72f3b95609e3 Mon Sep 17 00:00:00 2001 From: Tom Kent Date: Fri, 29 Jul 2022 10:52:40 +0800 Subject: [PATCH 1/7] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bc907baf..38dea7a6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,4 +33,4 @@ jobs: password: ${{ secrets.FTP_DEMO_PASSWORD }} port: 21 local-dir: /home/ubuntu/barcode-reader-javascript-samples/ - server-dir: /demo.dynamsoft.com/Samples/DBR/JS/ + server-dir: /demo6.dynamsoft.com/samples/dBR/js/ From 8a16b7949c6044db858d048db06ef3f61644cc20 Mon Sep 17 00:00:00 2001 From: "tom@dynamsoft.com" Date: Fri, 29 Jul 2022 11:03:12 +0800 Subject: [PATCH 2/7] change build upload target dir --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 38dea7a6..a13ce48a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,4 +33,4 @@ jobs: password: ${{ secrets.FTP_DEMO_PASSWORD }} port: 21 local-dir: /home/ubuntu/barcode-reader-javascript-samples/ - server-dir: /demo6.dynamsoft.com/samples/dBR/js/ + server-dir: /Demo.dynamsoft.com/Samples/DBR/JS/ From 86d1cb95908c1d31054bbf2e91ff7c38a2d5c313 Mon Sep 17 00:00:00 2001 From: "tom@dynamsoft.com" Date: Fri, 29 Jul 2022 13:25:53 +0800 Subject: [PATCH 3/7] fix bug with scan light not hidden --- 2.ui-tweaking/3.read-video-with-external-control.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2.ui-tweaking/3.read-video-with-external-control.html b/2.ui-tweaking/3.read-video-with-external-control.html index 430f3fa7..173003d5 100644 --- a/2.ui-tweaking/3.read-video-with-external-control.html +++ b/2.ui-tweaking/3.read-video-with-external-control.html @@ -187,7 +187,7 @@

Customized UI

} function setScanLightView(boolean) { - document.querySelector('.dce-scanlight').hidden = !boolean; + document.querySelector('.dce-scanlight').style.display = boolean? "block": "none"; } // when the selector is clicked function toggleCamView(e) { From 6ea876652d516a1d7cdfafd55dd9af8296c2cf5a Mon Sep 17 00:00:00 2001 From: "tom@dynamsoft.com" Date: Fri, 29 Jul 2022 13:35:02 +0800 Subject: [PATCH 4/7] better description --- 5.others/debug/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/5.others/debug/README.md b/5.others/debug/README.md index 829cd2cb..3af8a007 100644 --- a/5.others/debug/README.md +++ b/5.others/debug/README.md @@ -1,10 +1,10 @@ # Debug Sample -It's a sample aim to: +This sample is designed to: -1. Print verbose logs to better assist in problem solving. -2. Check whether your device and browser are compatible with the camera, and to what extent. -3. Collect the video frames for analysis. +1. Print detailed logs in the browser console to better assist in troubleshooting. +2. Check if your device and browser are compatible with the camera and to what extent. +3. Collect video frames for analysis. *Quick Debug*: [https://dynamsoft.github.io/barcode-reader-javascript-samples/5.others/debug/public/index.html](https://dynamsoft.github.io/barcode-reader-javascript-samples/5.others/debug/public/index.html) From c038a1b53e99ccc091beaf4c9dfaca1a2fed68c5 Mon Sep 17 00:00:00 2001 From: "tom@dynamsoft.com" Date: Fri, 29 Jul 2022 14:24:33 +0800 Subject: [PATCH 5/7] make use of dense template --- 4.use-case/2.read-a-drivers-license.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/4.use-case/2.read-a-drivers-license.html b/4.use-case/2.read-a-drivers-license.html index c28e470e..93ce3866 100644 --- a/4.use-case/2.read-a-drivers-license.html +++ b/4.use-case/2.read-a-drivers-license.html @@ -118,11 +118,9 @@

Read A Driver's License Date: Fri, 29 Jul 2022 16:03:28 +0800 Subject: [PATCH 6/7] use bytes for DCP --- 4.use-case/2.read-a-drivers-license.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/4.use-case/2.read-a-drivers-license.html b/4.use-case/2.read-a-drivers-license.html index 93ce3866..3d9171d0 100644 --- a/4.use-case/2.read-a-drivers-license.html +++ b/4.use-case/2.read-a-drivers-license.html @@ -137,7 +137,7 @@

Read A Driver's License Read A Driver's License Hello World for RequireJS

/** * You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days. * Note that if you downloaded this sample from Dynamsoft while logged in, the above license key may already be your own 30-day trial license. - * For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.2.11&utm_source=github#specify-the-license or contact support@dynamsoft.com. + * For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.2.12&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ - BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@9.2.11/dist/"; + BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@9.2.12/dist/"; let pScanner = null; (async function() { try { diff --git a/1.hello-world/12.read-video-es6.html b/1.hello-world/12.read-video-es6.html index d70ee427..59dd67eb 100644 --- a/1.hello-world/12.read-video-es6.html +++ b/1.hello-world/12.read-video-es6.html @@ -13,7 +13,7 @@

Hello World for ES6

Loading... + + + + + + + diff --git a/3.settings/2.localizationModes-binarizationModes.html b/3.settings/2.localizationModes-binarizationModes.html index 36c01cac..9d2e6a9e 100644 --- a/3.settings/2.localizationModes-binarizationModes.html +++ b/3.settings/2.localizationModes-binarizationModes.html @@ -13,7 +13,7 @@ library offline. Please see the guide on how to host the library: https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=latest#host-the-library-yourself-recommended --> - + diff --git a/3.settings/3.blurred-small-barcodes.html b/3.settings/3.blurred-small-barcodes.html index b8936536..5056088f 100644 --- a/3.settings/3.blurred-small-barcodes.html +++ b/3.settings/3.blurred-small-barcodes.html @@ -13,7 +13,7 @@ library offline. Please see the guide on how to host the library: https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=latest#host-the-library-yourself-recommended --> - + diff --git a/3.settings/4.deformed-incomplete-barcodes.html b/3.settings/4.deformed-incomplete-barcodes.html index 6290d5d2..5b511d7d 100644 --- a/3.settings/4.deformed-incomplete-barcodes.html +++ b/3.settings/4.deformed-incomplete-barcodes.html @@ -13,7 +13,7 @@ library offline. Please see the guide on how to host the library: https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=latest#host-the-library-yourself-recommended --> - + diff --git a/3.settings/5.regionOfInterest-regionPredetection.html b/3.settings/5.regionOfInterest-regionPredetection.html index f994b310..ca3bcd3b 100644 --- a/3.settings/5.regionOfInterest-regionPredetection.html +++ b/3.settings/5.regionOfInterest-regionPredetection.html @@ -13,7 +13,7 @@ library offline. Please see the guide on how to host the library: https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=latest#host-the-library-yourself-recommended --> - + diff --git a/3.settings/initScanner.js b/3.settings/initScanner.js index d00036f4..6fc6238a 100644 --- a/3.settings/initScanner.js +++ b/3.settings/initScanner.js @@ -20,7 +20,7 @@ window.onload = async function () { /** * You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days. * Note that if you downloaded this sample from Dynamsoft while logged in, the above license key may already be your own 30-day trial license. - * For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.2.11&utm_source=github#specify-the-license or contact support@dynamsoft.com. + * For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.2.12&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ diff --git a/4.use-case/1.fill-a-form-with-barcode-reading.html b/4.use-case/1.fill-a-form-with-barcode-reading.html index f6dc88df..7daaccc7 100644 --- a/4.use-case/1.fill-a-form-with-barcode-reading.html +++ b/4.use-case/1.fill-a-form-with-barcode-reading.html @@ -13,7 +13,7 @@ library offline. Please see the guide on how to host the library: https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=latest#host-the-library-yourself-recommended --> - + @@ -35,7 +35,7 @@

Click each input box to fill in!

/** * You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days. * Note that if you downloaded this sample from Dynamsoft while logged in, the above license key may already be your own 30-day trial license. - * For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.2.11&utm_source=github#specify-the-license or contact support@dynamsoft.com. + * For more information, see https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=9.2.12&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ diff --git a/4.use-case/2.read-a-drivers-license.html b/4.use-case/2.read-a-drivers-license.html index 3d9171d0..e0d2a4c3 100644 --- a/4.use-case/2.read-a-drivers-license.html +++ b/4.use-case/2.read-a-drivers-license.html @@ -36,7 +36,7 @@

Read A Driver's License Read A Driver's License