zxing

com.google.zxing.binarybitmap error with handling bitmap image

旧巷老猫 提交于 2019-12-12 03:54:01
问题 I have this method that reads the bitmap image to decode a qr code in a certain area in the document ( looking into four corners for qr code) Because of how i have my code it is always hitting the error message which i know that it cannot find the bitmap but i want to take this error and translate in a way that executes my remaining code which is to rotate the document and look again for the qr bitmap image. Code: Bitmap[] corners = new Bitmap[] { bandImg1, bandImg2, bandImg3, bandImg4 };

Accelerate QR-Encoding with ZXing

ぃ、小莉子 提交于 2019-12-12 02:20:07
问题 I'm currently working with a lot of QR-Codes in an Android project, for which zxing is my preferred library. To actually display the generated QR-Code a Bitmap is created with the information from the encoding. QRCodeWriter writer = new QRCodeWriter(); BitMatrix matrix = writer.encode(message, BarcodeFormat.QR_CODE, px, px); Bitmap bitmap = Bitmap.createBitmap(px, px, Bitmap.Config.RGB_565); for (int x = 0; x < px; x++) { for (int y = 0; y < px; y++) { bitmap.setPixel(x, y, matrix.get(x,y) ?

Zxing : Unable to Scan Small UPC codes

柔情痞子 提交于 2019-12-12 02:13:25
问题 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 回答1: If you can scan EAN barcodes,

Unable to add ZXing.Net.Mobile package to my Xamarin.Forms project

对着背影说爱祢 提交于 2019-12-12 01:56:56
问题 I have an Xamarin.Forms project in which I want to use ZXing library for barcode scanning. However I am unable to install package ZXing.Net.Mobile and ZXing.Net.Mobile.Forms into my portable project. The exception I keep getting is as follows: Could not install package 'ZXing.Net.Mobile 2.0.4.46'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile111', but the package does not contain any assembly references or content files that are

Scanning QR codes using OpenCV and Zxing for Android

主宰稳场 提交于 2019-12-12 00:48:14
问题 I am using OpenCV (2.4.8) and Zxing (2.3.0) for Android and I'd like implement „hidden“ QR code scanning (without use Zxing CaptureActivity on screen) in Mat converted to bitmap and then display decoded result in console. So, I call Zxing() methot in onCameraFrame method: public Mat onCameraFrame(CvCameraViewFrame inputFrame) { // there will be preprocessing mRgba = inputFrame.rgba(); try { zxing(); } catch (ChecksumException e) { // TODO Auto-generated catch block e.printStackTrace(); }

barcodeReader.Decode(writeableBitMap) returning null

安稳与你 提交于 2019-12-11 20:30:12
问题 When I try a barcode that I've told is a CASE39 barcode I always get null returned from the decode if (cbBarcode.IsChecked == true) { var photoStorageFile = await KnownFolders.PicturesLibrary.CreateFileAsync("scan.jpg", CreationCollisionOption.GenerateUniqueName); Size aspectRatio = new Size(3, 1); dialog.PhotoSettings.CroppedAspectRatio = aspectRatio; StorageFile file = await dialog.CaptureFileAsync(CameraCaptureUIMode.Photo); string ImageValues = "bbc_photo" + x; var stream = await file

zxing barcode scanning library for blackberry

我的未来我决定 提交于 2019-12-11 17:32:29
问题 I want to implement the barcode scanner for Blackberry device higher then 5.0. As I am quite new to barcode scanning, I tried to google it and tried searching on stackoverflow. Got few samples, but quite confused. Can anyone provide me links to get Zxing SDK for blackberry ? 回答1: The ZXing project is already built into Blackberry OS 6+. Still you may want to use a later version than the version that is included. You can of course download this from the site at http://code.google.com/p/zxing.

Android ZXing integration errors

故事扮演 提交于 2019-12-11 13:15:27
问题 I am a student and as a part of my android project at school, I need to include a barcode app. I have clearly followed instructions given in http://damianflannery.wordpress.com/2011/06/13/integrate-zxing-barcode-scanner-into-your-android-app-natively-using-eclipse/ to integrate ZXing. I had errors in 3 classes, CaptureActivityHandler, DecodeHandler and SearchBookContentsActivity, which were solved by changing the switch-case statements to if-else as follows: if(message.what==R.id.decode){

Zxing scanner Camera zoom

落爺英雄遲暮 提交于 2019-12-11 10:16:54
问题 I've been trying to solve the problem for 3 days, but I still have not found the answer. I want to add a ZOOM to the camera while scanning the qrcode through the Zxing scanner. build.gradle: implementation 'me.dm7.barcodescanner:zxing:1.9.8' Xml: <FrameLayout android:id="@+id/content_frame" android:layout_width="match_parent" android:layout_height="match_parent" > </FrameLayout> ScannerFragment: @Override public void onResume() { super.onResume(); activateScanner(); } private ViewGroup

Zxing project as library in a project won't build

我的梦境 提交于 2019-12-11 09:13:36
问题 ( again ) I want to use the ZXing library in my project, I followed this tutorial http://damianflannery.wordpress.com/2011/06/13/integrate-zxing-barcode-scanner-into-your-android-app-natively-using-eclipse/ [ only difference I'm using netbeans ]after building zxing android project and marking it as a library, I wanted to od it as a library in my own project. After doing it, I can't build it. It looks like the R file can't be created in both [library and myProject ] for example: error: