QR scanner with ZXing and ZBar does not read low quality codes on maps

I created applications using ZXing and ZBar . Both work fine and always read high-quality QR codes .

But the problem is that I scan the code on the card , which is not , which is very nice in quality , it never scans. I even tried using a 5 MP camera device, but the same results. I tried many applications from the Google Play store, but none of them worked. The card is not of such poor quality. Can someone tell me a solution or suggest any other API for this. I know that this is not an API its QR code quality. Any help would be appreciated.

This is a map. Image enter image description here

+4
source share
1 answer

Try these settings in ImageScanner.

scanner = new ImageScanner(); //Slows the frame, but does the job scanner.setConfig(0, Config.X_DENSITY, 1); scanner.setConfig(0, Config.Y_DENSITY, 1); scanner.setConfig(0, Config.ENABLE, 0); // Only enable the codes your app requires scanner.setConfig(Symbol.QRCODE, Config.ENABLE, 1); 

Made a huge difference in my application.

+2
source

All Articles