Skip to content

Instantly share code, notes, and snippets.

View sammiq's full-sized avatar

Sam Kenny sammiq

View GitHub Profile
@sammiq
sammiq / get_barcode_from_image.js
Created August 19, 2012 01:25 — forked from tobitailor/get_barcode_from_image.js
Barcode recognition with JavaScript - Demo: http://bit.ly/djvUoy
/*
* Copyright (c) 2010 Tobias Schneider
* This script is freely distributable under the terms of the MIT license.
*/
(function(){
var UPC_SET = {
"3211": '0',
"2221": '1',
"2122": '2',