Barcode scanning in iOS using AVFoundation

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
alfredm
Posts: 5
Joined: Wed Jul 16, 2014 8:40 am

Barcode scanning in iOS using AVFoundation

Post by alfredm » Mon Mar 09, 2015 12:41 am

Hello Livecode experts,

I am trying to integrate native iOS barcode scanning into my Livecode app using the iOS built in AVFoundation framework. I am a relative novice to when it comes to Objective C programming, so this is beyond my capabilities. Is there anyone that could either point me in the right direction, or help me integrate the code to allow me to do the scanning? This is something I would be willing to pay for.

I have a few links/references on this subject that I can send anyone interested. Unfortunately, the forum does not allow me to post the links here.

Thank you in advance for any help on this subject.

pthirkell
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 93
Joined: Tue Nov 17, 2009 6:47 pm

Re: Barcode scanning in iOS using AVFoundation

Post by pthirkell » Mon Mar 09, 2015 4:49 am

Have you checked out Monte's MergZXing external at mergext.com?

alfredm
Posts: 5
Joined: Wed Jul 16, 2014 8:40 am

Re: Barcode scanning in iOS using AVFoundation

Post by alfredm » Mon Mar 09, 2015 6:55 am

I have purchased MergZXing, but have not been able to make it recognize certain barcodes. It might be because it's based on the old ZXing 1.7 library. I believe the library is up to version 3.2 now.

Mikey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 755
Joined: Fri Jun 27, 2008 9:00 pm

Re: Barcode scanning in iOS using AVFoundation

Post by Mikey » Mon Mar 09, 2015 2:37 pm

Monte has been talking about doing this. There are issues with barcode scanning, which can be aggravating. He was also considering doing a few other things with it: controlled oversampling, filtering symbology, and checksum support.

alfredm
Posts: 5
Joined: Wed Jul 16, 2014 8:40 am

Re: Barcode scanning in iOS using AVFoundation

Post by alfredm » Mon Mar 09, 2015 8:47 pm

Sounds great about the MergZXing updates, but it sounds like it may take a while until Monte gets to working on it. In the meantime I need to get it working with AVFoundation. Is anyone out there that I can hire to write the piece of code for that?

Mikey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 755
Joined: Fri Jun 27, 2008 9:00 pm

Re: Barcode scanning in iOS using AVFoundation

Post by Mikey » Mon Mar 09, 2015 8:51 pm

What I'm telling you is that Monte was planning on adding it the AVFoundation. Drop him a line and see what he's thinking on it. I haven't talked to him about it in a couple of months.

alfredm
Posts: 5
Joined: Wed Jul 16, 2014 8:40 am

Re: Barcode scanning in iOS using AVFoundation

Post by alfredm » Mon Mar 09, 2015 8:53 pm

Thank you. I saw him talking about that in an earlier post. I'll get a hold of him.

Post Reply