Decode image of QR code using zxing library in Android

advertisements

In my application I'm using the zxing library for QR decoding QR code images stored in the Android device. I would like to know how to convert Bitmap to BinaryImage to be decoded. I have found similar questions but none could solve my problem. Please help.


Look in the project code, but under androidtest/. There's a class called RGBLuminanceSource that does this.