GithubHelp home page GithubHelp logo

barcode-detection-api-demo's Introduction

barcode-detection-api-demo

Demo of the Barcode Detection API for Web

Not all browsers support this API.

You can check the browser support here: https://caniuse.com/?search=BarcodeDetector%20API

The demo has been tested on Microsoft Edge on macOS monterey.

In addition, localhost or HTTPS are required to use this API.

Online demo

Polyfill

If the browser does not support the API, the Dynamsoft Barcode Reader polyfill will be used.

Check out this repo to learn more: https://github.com/xulihang/barcode-detector-polyfill.

barcode-detection-api-demo's People

Contributors

tony-xlh avatar xulihang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

barcode-detection-api-demo's Issues

Barcode detection stopped working in Chrome

The barcode detection seems to have stopped working in Chrome.

I've tried on Chrome versions 108.0.5359.94, and 108.0.5359.124 it says it support BarcodeDetect, the camera comes up, and correctly reflects the image, BUT when presented with a barcode it does not detect it. I've tried with QRcodes and UPC codes off products.

Testing the same codes in Firefox works - it uses the Polyfill.

It may be something in the OS. I'm running on a MacBook Air which was recently upgraded to 13.1

I noticed a play project of my own, which had a QR code scanner built based on the code in some documentation and used to work (maybe a month ago) also stopped working in Chrome, so I have feeling its something to do with Barcode.detect which seems to always return an empty array now.

Happy to help debug if there is something specific you would like me to try.

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.