<< return to Pixycam.com

QR Decoding

Hello all, I know this has been asked before in the past and perhaps even answered, but I am relatively new at this area and need some help. I need to able to decode qr codes.

Is it possible at all to do this with any firmware out there right now? Everything I read says no, but figured I would double check.

If not, I can work with analyzing still images, but it seems everyone who asks how to do this gets redirected to older questions without a straight answer. Can anyone give me advice on how to transfer a still image from the pixy? If it helps, I am connecting it to an Arduino mega.

I saw all the posts about libpixyusb (https://github.com/charmedlabs/pixy) and the zxing library (http://wiki.ssrrsummerschool.org/doku.php?id=robocup2012:qrcode-cppexample)

Thanks again everyone

Hey Colin,

unfortunately Pixy does not currently support this. You can grab still frames over USB using PixyMon - very simple, see here: http://cmucam.org/projects/cmucam5/wiki/How_to_Grab_a_Frame

Grabbing raw frames and sending them elsewhere to be processed is not Pixy’s strong suit - it’s designed to track colored objects, and output what it detects very quickly.

That said, this is an open source project - it appears someone has posted working code for image acquisition and interpolation here: http://cmucam.org/boards/9/topics/5106?page=2&r=6183

I believe this is another example: http://cmucam.org/boards/9/topics/4451?r=5808#message-5808

Note that I haven’t tested any of these. Maybe Edward can chime in with more details - I’m pretty sure QR codes is in our feature request queue already.

Hope this helps!

Cheers,
Jesse

Thanks for the reply! If I needed to find a quick solution to this problem, do you recommend that I pick up a regular camera to program that instead?

Hi, short answer, yes. Some Googling led me to this page: http://forum.arduino.cc/index.php?topic=178980.0 which has discussion of this topic (QR codes with Arduino).

It sounds like QR codes are somewhat computationally expensive. You may have trouble decoding them on an Arduino. What’s your application?