I am using zBAr SDK to scan VIN code. I am following the zBar's tutorial to set scan symbology of Code_39. Each time I run the app it says "the image picker failing to read".
I am using the following code
[reader1.scanner setSymbology: ZBAR_CODE39 config: ZBAR_CFG_ENABLE to: 1];
Can anyone tell me what I am doing wrong ??
Thnx in advance
Related
I am trying to test an App Clip sample on My iPhone with iOS 12.2. I can build the sample codes successfully , I configured the following for the Local User Experience.
Local User Experience Settings:
When I scan the QR Code generated by "https://fruits.com/check?fruit_name=bananas", I didn't see the App Clip prompted.
Thanks.
I find the solution: we need to scan the QR code with the QR code native scanner in the Control Center.
Thanks.
i am working on an application where we need to scan QR codes for iPhone.
I am using zxing API for it. App is working great with iOS 6.0.1 but it's not working right with the latest release of iOS 6.0.2.
I am sending the scanned QR code to the server which gives me this response.
For example, if the QR code is 00012123456789000134,
iOS 6.0.1 version is giving me 00012123456789000134 as result but iOS 6.0.2 gives the result as 2100012123456789000134\u001D0111223344556677.
I don't know what is the problem. Is it due to the fixes in iOS 6.0.2 ????
Please help me out.
Thanx in advance.
Have you tried to scan with ZXing's own scan app from the app store, you need to check that out first to make sure that the problem is not the SDK nor the QR Code you are scanning.
If it is related to your code, review how you the result string is handled and moved to the output. it can be any of a few things, Zombies, incompatible types and moving between them, but mostly logic error. If you can post your codes, a lot more people will probably be able to help you. Also always the thing that ultimately helps is a lot of printfs.
I have one application in which I want to scan QR code + bar codes on food packets for 1 store. I have tried ZBar reader for bar code scanning. It is working perfectly. Now I want to scan QR code also. For that I have searched and downloaded sample code. But all are not proper. Can anybody help?
If You want to read QRCode use Zbar sdk
try this
ZBarImageScanner *scanner = reader.scanner;
[scanner setSymbology:ZBAR_QRCODE
config:ZBAR_CFG_ENABLE
to:1];
Megha:Zbar SDK is best for bar code and QR Code Scanner
u have to try this link
https://github.com/a2n/zbar-iphone-example
i have also tried this in My Application and its working perfect.
There are 40 versions of QR code.
I am sure ZDBar SDK scans version 1 QRCode I have used it successfully.Check the documentation to verify the other supproted versions.
Have yo identified the version of QR codes you want to support ?
Cheers
i have used this http://zbar.sourceforge.net/iphone/sdkdoc/install.html in many of my applications to read qr codes,bar codes,UPC codes sucessfully
zxing has an iphone port for qr code reading
I have integrated the ZBAR sdk in my project and it is working fine for barcodes but it is not detecting the QRCodes. I am using the iPhone 4s and I don't have any other device.. is this a known issue..? I am using the ZBarReaderViewController...
Double check that the scanner is configure for reading QR codes. Check my example below:
ZBarImageScanner *scanner = reader.scanner;
[scanner setSymbology:ZBAR_QRCODE
config:ZBAR_CFG_ENABLE
to:1];
i have use zbar Api for the UPC barcode scanning and its working very fine follow the below tutorial in ios 5 .please refer it and try it i have tested in devices its working well .
http://iphonenativeapp.blogspot.in/2011/07/qr-code-readerscanner-for-iphone-app-in.html
Thanks
This may be because of the data that you are encoding in QRCode. In Barcode it will be a number always, but in QR code code it is not like that. Try to store the data in a string and log the string.
ZBAR sdk is normally used to read QRcode or barcode & convert it to user data. Can we use ZBAR API to create QRcode for iphone?
As far I know Zbar SDK can only be used to read.
Maybe this link will be of some help.
onbarcode
https://github.com/myang-git/QR-Code-Encoder-for-Objective-C worked well to generate QR Codes even with much content and UTF-8 characters (where some other generators I tried failed). The project is active and Apache 2.0 licensed.