From 6731f279e665db333b205da5f0020228eaa95218 Mon Sep 17 00:00:00 2001 From: SHEN <1014628363@qq.com> Date: Sun, 4 Feb 2024 17:41:38 +0800 Subject: [PATCH 1/6] Update read-a-drivers-license.html --- use-case/read-a-drivers-license.html | 986 +++++++++++++-------------- 1 file changed, 478 insertions(+), 508 deletions(-) diff --git a/use-case/read-a-drivers-license.html b/use-case/read-a-drivers-license.html index abcb8cd4..a416edf7 100644 --- a/use-case/read-a-drivers-license.html +++ b/use-case/read-a-drivers-license.html @@ -1,467 +1,504 @@ - - - - - - - Dynamsoft Barcode Reader Simple Sample - Read Driver License - - - - - - - - - - - - Aim at the barcode on the driver's license. -

Read A Driver's License

-
- - + } + + + + + Aim at the barcode on the driver's license. +

Read A Driver's License

+
+ + + + +
+ Can't get scanning result for a long time? +

+ After setting the + singleFrameMode as true, you can + open the camera to shoot (mobile device) or choose from local to get a + high-definition picture for recognition. + Have a try +

+ + -
- Can't get scanning result for a long time? -

- After setting the - singleFrameMode as true, you can - open the camera to shoot (mobile device) or choose from local to get a - high-definition picture for recognition. - Have a try -

- - - - -
-
- - - -
-
-
-
- Results: - - - - -
-
+
+
+ + + +
+
+
+
+ Results: + + + +
- - + + - async function extractResultAlert(bytesToParse) { - function createNode(type, txt) { - let node = document.createElement(type); - if (txt) node.innerText = txt; - return node; - } - - try { - const { parser } = await pInit; - let parsedDLInfo = await parser.parseData(bytesToParse); - let resultShowNode = document.createElement("p"); - let oriParseInfo; - if (parsedDLInfo.resultInfo && parsedDLInfo.resultInfo.AAMVADLInfo) { - oriParseInfo = { - ...parsedDLInfo.basicPersonalInfo, - ...parsedDLInfo.resultInfo, - ...parsedDLInfo.resultInfo.AAMVADLInfo, - }; - delete oriParseInfo.AAMVADLInfo; - } else { - oriParseInfo = { - ...parsedDLInfo.basicPersonalInfo, - ...parsedDLInfo.resultInfo, - }; - } - for (let o in oriParseInfo) { - if (oriParseInfo[o]) { - resultShowNode.appendChild(createNode("span", o)); - resultShowNode.appendChild(createNode("br")); - resultShowNode.appendChild(createNode("strong", oriParseInfo[o])); - resultShowNode.appendChild(createNode("br")); - resultShowNode.appendChild( - createNode("span", "------------------------------") - ); - resultShowNode.appendChild(createNode("br")); - } - } - document.querySelector(".div-result-body").innerHTML = ""; - document - .querySelector(".div-result-body") - .appendChild(resultShowNode); - divResultContainer.style.display = "block"; - document.addEventListener("mousedown", clickToHide); - } catch (ex) { - alert(ex.message); - } - } - - function clickToHide(e) { - if (e.target === document.body || e.target.id === "span-tip") { - closeResultAlert(); - document.removeEventListener("click", arguments.callee); - } - } - - async function closeResultAlert() { - divResultContainer.style.display = "none"; - document.querySelector(".div-result-body").innerText = ""; - const { cameraEnhancer } = await pInit; - if (cameraEnhancer.singleFrameMode === "disabled") { - timer = setTimeout(() => { - if (cameraEnhancer.singleFrameMode === "disabled") { - document.querySelector("#div-message-container").style.display = - "flex"; - } - }, 3000); - } - } - - - + \ No newline at end of file From 8941cd99f20062b8354af254a7698b830b576db4 Mon Sep 17 00:00:00 2001 From: SHEN <1014628363@qq.com> Date: Sun, 4 Feb 2024 17:52:58 +0800 Subject: [PATCH 2/6] Update read-a-drivers-license.html --- use-case/read-a-drivers-license.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/use-case/read-a-drivers-license.html b/use-case/read-a-drivers-license.html index a416edf7..a0ea7803 100644 --- a/use-case/read-a-drivers-license.html +++ b/use-case/read-a-drivers-license.html @@ -478,7 +478,7 @@

Read A Driver's License

function wrapResultObject(childFields) { for (let childField of childFields) { for (let field of childField) { - if(["dataElementSeparator", "segmentTerminator", ].includes(field.FieldName)) continue; + if(["dataElementSeparator", "segmentTerminator"].includes(field.FieldName)) continue; oriParseInfo[field.FieldName] = field.Value; if (field.ChildFields) { wrapResultObject(field.ChildFields); From 1ba1fcc8616398841dab9beabd8e797554cf386e Mon Sep 17 00:00:00 2001 From: SHEN <1014628363@qq.com> Date: Sun, 4 Feb 2024 18:23:00 +0800 Subject: [PATCH 3/6] Update read-a-drivers-license.html --- use-case/read-a-drivers-license.html | 77 +++++++++++++++++----------- 1 file changed, 48 insertions(+), 29 deletions(-) diff --git a/use-case/read-a-drivers-license.html b/use-case/read-a-drivers-license.html index a0ea7803..f5af410b 100644 --- a/use-case/read-a-drivers-license.html +++ b/use-case/read-a-drivers-license.html @@ -441,35 +441,53 @@

Read A Driver's License

} try { - const { parser } = await pInit; - let parsedDLInfo = await parser.parse(bytesToParse); - parsedDLInfo = JSON.parse(parsedDLInfo.jsonString); - let resultShowNode = document.createElement("p"); - oriParseInfo = {}; - for (let info of parsedDLInfo.ResultInfo) { - oriParseInfo[info.FieldName] = info.Value; - if (info.ChildFields) { - wrapResultObject(info.ChildFields); + const { parser } = await pInit; + let parsedDLInfo = await parser.parse(bytesToParse); + if (parsedDLInfo.exception) return; + parsedDLInfo = JSON.parse(parsedDLInfo.jsonString); + let resultShowNode = document.createElement("p"); + oriParseInfo = {}; + if (parsedDLInfo.CodeType === "AAMVA_DL_ID") { + for (let info of parsedDLInfo.ResultInfo) { + if (info.FieldName !== "commonSubfile") continue; + if (info.ChildFields) { + wrapResultObject(info.ChildFields); + } + } + } else if (parsedDLInfo.CodeType === "AAMVA_DL_ID_WITH_MAG_STRIPE") { + for (let info of parsedDLInfo.ResultInfo) { + if (info.FieldName.includes("track")) { + if (info.ChildFields) { + wrapResultObject(info.ChildFields); + } + } + } + } else if (parsedDLInfo.CodeType === "SOUTH_AFRICA_DL") { + for (let info of parsedDLInfo.ResultInfo) { + oriParseInfo[info.FieldName] = info.Value; + if (info.ChildFields) { + wrapResultObject(info.ChildFields); + } + } } - } - for (let o in oriParseInfo) { - if (oriParseInfo[o]) { - resultShowNode.appendChild(createNode("span", o)); - resultShowNode.appendChild(createNode("br")); - resultShowNode.appendChild(createNode("strong", oriParseInfo[o])); - resultShowNode.appendChild(createNode("br")); - resultShowNode.appendChild( - createNode("span", "------------------------------") - ); - resultShowNode.appendChild(createNode("br")); + for (let o in oriParseInfo) { + if (oriParseInfo[o]) { + resultShowNode.appendChild(createNode("span", o)); + resultShowNode.appendChild(createNode("br")); + resultShowNode.appendChild(createNode("strong", oriParseInfo[o])); + resultShowNode.appendChild(createNode("br")); + resultShowNode.appendChild( + createNode("span", "------------------------------") + ); + resultShowNode.appendChild(createNode("br")); + } } - } - document.querySelector(".div-result-body").innerHTML = ""; - document - .querySelector(".div-result-body") - .appendChild(resultShowNode); - divResultContainer.style.display = "block"; - document.addEventListener("mousedown", clickToHide); + document.querySelector(".div-result-body").innerHTML = ""; + document + .querySelector(".div-result-body") + .appendChild(resultShowNode); + divResultContainer.style.display = "block"; + document.addEventListener("mousedown", clickToHide); } catch (ex) { alert(ex.message); } @@ -478,8 +496,9 @@

Read A Driver's License

function wrapResultObject(childFields) { for (let childField of childFields) { for (let field of childField) { - if(["dataElementSeparator", "segmentTerminator"].includes(field.FieldName)) continue; - oriParseInfo[field.FieldName] = field.Value; + if (!["dataElementSeparator", "segmentTerminator", "subfile", "subfileType"].includes(field.FieldName)) { + oriParseInfo[field.FieldName] = field.Value; + } if (field.ChildFields) { wrapResultObject(field.ChildFields); } From e1e2ae22289cc42f5dbee3c6ab3effaed42bb3f6 Mon Sep 17 00:00:00 2001 From: SHEN <1014628363@qq.com> Date: Sun, 4 Feb 2024 18:26:19 +0800 Subject: [PATCH 4/6] Update read-a-drivers-license.html --- use-case/read-a-drivers-license.html | 1 + 1 file changed, 1 insertion(+) diff --git a/use-case/read-a-drivers-license.html b/use-case/read-a-drivers-license.html index f5af410b..e9cade8f 100644 --- a/use-case/read-a-drivers-license.html +++ b/use-case/read-a-drivers-license.html @@ -445,6 +445,7 @@

Read A Driver's License

let parsedDLInfo = await parser.parse(bytesToParse); if (parsedDLInfo.exception) return; parsedDLInfo = JSON.parse(parsedDLInfo.jsonString); + console.log(parsedDLInfo); let resultShowNode = document.createElement("p"); oriParseInfo = {}; if (parsedDLInfo.CodeType === "AAMVA_DL_ID") { From 31384f9d4c450d497751ae2b0e52a82e3dade0c2 Mon Sep 17 00:00:00 2001 From: Cube <877211593@qq.com> Date: Sun, 4 Feb 2024 18:35:01 +0800 Subject: [PATCH 5/6] update packages version --- README.md | 2 +- hello-world/README.md | 2 +- hello-world/angular/README.md | 10 +++++----- hello-world/angular/package.json | 8 ++++---- hello-world/angular/src/cvr.ts | 10 +++++----- hello-world/electron/README.md | 2 +- hello-world/electron/action.js | 2 +- hello-world/electron/package.json | 8 ++++---- hello-world/es6.html | 18 +++++++++--------- hello-world/hello-world.html | 10 +++++----- hello-world/next/README.md | 10 +++++----- hello-world/next/cvr.ts | 10 +++++----- hello-world/next/package.json | 8 ++++---- hello-world/nuxt/README.md | 10 +++++----- hello-world/nuxt/cvr.ts | 10 +++++----- hello-world/nuxt/package.json | 8 ++++---- hello-world/pwa/README.md | 8 ++++---- hello-world/pwa/helloworld-pwa.html | 10 +++++----- hello-world/react-hooks/README.md | 10 +++++----- hello-world/react-hooks/package.json | 8 ++++---- hello-world/react-hooks/src/cvr.ts | 10 +++++----- hello-world/react/README.md | 10 +++++----- hello-world/react/package.json | 8 ++++---- hello-world/react/src/cvr.ts | 10 +++++----- hello-world/read-an-image.html | 10 +++++----- hello-world/requirejs.html | 18 +++++++++--------- hello-world/vue/README.md | 10 +++++----- hello-world/vue/package.json | 8 ++++---- hello-world/vue/src/cvr.ts | 10 +++++----- .../src/main/assets/decodeBarcodeInVideo.html | 10 +++++----- .../dbrjswebview/html/decodeFileInVideo.html | 10 +++++----- index.html | 2 +- others/debug/public/index.html | 10 +++++----- use-case/fill-a-form-with-barcode-reading.html | 10 +++++----- use-case/read-a-drivers-license.html | 10 +++++----- use-case/show-result-texts-on-the-video.html | 10 +++++----- 36 files changed, 160 insertions(+), 160 deletions(-) diff --git a/README.md b/README.md index 778e8992..16d9c131 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A default license is included which allows you to test the sample apps for up to ## Documentation -For the developer guide and full API reference of Dynamsoft Barcode Reader JavaScript library, please check out the [documentation](https://www.dynamsoft.com/barcode-reader/programming/javascript/?ver=10.0.20&utm_source=sampleReadme). +For the developer guide and full API reference of Dynamsoft Barcode Reader JavaScript library, please check out the [documentation](https://www.dynamsoft.com/barcode-reader/programming/javascript/?ver=10.0.21&utm_source=sampleReadme). ## Support diff --git a/hello-world/README.md b/hello-world/README.md index cdeb078f..c855af3e 100644 --- a/hello-world/README.md +++ b/hello-world/README.md @@ -1,6 +1,6 @@ # The Hello World Sample Set -As you have already gone through the [user guide](https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.20#getting-started---hello-world), you may have come across some basic "Hello World" code that can help you create a simple web application using our SDK quickly. +As you have already gone through the [user guide](https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=10.0.21#getting-started---hello-world), you may have come across some basic "Hello World" code that can help you create a simple web application using our SDK quickly. In this set of samples, we will revisit the "Hello World" code and show how to implement it using some popular frameworks, such as Angular, React, and Vue. diff --git a/hello-world/angular/README.md b/hello-world/angular/README.md index 477c789d..29ff39e6 100644 --- a/hello-world/angular/README.md +++ b/hello-world/angular/README.md @@ -51,17 +51,17 @@ LicenseManager.initLicense( /** * 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=10.0.20&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=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ CoreModule.engineResourcePaths = { std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.0.0/dist/", dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.0.30/dist/", - core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/", - license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/", - cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/", - dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/", + core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/", + license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.40/dist/", + cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/", + dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/", dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/" }; diff --git a/hello-world/angular/package.json b/hello-world/angular/package.json index fc65fdc6..a9b6ac38 100644 --- a/hello-world/angular/package.json +++ b/hello-world/angular/package.json @@ -18,12 +18,12 @@ "@angular/platform-browser": "^16.2.0", "@angular/platform-browser-dynamic": "^16.2.0", "@angular/router": "^16.2.0", - "dynamsoft-barcode-reader": "10.0.20", + "dynamsoft-barcode-reader": "10.0.21", "dynamsoft-utility": "1.0.21", "dynamsoft-camera-enhancer": "4.0.1", - "dynamsoft-capture-vision-router": "2.0.31", - "dynamsoft-core": "3.0.32", - "dynamsoft-license": "3.0.20", + "dynamsoft-capture-vision-router": "2.0.32", + "dynamsoft-core": "3.0.33", + "dynamsoft-license": "3.0.40", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.13.0" diff --git a/hello-world/angular/src/cvr.ts b/hello-world/angular/src/cvr.ts index ac5f3ee2..4591dcec 100644 --- a/hello-world/angular/src/cvr.ts +++ b/hello-world/angular/src/cvr.ts @@ -13,17 +13,17 @@ LicenseManager.initLicense( /** * 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=10.0.20&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=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ CoreModule.engineResourcePaths = { std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.0.0/dist/", dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.0.30/dist/", - core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/", - license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/", - cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/", - dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/", + core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/", + license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.40/dist/", + cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/", + dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/", dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/" }; diff --git a/hello-world/electron/README.md b/hello-world/electron/README.md index 54b02e5d..66707029 100644 --- a/hello-world/electron/README.md +++ b/hello-world/electron/README.md @@ -125,7 +125,7 @@ Dynamsoft.License.LicenseManager.initLicense( /** * 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=10.0.20&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=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ diff --git a/hello-world/electron/action.js b/hello-world/electron/action.js index f62a7579..0cfb9a7c 100644 --- a/hello-world/electron/action.js +++ b/hello-world/electron/action.js @@ -9,7 +9,7 @@ Dynamsoft.License.LicenseManager.initLicense( /** * 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=10.0.20&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=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ diff --git a/hello-world/electron/package.json b/hello-world/electron/package.json index 9444cc69..72e8bd54 100644 --- a/hello-world/electron/package.json +++ b/hello-world/electron/package.json @@ -21,13 +21,13 @@ "electron": "^26.4.1" }, "dependencies": { - "dynamsoft-barcode-reader": "10.0.20", + "dynamsoft-barcode-reader": "10.0.21", "dynamsoft-camera-enhancer": "4.0.1", - "dynamsoft-capture-vision-router": "2.0.31", + "dynamsoft-capture-vision-router": "2.0.32", "dynamsoft-capture-vision-std": "1.0.0", - "dynamsoft-core": "3.0.32", + "dynamsoft-core": "3.0.33", "dynamsoft-image-processing": "2.0.30", - "dynamsoft-license": "3.0.20", + "dynamsoft-license": "3.0.40", "dynamsoft-utility": "1.0.21" } } diff --git a/hello-world/es6.html b/hello-world/es6.html index 775476df..6569848b 100644 --- a/hello-world/es6.html +++ b/hello-world/es6.html @@ -33,11 +33,11 @@

Hello World for ES6 (Decode via Camera)

- + + - - + + @@ -48,7 +48,7 @@

Hello World (Decode via Camera)

/** * 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=10.0.20&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=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ diff --git a/hello-world/next/README.md b/hello-world/next/README.md index 512072fb..273413fe 100644 --- a/hello-world/next/README.md +++ b/hello-world/next/README.md @@ -49,17 +49,17 @@ LicenseManager.initLicense( /** * 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=10.0.20&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=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ CoreModule.engineResourcePaths = { std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.0.0/dist/", dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.0.30/dist/", - core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/", - license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/", - cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/", - dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/", + core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/", + license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.40/dist/", + cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/", + dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/", dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/" }; diff --git a/hello-world/next/cvr.ts b/hello-world/next/cvr.ts index 4569f99a..cc03ce04 100644 --- a/hello-world/next/cvr.ts +++ b/hello-world/next/cvr.ts @@ -13,17 +13,17 @@ LicenseManager.initLicense( /** * 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=10.0.20&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=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ CoreModule.engineResourcePaths = { std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.0.0/dist/", dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.0.30/dist/", - core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/", - license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/", - cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/", - dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/", + core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/", + license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.40/dist/", + cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/", + dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/", dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/" }; diff --git a/hello-world/next/package.json b/hello-world/next/package.json index 4feba8c8..7495aa51 100644 --- a/hello-world/next/package.json +++ b/hello-world/next/package.json @@ -9,11 +9,11 @@ "lint": "next lint" }, "dependencies": { - "dynamsoft-barcode-reader": "10.0.20", + "dynamsoft-barcode-reader": "10.0.21", "dynamsoft-camera-enhancer": "4.0.1", - "dynamsoft-capture-vision-router": "2.0.31", - "dynamsoft-core": "3.0.32", - "dynamsoft-license": "3.0.20", + "dynamsoft-capture-vision-router": "2.0.32", + "dynamsoft-core": "3.0.33", + "dynamsoft-license": "3.0.40", "dynamsoft-utility": "1.0.21", "next": "13.5.6", "react": "^18", diff --git a/hello-world/nuxt/README.md b/hello-world/nuxt/README.md index ac811a80..e80317ed 100644 --- a/hello-world/nuxt/README.md +++ b/hello-world/nuxt/README.md @@ -53,17 +53,17 @@ LicenseManager.initLicense( /** * 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=10.0.20&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=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ CoreModule.engineResourcePaths = { std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.0.0/dist/", dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.0.30/dist/", - core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/", - license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/", - cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/", - dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/", + core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/", + license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.40/dist/", + cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/", + dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/", dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/" }; diff --git a/hello-world/nuxt/cvr.ts b/hello-world/nuxt/cvr.ts index 4569f99a..cc03ce04 100644 --- a/hello-world/nuxt/cvr.ts +++ b/hello-world/nuxt/cvr.ts @@ -13,17 +13,17 @@ LicenseManager.initLicense( /** * 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=10.0.20&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=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ CoreModule.engineResourcePaths = { std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.0.0/dist/", dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.0.30/dist/", - core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/", - license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/", - cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/", - dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/", + core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/", + license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.40/dist/", + cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/", + dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/", dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/" }; diff --git a/hello-world/nuxt/package.json b/hello-world/nuxt/package.json index d796ece6..c311bbb7 100644 --- a/hello-world/nuxt/package.json +++ b/hello-world/nuxt/package.json @@ -13,11 +13,11 @@ "nuxt": "3.2.3" }, "dependencies": { - "dynamsoft-barcode-reader": "10.0.20", + "dynamsoft-barcode-reader": "10.0.21", "dynamsoft-camera-enhancer": "4.0.1", - "dynamsoft-capture-vision-router": "2.0.31", - "dynamsoft-core": "3.0.32", - "dynamsoft-license": "3.0.20", + "dynamsoft-capture-vision-router": "2.0.32", + "dynamsoft-core": "3.0.33", + "dynamsoft-license": "3.0.40", "dynamsoft-utility": "1.0.21" } } diff --git a/hello-world/pwa/README.md b/hello-world/pwa/README.md index f9e01714..5718f5a1 100644 --- a/hello-world/pwa/README.md +++ b/hello-world/pwa/README.md @@ -48,7 +48,7 @@ Results: /** * 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=10.0.20&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=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ @@ -244,13 +244,13 @@ For offline use, you need to cache more files. service-worker.js ```javascript const coreResourcesDir = - "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/", + "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/", utilityResourcesDir = "https://cdn.jsdelivr.net/npm/dynamsoft-utility@1.0.21/dist/", dbrResourcesDir = - "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/", + "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/", cvrResourcesDir = - "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/", + "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/", dceResourcesDir = "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/"; diff --git a/hello-world/pwa/helloworld-pwa.html b/hello-world/pwa/helloworld-pwa.html index 85d16036..ffc050dc 100644 --- a/hello-world/pwa/helloworld-pwa.html +++ b/hello-world/pwa/helloworld-pwa.html @@ -31,11 +31,11 @@ sizes="512x512" href="./dynamsoft-512x512.png" /> - - + + - - + + @@ -64,7 +64,7 @@

Hello World for PWA

/** * 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=10.0.20&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=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ diff --git a/hello-world/react-hooks/README.md b/hello-world/react-hooks/README.md index 37e9503c..499cdfdc 100644 --- a/hello-world/react-hooks/README.md +++ b/hello-world/react-hooks/README.md @@ -51,17 +51,17 @@ LicenseManager.initLicense( /** * 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=10.0.20&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=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ CoreModule.engineResourcePaths = { std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.0.0/dist/", dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.0.30/dist/", - core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/", - license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/", - cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/", - dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/", + core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/", + license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.40/dist/", + cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/", + dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/", dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/" }; diff --git a/hello-world/react-hooks/package.json b/hello-world/react-hooks/package.json index 1104c108..59e1e71c 100644 --- a/hello-world/react-hooks/package.json +++ b/hello-world/react-hooks/package.json @@ -4,11 +4,11 @@ "private": true, "homepage": "./", "dependencies": { - "dynamsoft-barcode-reader": "10.0.20", + "dynamsoft-barcode-reader": "10.0.21", "dynamsoft-camera-enhancer": "4.0.1", - "dynamsoft-capture-vision-router": "2.0.31", - "dynamsoft-core": "3.0.32", - "dynamsoft-license": "3.0.20", + "dynamsoft-capture-vision-router": "2.0.32", + "dynamsoft-core": "3.0.33", + "dynamsoft-license": "3.0.40", "dynamsoft-utility": "1.0.21", "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", diff --git a/hello-world/react-hooks/src/cvr.ts b/hello-world/react-hooks/src/cvr.ts index 4569f99a..cc03ce04 100644 --- a/hello-world/react-hooks/src/cvr.ts +++ b/hello-world/react-hooks/src/cvr.ts @@ -13,17 +13,17 @@ LicenseManager.initLicense( /** * 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=10.0.20&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=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ CoreModule.engineResourcePaths = { std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.0.0/dist/", dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.0.30/dist/", - core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/", - license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/", - cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/", - dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/", + core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/", + license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.40/dist/", + cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/", + dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/", dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/" }; diff --git a/hello-world/react/README.md b/hello-world/react/README.md index 649d7b8c..7589f335 100644 --- a/hello-world/react/README.md +++ b/hello-world/react/README.md @@ -91,17 +91,17 @@ LicenseManager.initLicense( /** * 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=10.0.20&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=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ CoreModule.engineResourcePaths = { std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.0.0/dist/", dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.0.30/dist/", - core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/", - license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/", - cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/", - dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/", + core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/", + license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.40/dist/", + cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/", + dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/", dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/" }; diff --git a/hello-world/react/package.json b/hello-world/react/package.json index 1104c108..59e1e71c 100644 --- a/hello-world/react/package.json +++ b/hello-world/react/package.json @@ -4,11 +4,11 @@ "private": true, "homepage": "./", "dependencies": { - "dynamsoft-barcode-reader": "10.0.20", + "dynamsoft-barcode-reader": "10.0.21", "dynamsoft-camera-enhancer": "4.0.1", - "dynamsoft-capture-vision-router": "2.0.31", - "dynamsoft-core": "3.0.32", - "dynamsoft-license": "3.0.20", + "dynamsoft-capture-vision-router": "2.0.32", + "dynamsoft-core": "3.0.33", + "dynamsoft-license": "3.0.40", "dynamsoft-utility": "1.0.21", "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", diff --git a/hello-world/react/src/cvr.ts b/hello-world/react/src/cvr.ts index 4569f99a..cc03ce04 100644 --- a/hello-world/react/src/cvr.ts +++ b/hello-world/react/src/cvr.ts @@ -13,17 +13,17 @@ LicenseManager.initLicense( /** * 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=10.0.20&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=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ CoreModule.engineResourcePaths = { std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.0.0/dist/", dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.0.30/dist/", - core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/", - license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/", - cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/", - dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/", + core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/", + license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.40/dist/", + cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/", + dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/", dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/" }; diff --git a/hello-world/read-an-image.html b/hello-world/read-an-image.html index 4c614cef..ed6154e9 100644 --- a/hello-world/read-an-image.html +++ b/hello-world/read-an-image.html @@ -13,10 +13,10 @@ href="https://demo.dynamsoft.com/Samples/DBR/JS/hello-world/read-an-image.html" /> Dynamsoft Barcode Reader Sample - Hello World (Read an Image) - - - - + + + + @@ -35,7 +35,7 @@

Hello World (Read an Image)

/** * 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=10.0.20&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=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ diff --git a/hello-world/requirejs.html b/hello-world/requirejs.html index 29598640..c5768920 100644 --- a/hello-world/requirejs.html +++ b/hello-world/requirejs.html @@ -36,15 +36,15 @@

Hello World for RequireJS (Decode via Camera)

requirejs.config({ paths: { "dynamsoft-core": - "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/core", + "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/core", "dynamsoft-license": - "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/license", + "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.40/dist/license", "dynamsoft-utility": "https://cdn.jsdelivr.net/npm/dynamsoft-utility@1.0.21/dist/utility", "dynamsoft-barcode-reader": - "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/dbr", + "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/dbr", "dynamsoft-capture-vision-router": - "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/cvr", + "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/cvr", "dynamsoft-camera-enhancer": "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/dce", }, @@ -78,17 +78,17 @@

Hello World for RequireJS (Decode via Camera)

/** * 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=10.0.20&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=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ CoreModule.engineResourcePaths = { std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.0.0/dist/", dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.0.30/dist/", - core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/", - license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/", - cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/", - dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/", + core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/", + license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.40/dist/", + cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/", + dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/", dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/" }; (async () => { diff --git a/hello-world/vue/README.md b/hello-world/vue/README.md index 6c01302f..f2b05914 100644 --- a/hello-world/vue/README.md +++ b/hello-world/vue/README.md @@ -52,17 +52,17 @@ LicenseManager.initLicense( /** * 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=10.0.20&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=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ CoreModule.engineResourcePaths = { std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.0.0/dist/", dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.0.30/dist/", - core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/", - license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/", - cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/", - dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/", + core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/", + license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.40/dist/", + cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/", + dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/", dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/" }; diff --git a/hello-world/vue/package.json b/hello-world/vue/package.json index 79dd19d8..28f61cac 100644 --- a/hello-world/vue/package.json +++ b/hello-world/vue/package.json @@ -10,11 +10,11 @@ "type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false" }, "dependencies": { - "dynamsoft-barcode-reader": "10.0.20", + "dynamsoft-barcode-reader": "10.0.21", "dynamsoft-camera-enhancer": "4.0.1", - "dynamsoft-capture-vision-router": "2.0.31", - "dynamsoft-core": "3.0.32", - "dynamsoft-license": "3.0.20", + "dynamsoft-capture-vision-router": "2.0.32", + "dynamsoft-core": "3.0.33", + "dynamsoft-license": "3.0.40", "dynamsoft-utility": "1.0.21", "vue": "^3.3.4" }, diff --git a/hello-world/vue/src/cvr.ts b/hello-world/vue/src/cvr.ts index 35503aab..f3cfc84e 100644 --- a/hello-world/vue/src/cvr.ts +++ b/hello-world/vue/src/cvr.ts @@ -14,17 +14,17 @@ LicenseManager.initLicense( /** * 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=10.0.20&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=10.0.21&utm_source=github#specify-the-license or contact support@dynamsoft.com. * LICENSE ALERT - THE END */ CoreModule.engineResourcePaths = { std: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-std@1.0.0/dist/", dip: "https://cdn.jsdelivr.net/npm/dynamsoft-image-processing@2.0.30/dist/", - core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.32/dist/", - license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.20/dist/", - cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.31/dist/", - dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.20/dist/", + core: "https://cdn.jsdelivr.net/npm/dynamsoft-core@3.0.33/dist/", + license: "https://cdn.jsdelivr.net/npm/dynamsoft-license@3.0.40/dist/", + cvr: "https://cdn.jsdelivr.net/npm/dynamsoft-capture-vision-router@2.0.32/dist/", + dbr: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader@10.0.21/dist/", dce: "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@4.0.1/dist/" }; diff --git a/hello-world/webview/android/app/src/main/assets/decodeBarcodeInVideo.html b/hello-world/webview/android/app/src/main/assets/decodeBarcodeInVideo.html index 9bfb977b..49947b9e 100644 --- a/hello-world/webview/android/app/src/main/assets/decodeBarcodeInVideo.html +++ b/hello-world/webview/android/app/src/main/assets/decodeBarcodeInVideo.html @@ -16,11 +16,11 @@

Hello World (Decode via Camera)

Results:
- - + + - - + + - + + - - + + - - + + - - + + - + + - - + +