Skip to content

Instantly share code, notes, and snippets.

View taintech's full-sized avatar

Rinat Tainov taintech

View GitHub Profile
@taintech
taintech / get_barcode_from_image.js
Last active February 3, 2018 20:26 — forked from tobitailor/get_barcode_from_image.js
Code to get identify barcode
/*
* 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',