Tobias Schneider's barcode scanner [1] is a great example for a simple bar code scanner (<100 lines)
However, it turned out to be not very accurate in a lot of cases.
That's why I ported ExactImage's [2] bardecode [3] to javascript using emscripten [4].
2 comments
[ 7.3 ms ] story [ 18.3 ms ] threadI hope you like it.
[1] https://gist.github.com/tobeytailor/421369 [2] http://www.exactcode.com/site/open_source/exactimage/bardeco... [3] http://manpages.ubuntu.com/manpages/lucid/man1/bardecode.1.h... [4] http://emscripten.org/