zxing

Starting the android zxing scanner via web app doesn't seem to work

烈酒焚心 提交于 2020-01-06 07:53:30
问题 My starting point for scanning from a web app was this article here Then i realized it was as simple as clicking a link like this http://zxing.appspot.com/scan?req=http%3A%2F%2FLOCAL_SERVER_NAME%2FMY_APP_NAME%2FMY_SERVLET%3Fcode%3D%7BCODE%7D but it didn't work. My web app is simple like this (using ajax from jquery) $("#onebutton").click(function(){ $.ajax({ url: "http://zxing.appspot.com/scan", success:function(){ alert("success"); }, error:function(){ alert("error"); }, data:{ req:"http%3A

Android Barcode Scanner Not reading some barcodes

泪湿孤枕 提交于 2020-01-05 11:03:30
问题 I am working on a Project which uses the Barcode Scanner for redeem points. I have tried Zxing,QR Droid, Red Laser,Scan Life,Shop Savy etc usig HTC EVO 3D. None of them read all barcodes. But Zbar for IOS reading all the same codes.I think its the problem with hardware of the device.Is there any Scanner App better than above mentioned ? Bar code Image. http://i.stack.imgur.com/7VR9I.jpg 回答1: This barcode is a form of RSS-14. zxing / Barcode Scanner reads it, but it's not the easiest to read.

OpenCV Datamatrix Code Finder

感情迁移 提交于 2020-01-05 07:27:07
问题 Has anyone ever written or heard of a datamatrix code decoder written in OpenCV? I have used the decoder that comes with ZXing, but to be honest, its pretty bad. It needs to be a fully clear image, using the entire image, and not at an angle . The latter being the biggest drawback for me. There are many apps out there that can read an image and recover from things like being blury, at an angle, or even only 40% of the image . If anyone knows another SDK that would work better, please let me

Unable to scan Code 128 with Zxing Android

两盒软妹~` 提交于 2020-01-04 14:08:42
问题 I have integrated the ZXing barcode reader in my android application. It scans most of the codes, but I have a electricity bill which it is unable to scan (using a Galaxy Ace 5.0MP). I think the problem is due to camera resolution and focus, because when I tried the same barcode on using Xperia SL (12.1MP) I got the result. So is there any solution to this problem? I have attached a sample image of the barcode. . 回答1: This scans instantly by the library itself: http://zxing.org/w/decode?u

Is it possible to change the 'dot' shape in a QR Code generated by ZXing?

故事扮演 提交于 2020-01-04 07:27:10
问题 Currently, I'm using ZXing to generate QR Codes. I have no problems in generating and reading the codes, and can change the colour scheme without any issues. I was wondering if it is possible to change the shape of the generated codes from the traditional squares to 'dots' or circles using ZXing? I've seen images and examples of this, but I haven't seen any example solutions using ZXing. Looking for something like: If it is possible to do with ZXing? I would appreciate any example code. 回答1:

ZXing QR Code Generation in Xamarin Forms PCL

萝らか妹 提交于 2020-01-04 05:38:24
问题 I'm trying to generate and display QR code using ZXing package, I tried in following code I was not able to show QR code. It's showing blank image (transparent). private void OnGenerateQRCodeButton_Clicked(object sender, EventArgs e) { var writer = new BarcodeWriter { Format = BarcodeFormat.QR_CODE, Options = new EncodingOptions { Height = (int)imageCompanyLogo.Height, Width = (int) imageCompanyLogo.Width, Margin = 0, PureBarcode = true } }; var bitmap = writer.Write("www.helloworld.com");

zxing returns wrong position of CODE_39-Barcode

╄→尐↘猪︶ㄣ 提交于 2020-01-04 02:43:14
问题 I'm using zxing to find barcodes in webcam images: http://s21.postimg.org/vxdrx07av/zxing.png zxing finds the barcode reliable and extracts the information. It also returns the position of the barcode as two points (x1,y) (x2,y) (same value for both points since it uses scanlines (I think)). If I plot these points, the y-value is ok, the first (left) x-value is a bit right in most images and the right end point is far off. (See example image). I plan some post-processing, so I need the

ZXING intent request code (identifying my intent)

╄→尐↘猪︶ㄣ 提交于 2020-01-03 17:13:57
问题 In my Android APP, whenever I need to call many different ActivitiesForResult from the same Activity, I do it like this: public void firstMethod() { int requestCode = 1; Intent intent = new Intent(SomeCode1.class); startActivityForResult(intent,requestCode); } public void secondMethod() { int requestCode = 2; Intent intent = new Intent(SomeCode2.class); startActivityForResult(intent,requestCode); } And to know which intent it came from, I recognize them like this: public void onActivityResult

ANDROID ZXING: Saving a photo in onPreviewFrame saves a photo every frame. How to only save a single photo upon scan?

独自空忆成欢 提交于 2020-01-03 05:33:11
问题 For the last few weeks I have been attempting to alter Zxing to take a photo immediately upon scan. Thanks to help I am at a point where I can be consistently saving an image from the onPreviewFrame class within PreviewCallback.java The code I use within the onPreviewMethod method shall follow, and then a short rundown of how my app works. public void onPreviewFrame(byte[] data, Camera camera) { Point cameraResolution = configManager.getCameraResolution(); Handler thePreviewHandler =

Detect and decode multiple 2d (Datamatrix, QRcode) from an image

≯℡__Kan透↙ 提交于 2020-01-03 01:28:11
问题 I'm working on a project which involves taking an image file as input on my desktop and then detecting and decoding all the barcodes present, both 1D and 2D. I've been working with zxing and with the help of GenericMultipleBarcodeReader I was able to read multiple 1D barcodes from the image. However, it fails to detect 2D barcodes. But if I crop the 2D barcode and input this cropped part separately it detects and decodes it without any problem. So, if my image has 2 1D barcode and a 2D