barkoder-wasm-ocr 1.3.5 → 1.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -15,7 +15,8 @@ The [barKoder SDK](https://barkoder.com/) features multiple algorithms that hand
15
15
  * [VIN Barcode Scanning Mode](https://barkoder.com/vin-scanning-mode) - The most advanced VIN barcode scanning mode on the market, utilizing all the special algorithms of the barKoder SDK leading to the ultimate scanning experience of any kind of barcodes used for embedding Vehicle Identification Numbers, including Code 39, Code 128, QR Code and Data Matrix;
16
16
  * [DeBlur Mode](https://barkoder.com/deblur-mode) - Whether there's lens, motion or focus blur present in EAN or UPC barcodes, the barKoder DeBlur Mode alleviates it fully and doesn't allow the scanning experience to suffer;
17
17
  * [PDF417-LineSight](https://barkoder.com/pdf417-linesight) - The robust PDF417 barcode scanner SDK that is offered by barKoder can detect even the most severely damaged PDF417 codes, including missing their start and stop patterns, stop row indicators or even entire data columns, making it the sublime choice for apps that need to reliably scan US or Canadian driver's licenses, South African vehicle license discs or driver's licenses, as well as various types of ID's such as Military, Argentinian, Colombian or South African Smart ID Cards.
18
- * [Batch MultiScan](https://barkoder.com/batch-multiscan) - The Batch MultiScan feature of the barKoder Barcode Scanner SDK for mobile apps and websites, will enable your users to decode multiple barcodes regardless of their type or size in one go. The barKoder API covers all common 1D and 2D barcode symbologies, enabling intuitive and fast data capture while delivering an accuracy of at least 99%, even under the most difficult scanning conditions. Whether in inventory counting, on the last mile or in manufacturing, our fast and accurate Batch MultiScan algorithm greatly increases efficiency and helps create friction-less internal and external processes. The Batch MultiScan works with smartphones, tablets and industrial cameras, enabling true mobility wherever it’s applied.
18
+ * [Batch MultiScan](https://barkoder.com/batch-multiscan) - The Batch MultiScan feature of the barKoder Barcode Scanner SDK for mobile apps and websites, will enable your users to decode multiple barcodes regardless of their type or size in one go. The barKoder API covers all common 1D and 2D barcode symbologies, enabling intuitive and fast data capture while delivering an accuracy of at least 99%, even under the most difficult scanning conditions. Whether in inventory counting, on the last mile or in manufacturing, our fast and accurate Batch MultiScan algorithm greatly increases efficiency and helps create friction-less internal and external processes. The Batch MultiScan works with smartphones, tablets and industrial cameras, enabling true mobility wherever it’s applied.
19
+ * [MRZ](https://barkoder.com/barcode-scanner-sdk/mrz) - The barKoder MRZ scanning solution provides the fastest, most accurate scanning of Machine Readable Zone (MRZ) data directly from passports, ID cards, and travel documents, ensuring streamlined, reliable identity verification. With its easy integration and seamless setup, it allows developers to quickly embed MRZ scanning functionality across iOS and Android platforms without extensive configuration.
19
20
 
20
21
  You can check out our free demo app Barcode Scanner by barKoder available both via [Apple App Store](https://apps.apple.com/us/app/barkoder-scanner/id6443715409?uo=2) & [Google Play Store](https://play.google.com/store/apps/details?id=com.barkoder.demoscanner).
21
22
 
@@ -35,7 +36,7 @@ Our support is completely free for integration or testing purposes and granted t
35
36
  WebAssembly is a type of code that can be run in modern web browsers — it is a low-level assembly-like language with a compact binary format that runs with near-native performance and is designed to run alongside JavaScript. The following requirements need to be met:
36
37
 
37
38
  1. **Client:**
38
- - Chrome 64+, Firefox 69+, Edge 79+, Safari 13.1+, iOS Safari 13.4+
39
+ - Chrome 67+, Firefox 69+, Edge 79+, Safari 14+, iOS Safari 14+
39
40
  - Camera usage permission (if using startScanner)
40
41
  2. **Server:**
41
42
  - HTTPS, MIME type for wasm files
@@ -43,7 +44,7 @@ WebAssembly is a type of code that can be run in modern web browsers — it is a
43
44
  ## Install
44
45
 
45
46
  ```bash
46
- npm install barkoder-wasm
47
+ npm install barkoder-wasm-ocr
47
48
  ```
48
49
 
49
50
  ## Install Manually
@@ -52,10 +53,10 @@ If you would like to install from a local folder you will need to follow these s
52
53
  - Download zip
53
54
  - Unpack zip file
54
55
  - Rename folder to your liking
55
- - Paste the folder in app directory i.e. **myApp/barkoder-wasm** (this is the new name of the download module folder)
56
+ - Paste the folder in app directory i.e. **myApp/barkoder-wasm-ocr** (this is the new name of the download module folder)
56
57
  - Finally in your cli (within your app's directory):
57
58
  ```bash
58
- npm install "./barkoder-wasm"
59
+ npm install "./barkoder-wasm-ocr"
59
60
  ```
60
61
 
61
62
  ## Using the SDK
@@ -75,7 +76,7 @@ Copy barkoder.wasm to your page's directory (i.e. dist).
75
76
  Require the UMD Module:
76
77
 
77
78
  ```js
78
- var BarkoderSDK = require('barkoder-wasm');
79
+ var BarkoderSDK = require('barkoder-wasm-ocr');
79
80
  ```
80
81
 
81
82
  Then,
@@ -87,9 +88,7 @@ async function barkoderInit () {
87
88
 
88
89
  //enable symbologies you'd like to scan
89
90
  Barkoder.setEnabledDecoders(
90
- Barkoder.constants.Decoders.QR,
91
- Barkoder.constants.Decoders.Ean8,
92
- Barkoder.constants.Decoders.PDF417
91
+ Barkoder.constants.Decoders.IDDocument
93
92
  );
94
93
 
95
94
  //change any additional settings