zxing

DataMatrix-encoding with zxing only generates 14px bitmap

冷暖自知 提交于 2019-12-22 04:41:03
问题 I'm using zxing to generate barcodes with different types (EAN, 2of5 and DataMatrix). Generating in general works fine. The only problem I currently have is that zxing only generates a 14x14 pixel bitmap which is way too small. But only when using DataMatrix! EAN13, 2of5/ITF and QR-Codes work perfect with the same code. My code: BitMatrix bitMatrix = new DataMatrixWriter().encode(message, BarcodeFormat.DATA_MATRIX, 1080, 1080, null); int height = bitMatrix.getHeight(); //height is always 14,

Change QR Scanner orientation with ZXING in Android Studio

送分小仙女□ 提交于 2019-12-21 17:33:23
问题 I hope you can help me with this. Im using the Zxing Embedded Library in order to use the QR scanner, the problem is that is on Landscape mode and I would like to change it to Portrait. I have this on the dependencies of my Graddle compile 'com.journeyapps:zxing-android-embedded:2.0.1@aar' compile 'com.journeyapps:zxing-android-integration:2.0.1@aar' compile 'com.google.zxing:core:3.0.1' and I have this in my java class to activate the scanner with a button... public void scanQR(View view){

Implement Realtime Barcode Scanner on Windows Phone 8.1 Runtime using ZXing and MFT

空扰寡人 提交于 2019-12-21 12:39:17
问题 I'm working on a Windows Phone 8.1 Runtime shopping application which needs barcode scanner feature. I'm using the ZXing lib, which is fine. My problem isn't about decoding the picture, ZXing does a great job, but to get the Camera Preview realtime, and feed it to ZXing. After a little research I found this forum https://web.archive.org/web/20150328233747/http://developer.nokia.com/community/discussion/showthread.php/247707-Windows-Phone-8-1-Windows-Media-Capture-API-and-Preview-Frames. Can

Managing views while integrating zxing for iPhone

允我心安 提交于 2019-12-21 06:48:51
问题 I am trying to integrate zxing in my already existing iPhone app. I have referred to the ScanTest example enclosed in the project download, and have succeeded in building and running the scanner. My problem lies in managing the views of the project to incorporate the scanner. Currently I have an already existing view controller(VC-A), which needs the scanner ability. I created a new view controller(VC-B) to launch the ZXingWidgetController scanner view. So the flow looks like the following:

How to decode data using Zxing C++

让人想犯罪 __ 提交于 2019-12-21 05:46:07
问题 I'm having some troubles using the C++ sources from the Zxing project. I downloaded the whole project from https://code.google.com/p/zxing/downloads/list and just took the cpp files (core and cli). I just want to have a method like that: decode(byte[] dataToDecode, int widthFrame, int heightFrame) but I really don't know how to do it (I'm really new to c++ and Zxing project). I've done research on the web and found http://wiki.ssrrsummerschool.org/doku.php?id=robocup2012:qrcode-cppexample

zxing continuous scanning - iphone

我们两清 提交于 2019-12-21 02:41:37
问题 I've integrated the zxing library into my app but part of my requirement is to be able to continually scan QR codes. I've accomplished this to a certain degree by dismissing and re-presenting the zxing widget but it appears to be too slow for my client. Is there another way to reset the widget to start scanning again? 回答1: You will have to tamper with the ZXing library, fortunately it's not hard. Add the following method to the ZXingWidgetController In ZXingWidgetController.h - (void)reset;

How to use ZXing library without installing barcodescanner app

时光毁灭记忆、已成空白 提交于 2019-12-20 15:16:52
问题 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

Zxing Barcode Scanner PhoneGap Plugin iOS landscape mode

非 Y 不嫁゛ 提交于 2019-12-20 05:02:23
问题 I have implement Zxing Barcode Scanner in ipad using PhoneGap 1.7.0 and Zxing Barcode Scanner from https://github.com/phonegap/phonegap-plugins/tree/master/iOS/BarcodeScanner. But the orientation is portrait only. I want to change it to landscape by modify this code if ([previewLayer isOrientationSupported]) { [previewLayer setOrientation:AVCaptureVideoOrientationPortrait]; } and this code too if (interfaceOrientation == UIInterfaceOrientationPortrait) return YES; in CDVBarcodeScanner.mm and

How to decode a barcode from camera preview using zxing library in android?

天大地大妈咪最大 提交于 2019-12-19 11:31:03
问题 I want to implement standalone scanner in my android application.I'm using zxing's core.jar library in my project. I need to decode a barcode from camera preview.But i don't know how to implement it.Because there is no official documentation. Can you provide me a simple example on followings things? 1.Initialize the camera and getting preview. 2.Decode the barcode from preview. or Is there any example project to do this? 回答1: Take a look at my simple implementation: https://github.com/piobab

How to decode a barcode from camera preview using zxing library in android?

无人久伴 提交于 2019-12-19 11:30:01
问题 I want to implement standalone scanner in my android application.I'm using zxing's core.jar library in my project. I need to decode a barcode from camera preview.But i don't know how to implement it.Because there is no official documentation. Can you provide me a simple example on followings things? 1.Initialize the camera and getting preview. 2.Decode the barcode from preview. or Is there any example project to do this? 回答1: Take a look at my simple implementation: https://github.com/piobab