Comments (7)
https://cdn.jsdelivr.net/npm/@undecaf/zbar-wasm/dist/index.js already points to the most recent release (0.9.11). After a new release has been published, it always takes some time for this link to get updated, and I cannot influence this process.
Specifying the release as part of the link (such as in https://cdn.jsdelivr.net/npm/@undecaf/[email protected]/dist/index.js) allows accessing any release immediately after it has been published, and no ambiguities can arise later when new (possibly incompatible) releases get published.
from zbar-wasm.
@ontheway16: Updated barcode-detector-polyfill to 0.9.11 as well, barcode detected now on first scan also in large images.
from zbar-wasm.
Does zbar-wasm behave in the same way when you post the images to the demo site: https://undecaf.github.io/barcode-detector-polyfill/example/ ? This would eliminate effects caused by running the demo in Codepen.
If the behavior is the same then please copy and post the output from the dev tools console of your browser.
Having the images available on some public place (Dropbox etc.) would also be helpful for testing if the QR codes do not contain sensitive information.
from zbar-wasm.
Thank you for the fast response, I tried and first image returned with null.
But, second and following images (all same size, big) created no problems (They were completely new to browser, not scanned formerly). Also, initially failed image succeeded in the second attempt.
Here is a dropbox link of a sample image.
https://www.dropbox.com/s/nfi0vhzu7bvkqq9/test_image2.jpg?dl=0
from zbar-wasm.
Fixed in version 0.9.11. Thanks @ontheway16 for pointing this out so that I could fix a stupid mistake.
Please note that you may have to add the version number to CDN links until the CDNs catch up.
from zbar-wasm.
One last thing, can you please kindly update the following link, with the applied update?
https://cdn.jsdelivr.net/npm/@undecaf/zbar-wasm/dist/index.js
Thank you !
from zbar-wasm.
Does this demo link already at latest, as of now ?
https://undecaf.github.io/barcode-detector-polyfill/example/
Since I just checked, it failed to read in the first attempt (different image, but same image size (pixels) at above link).
Second attempt with same image file, succeeded.
from zbar-wasm.
Related Issues (20)
- webpack error migrating from 0.9.15 -> 0.9.16 HOT 5
- How to bundle zbar.wasm in a module project? HOT 6
- The barcode type DataMatrix is not supported HOT 1
- Please Help : Why i show this error when i tray import the package in Angular 16 HOT 1
- Build fails when using in Next.js App directory router. HOT 2
- [BUG] WebAssembly.Module doesn't parse at byte 1227: invalid opcode 192, in function at index 28 HOT 7
- [BUG] On IOS Safari Iphone 12 - after background/sleep mode reactivation changes camera to fisheye HOT 8
- Feature Suggestion: Allow Passing the Zbar Instance HOT 8
- [BUG] Not able to scan the barcode of this image using this library, however able to scan it with the phone app HOT 5
- Prepare for a NPM release of this package please HOT 1
- [BUG] Combined scan symbol type not recognized HOT 1
- [Enhancement] Allow specifying the URL of the WASM file HOT 2
- [BUG] library not being recognized/provided by vite HOT 3
- Configure custom ZBarScanner instance HOT 2
- Paused when failed to detect unsupported code type. HOT 2
- zbar-wasm doesn't work with nodejs 18
- TypeError: Failed to construct 'URL': Invalid URL HOT 5
- Issue with utf-8 HOT 13
- after 15 june this package giving an error HOT 2
- loading zbar-wasm as ES module fails in Node HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zbar-wasm.