zxing

Decoding a QR code in an Android application?

≯℡__Kan透↙ 提交于 2019-12-03 05:11:10
In Android, Using ZXing we can scan a QR code through phone camera and decode it. But, in my scenario, the QR code image is stored in the phone itself and I need to decode it. Is there anyway to decode a QR image in this manner? You can use ZXing code for this. Check out DecodeHandler.java . You can simply use the Mobile Vision API for decoding a QR Code from Image.It is very accurate and can detect more than one Qr code over image. You have to include the following library inorder to use Mobile Vision API : compile 'com.google.android.gms:play-services-vision:9.6.1' BarcodeDetector detector =

zxing integration into monodroid app

时光怂恿深爱的人放手 提交于 2019-12-03 03:34:27
I'm trying to integrate ZXing's barcode scanner into a MonoDroid application. I see that normal Android (java) apps have IntentIntegration.java and IntentResult.java to include into their project to help. I was wondering if anyone has ported those to .NET (I didn't see them ported in the csharp project.)? I'm also wondering if anyone has implemented ZXing in another way to get to work with their app? If anyone has integrated with MonoDroid, what needs to be done to initiate a scan in a button click handler? Also, if anyone has any other 3 party barcode scanner that could be implemented instead

How to use ZXing library without installing barcodescanner app

烈酒焚心 提交于 2019-12-03 03:20:21
I have been developing an android app to scan the barcode and QR code and send the results to some other application (HTTP). I have read most of the documentation over internet and here in stack over flow and got it working. I could able to run the stand alone zxing android app on my device, also I could run my own separate android app to use Zxing intent to scan the bar code. But even after reading so many questions here and some of the blogs in internet, I could not get my strict requirements. I want to achieve following things. 1. I do not want to install a separate barcode scanner app in

Reduce border width on QR Codes generated by ZXing?

巧了我就是萌 提交于 2019-12-03 03:03:17
问题 I'm using com.google.zxing.qrcode.QRCodeWriter to encode data and com.google.zxing.client.j2se.MatrixToImageWriter to generate the QR Code image. On a 400x400 image, there is about a 52 pixel wide border around the code. I'd like this border to be narrower, maybe 15 pixels, but I don't see anything in the API for doing that. Am I missing something in the documenation? Or would I need to process the image myself? For reference, here is an example 400x400 QR Code produced with the ZXing library

How to include Zxing library to android project?

匿名 (未验证) 提交于 2019-12-03 02:56:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have read some answer for this question in stackoverflow, but it is not working for me. I have already a project, and now I want to integrate QR Code and barcode reader into my project. I downloaded the zip file from: core-2.2.zip I didn't find any "core.jar", I read that I have to integrate files added in "core" folder. Do I have to add all classes to my project (the whole folder)? or do I have to create a jar file with that folder? I am using Android Studio. Any one can help me? thank you 回答1: There is indeed an Android

ZXing convert Bitmap to BinaryBitmap

匿名 (未验证) 提交于 2019-12-03 02:29:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using OpenCV and Zxing, and I'd like to add 2d code scanning. I have a few types of images that I could send. Probably the best is Bitmat (the other option is OpenCV Mat). It looks like you used to be able to convert like this: Bitmap frame = //this is the frame coming in LuminanceSource source = new RGBLuminanceSource(frame); BinaryBitmap bitmap = new BinaryBitmap(new HybridBinarizer(source)); //then I can use reader.decode(bitmap) to decode the BinaryBitmap However, RGBLuminaceSource looks like it no longer takes a bitmap as an input.

Getting started with ZXing on Android

匿名 (未验证) 提交于 2019-12-03 02:22:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to add ZXing to my project (add a button which calls the scanner upon press). I found this: http://groups.google.com/group/android-developers/browse_thread/thread/788eb52a765c28b5 and of course the ZXing homesite: http://code.google.com/p/zxing/ , but still couldn't figure out what to include in the project classpath to make it all work! As for now, I copied the classes in the first link to my project (with some package name changes), and it runs but crashes after pressing the button and trying to install the barcode scanner. Some

Getting Camera error in Zxing Barcode Application

匿名 (未验证) 提交于 2019-12-03 01:47:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to use Zxing Library for developing a barcode scanner. My activity is as follows: public class Scanner extends Activity { private static final String PACKAGE = "com.test.scan"; private static final String SCANNER = "com.google.zxing.client.android.SCAN"; private static final String SCAN_FORMATS = "UPC_A,UPC_E,EAN_8,EAN_13,CODE_39,CODE_93,CODE_128"; private static final String SCAN_MODE = "QR_CODE_MODE"; public static final int REQUEST_CODE = 1; @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView

ZXing(Zebra Xing) Unable to scan/ detect the barcode in Xamarin iOS

匿名 (未验证) 提交于 2019-12-03 01:36:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I posted couple other questions in regards to Zxing please DONT mark it duplicate just because they are about Zxing.. So, in my Xamarin iOS app, I am using Zxing to detect the barcode. I am using https://github.com/Redth/ZXing.Net.Mobile/tree/master/Samples/iOS as example. I am using a subview to scan for barcodes. The custom overlay n everything works fine but it is unable to detect the barcode when I'm trying to scan. Can anyone please help me out where I'm doing wrong or missing something. CODE public UIView camView ;

Zxing scanner Android Studio [closed]

匿名 (未验证) 提交于 2019-12-03 01:18:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Hi i know how to import a minimal Android library project to scan a qr code but after it scanned the qr code i would like to have a result of what the QR code get (url for example) but i really don't know how to retrieve the results so that's why i'am asking your help. I'm trying to use this : https://github.com/embarkmobile/zxing-android-minimal#custom-layout I use this to start the scanner : IntentIntegrator integrator = new IntentIntegrator(this); integrator.setCaptureLayout(R.layout.custom_layout); integrator.initiateScan(); Thanks in