rhubarb-lip-sync/rhubarb/lib/webrtc-8d2248ff/webrtc/tools/barcode_tools
Daniel Wolf e5c39efeeb Moved main executable into its own directory along with its build logic
This will make it easier to add other artifacts that require build steps.
2018-01-24 18:38:09 +01:00
..
DEPS Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
README Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
barcode_decoder.py Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
barcode_encoder.py Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
build_zxing.py Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
helper_functions.py Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00
yuv_cropper.py Moved main executable into its own directory along with its build logic 2018-01-24 18:38:09 +01:00

README

This file explains how to get the dependencies needed for the barcode tools.

barcode_encoder.py
==================
This script depends on:
* Zxing (Java version)
* Ant (must be installed manually)
* Java

To automatically download Zxing for the encoder script, checkout this directory
as a separate gclient solution, like this:
gclient config http://webrtc.googlecode.com/svn/trunk/webrtc/tools/barcode_tools
gclient sync
Then the Zxing Java source code will be put in third_party/zxing.

In order to run barcode_encoder.py you then need to build:
* zxing/core/core.jar
* zxing/javase/javase.jar
These are compiled using Ant by running build_zxing.py:
python build_zxing.py

For more info about Zxing, see https://code.google.com/p/zxing/


barcode_decoder.py
==================
This script depends on:
* Zxing (C++ version). You need to checkout from Subversion and build the libs
  and zxing SCons targets. SVN URL: http://zxing.googlecode.com/svn/trunk/cpp
* FFMPEG fmpeg 0.11.1

These dependencies must be precompiled separately before running the script.
Make sure to add FFMPEG to the PATH environment variable and provide the path
to the zxing executable using the mandatory command line flag to the script.