# ZXing C++ Port
[![Build Status](https://travis-ci.org/glassechidna/zxing-cpp.svg?branch=master)](https://travis-ci.org/glassechidna/zxing-cpp)
[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`
# OpenCV integration
When build on a system where opencv is installed the open cv bridge classes and executable will be built too.
# 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
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
vs2010 + opencv + zxing-cpp.7z (358个子文件)
AUTHORS 2KB
clearVSlog.bat 436B
feature_tests.bin 29KB
CMakeDetermineCompilerABI_CXX.bin 27KB
CMakeDetermineCompilerABI_C.bin 27KB
win_iconv.c 59KB
CMakeCCompilerId.c 25KB
BigUnsigned.cc 22KB
BigInteger.cc 11KB
BigUnsignedInABase.cc 4KB
BigIntegerAlgorithms.cc 2KB
BigIntegerUtils.cc 1KB
ChangeLog 9KB
cmake.check_cache 86B
source_files.cmake 10KB
cmake_install.cmake 6KB
zxing-targets.cmake 3KB
CMakeCXXCompiler.cmake 3KB
CMakeCCompiler.cmake 2KB
FindIconv.cmake 2KB
FindCPPUNIT.cmake 2KB
zxing-targets-relwithdebinfo.cmake 1KB
zxing-targets-minsizerel.cmake 1KB
zxing-targets-release.cmake 1KB
zxing-targets-debug.cmake 1KB
CMakeSystem.cmake 395B
CMakeRCCompiler.cmake 212B
zxing-config.cmake 56B
COPYING 11KB
lodepng.cpp 212KB
jpgd.cpp 85KB
BitMatrixParser.cpp 51KB
Version.cpp 29KB
Detector.cpp 25KB
CMakeCXXCompilerId.cpp 25KB
LinesSampler.cpp 24KB
DecodedBitStreamParser.cpp 20KB
Detector.cpp 18KB
FinderPatternFinder.cpp 18KB
Detector.cpp 15KB
Code128Reader.cpp 15KB
DecodedBitStreamParser.cpp 14KB
Decoder.cpp 14KB
DecodedBitStreamParser.cpp 13KB
Detector.cpp 12KB
BitMatrixParser.cpp 12KB
CodaBarReader.cpp 11KB
ITFReader.cpp 11KB
Code39Reader.cpp 10KB
UPCEANReader.cpp 10KB
MultiFinderPatternFinder.cpp 9KB
WhiteRectangleDetector.cpp 9KB
Code93Reader.cpp 9KB
main.cpp 9KB
ModulusPoly.cpp 9KB
OneDReader.cpp 7KB
HybridBinarizer.cpp 7KB
Version.cpp 7KB
ErrorCorrection.cpp 7KB
GenericGFPoly.cpp 7KB
main.cpp 7KB
AlignmentPatternFinder.cpp 7KB
GlobalHistogramBinarizer.cpp 7KB
MonochromeRectangleDetector.cpp 6KB
StringUtils.cpp 6KB
ReedSolomonDecoder.cpp 6KB
BitMatrixParser.cpp 6KB
PDF417Reader.cpp 5KB
BitArrayTest.cpp 5KB
PerspectiveTransform.cpp 5KB
DecodeHints.cpp 5KB
GenericMultipleBarcodeReader.cpp 5KB
FormatInformation.cpp 5KB
Decoder.cpp 4KB
UPCEReader.cpp 4KB
MultiFormatReader.cpp 4KB
GridSampler.cpp 4KB
BitArray.cpp 4KB
ReedSolomonTest.cpp 4KB
DataBlock.cpp 4KB
MultiFormatUPCEANReader.cpp 4KB
DataBlock.cpp 4KB
GenericGF.cpp 4KB
ResultPoint.cpp 4KB
CharacterSetECI.cpp 4KB
DataMask.cpp 4KB
ImageReaderSource.cpp 4KB
BitMatrix.cpp 3KB
Decoder.cpp 3KB
MultiFormatOneDReader.cpp 3KB
Decoder.cpp 3KB
FormatInformationTest.cpp 3KB
GreyscaleLuminanceSource.cpp 3KB
VersionTest.cpp 3KB
ModulusGF.cpp 3KB
DataMaskTest.cpp 3KB
GreyscaleRotatedLuminanceSource.cpp 3KB
Mode.cpp 3KB
LuminanceSource.cpp 3KB
EAN13Reader.cpp 3KB
共 358 条
- 1
- 2
- 3
- 4
资源评论
Ya土豆儿~
- 粉丝: 6695
- 资源: 18
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功