lpostula
lpostula

Reputation: 584

Qr Code decoder

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

Upvotes: 4

Views: 22460

Answers (3)

xamox
xamox

Reputation: 2779

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.

Upvotes: 8

smparkes
smparkes

Reputation: 14053

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.)

Upvotes: 5

technomage
technomage

Reputation: 525

I'm using ZXing for Java, but on their website it says they have partial support for C++ http://code.google.com/p/zxing/

Upvotes: 0

Related Questions