Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Decode QR code image using zxing library in Android

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.

like image 337
Kannan Suresh Avatar asked Mar 26 '26 08:03

Kannan Suresh


1 Answers

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

like image 84
Sean Owen Avatar answered Mar 29 '26 18:03

Sean Owen