• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

DEPSD22-Nov-2023493 1411

READMED22-Nov-20231.2 KiB3527

barcode_decoder.pyD22-Nov-202310.5 KiB292224

barcode_encoder.pyD22-Nov-202315.2 KiB373293

build_zxing.pyD22-Nov-20231.5 KiB4529

helper_functions.pyD22-Nov-20233.6 KiB10677

yuv_cropper.pyD22-Nov-20234.5 KiB12689

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