Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
DEPS | D | 22-Nov-2023 | 493 | 14 | 11 | |
README | D | 22-Nov-2023 | 1.2 KiB | 35 | 27 | |
barcode_decoder.py | D | 22-Nov-2023 | 10.5 KiB | 292 | 224 | |
barcode_encoder.py | D | 22-Nov-2023 | 15.2 KiB | 373 | 293 | |
build_zxing.py | D | 22-Nov-2023 | 1.5 KiB | 45 | 29 | |
helper_functions.py | D | 22-Nov-2023 | 3.6 KiB | 106 | 77 | |
yuv_cropper.py | D | 22-Nov-2023 | 4.5 KiB | 126 | 89 |
README
1This file explains how to get the dependencies needed for the barcode tools. 2 3barcode_encoder.py 4================== 5This script depends on: 6* Zxing (Java version) 7* Ant (must be installed manually) 8* Java 9 10To automatically download Zxing for the encoder script, checkout this directory 11as a separate gclient solution, like this: 12gclient config http://webrtc.googlecode.com/svn/trunk/webrtc/tools/barcode_tools 13gclient sync 14Then the Zxing Java source code will be put in third_party/zxing. 15 16In order to run barcode_encoder.py you then need to build: 17* zxing/core/core.jar 18* zxing/javase/javase.jar 19These are compiled using Ant by running build_zxing.py: 20python build_zxing.py 21 22For more info about Zxing, see https://code.google.com/p/zxing/ 23 24 25barcode_decoder.py 26================== 27This 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 32These dependencies must be precompiled separately before running the script. 33Make sure to add FFMPEG to the PATH environment variable and provide the path 34to the zxing executable using the mandatory command line flag to the script. 35