Is there a Max/Msp Qr Code Decoder?
Hi guys,
I'm not sure if this is under the right forum, I'm looking for a way to decode Qr Code or other forms of 2d barcode in max for a student project.
I'm hoping I can do this with webcam input.
Does anyone know of a method to help me do this? I've done some searching but maybe I am using the wrong keywords.
Cheers,
Emile.
[img]index.php?t=getfile&id=2001&private=0[/img]
Yep-yep! I'm very interesting too!
Quote: outoff wrote on Tue, 23 September 2008 09:12
----------------------------------------------------
> Yep-yep! I'm very interesting too!
>
> https://cycling74.com/forums/index.php?t=msg&goto=150871&rid=0&srch=quick+responce#msg_150871
----------------------------------------------------
Thanks for the link, I will give it a go and let you know if I have any success.
It would be great!
Emile schrieb:
> I'm not sure if this is under the right forum, I'm looking for a way
> to decode Qr Code or other forms of 2d barcode in max for a student
> project.
>
> I'm hoping I can do this with webcam input.
Maybe on the Jitter forum there are people who know how to do it,
especially if you try to do it with a webcam...?
Stefan
--
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com
>jkc
>Messages: 3712
>Registered: November 2002 Senior Member
>We're not going to make this, but it shouldn't be hard for >someone to interface with the following Open Source QR Code >Library in mxj. I believe this is what the third party > processing lib uses.
> http://qrcode.sourceforge.jp/
> -Joshua
So, need advice from mxj specialist
If the resolution XY of the barcodes is known, it's definitely doable with a webcam, but the positioning needs to be exact. Essentially you get a matrix in of the image (jit.qt.grab) and then extract all the cell information (getcell iterated through the whole image, or probably there are better ways, then analyze each value). Being black and white this would be simple, as you could analyze only the R G or B components (if any of them > 0 then it's white, assuming good image quality... may need to tweak this). If you have barcodes with different resolution, you can adjust for this in your patch, since you can adjust pretty much everything. The example jpeg looks like 24X24...?
Barring exact placement, you could do some trickery with selecting the area of the barcode in your image: your initial image is barcode-plus-whatever-else is in the camera's view, then you choose only the barcode for analysis. (You may need to do this anyway if the barcode isn't 4:3 proportions, as most webcams are.) The srcrect and dstrect commands for matrices will help here---that is, what part of the original rectangle you are actually using.
Being black and white, and "blocky" in its layout, this should be pretty straightforward. What are you going to do with the information, out of curiosity? That's the fun part... :)
--CJ
Thanks for your help and suggestions CJ! I am hoping to create a synth which will read and translate printed 2d barcode into a musical score.
Suppose you can also use Processing, and send message from it.
But it will be great to use one our lovely programming environment. It's true.
How do you think, may be possible to use [cv.jit.learn], never try to learn it anything...
Hi all,
I am also interested in being able to read QR codes within max and was wondering whether there are any developments in this area since the previous post?
Has anyone been able to implement the Open Source QR Code Library yet?
regards,
B.
Bump! This would be great, especially with the c74 iphone app!!
I found many scanners for matrix barcodes like QR Code, Data Matrix etc.
I have used QR Code barcode scanner. Now it is easy to find one. Just make full use of Google. Right now I am also using a barcode creator called C# barcode generator in ASP.NET. I found this in Google by myself. The scanner was told by my friend.
It was pretty interesting to read just how much thought went into this and how resilient it is in real-world settings. http://en.wikipedia.org/wiki/QR_code
You can decode QR code using a QR code reader easily. Google it and choose one whose way of processing is simple and fast to halep you. Remember to check its free trial package first if possible. I hope you success. Good luck.
do you want to build a project to decode qr code, or do you just need a qr code plugin to help you. if you just need a professional qr code decoder, you can find a lot on the web . some are free.
You need a QR code scanner, and I use the qr code reader, it can read data matrix.