diff --git a/README.md b/README.md index 83dcbeb..b510bb1 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,6 @@ It offers the following features: + Scans ``, `` and live `` elements, image and video `Blob`s and `File`s and more + Detects multiple barcodes per frame, also with different types + Barcodes may be oriented horizontally or vertically -+ Avoids the LGPL license obligation of the [`@undecaf/zbar-wasm`](https://www.npmjs.com/package/@undecaf/zbar-wasm) dependency - by loading it at runtime as a library + Outperforms pure JavaScript polyfills An online example is available [on GitHub](https://undecaf.github.io/barcode-detector-polyfill/example/) @@ -60,7 +58,7 @@ try { Expose the `BarcodeDetectorPolyfill` API in variable `barcodeDetectorPolyfill`: ```html - + + + + + + + BarcodeDetector polyfill example, + zbar-wasm loaded at runtime + + + Supported formats: + + Image source + + + + + Image file + Camera + + + UTF-8 + ISO-8859-15 + Windows-1252 + Macintosh + + + + + Show details + + + + + + + + + If the image does not appear then loading may have been blocked by the server's CORS policy. + + Result + + + + +
BarcodeDetector
zbar-wasm
If the image does not appear then loading may have been blocked by the server's CORS policy.