Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qr Code decoder

Tags:

c++

qr-code

Is there any way to write a QR-code decoder in C++ from scratch? I have done that already in Python using SimpleCv module to access the webcam.

Thanks

like image 640
lpostula Avatar asked Dec 12 '22 02:12

lpostula


2 Answers

I'm one of the core SimpleCV developers. We used to support ZXing, but the problem was it was java based and quite slow running outside of it's own application. As of last week I updated the code to support Zbar. It's c++ based, and is very fast and much easier to install and run. They also have examples on how to run your own code and should work with OpenCV if you need much faster speeds.

Hope this helps.

like image 178
xamox Avatar answered Dec 27 '22 09:12

xamox


ZXing has a C++ detector and decoder. All you need to give it is the RGB or luminance image data as a vector.

(Full disclosure: I'm the primary maintainer of the ZXing C++ QR port at this point.)

like image 31
smparkes Avatar answered Dec 27 '22 09:12

smparkes