You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
quaggaJS/v1.0.0-beta.1/examples/index.md

2.4 KiB

layout title showInMenu
default Examples true

Examples

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

Sandbox for mobile (Android only)

A minimal mobile-app like example with lot's of configuration options.

Scanning multiple types of codes simultaneously

Video-based Example showcasing the use of multiple readers

Scanning to input-field

Video-based Example showcasing an input-field for barcodes

File-based barcode-input

File-based Example showcasing an input field for barcodes

Using static image files

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

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]({{ site.baseurl }}/assets/example_live_01.jpg)

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]({{ site.baseurl }}/assets/example_file_input_01.jpg)