|Request new recommendation
by Murugan - 8 years ago (2015-07-20)
I need a barcode reader to extract the code scanned from a barcode.
2. by Rafael Espinosa - 8 years ago (2015-07-30) Reply
You need something like OCR (Optical Character Recognition) for barcodes? I can't remember now the exact name, but exists a php extension called ZBarCode or similar and performs OCR on barcode images
1. by Manuel Lemos - 8 years ago (2015-07-20) Reply
Usually barcode readers are devices that scan the barcodes and emulate the keyboard on your computer, so when the codes are scanned the numbers are entered by the device as if somebody types them on the keyboard.
So all you need to have is an activated text form input and tell the user to use the scanner so the text appears on the text input.
There could also be a solution to scan an image and determine the barcodes but that would be more complicated. I have not seen a solution like that yet. Is that what you want?
This class can read barcode with ABBYY Cloud OCR service.
It can take a given barcode image and sends a HTTP request to the cloud OCR API Web server.
The class keeps polling the Web service every 5 seconds until the image is scanned and the barcode is decoded.
The class sets a variable with the processing results in XML.