Coder Social home page Coder Social logo

Comments (7)

undecaf avatar undecaf commented on August 17, 2024 1

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.

undecaf avatar undecaf commented on August 17, 2024 1

@ontheway16: Updated barcode-detector-polyfill to 0.9.11 as well, barcode detected now on first scan also in large images.

from zbar-wasm.

undecaf avatar undecaf commented on August 17, 2024

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.

ontheway16 avatar ontheway16 commented on August 17, 2024

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.

undecaf avatar undecaf commented on August 17, 2024

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.

ontheway16 avatar ontheway16 commented on August 17, 2024

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.

ontheway16 avatar ontheway16 commented on August 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.