zxing

How to adjust ZXing on windows phone store app 8.1 camera (MediaCapture) preview size (full screen)?

允我心安 提交于 2019-12-13 19:44:31
问题 My project here:(https://github.com/79144876/ZXingStoreApp) I have add zxing on my windows phone 8.1 project.The Zxing library here:(https://zxingnet.codeplex.com/SourceControl/latest#trunk/Clients/WindowsRTDemo/MainPage.xaml.cs) But the preview size does not full screen.So,Anybody who knows how to change the preview size ? And i have SetResolution,but still not full screen. Thanks. 回答1: In my code I do this _capture.SetPreviewRotation(VideoRotation.Clockwise90Degrees); _capture

Not able to read 2D data matrix in Image

我是研究僧i 提交于 2019-12-13 19:23:00
问题 I have to read the 2D data matrix bar code from an Image. I am using zxing to read the barcode. This is the code i am using. import java.awt.image.BufferedImage; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import javax.imageio.ImageIO; import com.google.zxing.BinaryBitmap; import com.google.zxing.ChecksumException; import com.google.zxing.FormatException; import com.google.zxing.LuminanceSource; import com.google.zxing.MultiFormatReader; import com

Android : Get data from a barcode?

柔情痞子 提交于 2019-12-13 17:37:54
问题 I am building an android application which should allow the user to scan the barcode of a food and display as much detail as possible - ie Food name, nutritional information etc. So far I have implemented a barcode scanner using Zxing which will scan the barcode and display the barcode number. My question is, is there a way I can use the scanned barcode to get information on the particular food product? I know the barcode is just a number, and that in supermarkets barcodes information are

How to read code 39 using zxing in android?

痞子三分冷 提交于 2019-12-13 12:51:56
问题 I am using zxing in my android application to read QR_CODE and Barcodes. My application is unable to read the CODE_39 using zxing. I am using the following code in CaptureActivity OnResume Method: Intent intent = getIntent(); String action = intent == null ? null : intent.getAction(); String dataString = intent == null ? null : intent.getDataString(); if (intent != null && action != null) { if (action.equals(Intents.Scan.ACTION)) { //Scan the formats the intent requested, and return the /

ZXing on Android PDF417

元气小坏坏 提交于 2019-12-13 12:26:07
问题 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 and needs a very good camera with auto-focus, we can accept that it will be working only on few pre-selected high end devices. We have tried also the Barcode Scanner + available on the Android Market - it has the PDF417 option in the settings, but

ZXing for ASP.NET MVC to scan barcodes

╄→尐↘猪︶ㄣ 提交于 2019-12-13 10:13:51
问题 I am looking for away to use to use the ZXing library with ASP.NET MVC to scan barcodes, I was able to do this in Xamarin.Forms and now trying to apply the same code to an ASP.NET MVC project. In my Xamarin.Forms I had the following: var options = new MobileBarcodeScanningOptions { TryHarder = true, CameraResolutionSelector = HandleCameraResolutionSelectorDelegate, PossibleFormats = new List<BarcodeFormat> { BarcodeFormat.PDF_417 }, }; BarcodeScanView.Options = options; BarcodeScanView

Zxing via intent

流过昼夜 提交于 2019-12-13 09:46:51
问题 In my application I use the zxing library. I start de zxing barcodescanner via intent. But when the user has no barcodescanner installed. The application stops working. How can I check if a zxing barcodescanner is already installed? 回答1: You can use following snippet to check if particular application is installed on user's device try{ ApplicationInfo info = getPackageManager(). getApplicationInfo("com.facebook.android", 0 ); return true; } catch( PackageManager.NameNotFoundException e ){

zxing - android - read multiples qr images

左心房为你撑大大i 提交于 2019-12-13 08:19:29
问题 How i can do to read multiples QR images and get the code of all images at the same time? For example: I have 3 QR images and when focus my camera to all images i want to read the 3 QR codes at the same time. 回答1: Have a look in the Zxing Barcode Scanner app . It has option in Settings to Scan Bulk Barcodes . So you enable it and check it you can read Multiple QR codes at a time from one or more Images and also check the Source code of Zxing library to Known the detailed Information . Use the

Xamarin iOS ZXing Barcode read using front camera issue

白昼怎懂夜的黑 提交于 2019-12-13 08:18:03
问题 I am trying to implement a barcode scanning app using Xamarin and ZXing. Unfortunately scanning is not working well with front camera on iPhone and iPad. Any suggestions or help appreciated 回答1: Your InitializeScanner method can do scanner initialization as below and invokes start scanning, in my case I wanted to support barcode and QR code both. You can remove scanning option QRCode if you do not want to support it. The callback mentioned while initialization is getting called back when

ZXingObjc Integration IOS ,but didn't work at all

ぃ、小莉子 提交于 2019-12-13 08:09:54
问题 I have integrated the ZXingObjc framework,and ViewController as the RootViewController . the codes in ViewController.m follows: #import <AudioToolbox/AudioToolbox.h> #import "ViewController.h" @interface ViewController () @property (nonatomic, strong) ZXCapture *capture; @property (nonatomic, weak) IBOutlet UIView *scanRectView; @property (nonatomic, weak) IBOutlet UILabel *decodedLabel; @end @implementation ViewController #pragma mark - View Controller Methods - (void)dealloc { [self.capture