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

Latest commit

 

History

History
executable file
·
30 lines (17 loc) · 1.78 KB

README.md

File metadata and controls

executable file
·
30 lines (17 loc) · 1.78 KB

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.