QuaggaJS
Languages and libraries
javascript barcode library
SHOW HN2014
How HN took it
9 positive, 6 neutral or asking, 0 mixed, 3 critical, out of 18 comments about the project. Thread score +0.28.
Performance: 3 for, 2 againstIdea: 4 for, 0 againstExecution: 2 for, 0 againstDocs: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Fast and accurate barcode scanning in mobile browsers
From 3 comments
Very impressive. Fast and accurate under Android/Firefox Mobile, will use it in the coming project.
tszming on HNFantastic library, we've tried a few like it before and none of them really worked quickly or reliably enough. We did a quick mashup of our API and this to create a basic (but…
jHoldroyd on HNInvariant to scale and rotation in JS on mobile? That's fantastic! I just tested the Red Laser native app on my phone and it can handle scale/rotation too. But I never thought…
chime on HN
Impressive to achieve scale and rotation invariance in JS
From 2 comments
Invariant to scale and rotation in JS on mobile? That's fantastic! I just tested the Red Laser native app on my phone and it can handle scale/rotation too. But I never thought…
chime on HNThere are a range of different methods that can be used, but your guess is probably correct regardless of which method you use: "breaking the image into smaller 'patches' and…
klintcho on HN
Objections
Browsers lack continuous autofocus, so blurry barcodes are hard to read
From 3 comments
This is great news. I just wrote a QRcode-reader Django widget to be used on a mobile browser, using the LazarSoft library (https://github.com/LazarSoft/jsqrcode). The library…
tubelite on HNI'm still facing the same problems with the missing autofocus. For some devices it works out of the box, like the HTC one mini, but for the most it does not. There is actually an…
serratus on HNThe problem of Firefox OS is the fix focus camera of over 1 meter and the max 5 mega pixel resolution. You can't get sharp barcode images. They are either blurry while to near,…
SunboX on HN
Could not get a correct reading from the webcam demo
From 1 comment
This is great, but using the example with the webcam stream I could not get one correct reading of a barcode.
bwindels on HN
Safari and IE do not allow camera access
From 1 comment
> Safari and IE do not allow the access to the camera yet, neither on desktop, nor on mobile. You can check caniuse for updates. I assume this could be solved by wrapping the JS…
snowwrestler on HN
Some images in the docs are broken
From 1 comment
This looks interesting. Bookmarked to check it when home. The images in the doc files seems to be broken. https://github.com/serratus/quaggaJS/tree/master/doc
myth_buster on HN
Requests
Port it to a Firefox OS app
From 2 comments
At present there is only one bar code scanner on firefoxos marketplace, with this library it looks like where will be better ones. Maybe consider making a quick FFOS App?
hardwaresofton on HNHey there fellow flame user! I also have one, and yeah, it would make a great addition! at the very least, it can be a web-webapp (firefoxOS let's you declare app manifests for…
hardwaresofton on HN
Wrap it with PhoneGap/Cordova for camera access
From 2 comments
> Safari and IE do not allow the access to the camera yet, neither on desktop, nor on mobile. You can check caniuse for updates. I assume this could be solved by wrapping the JS…
snowwrestler on HNThat's correct. Phonegap/Cordova gets you access to the camera, and would provide the ability to capture an image for local-processing with this library.
uptown on HN
Questions
How to implement a classifier-based locator in JavaScript
From 1 comment
Thanks for this interesting input. I don't have much experience with classifiers, nor if they work well in JavaScript. I already implemented FAST and BRIEF in another project,…
serratus on HN
Whether the maker tried Code128 or EAN13 modes with autofocus
From 1 comment
Have you really tried with Code128 or EAN13 encoded barcodes? In the demo, you can switch between those two modes. Make sure your camera has an auto-focus built in, because…
serratus on HN
Alternatives named
LazarSoft jsqrcode
From 2 comments
This is great news. I just wrote a QRcode-reader Django widget to be used on a mobile browser, using the LazarSoft library (https://github.com/LazarSoft/jsqrcode). The library…
tubelite on HNBeing able to scan barcodes using a web app is pretty cool. I used something similar when I was tinkering with transmitting data visually for the handshake step of webrtc:…
nilknarf on HN
ZBar JS port (zbarjs)
From 1 comment
There's also a port of ZBar using Emscripten / asm.js: https://github.com/yurydelendik/zbarjs and a hand-made port of ZXing by Wojciech Szela here:…
SunboX on HN
ZXing JS port (zxingjs)
From 2 comments
There's also a port of ZBar using Emscripten / asm.js: https://github.com/yurydelendik/zbarjs and a hand-made port of ZXing by Wojciech Szela here:…
SunboX on HNThe hand-made port looks really promising. This could work alongside QuaggaJS as the decoding part, since ZXing does not locate the barcode.
serratus on HN
miniqr
From 1 comment
https://github.com/franzenzenhofer/miniqr -- This does the same .. very handy
uberneo on HN
Red Laser native app
From 1 comment
Invariant to scale and rotation in JS on mobile? That's fantastic! I just tested the Red Laser native app on my phone and it can handle scale/rotation too. But I never thought…
chime on HN