I need data on a barcode decoded to show me what is stored. I have sample data showing what is stored in the barcode. I do not know the format it is in. I have the barcode and the plain text that is stored somewhere in it.
I would like a simple windows form application that allows me to select an image file on disk (jpg, png, or bmp) which will contain the barcode and only the barcode. White space can be assumed to be around the barcode but nothing else. A sample of the input image is included.
After selecting an image (barcode) the program will read the 2d barcode and generate the lottery numbers contained in it.
Explanation of the numbers:
This could be 1 to 5 plays. Plays are listed on the tickets supplied. A play is a single line of numbers.
For instance, file '[url removed, login to view]' has 4 different tickets included. The top left ticket has 5 plays. The other 3 tickets have 1 play each. The plays on ticket 1 are A, B, C, D, E. The plays will always be in this order. The important information about a play is the 6 sets of numbers. For the top left ticket in file '[url removed, login to view]' play A has the numbers 06, 13, 15, 53, 54, and 02.
Play E has the numbers 23, 29, 42, 53, 56, and 06. Any single barcode image loaded into the program should generate at most 5 sets of 6 numbers. The minimum generated would be 1 set of 6 numbers. It could also be 2 sets, 3 sets, or 4 sets. All other information on the ticket is of no importance to me whether it is stored in the barcode or not. I have no idea what all of it is though I realize some of it is the time the ticket was purchased, the store number, and perhaps the ticket number purchased at that store.
The numbers generated from the barcode should be printed in a text box so that it can be copied later.