kjellander@webrtc.org | 38ebf98 | 2013-03-08 10:58:21 +0000 | [diff] [blame] | 1 | This file explains how to get the dependencies needed for the barcode tools. |
| 2 | |
| 3 | barcode_encoder.py |
| 4 | ================== |
| 5 | This script depends on: |
| 6 | * Zxing (Java version) |
| 7 | * Ant (must be installed manually) |
| 8 | * Java |
| 9 | |
| 10 | To automatically download Zxing for the encoder script, checkout this directory |
| 11 | as a separate gclient solution, like this: |
kjellander | d2b63cf | 2017-06-30 03:04:59 -0700 | [diff] [blame] | 12 | gclient config http://webrtc.googlecode.com/svn/trunk/webrtc/rtc_tools/barcode_tools |
kjellander@webrtc.org | 38ebf98 | 2013-03-08 10:58:21 +0000 | [diff] [blame] | 13 | gclient sync |
| 14 | Then the Zxing Java source code will be put in third_party/zxing. |
| 15 | |
| 16 | In order to run barcode_encoder.py you then need to build: |
| 17 | * zxing/core/core.jar |
| 18 | * zxing/javase/javase.jar |
| 19 | These are compiled using Ant by running build_zxing.py: |
| 20 | python build_zxing.py |
| 21 | |
| 22 | For more info about Zxing, see https://code.google.com/p/zxing/ |
| 23 | |
| 24 | |
| 25 | barcode_decoder.py |
| 26 | ================== |
| 27 | This script depends on: |
| 28 | * Zxing (C++ version). You need to checkout from Subversion and build the libs |
| 29 | and zxing SCons targets. SVN URL: http://zxing.googlecode.com/svn/trunk/cpp |
| 30 | * FFMPEG fmpeg 0.11.1 |
| 31 | |
| 32 | These dependencies must be precompiled separately before running the script. |
| 33 | Make sure to add FFMPEG to the PATH environment variable and provide the path |
| 34 | to the zxing executable using the mandatory command line flag to the script. |