zbar

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

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-09 13:05:30
问题 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

Missing GS1 Symbol Identifiers with zxing and zbar

孤人 提交于 2019-12-08 19:41:35
问题 I am trying to validate GS1 Barcodes with zxing or zbar. The GS1 specification says in 7.8 that GS1 Barcodes must start with a specific Symbology Identifier: ]C1 = GS1-128 ]e0 = GS1 DataBar and GS1 Composite Symbols ]d2 = GS1 DataMatrix ]Q3 = GS1 QR Code But zxing only shows the symbol identifier for CODE-128 (with or without --gs1), not for the rest. ZBar show the symbol identifier not at all. Is my understanding of the specification correct? Is there anyway to extract those identifier from

heroku cannot install zbar

安稳与你 提交于 2019-12-08 02:14:18
问题 I have a Django application which uses zbar for barcode recognition. It works fine on my developer machine but when i tried to deploy it to Heroku my commit was rejected with the following message: Installing collected packages: zbar Running setup.py install for zbar building 'zbar' extension gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/app/.heroku/python/include/python2.7 -c zbarmodule.c -o build/temp.linux-x86_64-2.7/zbarmodule.o In

Add overlay over top of ZBar scanner

久未见 提交于 2019-12-07 08:19:05
问题 I'm using the ZBar SDK to read QR codes on iPhone, however I want to add some text to the bottom of the camera/scanner view that is instructional text for the user. Here is what I have so far: UIView *cameraOverlayView = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]]; cameraOverlayView.backgroundColor = [UIColor redColor]; UILabel *instructionLabel = [[UILabel alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]]; [instructionLabel setTextColor:[UIColor

ZBar - QR Code Scanner, crashing in Android Studio

让人想犯罪 __ 提交于 2019-12-06 21:23:55
问题 I have downloaded from git latest zBar QR Code Scanner (SDK 0.2). I am trying to implement it in my application. I work on Android Studio. What have I done: I have copied zBar.jar to libs folder of my Project. I have created *.jar files from "amerabi", "amerabi-v7a", "x86" by zip'ing them and changing their format to *.jar. I have copied amerabi.jar, amerabi-v7a.jar and x86.jar to libs folder of my Project. There is no need to change anything in gradle because it is already configured to

heroku cannot install zbar

为君一笑 提交于 2019-12-06 08:49:27
I have a Django application which uses zbar for barcode recognition. It works fine on my developer machine but when i tried to deploy it to Heroku my commit was rejected with the following message: Installing collected packages: zbar Running setup.py install for zbar building 'zbar' extension gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/app/.heroku/python/include/python2.7 -c zbarmodule.c -o build/temp.linux-x86_64-2.7/zbarmodule.o In file included from zbarmodule.c:24: zbarmodule.h:26:18: error: zbar.h: No such file or directory In file

How to import Zbar Framework in Swift Project

大城市里の小女人 提交于 2019-12-05 21:43:24
I have a project and currently trying to convert to Swift project but I couldn't figure out how to present a Zbar barcode reader that scans from the camera feed. On my current project I called like this - (IBAction)scanButton:(id)sender { // ADD: present a barcode reader that scans from the camera feed ZBarReaderViewController *reader = [ZBarReaderViewController new]; reader.readerDelegate = self; reader.supportedOrientationsMask = ZBarOrientationMaskAll; ZBarImageScanner *scanner = reader.scanner; // TODO: (optional) additional reader configuration here // EXAMPLE: disable rarely used I2/5 to

How to install Python bindings originating from an apt package?

為{幸葍}努か 提交于 2019-12-05 20:59:55
问题 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

Add overlay over top of ZBar scanner

给你一囗甜甜゛ 提交于 2019-12-05 12:13:06
I'm using the ZBar SDK to read QR codes on iPhone, however I want to add some text to the bottom of the camera/scanner view that is instructional text for the user. Here is what I have so far: UIView *cameraOverlayView = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]]; cameraOverlayView.backgroundColor = [UIColor redColor]; UILabel *instructionLabel = [[UILabel alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]]; [instructionLabel setTextColor:[UIColor grayColor]]; [instructionLabel setBackgroundColor:[UIColor clearColor]]; [instructionLabel setFont:[UIFont

ZBar - QR Code Scanner, crashing in Android Studio

无人久伴 提交于 2019-12-05 02:09:25
I have downloaded from git latest zBar QR Code Scanner (SDK 0.2). I am trying to implement it in my application. I work on Android Studio. What have I done: I have copied zBar.jar to libs folder of my Project. I have created *.jar files from "amerabi", "amerabi-v7a", "x86" by zip'ing them and changing their format to *.jar. I have copied amerabi.jar, amerabi-v7a.jar and x86.jar to libs folder of my Project. There is no need to change anything in gradle because it is already configured to import every jar file from libs projects. See below: dependencies { compile 'com.android.support:support-v4