OLD | NEW |
1 This file explains how to get the dependencies needed for the barcode tools. | 1 This file explains how to get the dependencies needed for the barcode tools. |
2 | 2 |
3 barcode_encoder.py | 3 barcode_encoder.py |
4 ================== | 4 ================== |
5 This script depends on: | 5 This script depends on: |
6 * Zxing (Java version) | 6 * Zxing (Java version) |
7 * Ant (must be installed manually) | 7 * Ant (must be installed manually) |
8 * Java | 8 * Java |
9 | 9 |
10 To automatically download Zxing for the encoder script, checkout this directory | 10 To automatically download Zxing for the encoder script, checkout this directory |
11 as a separate gclient solution, like this: | 11 as a separate gclient solution, like this: |
12 gclient config http://webrtc.googlecode.com/svn/trunk/webrtc/tools/barcode_tools | 12 gclient config http://webrtc.googlecode.com/svn/trunk/webrtc/rtc_tools/barcode_t
ools |
13 gclient sync | 13 gclient sync |
14 Then the Zxing Java source code will be put in third_party/zxing. | 14 Then the Zxing Java source code will be put in third_party/zxing. |
15 | 15 |
16 In order to run barcode_encoder.py you then need to build: | 16 In order to run barcode_encoder.py you then need to build: |
17 * zxing/core/core.jar | 17 * zxing/core/core.jar |
18 * zxing/javase/javase.jar | 18 * zxing/javase/javase.jar |
19 These are compiled using Ant by running build_zxing.py: | 19 These are compiled using Ant by running build_zxing.py: |
20 python build_zxing.py | 20 python build_zxing.py |
21 | 21 |
22 For more info about Zxing, see https://code.google.com/p/zxing/ | 22 For more info about Zxing, see https://code.google.com/p/zxing/ |
23 | 23 |
24 | 24 |
25 barcode_decoder.py | 25 barcode_decoder.py |
26 ================== | 26 ================== |
27 This script depends on: | 27 This script depends on: |
28 * Zxing (C++ version). You need to checkout from Subversion and build the libs | 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 | 29 and zxing SCons targets. SVN URL: http://zxing.googlecode.com/svn/trunk/cpp |
30 * FFMPEG fmpeg 0.11.1 | 30 * FFMPEG fmpeg 0.11.1 |
31 | 31 |
32 These dependencies must be precompiled separately before running the script. | 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 | 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. | 34 to the zxing executable using the mandatory command line flag to the script. |
OLD | NEW |