This reverts commit ff292f30d9a4b7a56aea872fe488d342f47202a3. Reason for revert: issues with downstream projects Original change's description: > Remove deprecated barcode scanning functionality > > This code is not used anymore, but it's not possible to land this CL > until issue webrtc:9665 is fixed. > > Bug: webrtc:9642,webrtc:9665 > Change-Id: Idb68e9bdf51b4239788cd6869dcb44dae87d7c56 > Reviewed-on: https://webrtc-review.googlesource.com/c/95951 > Reviewed-by: Paulina Hensman <phensman@webrtc.org> > Reviewed-by: Patrik Höglund <phoglund@webrtc.org> > Commit-Queue: Magnus Jedvert <magjed@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#25289} TBR=phoglund@webrtc.org,mbonadei@webrtc.org,magjed@webrtc.org,phensman@webrtc.org Change-Id: I440025777a17d8580526289d4198da1fc3f7d62e No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:9642, webrtc:9665 Reviewed-on: https://webrtc-review.googlesource.com/c/107348 Reviewed-by: Alessio Bazzica <alessiob@webrtc.org> Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25291}
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
This file explains how to get the dependencies needed for the barcode tools.
|
|
|
|
barcode_encoder.py
|
|
==================
|
|
This script depends on:
|
|
* Zxing (Java version)
|
|
* Ant (must be installed manually)
|
|
* Java
|
|
|
|
To automatically download Zxing for the encoder script, checkout this directory
|
|
as a separate gclient solution, like this:
|
|
gclient config http://webrtc.googlecode.com/svn/trunk/webrtc/rtc_tools/barcode_tools
|
|
gclient sync
|
|
Then the Zxing Java source code will be put in third_party/zxing.
|
|
|
|
In order to run barcode_encoder.py you then need to build:
|
|
* zxing/core/core.jar
|
|
* zxing/javase/javase.jar
|
|
These are compiled using Ant by running build_zxing.py:
|
|
python build_zxing.py
|
|
|
|
For more info about Zxing, see https://code.google.com/p/zxing/
|
|
|
|
|
|
barcode_decoder.py
|
|
==================
|
|
This script depends on:
|
|
* Zxing (C++ version). You need to checkout from Subversion and build the libs
|
|
and zxing SCons targets. SVN URL: http://zxing.googlecode.com/svn/trunk/cpp
|
|
* FFMPEG fmpeg 0.11.1
|
|
|
|
These dependencies must be precompiled separately before running the script.
|
|
Make sure to add FFMPEG to the PATH environment variable and provide the path
|
|
to the zxing executable using the mandatory command line flag to the script.
|