UPC Barcode Generator and Reader

Today i have sent another vb coding to planet source code website.

Its called UPC barcode generator and reader. Referred to its title u can definitely know that it consist of a generator and Reader for barcode. :)

this is the screenshot

GENERATOR

The generator generates a 6 digits or 12 digits UPC barcode.The purpose of this program initially is to generate a sample test for my final year project . Camera based barcode reader using FPGA (Field Programmable Gates Array) . At first i would go look for UPC barcode on mineral water bottles , food can..no lah , i overseen this problem , so i came with the idea to make me a generator of my own so dun have to wander around shops or trash looking for UPC barcode sample on bottles and watsoever. Why i keep stressing on UPC..? UPC , UPC , UPC..?UPC actually stands for Universal Product Code. Most barcode used in US and in Malaysia mostly used for general evryday products like food , kitchen ware, toiletries and so on.There are other types of barcode which each code has different decoding scheme (simply said u hav to read it diff way ) like code39, EAN , and many more which i wouldnt explain here or my post would be so damn long , but if u interested u can check it here

READER

The reader part recieve picture input from jpeg files , or bitmap . Then it will convert the picture to black and white image and of course start decoding the lines into numbers when u click next to the barcode. As i periodicly mention before about UPC, my coding strictly can only read UPC-A (12 digits) and UPC-E(6digits) barcode.so dont bother around looking for other barcode type and hoping it will read out the numbers. How does it read ? the algorithm..actually it is simple . but its still gonna take lots of space to explain it here.. So along with the coding i have attach the documentation for the algorithm. If u wanted the “not so technical ” version of how it works maybe u can go to this link..(credits to mr Dekan my FYP partner for this link)

Initially the reader part and the generator part is separated . the reader are create to test my algorithm on VB (Visual Basic) platform with pc based system (why VB? bcoz im familiar with it and started to get comfortable) … but since it look fun , i decide to combine them together and share it with others , with u. Since i juz posted it maybe the link is not there yet..it gonna take about 1 to 2 days to active bcoz PSC is a free code hosting . wat wud u expect .. :) ..

Do check it guyz

Say your words