Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Offline-first, qr-code scanner web app. Stores data in PouchDB.

Notifications You must be signed in to change notification settings

ibm-watson-data-lab/badgescanner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

badgescanner

badgescanner gif

A Node.js web app that captures your web cam feed and looks for QR-codes that you offer to it.

  • a live video feed is captured from your web-cam (with your permission)
  • every 30s, snapshots of the feed are placed in a hidden canvas control
  • client-side code looks for a QR code in the image
  • if the QR-code contains a vCard or a URL, then the information is saved as JSON in an in-browser database (PouchDB) and presented in a table
  • you can optionally sync this data to an Apache CouchDB or Cloudant database

Images are not retained at all and they are not transferred from the browser to a server for processing - all of the image processing is performed in the browser using JavaScript.

This app is an offline-first app so once loaded, it should continue to work with or without a network connection.

Demo

https://badgescanner.mybluemix.net

Print out some sample QR codes to try out.

Running on Bluemix

The fastest way to deploy this application to Bluemix is to click the Deploy to Bluemix button below.

Deploy to Bluemix

Don't have a Bluemix account? If you haven't already, you'll be prompted to sign up for a Bluemix account when you click the button. Sign up, verify your email address, then return here and click the the Deploy to Bluemix button again. Your new credentials let you deploy to the platform and also to code online with Bluemix and Git. If you have questions about working in Bluemix, find answers in the Bluemix Docs.

About

Offline-first, qr-code scanner web app. Stores data in PouchDB.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.2%
  • HTML 2.6%
  • CSS 0.2%