QuaggaJS

An advanced barcode-reader written in JavaScript

View the Project on GitHub serratus/quaggaJS

Examples

The following examples showcase some of the features offered by QuaggaJS.

Using static image files

This example shows the capabilities of QuaggaJS using images taken under various conditions.

Image 1 Image 2 Image 3 Image 4

Using the live-stream from your webcam

This is the preferred mode of using QuaggaJS. This example demonstrates the real-time decoding capabilities of QuaggaJS by using your webcam as a barcode-scanner.

Live 1

Using the File API

Instead of directly accessing the user’s webcam, this example shows you how to use QuaggaJS with the HTML5 File API to decode a pre-taken image.

File Input 1