zxing

Scanning Text (OCR) in Windows Phone 7.5 [closed]

喜你入骨 提交于 2019-12-23 15:25:59
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . Is there a way to force Zxing library to scan text only? I am looking for the offline (non-cloud) solution to scan text in windows

xcode4 zxing : Undefined symbols for architecture i386

末鹿安然 提交于 2019-12-23 05:41:18
问题 I need to incorporate QR in my app, im using zxing, the scan test works wonderfully, and when importing the widget after following all instructions, all goes fine, but I have this errors when implementing the code for the widget and QRCodeReader Undefined symbols for architecture i386: "_OBJC_CLASS_$_ZXingWidgetController", referenced from: objc-class-ref in AttendanceVC.o "_OBJC_CLASS_$_QRCodeReader", referenced from: objc-class-ref in AttendanceVC.o ld: symbol(s) not found for architecture

How to write a barcode scanner in Android using zxing

佐手、 提交于 2019-12-23 05:28:03
问题 I want to integrate bar-code scannerin my Android application. I attempted to add the zxing library, but all my app does is show the camera view without scanning. http://code.google.com/p/zxing/ Is there a simple way to integrate barcode scanning functionality? 回答1: This is waaaay too open-ended of a question. Long and short of it is that the Android app parts of ZXing are a bit monolithic and can be hard to copy into your existing app unless you're very familiar with it -- I'd actually

C# with ZXing.Net: Decoding the QR code

谁说胖子不能爱 提交于 2019-12-23 04:25:03
问题 I'm new to C# and got problem with QR code decoding using ZXing.Net . The application launches with no errors, but I get nothing in the result string. I think the problem could be in RGBLuminanceSource() . private static byte[] ToByteArray(Image img) { byte[] byteArray = new byte[0]; using (MemoryStream stream = new MemoryStream()) { img.Save(stream, System.Drawing.Imaging.ImageFormat.Bmp); stream.Close(); byteArray = stream.ToArray(); } return byteArray; } private void button1_Click(object

zxing is generating a QR code instead of a Bar Code

旧城冷巷雨未停 提交于 2019-12-23 03:07:13
问题 I am using zxing 2.0. I'm trying to create a Bar code, but instead it's creating a QR code. Here's what I'm using: Context context = getActivity(); Intent intent = new Intent(context, EncodeActivity.class); intent.setAction(Intents.Encode.ACTION); intent.putExtra(Intents.Encode.TYPE, Contents.Type.TEXT); intent.putExtra(Intents.Encode.DATA, "12345678901"); intent.putExtra(Intents.Encode.FORMAT, BarcodeFormat.UPC_A); startActivity(intent); 回答1: Instead of intent.putExtra(Intents.Encode.FORMAT,

Use ZXing.Net.Mobile result.text as input for WebView

梦想与她 提交于 2019-12-23 02:56:12
问题 i currently try to create a Barcode scanner UWP App for Windows 10. The purpose is that i want to use the scanned Barcode as input for a web search. I used the well documented ZXing.Net.Mobile package and I already got the scanner running in the app. The scanner starts, the Barcode is scanned and the result is displayed in a message box. I used the following line of Code in the MainPage.xaml.cs: MobileBarcodeScanner scanner; public MainPage() { //Create a new instance of our scanner scanner =

How to Customize the capture screen border of zxing barcode scanner from ViewFinder

我只是一个虾纸丫 提交于 2019-12-23 01:41:26
问题 <?xml version="1.0" encoding="utf-8"?> <merge xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent"> <com.journeyapps.barcodescanner.BarcodeView android:id="@+id/zxing_barcode_surface" android:layout_width="match_parent" android:layout_height="match_parent" app:zxing_framing_rect_height="220dp" app

scanning more than one barcode with zxing in java

隐身守侯 提交于 2019-12-22 13:53:05
问题 I need to read pdf417 barcodes from tiffs. There is usually more than one barcode on the image- This is my code: InputStream in = null; BufferedImage bfi = null; File[] files = new File(DIR).listFiles(); for (int i = 0; i < files.length; i++) { if (files[i].isFile()) { try { System.out.println(files[i].getName()); in = new FileInputStream(files[i]); bfi = ImageIO.read(in); } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } finally { if

Android zxing orientation: ResultMetaData is null, Get Rotation/Orientation

匆匆过客 提交于 2019-12-22 08:53:11
问题 I am working on an app that reads QR codes and I need the orientation of the code. The ZXING source states that the orientation can be obtained from a hashtable ResultMetaData through the key ORIENTATION Now, my issue is that the getResultMetaData() is not returning any results when I run the following: orientation = (Integer) Returned[v].getResultMetadata().get("ORIENTATION"); However, the line directly above this, points = Returned[v].getResultPoints(); Works just fine, so I know that the

Zxing barcode camera options

99封情书 提交于 2019-12-22 08:32:24
问题 I want to integrate the zing barcode scanner to my android application. so i used zing integrator as follows public Button.OnClickListener mScan = new Button.OnClickListener() { public void onClick(View v) { Intent intent = new Intent("com.google.zxing.client.android.SCAN"); intent.setPackage("com.google.zxing.client.android"); intent.putExtra("SCAN_MODE", "QR_CODE_MODE"); startActivityForResult(intent, 0); }};public void onActivityResult(int requestCode, int resultCode, Intent intent) { if