/barcode

Barcode recognition program in C++. Takes a JPEG and spits out any barcodes found.

Primary LanguageC++GNU General Public License v3.0GPL-3.0

EAN13 Barcode decoder

Website: http://www.ryanlothian.com/projects/barcode_recognition/

Copyright (C) 2008-2012 Ryan Lothian.


License: GPL3
-------------
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

 
Prerequisites
--------------
Make sure you have the gd libraries and g++ installed.

On Ubuntu: sudo apt-get install libgd2-xpm-dev g++


How to compile
---------------
Enter the following command (without the $).

    $ make


Testing
-------
A photo of a barcode is included for testing.

    $ ./barcode_recognition 9780006483014.jpg     
    9780006483014


Feedback
--------
Please e-mail [barcodes <at> ryanlothian <dot> com].