Home | History | Annotate | only in /external/webrtc/webrtc/tools/barcode_tools
Up to higher level directory
NameDateSize
barcode_decoder.py21-Aug-201810.5K
barcode_encoder.py21-Aug-201815.2K
build_zxing.py21-Aug-20181.5K
DEPS21-Aug-2018493
helper_functions.py21-Aug-20183.6K
README21-Aug-20181.2K
yuv_cropper.py21-Aug-20184.5K

README

      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:
     12 gclient config http://webrtc.googlecode.com/svn/trunk/webrtc/tools/barcode_tools
     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.
     35