Re: [PHP] Re: Read/decode barcodes from an image

2008-12-17 Thread Yeti
Basic bar code detection is not that difficult. You set a couple of virtual lines over the images and "crawl" them pixel by pixel. Then you count the black/white changes and the density of each change. I could even think of doing this using GD if I had the time. On the other hand it can get pretty

Re: [PHP] Re: Read/decode barcodes from an image

2008-12-17 Thread Adam Randall
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 wrote: > On Wed, Dec 17, 2008 at 7:42 PM, Al wro

Re: [PHP] Re: Read/decode barcodes from an image

2008-12-17 Thread Adam Randall
I would have thought so too, but haven't found anything yet. Maybe there is an answer there (I have Imagick installed for example). iText, a java utility, has the ability to write barcodes nicely to PDF, too bad that there's no some reverse there either. Adam. On Wed, Dec 17, 2008 at 4:42 PM, Al

Re: [PHP] Re: Read/decode barcodes from an image

2008-12-17 Thread Adam Randall
This completely internal, and highly sensitive. Also, the documents themselves will different every time likely as they can either be faxes with who knows what type of skewing/quality/orientation. I need to be able to read them and find out what the barcodes are, if any. Adam. On Wed, Dec 17, 200

Re: [PHP] Re: Read/decode barcodes from an image

2008-12-17 Thread Bastien Koert
On Wed, Dec 17, 2008 at 7:42 PM, Al 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, an

Re: [PHP] Re: Read/decode barcodes from an image

2008-12-17 Thread Ashley Sheridan
On Thu, 2008-12-18 at 00:04 +, Nathan Rixham wrote: > 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 > >