Loading...
-
+
+
+
+
+
+
+
+
+
diff --git a/3.settings/2.localizationModes-binarizationModes.html b/3.settings/2.localizationModes-binarizationModes.html
index 5a4265f1..d587d22c 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 591ee7f2..2d11b278 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 702dfd02..c4b5dae4 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 42d475c9..82a59b0f 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
new file mode 100644
index 00000000..5c52114d
--- /dev/null
+++ b/3.settings/6.dense-barcodes.html
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
+
+ Dynamsoft Barcode Reader Sample - Dense Barcodes
+
+
+
+
+
+
+
+
+
diff --git a/3.settings/README.md b/3.settings/README.md
index be4f9eb9..f860ae57 100644
--- a/3.settings/README.md
+++ b/3.settings/README.md
@@ -63,6 +63,15 @@ To learn more about `Region` and how to use them, please refer to this [article]
Region detection can also be used to pre-detect the region of interest of a large image to get several areas where the barcodes may exist to reduce processing time. The different modes of [RegionPredetectionModes](https://www.dynamsoft.com/barcode-reader/programming/javascript/api-reference/interface/FurtherModes.html?ver=latest#regionpredetectionmodes) correspond to different scenarios, some of which are clarified [here](https://www.dynamsoft.com/barcode-reader/parameters/scenario-settings/how-to-use-region-predetection.html).
+## Dealing with Dense Barcodes
+
+Some barcodes are designed to hold a lot of information which makes them very dense. To read such barcodes, we need to do two things
+
+1. Use a high resolution
+2. Use the built-in "dense" template
+
+Check out the code for more information.
+
## Support
If you have any questions, feel free to contact Dynamsoft support via [email](mailto:support@dynamsoft.com) or [live chat](https://www.dynamsoft.com/barcode-reader/overview/) via the "Let's Chat" button.
diff --git a/3.settings/initScanner.js b/3.settings/initScanner.js
index 2a42a43c..7942fb1d 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.13&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.3.0&utm_source=github#specify-the-license or contact support@dynamsoft.com.
* LICENSE ALERT - THE END
*/
@@ -78,7 +78,8 @@ async function startReading() {
let scanner = await pScanner;
scanner.onFrameRead = (_results) => {
for (let result of _results) {
- resultBox.value = result.barcodeFormatString + ": " + result.barcodeText;
+ const format = result.barcodeFormat ? result.barcodeFormatString : result.barcodeFormatString_2;
+ resultBox.value = format + ": " + result.barcodeText;
}
};
await scanner.show();
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 783f93f6..033f2991 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.13&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.3.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 75df9667..dbef3128 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 @@