As the author of Barcode::Code128 (though I haven't done anything with
barcodes in many years) I don't see anything wrong with the Barcode
namespace.  I think it predates the others, but I'm too lazy to dig up the
dates on each.  Anyway, I think filing it under Business is silly, since
there are plenty of non-business uses of barcodes, and unless your barcode
is nothing but an extension of GD I wouldn't put it there.  If I understand,
your code is something like OCR for barcodes?

On Wed, Feb 11, 2009 at 12:10 PM, Keith Ivey <[email protected]> wrote:

> I've written some code to recognize and read barcodes in images that I want
> to clean up and release as a module.  I haven't found any module that
> duplicates the functionality.
>
> The idea is that you give it an image (JPEG, PNG, or anything else handled
> by GD) that contains a barcode and it returns the string that the barcode
> decodes to.  Currently I handle only EAN-13 (including UPC) barcodes, but I
> may eventually extend it.
>
> There are modules for generating barcodes under GD::Barcode, modules for
> validating the check digit in barcodes under Business::Barcode, and a
> top-level Barcode namespace that may or may not be a good idea.
>
> Any suggestions for the right namespace?
>
> --
> Keith C. Ivey <[email protected]>
> Washington, DC
>

Reply via email to