You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* update browser compatibility versions in README.md
* PWA caching strategy; iOS pwa fault tolerance;
* cache cros script
* rep clone before used
* Update license information link in read-an-image.html
* Refactor README and HTML titles for clarity and consistency across barcode scanning samples
* CaptureVision instead of BarcodeScanner
* Enhance README with additional configuration details for CaptureVisionRouter
---------
Co-authored-by: Keillion <keillionv@gmail.com>
Copy file name to clipboardExpand all lines: frameworks/capacitor/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
# 📦 Scan Single Barcode - Capacitor
2
2
3
-
This sample demonstrates how to use the `BarcodeScanner` API from the [Dynamsoft Barcode Reader JavaScript SDK](https://www.dynamsoft.com/barcode-reader/sdk-javascript/) in a **Capacitor** app to scan a single barcode using the camera.
3
+
This sample demonstrates how to use the foundational API from the [Dynamsoft Barcode Reader JavaScript SDK](https://www.dynamsoft.com/barcode-reader/sdk-javascript/) in a **Capacitor** app to scan a single barcode using the camera.
4
4
5
5
We use typescript and rollup inside capacitor for demonstration. You can use any framework you like, or even vanilla javascript.
6
6
7
7
## ✨ Features
8
8
9
9
- Easy integration with pre-built UI
10
-
- Renders barcodeScanner inside a Capacitor container
10
+
- Renders barcode reader inside a Capacitor container
Copy file name to clipboardExpand all lines: read-an-image.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ <h1>Hello World (Read an Image)</h1>
27
27
*
28
28
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=samples&product=dbr&package=js to get your own trial license good for 30 days.
29
29
* 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.
30
-
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/barcode-scanner.html#license&utm_source=samples or contact support@dynamsoft.com.
30
+
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html#license&utm_source=samples or contact support@dynamsoft.com.
Copy file name to clipboardExpand all lines: scenarios/batch-inventory/README.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,6 @@ A lightweight demo for batch scanning and simple inventory collection. The sampl
17
17
18
18
## 🔧 How it works
19
19
20
-
- The page creates a BarcodeScanner instance configured for multi-unique capture (SM_MULTI_UNIQUE or equivalent) so duplicate barcodes within the same session are ignored.
21
20
- Scanned values are accumulated in-memory and analyzed to produce session metrics (counts, distribution, duration).
22
21
- Users can stop a session to view the summary, or restart scanning to begin a new session.
- a duplicateForgetTime to avoid rapid duplicate captures
19
+
- The page loads the Dynamsoft Barcode Reader bundle and creates a `CaptureVisionRouter` instance configured with:
20
+
-a result deduplication filter enabled to avoid rapid duplicate captures
21
+
- a cross verification filter enabled to provide more reliable results
22
22
- a scanner UI mounted into a floating container
23
23
- When a unique barcode is detected, the sample maps the scan to a random demo product, appends it to the in‑memory cart, and refreshes the cart display.
24
24
- The floating scanner can be dragged around the viewport and is hidden when not in use.
@@ -41,4 +41,4 @@ Opening HTML files directly may not work as expected. Instead, run a local devel
41
41
42
42
- This is a front‑end prototype intended for demo and UX testing only.
43
43
- Replace the license key with a valid Dynamsoft license for production/testing beyond the included trial behavior.
44
-
- See the repository root `README.md` for running instructions, trial licenses and API documentation links.
44
+
- See the repository root `README.md` for running instructions, trial licenses and API documentation links.
Copy file name to clipboardExpand all lines: scenarios/scan-1D-Industrial/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ A focused demo for decoding industrial-strength 1D barcodes (high-density, damag
15
15
16
16
## 🔧 How it works
17
17
18
-
- The page initializes a BarcodeScanner instance with settings optimized for industrial 1D symbols (longer decode windows, direction tolerance, damage-tolerance options).
18
+
- The page initializes a `CaptureVisionRouter` instance with settings optimized for industrial 1D symbols (longer decode windows, direction tolerance, damage-tolerance options).
19
19
- Decoder parameters are loaded from `ReadOneDIndustrial.json` so you can tweak thresholds, expected symbologies, and scan regions without changing application code.
20
20
- The UI accepts live camera input and shows decoded results.
Copy file name to clipboardExpand all lines: scenarios/scan-dpm-codes/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ A focused demo for decoding **Direct Part Mark (DPM)** barcodes from camera vide
16
16
17
17
## 🔧 How it works
18
18
19
-
- The demo initializes a `BarcodeScanner` instance and loads `ReadDPM.json` via `templateFilePath`, activating DPM-optimized localization and decoding parameters.
19
+
- The demo initializes a `CaptureVisionRouter` instance and loads `ReadDPM.json` via `templateFilePath`, activating DPM-optimized localization and decoding parameters.
20
20
- A centered scan region is set via `cameraEnhancer.setScanRegion()` to reduce noise from surrounding surfaces.
21
21
- Decoded results are surfaced through the standard `launch()` callback; configuration can be tuned via `ReadDPM.json` without changing application code.
0 commit comments