CL-BARCODE is a library for acquiring and creating barcodes.
CL-BARCODE is not a library for recognizing barcodes from images (at
least not right now).
To acquire a barcode, your scanner must be recognized by your machine
as an keyboard device. At this time, scanning over serial ports is not
supported. When you have a scanner connected, call RETRIEVE-CODE:
We can also use a variety of options:
* (loop :repeat 3 :do (retrieve-code :prompt "Code: " :echo t))
To draw a barcode as a PNG file, call one of the drawing functions.
(draw-barcode-code-39 "hello" "~/hello.png")
The output can be viewed here: http://i.imgur.com/fEcDog0.png
The drawing functions output the filename written to, the width of the
image, and the height of the image.