cancel
Showing results for 
Search instead for 
Did you mean: 

QR CODE in stm

blue_dolphin1987
Associate II
Posted on November 30, 2012 at 13:21

Hi , 

Is it possible to read a qr code through a cmos camera and subsequently decode it with stm32 ?

I search through google and did not see any relevant links. Can any one provide a guide or a link ?

Thanks
9 REPLIES 9
frankmeyer9
Associate II
Posted on November 30, 2012 at 13:45

I believe it's surely possible. Don't know what are your requirements on robustness.

The demands for image resolution and performance are moderate IMHO.

This could help you, while neither of the links points to STM32 or Cortex - specific code.

http://fukuchi.org/works/qrencode/index.html.en

    (libqrencode)

http://code.google.com/p/zxing/

    (Java, and C++ port)

 

Andrew Neil
Evangelist
Posted on December 01, 2012 at 16:44

''I search through google and did not see any relevant links''

Really? None at all? I don't beleive that!

There certainly are plenty of sites describing the format, there's the actual specifications, and many open-source projects implementing decoders and/or encoders.

That will give you enough material to study and gain a sufficient understanding to implement something...

But, if you were looking for a ready-made solution to just drop-in to your unspecified hardware - you obviously won't find that!

Posted on May 28, 2013 at 10:57

I only have the experience of

http://www.onbarcode.com/products/net_barcode_reader/barcodes/qrcode.html

and

http://www.onbarcode.com/products/java_barcode_reader/barcodes/qrcode.html

. I am not that familiar with the platform you mentioned. But you can go to that site for help. I believe you won't be disappointed.

charles_frazier64
Associate
Posted on July 19, 2013 at 09:05

Posted on July 19, 2013 at 12:16

i don't think it can be applied on comos camera , but it can be used in some other areas , besides, it'll be better if it's cheaper. thanks for sharing.

Please top-post for your responses to be visible, leaving the entire quoted message isn't necessary unless you think the person you are responding to will edit/delete details from their original post. One of the bugs here with this excellent Microsoft Forum software is that it will reorder the thread if you edit your post.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
makaveil4202
Associate II
Posted on December 25, 2013 at 07:49

To read and decode QR code, a barcode scanner is what you need. But a hardware like this is quite pricy. So a lot people choose to install a

http://www.keepautomation.com/products/net_barcode_reader/barcode_qrcode.html

APP ON their phones or tablets with cameras. I heard even PSP now have capacity of

http://www.keepautomation.com/products/net_barcode_reader/

with those kind of APPs. As for the decoding part, it is done right after scanning. A reader does not only ''read'' but ''decode'' too.

mariah-313
Associate
Posted on June 19, 2014 at 04:49

not knowing this  </colgroup>

http://www.keepautomation.com/products/java_barcode/barcodes/qrcode.html

cinpell
Associate
Posted on November 11, 2014 at 10:53

Yes.There are many ways for you to read qr code. I use

http://www.barcodelib.com/net_barcode_reader/main.html

, it can read qr code as well as many other barcodes. You need to add the dll. file to your project.

And here is a guide for

http://www.barcodelib.com/net_barcode_reader/barcode_symbologies.html

.

Hope it will solve your problem.

Andrew Neil
Evangelist
Posted on December 31, 2013 at 16:03

''To read and decode QR code, a barcode scanner is what you need''

Not at all!

One of the attractions of QR codes is precisely that they can  be read using an ordinary camera - they do

not

 require special hardware! (my phone's camera is not good enough for barcodes, but can  do QR codes)

''So a lot people choose to install a

http://www.keepautomation.com/products/net_barcode_reader/barcode_qrcode.html

APP ON their phones or tablets with cameras''

Exactly - thus demonstrating that special hardware is

not

 required!

And zxing - which has already been mentioned - is one such app.

And it (or, at least, its decoder) is open-source.