Forums > MaxMSP

Is there a Max/Msp Qr Code Decoder?

September 22, 2008 | 8:30 am

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]


September 22, 2008 | 9:12 pm

Yep-yep! I’m very interesting too!

http://www.cycling74.com/forums/index.php?t=msg&goto=150871&rid=0&srch=quick+responce#msg_150871


September 22, 2008 | 10:50 pm

Quote: outoff wrote on Tue, 23 September 2008 09:12
—————————————————-
> Yep-yep! I’m very interesting too!
>
> http://www.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.


September 23, 2008 | 5:56 am

It would be great!


September 25, 2008 | 8:13 am

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


September 25, 2008 | 8:37 am

>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


September 26, 2008 | 9:22 pm

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


September 27, 2008 | 5:03 am

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.


September 27, 2008 | 3:44 pm

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…


January 9, 2009 | 8:57 pm

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.


March 28, 2011 | 5:43 pm

Bump! This would be great, especially with the c74 iphone app!!


November 29, 2012 | 3:07 am

I found many scanners for matrix barcodes like QR Code, Data Matrix etc.


April 18, 2013 | 3:12 am

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.


July 23, 2013 | 12:05 am

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


September 9, 2013 | 11:41 pm

hello, maybe this QR code can satisfy your needs, have a try, maybe you will find what you need,
hope it helps,


September 18, 2013 | 12:20 am

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.


June 13, 2014 | 1:13 am

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.


Viewing 17 posts - 1 through 17 (of 17 total)