ZXing ("Zebra Crossing") barcode scanning library for Java, Android
Find a file
dswitkin 167197ec7a Refactored the MonochromeBitmapSource class hierarchy into LuminanceSource, Binarizer, and BinaryBitmap classes. The unit tests pass and I believe the change is complete, but there are some clients like J2ME and Bug that I can't build.
This change will allow new thresholding algorithms to be developed and tested, as well as implemented per platform if needed (e.g. in JNI on Android). It should also perform better when multiple 2D Readers are installed, because the underlying image will only be converted to 1 bit once. It also allows some platforms to return luminance data without a copy.

The current state of this checkin is to use the old black point algorithm, which now lives in GlobalHistogramBinarizer. This will be our benchmark and fallback for slower platforms. Going forward we will begin to use LocalBlockBinarizer as I shake out the edge cases and tune it for performance. Currently it is unused.

IMPORTANT: I have temporarily included three methods from MonochromeBitmapSource at the end of BinaryBitmap as a way to make this change in stages. They are deprecated and will be removed soon. All of the Reader classes will need to change the way they examine 1 bit pixels to use the new getBlackRow() and getBlackMatrix() calls.

git-svn-id: https://zxing.googlecode.com/svn/trunk@993 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-26 17:49:45 +00:00
android Refactored the MonochromeBitmapSource class hierarchy into LuminanceSource, Binarizer, and BinaryBitmap classes. The unit tests pass and I believe the change is complete, but there are some clients like J2ME and Bug that I can't build. 2009-06-26 17:49:45 +00:00
android-integration Added 'shareText' integration code from Isaac 2009-05-03 05:59:49 +00:00
androidtest Refactored the MonochromeBitmapSource class hierarchy into LuminanceSource, Binarizer, and BinaryBitmap classes. The unit tests pass and I believe the change is complete, but there are some clients like J2ME and Bug that I can't build. 2009-06-26 17:49:45 +00:00
bug Refactored the MonochromeBitmapSource class hierarchy into LuminanceSource, Binarizer, and BinaryBitmap classes. The unit tests pass and I believe the change is complete, but there are some clients like J2ME and Bug that I can't build. 2009-06-26 17:49:45 +00:00
core Refactored the MonochromeBitmapSource class hierarchy into LuminanceSource, Binarizer, and BinaryBitmap classes. The unit tests pass and I believe the change is complete, but there are some clients like J2ME and Bug that I can't build. 2009-06-26 17:49:45 +00:00
cpp/core Remove some DEBUG blocks that apparently do not compile 2009-05-21 14:33:23 +00:00
csharp C# port, add datamatrix code 2009-01-10 12:21:17 +00:00
docs/javadoc Try adding current javadoc to SVN 2009-06-26 17:47:15 +00:00
iphone updated app version to 1.0.1 2008-10-24 10:12:40 +00:00
javame Refactored the MonochromeBitmapSource class hierarchy into LuminanceSource, Binarizer, and BinaryBitmap classes. The unit tests pass and I believe the change is complete, but there are some clients like J2ME and Bug that I can't build. 2009-06-26 17:49:45 +00:00
javase Refactored the MonochromeBitmapSource class hierarchy into LuminanceSource, Binarizer, and BinaryBitmap classes. The unit tests pass and I believe the change is complete, but there are some clients like J2ME and Bug that I can't build. 2009-06-26 17:49:45 +00:00
rim Refactored the MonochromeBitmapSource class hierarchy into LuminanceSource, Binarizer, and BinaryBitmap classes. The unit tests pass and I believe the change is complete, but there are some clients like J2ME and Bug that I can't build. 2009-06-26 17:49:45 +00:00
zxing.appspot.com Fix Contact qrcode generator on appengine. 2009-05-11 18:16:40 +00:00
zxingorg Refactored the MonochromeBitmapSource class hierarchy into LuminanceSource, Binarizer, and BinaryBitmap classes. The unit tests pass and I believe the change is complete, but there are some clients like J2ME and Bug that I can't build. 2009-06-26 17:49:45 +00:00
AUTHORS Added hypest who apparently actually wrote the C# port 2009-05-29 00:05:48 +00:00
build.properties We should be to 1.4 now right? 2009-04-17 21:33:31 +00:00
build.xml Fixed a bad build target, and added two missing packages. 2009-03-10 17:10:19 +00:00
CHANGES Whoops, forgot to mention the C# port, I thought it was present in v1.2. 2009-03-11 19:47:25 +00:00
COPYING Standardize and update all copyright statements to name "ZXing authors" as suggested by open-source team to correctly attribute copyright in a project with contributions from several sources. 2008-06-19 20:56:24 +00:00
README git-svn-id: https://zxing.googlecode.com/svn/trunk@39 59b500cc-1b3d-0410-9834-0bbf25fbcc57 2007-11-15 17:59:01 +00:00

Please refer to the project page for more information:
http://code.google.com/p/zxing/
in particular:
http://code.google.com/p/zxing/wiki/GettingStarted

To get started, you can try building and running the command-line client;
you will need to have Apache's Ant tool installed to run this:

ant -f core/build.xml
ant -f javase/build.xml
java -cp javase/javase.jar:core/core.jar com.google.zxing.client.j2se.CommandLineRunner [URL]