Loading...
-
+
+
+
+
+
+
+
+
+
diff --git a/3.settings/2.localizationModes-binarizationModes.html b/3.settings/2.localizationModes-binarizationModes.html
index 2085e4245..8b457b2b0 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 79febccca..57a3387f3 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 bad5d1ec9..a621db7bb 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
-->
-
+
@@ -49,6 +49,12 @@
Settings for Deformed or Incomplete codes
+
+
+
+
+
+
@@ -103,6 +109,15 @@
Settings for Deformed or Incomplete codes
case "DRM_GENERAL":
settings.furtherModes.deformationResistingModes[DRMCount] = Dynamsoft.DBR.EnumDeformationResistingMode.DRM_GENERAL;
break;
+ case "DRM_BROAD_WARP":
+ settings.furtherModes.deformationResistingModes[DRMCount] = Dynamsoft.DBR.EnumDeformationResistingMode.DRM_BROAD_WARP;
+ break;
+ case "DRM_LOCAL_REFERENCE":
+ settings.furtherModes.deformationResistingModes[DRMCount] = Dynamsoft.DBR.EnumDeformationResistingMode.DRM_LOCAL_REFERENCE;
+ break;
+ case "DRM_DEWRINKLE":
+ settings.furtherModes.deformationResistingModes[DRMCount] = Dynamsoft.DBR.EnumDeformationResistingMode.DRM_DEWRINKLE;
+ break;
case "DRM_SKIP":
settings.furtherModes.deformationResistingModes[DRMCount] = Dynamsoft.DBR.EnumDeformationResistingMode.DRM_SKIP;
break;
diff --git a/3.settings/5.regionOfInterest-regionPredetection.html b/3.settings/5.regionOfInterest-regionPredetection.html
index f720c3397..368a43f50 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/6.dense-barcodes.html b/3.settings/6.dense-barcodes.html
index 38b5ba1a7..45d556eb5 100644
--- a/3.settings/6.dense-barcodes.html
+++ b/3.settings/6.dense-barcodes.html
@@ -18,7 +18,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
-->
-
+
@@ -36,7 +36,7 @@
/**
* 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.3.1&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.6.0&utm_source=github#specify-the-license or contact support@dynamsoft.com.
* LICENSE ALERT - THE END
*/
@@ -60,9 +60,7 @@
scanner.onFrameRead = (results) => {
textareaResults.value = "";
for (let result of results) {
- const format = result.barcodeFormat
- ? result.barcodeFormatString
- : result.barcodeFormatString_2;
+ const format = result.barcodeFormatString;
const text = result.barcodeText;
textareaResults.value += `${format}: ${text}\n`;
}
diff --git a/3.settings/initScanner.js b/3.settings/initScanner.js
index 55aeb6761..1e8bcdb84 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.3.1&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.6.0&utm_source=github#specify-the-license or contact support@dynamsoft.com.
* LICENSE ALERT - THE END
*/
@@ -78,7 +78,7 @@ async function startReading() {
let scanner = await pScanner;
scanner.onFrameRead = (_results) => {
for (let result of _results) {
- const format = result.barcodeFormat ? result.barcodeFormatString : result.barcodeFormatString_2;
+ const format = result.barcodeFormatString;
resultBox.value = format + ": " + result.barcodeText;
}
};
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 e9b608ac7..cdba0237d 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.3.1&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.6.0&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 b30f3ee46..75ba86c2e 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 @@