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
- Provides autocompletion and improves developer experience in TypeScript projects
35
+
- Used for handling CPU-intensive barcode scanning and recognition tasks. Runs in a background thread without blocking the main thread UI
43
36
44
-
---
37
+
- Communicates with the main thread through message passing
45
38
46
-
## 4. WebAssembly Engine Files
39
+
## 5. WebAssembly Engine Files
47
40
48
41
`dynamsoft-barcode-reader-bundle` requires WASM and Worker scripts to work together in order to achieve highly efficient decoding capabilities.
49
42
@@ -57,15 +50,14 @@ Below are the common files you'll find and their purposes.
57
50
> The dbr-bundle dynamically selects the most suitable WebAssembly variant based on the current browser environment, in order to maximize browser performance as much as possible. This means that in most cases, only one set of `*.wasm` + `*.wasm.js` files will actually be used at runtime.
58
51
> For details about the different WASM variants, please refer to [What Is Adaptive WebAssembly (Wasm) Loading and How Does It Work?](adaptive-wasm-loading.md).
59
52
60
-
---
61
53
62
-
## 5. Other Auxiliary Resources
54
+
## 6. Other Auxiliary Resources
63
55
64
56
These folders collectively compose the runtime environment for a JavaScript-based barcode scanner application, providing all necessary assets for ML-based scanning, data parsing, result rendering, and user interaction.
65
57
66
58
| Folder | Purpose |
67
59
|------|---------|
68
-
|`models`| Contains pre-trained machine learning models used for barcode detection and recognition. These models enable the scanner to identify and decode various barcode formats from images and video streams in real-time. |
69
-
|`parser-resources`| Stores resources required for data parsing and interpretation. |
70
-
|`templates`| Contains preset CaptureVisionTemplates used for different barcode scanning scenarios. |
71
-
|`ui`| Preset ui in `.html` files. |
60
+
|`models/`| Contains pre-trained machine learning models used for barcode detection and recognition. These models enable the scanner to identify and decode various barcode formats from images and video streams in real-time. |
61
+
|`parser-resources/`| Stores resources required for data parsing and interpretation. |
62
+
|`templates/`| Contains preset CaptureVisionTemplates used for different barcode scanning scenarios. |
0 commit comments