zbar-sdk

Run 32 bit library on iPhone 5s 64 bit

不羁的心 提交于 2020-01-20 08:07:08
问题 I'am using zbar in my application. If I want to run it on my iPhone 5s with an 64 bit processor, I get the following errors: Is it possible to use the 32 bit library on a 64 bit device, because I don't think, the library is going to be updated. 回答1: To summarize the comments above. A 64bit iPhone application requires all constituent libraries and frameworks to be 64bit. You can't mix and match. Leaving an application 32bit is non-optimal long term since iOS has to keep two versions of the

Decoding the scanned barcode value to int value

可紊 提交于 2020-01-16 00:54:12
问题 When I scan the barcode and I get some value if it is Equal=2 then I need to display with == and if it is Equal=3 then I need to display with = and if the value is 4 then invalid. But Scanned Barcode are of integer value -- when decode using NSASCII it is displaying only till value 127 after that it is showing invalid results. Eg: if my Barcode value = 9699 the result value= jem then my added result value= jem= actualstring value= %å asc value id only showing 37 Here is my code: - (void)

QR Code decoder library for python

吃可爱长大的小学妹 提交于 2020-01-01 14:37:10
问题 I am trying to build an application in python that would encode and decode QR codes. I am successful with the encoder, but i don't find libraries(but zbar) for decoding in python. I am using Python 2.7 in a Windows 7 system. I am not able to install zbar in my system. I installed the dependency module required by the library and even then I end up with so many errors, whenever I try to install it - so many syntax errors in zbar.h and in zbarmodule.c. I don't understand why and clueless about

Zbar SDK is not working in iOS6

隐身守侯 提交于 2019-12-28 04:49:06
问题 I was using ZBar for scanning in iOS5 and it was working well. Now after updating to iOS6, its not working. It shows a following error. ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/mac4/Desktop/my desktop/My app/MyApp name 20:09:12 /MyApp name/ZBarSDK/libzbar.a for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation) What is wrong in my side? 回答1: i recently faced the same issue. The problem seems to be that the

ZBar SDK iOS: Remove cancel button in scanner view?

纵然是瞬间 提交于 2019-12-24 08:14:03
问题 Is there a way to remove the cancel button in the initial scan view? I have my App set to go immediately to scanner, so the cancel is unnecessary. 回答1: Assuming you are using version 1.2 of the SDK and you are also using the ZBarReaderViewController, you could set the property showsZBarControls = NO; That will remove the cancel and information button. 回答2: Found it. While setting showZBarControls = NO removes the entire bar, I needed something that would just remove the cancel button. The

Unable to read FNC1 character at the first position of a GS1 128 Barcode using Zbar library?

回眸只為那壹抹淺笑 提交于 2019-12-23 06:57:24
问题 I have developed an application for barcode decoding in android using Google vision Library for GS1 data matrix and Zbar Library for GS1 128 barcode Unable to read FNC1 character at the first position of a GS1 128 Barcode using Zbar library. The Zbar library is unable to display any sign of FNC1 character at the start of the Barcode! Any Solutions. . . . Instant Help is appreciable . . . Below is my ZBar Scanner Activity @SuppressWarnings("deprecation") public class ZBarFirstScannerActivity

How to hide info button in ZBar Bar Code Reader for iOS6.0 and above

匆匆过客 提交于 2019-12-21 12:45:11
问题 I am using ZBar Bar Code Reader for iOS 5.0 and above in my iOS App. I have made info button hidden using following code on Camera Interface. UIView * infoButton= infoButton = [[[[[reader.view.subviews objectAtIndex:1] subviews] objectAtIndex:0] subviews] objectAtIndex:2]; [infoButton setHidden:YES]; But somehow this code doesn't work for iOS6.0 and Above. 回答1: Try this code, this worked for me on iOS5.0 and above. float currentVersion = 5.1; float sysVersion = [[[UIDevice currentDevice]

iPhone camera loses auto-focus when using ZBarSDK

故事扮演 提交于 2019-12-21 04:58:17
问题 I'm working on an app that the user can select if he wants to scan a barcode or take a picture of something. For taking a picture I'm using the UIImagePickerController as usual. For scanning barcode I'm using the ZbarSDK 1.2 ZBarReaderViewController . When taking a picture everything works perfect. When scanning a barcode: If you start the app and scan a barcode before taking a picture, it's also works perfect. But is you take a picture, and then go back and try to scan a barcode, the camera

How to crop scanned barcode using Zbar?

大城市里の小女人 提交于 2019-12-21 03:01:28
问题 I am using below code to scan bar code using Zbar sdk. I go through related question of stackoverflow but that answer is not working for me. Till now I have done, -(IBAction)btnCLick { ZBarReaderViewController *reader = [ZBarReaderViewController new]; reader.readerDelegate = self; reader.supportedOrientationsMask = ZBarOrientationMaskAll; ZBarImageScanner *scanner = reader.scanner; [scanner setSymbology:ZBAR_I25 config:ZBAR_CFG_ENABLE to:0]; [self presentModalViewController:reader animated

how to customize CameraView for android ZBar QrCode Reader

纵饮孤独 提交于 2019-12-21 01:17:36
问题 I am using Zbar for reading QRCode. I use this https://github.com/DushyanthMaguluru/ZBarScanner example for my activity. The Question is how can I show cameraView on my FrameLayout ? EDIT: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); //setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); mCamera = getCameraInstance(); if(!isCameraAvailable()) { cancelRequest(); return; } requestWindowFeature(Window