mate1229
mate1229

Reputation: 95

QRCode decoding in java without using any libraries

I've been searching on how to scan a QRCode from BufferedImage in Java without using ZXing or any other libraries. That must be my own decoder. I'm searching for the simplest way to do this.

Does anybody know of any examples or know how to do this easily? Any help is greatly appreciated.

Upvotes: 1

Views: 1463

Answers (2)

Tristian
Tristian

Reputation: 3512

As @Till Helge Viking mentions, it is not included in the standard java libraries, so you would have to implement the encoding and decoding by yourself. This information might be of use to you.

Upvotes: 1

Till Helge
Till Helge

Reputation: 9311

Java doesn't support scanning of QR codes out-of-the-box. If you don't want to employ a library, you will have to write the whole mess yourself. That means you will have to scan through your image pixel by pixel and determine what the image looks like and what it means.

Upvotes: 3

Related Questions