Questions tagged [zxing]

ZXing (pronounced "zebra crossing") is an open-source, multi-format 1D/2D barcode image processing library implemented in Java, with ports to other languages. Its focus is on using the built-in camera on mobile phones to scan and decode barcodes on the device, without communicating with a server, though the library also supports use on a server.

Questions with this tag concern the open-source barcode encoding and decoding library ZXing.

2561 questions
10
votes
3 answers

Unity Zxing QR code scanner integration

I need to integrate Zxing with vuforia to make a QR code scanning app in Unity? I have no idea how to integrate Zxing with Vuforia in unity.Can someone guide me how to do this?I have Zxing .dll files and Vuforia unity package.Thanks in Advance.
Hussey123
  • 479
  • 1
  • 5
  • 21
10
votes
3 answers

Zxing: generated barcode does not use full width available

I am trying to generate a Code128 barcode using Zxing: try { int width = (int) (barcode.getWidth() * 0.95f); int height = (int) (width * 0.2f); BitMatrix bitMatrix = writer.encode(code.number, BarcodeFormat.CODE_128, width, height); …
Guilherme
  • 7,839
  • 9
  • 56
  • 99
10
votes
3 answers

ZXing convert Bitmap to BinaryBitmap

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 =…
Jameo
  • 4,507
  • 8
  • 40
  • 66
9
votes
2 answers

How to develop a cross-platform QR Code reader?

I need to build a mobile application which is able to compare data in a remote database [e.g login system] and also get a string from a QR Code. I have zero experience developing mobile applications, but found two interesting tools. PhoneGap and…
illichosky
  • 157
  • 1
  • 3
  • 10
9
votes
6 answers

ZXing on Android PDF417

Was anybody able to read the PDF417 barcode with use of the ZXing library on the Android OS? They are supporting this - and according to their page it is in 'alpha' stage. We are not looking for perfect solution - since the PDF417 is pretty complex…
STeN
  • 6,262
  • 22
  • 80
  • 125
9
votes
2 answers

"iostream" file not found in Xcode 4.2

I'm adding Zxing 1.7(Qr scanner) to my projects. I upgraded Mac OS X to Lion and xcode4.2, iOS5.0. Problem is that when I run the project, I always saw "iostream file not found". I run the scanTest(Qr scanner test sample code prvided from Zxing…
Excalibur
  • 325
  • 2
  • 5
  • 15
9
votes
4 answers

ZXing Barcode Reader: How to make custom border around capture screen?

I want to put custom border around zxing capture screen (camera screen). What modification would I need to make for this? Which activity and layouts would I need to change to have this effect?
Androider
  • 21,125
  • 36
  • 99
  • 158
9
votes
1 answer

Xamarin Forms, ZXingBarcodeImageView is blurry

(Related) I have found here, here, and here are questions describing a related problem of ZXingBarcodeImageView rendering a blurry QR code in Xamarin Forms - but they have not lead to a solution for my problem. The Problem I am using ZXing to draw…
Oscar Chambers
  • 899
  • 9
  • 25
9
votes
2 answers

How to generate a custom QR code in Android programmatically using ZXing Library?

I'm using Journeyapp's ZXing Android Embedded library for my android app and I can generate a simple QR code using the following piece of code private void init() { ImageView qrImageView = (ImageView) findViewById(R.id.qr_image_view); …
Auro
  • 1,578
  • 3
  • 31
  • 62
9
votes
2 answers

UWP Windows 10 app crashes in release mode but works fine in debug mode

My UWP app is crashing in Release mode and works fine in Debug mode but I can't put my finger on what the issue is but I know it's related to a combination of raising an event from System.Threading.Timer and MVVMLight. I created an new dummy…
Thierry
  • 6,142
  • 13
  • 66
  • 117
9
votes
6 answers

Turn ON/OFF flashlight in zxing fragment lib

I have implemented Zxing barcode scanning library in my application. I have used following library: https://code.google.com/p/barcodefraglibv2/ I want to turn ON/OFF the flash light on click of a button when scanning but I am not able to do this.…
Android_Code_Chef
  • 905
  • 4
  • 13
  • 20
9
votes
1 answer

How to stop continuous scanning by zxing-android-embedded in Android

I am using Zxing-android-embedded(https://github.com/journeyapps/zxing-android-embedded) to scan QR codes. I have imported the library from github . When the app starts , the camera is scanning the code repeatedly as long as the camera is placed on…
ThunderDragon
  • 613
  • 3
  • 13
  • 31
9
votes
2 answers

Decoding Barcode using Zxing library works on 1 tablet but does not work on another tablet

I have written a windows store app in XAML & C# to read image from tablet's webcam and decode the barcode using Zxing's lbrary. The code is working fine on a given tablet having an i5 processor while it fails to run on an actual tablet with 2MP…
Nitesh
  • 2,286
  • 2
  • 43
  • 65
9
votes
2 answers

How do I evaluate the quality/correctness a QR code? (How do I get Quantitative & Qualitative QR code characteristics)

I need to evaluate and compare QR Code generating libraries, and looking for logical parameters to measure and compare the output. Why do I need this? It seems that when I give two different QR generators the same input, different output seems to…
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
9
votes
3 answers

Customized camera view & rotation in Zxing for QR code?

I am working with such a great library zxing to read QR code. I already got QR code successfully. Now, My application runs in landscape mode and camera takes the whole screen and red QR detection rectangle box is in the middle. I wanna change this…
Shihab Uddin
  • 6,699
  • 2
  • 59
  • 74