Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea - barcode reader #9

Closed
tonylampada opened this issue Apr 5, 2014 · 3 comments
Closed

Idea - barcode reader #9

tonylampada opened this issue Apr 5, 2014 · 3 comments

Comments

@tonylampada
Copy link

Make a webpage that combines webcamjs with this gist (live demo here).

That would result in a useful tool :-)

@tonylampada
Copy link
Author

I did it...
http://tonylampada.github.io/barcodescanner/

With my webcam, it doesn't work that great.
Any tips on how to improve it are appreciated :-)

@jhuckaby
Copy link
Owner

jhuckaby commented Apr 6, 2014

Awesome work! Sorry I didn't have time to respond to this before. Seems like a natural use for the library. I'll take a look and see if there is anything I can improve -- I'd love for it to be able to handle QR codes too. Thanks for doing this!!

@tonylampada
Copy link
Author

Thanks :-)
Unfortunately I don't know anything about image processing, but I think it should be possible to improve detection rate by doing something like:

In the canvas that shows the webcam image, display a horizontal red line, and instruct the user to align the barcode with it. Then the alghorithm that does the image processing would have a "better idea" of where to look for a barcode on the image. But I don't really know how much that would help :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants