# ZXing C++ Port
[ZXing](https://github.com/zxing/zxing) is/was a Java library.
At some point a complete C++ port/rewrite was created and maintained in the official [ZXing](https://github.com/zxing/zxing) repo. However, at the time of writing the C++ port is no longer maintained and has been removed from the official ZXing repo.
This project was forked from the [last ZXing commit](https://github.com/zxing/zxing/commit/00f6340) to contain the C++ project, with the following exceptions
* scons (Python) build system has been deleted.
* Deleted black box tests, because they refer to a large test data in ZXing repo.
* Added appropriate copyright/licensing details (based on those in the ZXing repo).
* Updated README.md
Removal of build systems was done to minimise maintenance burden.
If tests and XCode projects (other than those produced automatically be CMake) are desired, then another repo should be created and this repo referenced as a submodule.
# Building using CMake
CMake is a tool, that generates native makefiles and workspaces. It integrates well with a number of IDEs including Qt Creator and Visual Studio.
Usage with CLion or Qt Creator:
1. Simply open `CMakeLists.txt` as a new project
2. Additional command line arguments can be specified (see below)
Usage with Makefiles, Visual Studio, etc. (see `cmake --help` for a complete list of generators):
1. `mkdir build`
2. `cd` to `build`
3. Unix: run `cmake -G "Unix Makefiles" ..`
3. Windows: run `cmake -G "Visual Studio 10" ..`
You can switch between build modes by specifying:
- `-DCMAKE_BUILD_TYPE=Debug` or
- `-DCMAKE_BUILD_TYPE=Release`
# Development tips
To profile the code (very useful to optimize the code):
1. Install Valgrind
2. Run `valgrind --tool=callgrind build/zxing - path/to/test/data/*.jpg > report.html`
3. Analyze output using KCachegrind
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
ZXing VS2013工程 (589个子文件)
AUTHORS 2KB
feature_tests.bin 32KB
CMakeDetermineCompilerABI_C.bin 30KB
CMakeDetermineCompilerABI_CXX.bin 30KB
win_iconv.c 61KB
CMakeCCompilerId.c 15KB
zxing.vcxprojResolveAssemblyReference.cache 648B
BigUnsigned.cc 22KB
BigInteger.cc 12KB
BigUnsignedInABase.cc 4KB
BigIntegerAlgorithms.cc 2KB
BigIntegerUtils.cc 2KB
ChangeLog 9KB
cmake.check_cache 86B
CMakeCXXCompiler.cmake 2KB
FindCPPUNIT.cmake 2KB
CMakeCCompiler.cmake 2KB
FindIconv.cmake 1KB
cmake_install.cmake 1KB
CMakeSystem.cmake 367B
CMakeRCCompiler.cmake 264B
config 335B
COPYING 11KB
lodepng.cpp 218KB
jpgd.cpp 89KB
BitMatrixParser.cpp 52KB
Version.cpp 29KB
Detector.cpp 26KB
LinesSampler.cpp 25KB
DecodedBitStreamParser.cpp 20KB
Detector.cpp 19KB
FinderPatternFinder.cpp 19KB
Detector.cpp 16KB
CMakeCXXCompilerId.cpp 16KB
Code128Reader.cpp 14KB
DecodedBitStreamParser.cpp 14KB
Decoder.cpp 14KB
DecodedBitStreamParser.cpp 14KB
Detector.cpp 12KB
BitMatrixParser.cpp 12KB
CodaBarReader.cpp 11KB
ITFReader.cpp 11KB
Code39Reader.cpp 10KB
UPCEANReader.cpp 10KB
MultiFinderPatternFinder.cpp 10KB
WhiteRectangleDetector.cpp 9KB
Code93Reader.cpp 9KB
main.cpp 9KB
ModulusPoly.cpp 9KB
OneDReader.cpp 8KB
HybridBinarizer.cpp 8KB
Version.cpp 7KB
ErrorCorrection.cpp 7KB
GenericGFPoly.cpp 7KB
AlignmentPatternFinder.cpp 7KB
GlobalHistogramBinarizer.cpp 7KB
MonochromeRectangleDetector.cpp 6KB
StringUtils.cpp 6KB
ReedSolomonDecoder.cpp 6KB
BitMatrixParser.cpp 6KB
BitArrayTest.cpp 5KB
PDF417Reader.cpp 5KB
PerspectiveTransform.cpp 5KB
DecodeHints.cpp 5KB
GenericMultipleBarcodeReader.cpp 5KB
FormatInformation.cpp 5KB
Decoder.cpp 5KB
MultiFormatReader.cpp 4KB
UPCEReader.cpp 4KB
GridSampler.cpp 4KB
BitArray.cpp 4KB
ReedSolomonTest.cpp 4KB
DataBlock.cpp 4KB
MultiFormatUPCEANReader.cpp 4KB
DataBlock.cpp 4KB
GenericGF.cpp 4KB
DataMask.cpp 4KB
ResultPoint.cpp 4KB
CharacterSetECI.cpp 4KB
ImageReaderSource.cpp 4KB
BitMatrix.cpp 4KB
Decoder.cpp 3KB
MultiFormatOneDReader.cpp 3KB
Decoder.cpp 3KB
FormatInformationTest.cpp 3KB
VersionTest.cpp 3KB
ModulusGF.cpp 3KB
DataMaskTest.cpp 3KB
GreyscaleLuminanceSource.cpp 3KB
GreyscaleRotatedLuminanceSource.cpp 3KB
Mode.cpp 3KB
LuminanceSource.cpp 3KB
BitMatrixTest.cpp 3KB
EAN13Reader.cpp 3KB
FinderPattern.cpp 3KB
PerspectiveTransformTest.cpp 2KB
InvertedLuminanceSource.cpp 2KB
ByQuadrantReader.cpp 2KB
UPCAReader.cpp 2KB
BitSource.cpp 2KB
共 589 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
- zwl6136136132016-09-08下载后打开工程,却没有一个源码,可能我不会用吧,希望会用的可以指教一下
- 延陵小明2016-05-21确实可以用
- 李启昂dl2017-09-25执行报错 不会用
bennychena
- 粉丝: 2
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功