zbar

ZBAR android ARM 64 couldn't find “libiconv.so”

只愿长相守 提交于 2019-12-04 21:41:37
问题 On samsung galaxy s6 edge my app crashes when calling the zbar sdk, for scanning. I think it is because I don't have an arm64 version of zbar. This is the end of the crash log: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/.../base.apk"],nativeLibraryDirectories=[/data/app/.../lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find "libiconv.so" at java.lang.Runtime.loadLibrary(Runtime.java:366) I seen in my project that i don't have arm64 jni

iOS: ZBar SDK unicode characters

余生颓废 提交于 2019-12-04 13:31:31
问题 When scanning QR codes with ZBar the string resulting from the process does not display unicode characters properly. The word Márti encoded as a QR code by any free to use QR code generator (like http://qrcode.kaywa.com) would result in Mテ。rti . In other SO questions (1, 2) it was suggested to embed a BOM at the start of the resulting string, but doing this: NSString *qrString = [NSString stringWithFormat:@"\xEF\xBB\xBF%@",symbol.data]; or this: NSString *qrString = [[NSString alloc]

How to install Python bindings originating from an apt package?

微笑、不失礼 提交于 2019-12-04 03:41:04
I've got a website hosted at Heroku , and I now want to use the python-qrtools package which uses the ZBar bar code scanner . On a regular debian (based) I can do a simple: sudo apt-get install python-qrtools According to the command dpkg-query -L python-qrtools , this installs the following: /usr/lib/python2.7/dist-packages/qrtools-1.2.egg-info /usr/lib/python2.7/dist-packages/qrtools.py /usr/share/doc/python-qrtools/copyright /usr/share/doc/python-qrtools/changelog.Debian.gz When I look at the imports of qrtools.py , it also does an import zbar , which is (as far as I understand) the python

ZBar with iOS7 and XCode5 compiling error libzbar.a architecture

为君一笑 提交于 2019-12-03 18:52:55
问题 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! 回答1: You can download the zbar library compiled for

Zbar with Android : Scanner camera viewport remain inactive and black after showing the url in browser

只愿长相守 提交于 2019-12-03 15:35:52
I need to have a QR scanner in my project. I use ZBar for doing this task. Mainly I did a very small change on the example code given by ZBar git example to do the job. I need to show the scanned result in a browser(if url) or in a dialog(if normal information). Every thing working well with my code given bellow except if I try to show the url after scan a qr code in browser. When I come back to my app from the browser the camera viewport turns black and remain inactive. I tried to get back the camera active to scan another qr code but i failed. I tried to reopen the camera in my onResume()

ZBAR android ARM 64 couldn't find “libiconv.so”

橙三吉。 提交于 2019-12-03 12:59:06
On samsung galaxy s6 edge my app crashes when calling the zbar sdk, for scanning. I think it is because I don't have an arm64 version of zbar. This is the end of the crash log: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/.../base.apk"],nativeLibraryDirectories=[/data/app/.../lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find "libiconv.so" at java.lang.Runtime.loadLibrary(Runtime.java:366) I seen in my project that i don't have arm64 jni libs for zbar is this related ? and if so where can i get libiconv.so libzbarjni.so for arm64 ? So

iOS: ZBar SDK unicode characters

南楼画角 提交于 2019-12-03 08:40:12
When scanning QR codes with ZBar the string resulting from the process does not display unicode characters properly. The word Márti encoded as a QR code by any free to use QR code generator (like http://qrcode.kaywa.com ) would result in Mテ。rti . In other SO questions ( 1 , 2 ) it was suggested to embed a BOM at the start of the resulting string, but doing this: NSString *qrString = [NSString stringWithFormat:@"\xEF\xBB\xBF%@",symbol.data]; or this: NSString *qrString = [[NSString alloc] initWithFormat:@"\357\273\277%@", symbol.data]; resulted in the same, flawed result with the Asian

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

convert openCV image into PIL Image in Python (for use with Zbar library)

旧时模样 提交于 2019-12-03 05:21:17
I'm trying to use the Zbar library's QR code detection methods on images I extract with OpenCV's camera methods. Normally the QR code detection methods work with images (jpg, png, etc.) on my computer, but I guess the captured frames of OpenCV are different. Is there a way of making the captured frame into a PIL Image? Thank you. from PIL import Image import zbar import cv2.cv as cv capture = cv.CaptureFromCAM(1) imgSize = cv.GetSize(cv.QueryFrame(capture)) img = cv.QueryFrame(capture) #SOMETHING GOES HERE TO TURN FRAME INTO IMAGE img = img.convert('L') width, height = img.size scanner = zbar

Can't install zbar

匿名 (未验证) 提交于 2019-12-03 02:31:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to use the qrtools module with Python 3.4.2 on my Raspberry Pi 2, however it cannot run as I don't have the zbar module installed. Trying pip-3.2 install zbar Gives the error message shown in the picture sudo pip-3.2 install zbar gives a similar error Any ideas? (I do have it installed with Python 2.7) UPDATE: Both libzbar-dev and python3-dev are up to date. Still... No module named 'zbar' 回答1: assuming you're using a debian derivative (like ubuntu), you need to install zbar 's developement package, which contains the header file