IDE: Eclipse/IDEA
Device with Android
Hello to all!
i use zxing for scan QR from image from gallery:
RGBLuminanceSource rgbls = new RGBLuminanceSource(img.getWidth(), img.getHeight(), img.getRGB());
Binarizer binarizer = new HybridBinarizer(rgbls);
BinaryBitmap binBitmap = new BinaryBitmap(binarizer);
Result qrCodeResult = new MultiFormatReader().decode(binBitmap);
Desktop version of zxing hood work with both via BufferedImageLuminanceSource(img)
How i can scan QR code from image, not from camera?