zbar-sdk

ZBar memory leak on iOS?

橙三吉。 提交于 2019-12-03 11:55:58
I am very satisfied with ZBar scanning performance, however I ran into a big problem on a project that runs under ARC if that counts at all. Namely, it seems that there is a serious memory leak that rises exponentially with each and every new display of the readerView. after some 10x memory usage starts to rise exponentially and around 20x scan program become unusable. I have seen example that are build with same version and there is no problem with it. I also tried method flushCache on readerView, but it doesn't help. THere is one patch: http://sourceforge.net/p/zbar/patches/36/ , but I don't

how to customize CameraView for android ZBar QrCode Reader

随声附和 提交于 2019-12-03 08:32:41
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.FEATURE_NO_TITLE); getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN); mAutoFocusHandler

Can't turn off gcc optimizer, Makefile from automake

我是研究僧i 提交于 2019-12-03 07:25:18
I am trying to get ZBar in a debug session. I am able to do so, but I can't get the optimizer to turn off, so my debug session jumps around unexpectedly and many variables are labeled as optimized-out in Eclipse Indigo. I am running in Ubuntu. I have tried adding -O0 as far right in any gcc call in the Makefiles as possible, since the last -O is the acting one. I used -Q --help=optimizers to find what to be looking for, but its output is a bit odd: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./include -I./zbar -I./include -O0 -O0 -Q --help=optimizers -Wall -Wno-parentheses -O0 -g -O0 -Q --help

zbar sdk not working on iphone simulator by using camera simulator

我与影子孤独终老i 提交于 2019-12-01 11:22:28
I have to support barcode scanning on my project. I'm using zbar sdk for that.I have integrated the code and run using iphone simulator. I'm using camera simulator for scanning barcode.Its opening the barcode image correctly.but barcode scanning not working. Anyone used this? you can test bar code on iPhone Simulator, 1 - save the bar code to you simulator, open safari and drag drop the barcode image into safari and then long tap the image, I'll ask you to save the image. 2 - run simulator and when on barcode scan screen press "optons+threefingres long tap" it'll open the gallery where you can

zbar sdk not working on iphone simulator by using camera simulator

半世苍凉 提交于 2019-12-01 09:25:57
问题 I have to support barcode scanning on my project. I'm using zbar sdk for that.I have integrated the code and run using iphone simulator. I'm using camera simulator for scanning barcode.Its opening the barcode image correctly.but barcode scanning not working. Anyone used this? 回答1: you can test bar code on iPhone Simulator, 1 - save the bar code to you simulator, open safari and drag drop the barcode image into safari and then long tap the image, I'll ask you to save the image. 2 - run

Maximum length of a Code 128 barcode

喜夏-厌秋 提交于 2019-12-01 03:27:53
I need to create a Code 128 barcode with a maximum of 44 characters. What is the maximum number of characters supported by the Code 128 barcode format? I came to know that Code 128 can encode all 128 characters of ASCII, but I cannot determine the maximum number of characters it supports. The specification for Code 128 (ISO/IEC 15417) leaves the maximum length undefined and states that this is something that should be defined by any derivative application [*] standard: 4.7.1 Symbology and data characteristics Application specifications should consider the following parameters. b) The number of

ZBAR barcode scanning library not working when using target sdk version 23 in gradle

我们两清 提交于 2019-12-01 03:25:13
I am using zbar scanner library in my project. After updating to sdk 23 Marshmallow scanner is not working. Following is the gradle file. Scanner is working if I set targetSdkVersion anything other than 23. Following is the gradle file: apply plugin: 'com.android.application' android { compileSdkVersion 15 buildToolsVersion "23.0.1" defaultConfig { applicationId "net.sourceforge.zbar.android.CameraTest" minSdkVersion 9 targetSdkVersion 23 } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' } } } dependencies { compile

How to configure iOS app to work on specific devices?

拜拜、爱过 提交于 2019-11-30 06:47:40
I am developing iOS app with ZBar SDK for QR-codes scan. Here ZBar SDK creators tell us that Only the iPhone 3GS and iPhone 4 are supported, as they have a camera with auto-focus. The ZBar library does not support the iPhone 3G and is unlikely to ever support it. So I have added auto-focus-camera key to the Required Device Capabilities section of my plist. All is great, except one thing - iPad 2 & iPod Touch 4th Gen doesn't have auto focus camera, but still are able to use my ZBar SDK code to scan QR-codes. But my auto-focus-camera key doen't allow users with iPad 2 and iPod Touch 4th Gen to

ZBar with iOS7 and XCode5 compiling error libzbar.a architecture

拈花ヽ惹草 提交于 2019-11-30 02:26:37
just got some errors runnign ZBar with my iOS App. I included the newest Beta Version 1.3.1 in my Project and am Running the App locally on my iOS7 Device (iPhone 5). When trying to archive it for Distribution, there is the error with arm64. I've tried to recompile the source to generate my own libzbar.a (which was generated) with selected arm64 armv7 and armv7s, but even here the error was the same.. So what should I do? Thnaks for help! You can download the zbar library compiled for arm7, arm7s and arm64 here EDIT: I am still getting upvotes on this answer, the real current answer is that

How to configure iOS app to work on specific devices?

懵懂的女人 提交于 2019-11-29 06:39:14
问题 I am developing iOS app with ZBar SDK for QR-codes scan. Here ZBar SDK creators tell us that Only the iPhone 3GS and iPhone 4 are supported, as they have a camera with auto-focus. The ZBar library does not support the iPhone 3G and is unlikely to ever support it. So I have added auto-focus-camera key to the Required Device Capabilities section of my plist. All is great, except one thing - iPad 2 & iPod Touch 4th Gen doesn't have auto focus camera, but still are able to use my ZBar SDK code to