Giter VIP home page Giter VIP logo

shapedetection-polyfill's Introduction

ShapeDetection polyfill Build Status

NPM

The WICG Shape Detection specification provides access from the Web to the native platform's capabilities to detect shapes in moving or still images. The shapes can be e.g. 1- or 2-D barcodes, text or human faces.

This polyfill bridges the gaps among browsers and platforms since not all provide the same capabilities.

Demo

shapedetection-polyfill's People

Contributors

yellowdoge avatar

Stargazers

Jacob Beltran avatar Masahiro Miyashiro (3846masa) avatar lihuiqiang avatar Charles avatar Alexey Rodionov avatar David Sanders avatar Dan Dascalescu avatar

Watchers

James Cloos avatar  avatar David Sanders avatar

Forkers

dsanders11

shapedetection-polyfill's Issues

Use polyfill when feature is not available on a specific platform

If you run the demo on windows 10 with Experimental Web Platform features enabled, rather than getting the polyfill, or natively scanning the QR code, it will just give the error that barcodes (QR codes) are not supported on this platform.

detection failed: NotSupportedError: Barcode Detection not implemented.

Perhaps using getSupportedFormats() to selectively load the polyfill if desired features are not supported?

Demo Broken

The demo is currently broken, probably because the repository owner name has changed (miguelao => yellowdoge).

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.