I am working on a Project which uses the Barcode Scanner for redeem points. I have tried Zxing,QR Droid, Red Laser,Scan Life,Shop Savy etc usig HTC EVO 3D. None of them read all barcodes. But Zbar for IOS reading all the same codes.I think its the problem with hardware of the device.Is there any Scanner App better than above mentioned ?
Bar code Image.
http://i.stack.imgur.com/7VR9I.jpg
This barcode is a form of RSS-14. zxing / Barcode Scanner reads it, but it's not the easiest to read. You need to put the image in landscape orientation (right side up). Try TRY_HARDER mode, and restrict your scan to the RSS-14 format to avoid false positives.
Related
I want to scan small QR-code(1cm x 1cm) I am trying to scan by Using this same code. It's detecting the large size qr-code perfectly but not detecting the small size qr-code. Is there have any way by which I can solve this issue?
The smartphone camera has to read each and every data module to be able to decode a QR Code And you know that quality of the camera varies widely across different smartphones. Some of them are very good and can scan even very small QR Codes. But others simply can’t so try with some other device to check you have issue in code or with device
I was trying QR Code scanner in a React Native project. I have used these two libraries -
https://github.com/moaazsidat/react-native-qrcode-scanner
https://github.com/ekreutz/react-native-barcode-scanner-google
Both of these libraries doesn't scan QR Code from an angle. Phone should be exactly in front of QR Code then only it scans. However, same library works very fast and from any angle in iOS. Is it a limitation of android camera? Can we do something to achieve same behaviour in Android too?
I had a similar problem while developing barcode scanner for my app, I tried different libraries for Android, however Mobile vision(API developed by Google) pretty much solved this problem for me. Give it a try
I'm doing black box automation testing (with appium & ruby) for app which use camera in few cases:
- taking photo
- scan QR code
- scan PDF code
I'm looking for a way to set image in to image preview to scan it.
This should(ideally) word for both emulators and real devices.
I was willing to do the same for my app (which scann QR code), and the solution I used was to add an EditText (which appears only in test mode) to put the string, which corresponds to the QR code, and then handling the string as the result of the scan.
The problem with that solution is that you can't test the camera or the functions/methods you made to decode, but it's the only problem so if you are using a library (like ZXing) it's not a big deal, because I assume you want only the string that corresponds with the QR code.
i have a question regarding Zxing. I have immplemented succesfully the barcode scanner and its working better than expected.
My question is:
It is possible to scan a barcode from an image WITHIN the device (Internal or SD)?
If so, how can i achieve this?
Thanks!
Barcode Scanner does not do this, no. However Barcode Scanner+ does; it's one of the extra features I put into it.
https://play.google.com/store/apps/details?id=com.srowen.bs.android
Am currently trying out zxing to develop a MultiFormat Barcode reading supporting android platform, To get Started have downladed zxing 1.7 and builded.
It works fine with EAN format codes and QR Codes, But It fails to scan a Barcode when it comes to real scanning of products which has small UPC barcodes.
Is this a problem with device?
Am Testing it on my Samsung GT-S5570, Android Version 2.2.1, With Autofocus enabled Camera 3.1 MP.
Kindly advice.
Thanks
Sam
If you can scan EAN barcodes, but not small UPC barcodes, it is probably because the camera can't get enough detail to distinguish the barcode from the background. Here are some things you could try:
Hold the camera closer to, or further away from, the barcode. Too close, and the auto focus mechanism is unable to compensate. Too far away, and the barcode becomes too small for detection.
Use more light. ZXing can activate the flash-light on some phones, but not all. If the lightning conditions are too poor, the contrast between the background and the barcode becomes too small.
Try with a different phone, with different/better camera.