Vanilla JavaScript Simple Barcode Scanner Example

  1. Click 'Start Video' to initialize and begin camera stream.
  2. Click 'Scan Code' to request a scan (video must be started).
  3. Click 'Stop Video' to stop camera stream (can be restarted).
  4. Viewport is CSS hideable and resizable without impact to scanner.
  5. Configured to scan Code 128 barcodes with no validation.

No scan yet.