randalla Tux's lil' helper
Joined: 14 Oct 2008 Posts: 79 Location: Seattle, WA
|
Posted: Wed Dec 17, 2008 10:48 pm Post subject: Read a barcode from an image |
|
|
I'm looking for a way to see if there is a barcode, or barcodes, in an image (TIFF or PDF) and then decode the barcode(s) for analysis. What we basically want to do is use our Kofax separator sheets to be able to split apart one large multi page document into several single or multi page documents. The documents are then imported into our image server for processing and storage.
The separator sheets have a barcode on the top and side (horizontal and vertical) that are used to determine orientation and that we're at a separate document.
What I've found so far is gocr, which to be honest isn't really doing what I want. I can see it identifies the barcodes, but it seems to come up with some odd results on very clear documents. Since we don't control the quality of the documents (they are being uploaded by our clients after all), I need to have a really good level of accuracy in identifying these particular bar codes. Since gocr is doing OCR plus barcodes, it seems that I'm getting what I want out of something that doesn't do what I need, necessarily. The barcodes are always going to be the same, and I don't care about the text in any of the other documents.
Since I can handle parsing through the uploaded multi-page files, all I need is to find if they have the barcode I'm looking for. Anyone have any ideas?
Adam. |
|