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
Related
Currently I have a small Activity that allows me to read QR codes and returns the string that contains the code.
I do this with CameraSource and SurfaceView from the package com.google.android.gms.vision y com.view respectively.
But I wonder if there is some way through code to know if the device that runs the application has the ability to read QR codes.
Because if the device cannot read QR codes, I would like to display a TextView instead of the SurfaceView saying that the device can't do this.
Thank you, so much.
Check if the device has a camera. There's nothing special about reading QR codes; the device takes a picture, the image analysis logic does the rest.
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 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.
I want to scan GS1-128 barcode (like picture attached) with Zxing (Android), but I can't. I'm using scanning by IntentIntegrator. Could anyone help me?
Else another barcode scanner framework for Android/iOS?
Thanks, best regards
GS1-128 barcode image: https://lh5.googleusercontent.com/-YK3JO8XNT30/TyZHBkkwMtI/AAAAAAAAKOg/pzrOTpeTILs/w778-h112-k/barcode.gif
I believe I answered this in a private e-mail, but repeating here.
Your barcode is quite long, so difficult to scan, but it is possible. The format is Code 128. You need to make sure you set "SCAN_FORMATS" to "CODE_128" to enable Code 128 scanning (and disable others).
You may also have better luck widening the scanning rectangle by supplying a larger value for "SCAN_WIDTH".
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.