Re: Mobile devices and barcodes
I was intrigued by this topic, so did a little research myself. First of all, I'm not particularly inclined to jump through Apple's hoops when it comes to installing applications on a phone I own. So, I only looked into doing this for Android. I came across this 6 line piece of code for reading barcodes on Android: http://www.mattcutts.com/blog/android-barcode-scanner/ This requires that the Android device has the Android Scripting Environment installed. http://google-opensource.blogspot.com/2009/06/introducing-android-scripting.html Here's information on installing the ASE within the Android emulator: http://www.akeric.com/blog/?p=879 It's even possible to run scripts within ASE by snapshotting them as QR barcodes (the script is encoded in the QR barcode): http://www.submergedspaceman.com/blog/2010/02/16/android-scripting-environment-is-incredible-part-i/ How to access this from within Livecode (given that shell() is inoperable on Android/iPhone)? It _might_ work by using the launch URL command, giving a shell script that is recognised by ASE. Of course, this solution is not going to be of use to those wanting to distribute a barcode scanner Livecode app to the general public. However, in a specific client environment it may be possible to concoct a solution. Concocting this solution (indeed, investigating that it is possible) is probably less complicated than writing an image-processor/barcode reader oneself. Furthermore, if it is possible, it would open up a world of possibilities on Android. Here's a list of tutorials on other things that can be done within the ASE (It's pretty impressive): http://code.google.com/p/android-scripting/wiki/Tutorials Hope that is of some use/interest to someone. Bernard On Wed, Dec 7, 2011 at 6:00 PM, stephen barncard stephenrevoluti...@barncard.com wrote: The code you want would be like a OCR application, and would require a bit of special processing to work. Hi contrast, sharpening, THEN the character recognition, which should work at different angles. My point is this is not trivial code. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mobile devices and barcodes
The code you want would be like a OCR application, and would require a bit of special processing to work. Hi contrast, sharpening, THEN the character recognition, which should work at different angles. My point is this is not trivial code. After I made these statements, I did a web searchhttp://www.google.com/search?client=safarirls=enq=bar+code+recognitionie=UTF-8oe=UTF-8for bar code recognition -- there seem to be quite a few SDK's for this now. But that mean you would still have to assemble or compile in a low level language or commission someone to build it it for LIvecode, that's the critical path. And if you want to 'roll your own from scratch' - take a look at this link below which appears to be a complete description of how to interpret barcodes in code: http://book.realworldhaskell.org/read/barcode-recognition.html Good psedocode examples. it almost looks do-able in Livecode. and here's a JAVASCRIPT demo: (revbrowser?) http://tobeytailor.s3.amazonaws.com/get_barcode_from_image/index.html and the code for above https://gist.github.com/421369 sqb On 6 December 2011 23:49, paolo mazza mazzapaoloit...@gmail.com wrote: Hi Nicolas, I went through the Sara's Stacks: BarcodeTester A very simple stack that reads data from a keyboard wedge barcode scanner. It allows you to check the raw data transmitted by the scanner as well as the ASCII data. Category: UtilityLast Updated: Wed, Apr 29, 2009 Barcodes A utility that converts text into the ASCII codes to generate Code128 subset A barcodes. You will need a Code128 font to display and print the codes when generated. There are plenty available but I use Riversedge fonts. Actually what I am looking for is a piece of software to scan the image (from the camera) of a barcode and import the barcode data into an iOS application. All the best, Paolo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mobile devices and barcodes
Hi Malte, I wonder if you have found a way to read a barcode with a mobile device. Any news about that? All the best Paolo Mazza -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Mobile-devices-and-barcodes-tp3780353p4163941.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mobile devices and barcodes
Hi Nicolas, I went through the Sara's Stacks: BarcodeTester A very simple stack that reads data from a keyboard wedge barcode scanner. It allows you to check the raw data transmitted by the scanner as well as the ASCII data. Category: UtilityLast Updated: Wed, Apr 29, 2009 Barcodes A utility that converts text into the ASCII codes to generate Code128 subset A barcodes. You will need a Code128 font to display and print the codes when generated. There are plenty available but I use Riversedge fonts. Actually what I am looking for is a piece of software to scan an image of a barcode and get import the data into an iOS application. All the best, Paolo -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Mobile-devices-and-barcodes-tp3780353p4164973.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mobile devices and barcodes
Hi Nicolas, I went through the Sara's Stacks: BarcodeTester A very simple stack that reads data from a keyboard wedge barcode scanner. It allows you to check the raw data transmitted by the scanner as well as the ASCII data. Category: UtilityLast Updated: Wed, Apr 29, 2009 Barcodes A utility that converts text into the ASCII codes to generate Code128 subset A barcodes. You will need a Code128 font to display and print the codes when generated. There are plenty available but I use Riversedge fonts. Actually what I am looking for is a piece of software to scan the image (from the camera) of a barcode and import the barcode data into an iOS application. All the best, Paolo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Mobile devices and barcodes
Hi all, I am looking into taking a picture of a barcode with a mobile device (must be working on Android and iOs) and then reads out the data. It should be able to read the barcode even if it is not 100% straight up, but also when the picture is slightly rotated (currently I am just looking into Code128 barcodes). Has anyone been working on something like this and would care to share some input? All the best, Malte ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mobile devices and barcodes
On 08/31/2011 10:00 AM, Malte Brill wrote: Hi all, I am looking into taking a picture of a barcode with a mobile device (must be working on Android and iOs) and then reads out the data. It should be able to read the barcode even if it is not 100% straight up, but also when the picture is slightly rotated (currently I am just looking into Code128 barcodes). Has anyone been working on something like this No, I haven't . . . :) However . . . a quick google search found this: http://code.google.com/p/zxing/wiki/FrequentlyAskedQuestions https://market.android.com/details?id=com.biggu.shopsavvyfeature=related_apps https://market.android.com/details?id=com.ScanLifefeature=related_apps https://market.android.com/details?id=com.ixellence.ixmat.android.communityfeature=related_apps probably not a lot of good, but just a thought . . . and would care to share some input? All the best, Malte ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mobile devices and barcodes
If you control both ends of the system and it mainly involves mobile applications, consider using QR codeshttp://www.google.com/search?client=safarirls=enq=QR+CODEie=UTF-8oe=UTF-8, which are designed for that purpose. On 31 August 2011 00:00, Malte Brill revolut...@derbrill.de wrote: Hi all, I am looking into taking a picture of a barcode with a mobile device (must be working on Android and iOs) and then reads out the data. It should be able to read the barcode even if it is not 100% straight up, but also when the picture is slightly rotated (currently I am just looking into Code128 barcodes). Has anyone been working on something like this and would care to share some input? All the best, Malte ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode