PDF Page Separation via Barcode

Hello... i am in great need of help beeing fairly new to programming Delphi.
I am using a scanner to scan a batch of paperinvoices, on the invoices there are printed a barcode with a id of the invoice. I have come so far as i have extracted all pages to separate files, scanned each file for barcode, and now i have a result in a list like this:

1
1
0
0
0
1
1
0

Need to convert above list to

1
2-5
6
7-8

Anyone how understand my poor english and bad explenation?! ;) Need
code...

Thanks...

Comments

  • : Hello... i am in great need of help beeing fairly new to programming
    : Delphi.
    : I am using a scanner to scan a batch of paperinvoices, on the
    : invoices there are printed a barcode with a id of the invoice. I
    : have come so far as i have extracted all pages to separate files,
    : scanned each file for barcode, and now i have a result in a list
    : like this:
    :
    : 1
    : 1
    : 0
    : 0
    : 0
    : 1
    : 1
    : 0
    :
    : Need to convert above list to
    :
    : 1
    : 2-5
    : 6
    : 7-8
    :
    : Anyone how understand my poor english and bad explenation?! ;) Need
    : code...
    :
    : Thanks...
    :
    :
    If I'm to undserstand correctly, you want to convert the bits read from thebarcode into decimals. The codes on this page will help with this: http://www.codepedia.com/1/BinToInt
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion