How to Separate String scanned by Handheld Barcode Scanner? - ios

I stuck in my project. I have searched more but can't find the solution. My problem is when i scanned barcodes more then one from my handheld barcode scanner. I am not getting any such type of character by which i can separate the scanned string to save in array. Is there any way by which i can get the each scanned value separately. Any help will be appreciated. Input can be come from any Handheld/Ring barcode scanner.

Related

Scanning GS1/EAN/UCC-128 barcodes in iOS

So I'm currently working on a project that requires scanning GS1-128 barcodes. So far, for other barcode types, we've been using AVFoundation's scanning without a problem. AVFoundation can read Code-128 (which GS1-128 is encoded in); where we're having the problem is that it doesn't look like AVFoundation is giving us any of the FNC1 characters to identify which numbers in the barcode are attribute identifiers and which are values, or I'm just missing something. Has anyone had any success with this?
Thanks!

PDF417 generated by ZXingObjC is unreadable sometimes

I am trying to use ZXingObjC to generate PDF417 barcodes for my iOS app. I've got it all working, sort of. It generates the barcode and displays it on the screen. Unfortunately, sometimes the barcode is unreadable by a 'real' scanner.
If the encoded text is all just upper or lower case characters, for example, "Now is the TIME for all good men", then the generated barcode is perfectly readable.
However, if the string contains just one number, anywhere in the string, then the barcode is unreadable. It's just not recognized by the 'real' scanner.
Other encoded strings produce barcodes that decode as gibberish.
I am wondering if I need to do more configuration to generate PDF417s properly. For example, it says on the ZXingObjC website "Use UTF-16 for all PDF417 characters". How would you do that?
Are there other configuration options I should be setting?
I know this is an obscure topic, but hope someone has some knowledge about this. Thanks in advance.

iOS:Image to string conversion

I want to develop a feature, wherein user can take a picture of a serial number which has printed in a product or any things, using native camera and then scan the picture to retrieve the serial number as a string in my iOS program. I am not getting how to achieve this. Could someone please guide me to solve this problem? I don't want to know the name of the product and all after taking the picture, i want to get the string of the serial number taken from the photo.
Thanks in advance!
You need OCR (Optical Character Recognition), and that is not something to take lightly..
Take a look at Tesseract for iOs, this is a library that does this.. But be ready to dive into unknown realms.

How can I lookup data about a food from its barcode number?

I am currently designing an iOS application for helping diabetics to manage their condition.
One feature I am working on is a barcode scanner, where the user will be able to take a picture of a barcode (as they are shopping) and get back information on the product based on its barcode.
With this information, I will create a nutrition score of 1-10 for the diabetic.
My question is, is there a way I can use the scanned barcode to get information on the particular food product?? I realize that the barcode is just a number, and that in supermarkets barcodes information are stored in a supermarket database. Is there anyway I would have access to an online db of food products?
Use the barcode scanner plugin then query labelcalc to get the info you need.

Printing Barcodes on RuggedJet printer

I need to print a barcode on a Brother RuggedJet printer from a Window Mobile device. The SDK provided by brother does not have a method to do this.
However most printers have a native mode that you can put them into and then send escape sequences to do things like print barcodes. I've done this with other printers.
Does anyone know the native printer language for the Brother RuggedJet? And if so what are the escape code to print Code 123 barcodes.
You should contact Brother's Customer Support to see if they can get you in touch with some department that deals with the SDK or Technical Documents for their products.
I use Code 128 for our Barcodes, and to get them to print out, I use the OnPaint event to write using e.Graphics. I could post some of that code here, if you can use Code 128, but most of it I found from someone else, and I honestly never took the time to understand what it is doing.

Resources