How to run the ReadBarcodes sample:

Maven compilation (requires JDK 1.8+) ("barcodexpressjava-14.0.jar" will be taken from the public Accusoft repository):
1. Navigate to "<BX_DIR>/Accusoft/BarcodeXpressJava14-64/samples/ReadBarcodes" in terminal.
2. Compile the sample and copy dependencies to local folder (target/dependency):
       mvn clean package
3. Run the sample:
       mvn exec:java -Dexec.args="path/to/your/image.bmp"
   or manually on Unix:
       java -cp "target/ReadBarcodes-1.0.jar:target/dependency/barcodexpressjava-14.0.jar" ReadBarcodes path/to/your/image.bmp
   or manually on Windows:
       java -cp "target/ReadBarcodes-1.0.jar;target/dependency/barcodexpressjava-14.0.jar" ReadBarcodes path/to/your/image.bmp

Manual compilation ("barcodexpressjava-14.0.jar" will be taken from local installation folder):
1. Navigate to "<BX_DIR>/Accusoft/BarcodeXpressJava14-64/samples/ReadBarcodes" in terminal.
2. Compile the sample:
   on Unix:
       javac -cp ".:src/main/java:../../bin/barcodexpressjava-14.0.jar" src/main/java/ReadBarcodes.java
   on Windows:
       javac -cp ".;src/main/java;../../bin/barcodexpressjava-14.0.jar" src/main/java/ReadBarcodes.java
3. Run the sample:
   on Unix:
       java -cp ".:src/main/java:../../bin/barcodexpressjava-14.0.jar" ReadBarcodes path/to/your/image.bmp
   on Windows:
       java -cp ".;src/main/java;../../bin/barcodexpressjava-14.0.jar" ReadBarcodes path/to/your/image.bmp

==========================================

Usage:
    ReadBarcodes [options] <image1> [<image2> ... <imageN>]

Options:
    -t, --type <type>       (optional, default = '1d') Barcode types to scan
                            <type>: '1d' - all 1D | '2d' - all 2D | 'all' - all 1D + 2D
    -h, --help              (optional) Print this help message

Examples:
    ReadBarcodes ../images/Barcode-All-Supported-Types.bmp ../images/Barcode-Multiple-Common.bmp
    ReadBarcodes -t 2d ../images/Barcode-All-Supported-Types.bmp
    ReadBarcodes --type all ../images/Barcode-*
