Re: Re: Read/decode barcodes from an image
| From: | Adam Randall | Date: | Thu, 18 Dec 2008 05:55:48 +0000 |
| Subject: | Re: Re: Read/decode barcodes from an image | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-284771@lists.php.net to get a copy of this message | ||
Yeah, I have played with JOCR/GOCR, but it seemed somewhat inaccurate.
Does anyone have any examples of working with it in code so that I can
figure out how to incorporate it into my solutions?
Adam.
On Wed, Dec 17, 2008 at 5:17 PM, Bastien Koert <phpster@gmail.com> wrote:
> On Wed, Dec 17, 2008 at 7:42 PM, Al <news@ridersite.org> wrote:
>
>> If anything can do it, it'll be ImageMagick
>>
>> Adam Randall wrote:
>>
>>> I'm amazed that this either doesn't exist, or is hard to find. I
>>> basically am looking for a way to read in an image into PHP, or shell
>>> out to something on the Linux side, and determine, and see if it has a
>>> barcode in it or not. If it does, I need to decode the barcode so that
>>> I can identify the page as a separator page or not.
>>>
>>> Basically, what I'm doing is reading in a PDF or TIF which will
>>> contain multiple pages (probably a lot of pages) and look for a page
>>> containing a barcode. The barcode will identify the page as a
>>> separator page which will be used to split the multipage document into
>>> smaller single or multipage documents.
>>>
>>> Has anyone ever heard of anything that might help me in this process?
>>>
>>> Adam.
>>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
> your best bet would likely be to find an open source OCR package (like
> http://jocr.sourceforge.net/ ) and shell out to it to do the
> reading in. One
> of our clients wrote a .NET app to just this that renames the file with the
> ocr barcode after which we pick it up and handle the rest
>
> hth
>
> --
>
> Bastien
>
> Cat, the other other white meat
>
--
Adam Randall
AIM: blitz574