webrtc/tools/barcode_tools
kjellander@webrtc.org ccb52c2961 Improve error handling for barcode_tools
These changes make the execution abort earlier on an error (like a tool is not found) and makes it easier to figure out what's wrong.

Made build_zxing.py executable.

BUG=None
TEST=Local runs of the PyAuto test src/chrome/test/functional/webrtc_video_quality.py in Chromium.

Review URL: https://webrtc-codereview.appspot.com/840005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2899 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-10 16:11:28 +00:00
..
barcode_decoder.py Improve error handling for barcode_tools 2012-10-10 16:11:28 +00:00
barcode_encoder.py Improve error handling for barcode_tools 2012-10-10 16:11:28 +00:00
build_zxing.py Improve error handling for barcode_tools 2012-10-10 16:11:28 +00:00
DEPS Removed barcode_tools.gyp and added build_zxing.py 2012-08-15 14:35:40 +00:00
helper_functions.py Improve error handling for barcode_tools 2012-10-10 16:11:28 +00:00
README Removed barcode_tools.gyp and added build_zxing.py 2012-08-15 14:35:40 +00:00
yuv_cropper.py A tool that crops the top pixel rows of a YUV video. 2012-08-31 09:47:47 +00:00

This file explains how to set up the Zebra Crossing (Zxing) library in order to
use it in the barcode encoder and decoder tools. Zxing could be found at:
https://code.google.com/p/zxing/

After checkout, the relevant files from Zxing should be in third_party/zxing,
relative to this README.

In order to run barcode_encoder.py and barcode_decoder.py we need to have build
two jar files: zxing/core/core.jar and zxing/javase/javase.jar. In order to
build these we have to have Ant already installed. Building is as simple as
running the build_zxing.py script:
./build_zxing.py,
which should automatically call ant with the respective build files from the
Zxing checkout.

For more information on how to run barcode_encoder.py and barcode_decoder.py
check the documentation in the main functions inside these tools.