Skip to content

asponring/OpticalBarcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpticalBarcode

This is a cute demo of an optical barcode reader and writer.

Individual characters are represented as a vertical column of asterisks and spaces, corresponding to the 1s and 0s of the 8-bit character.

  1. Foothill.java is the main class, run this to get a demo of translating text to and from the optical barcode
  2. BarcodeIO.java contains a helpful interface
  3. DataMaxtrix.java wraps the optical barcode in a frame, it also has methods to convert a barcode to text and vice versa
  4. BarcodeImage.java actually generates the 8-bit representation of the text. It also has a clone method

Concepts used in this project:

  1. Classes in different files
  2. Java interfaces
  3. Implementing Cloneable interface and making deep clone
  4. Catching & throwing exceptions
  5. Bit manipulation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages