Re: Re: Read/decode barcodes from an image
| From: | Yeti | Date: | Thu, 18 Dec 2008 07:45:11 +0000 |
| Subject: | Re: Re: Read/decode barcodes from an image | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-284773@lists.php.net to get a copy of this message | ||
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 complicated if you need error correction
like a neuronal network would provide it.