在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → zxing识别二维码的C++版本,提供OpenCV接口

zxing识别二维码的C++版本,提供OpenCV接口

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:13.81M
  • 下载次数:21
  • 浏览次数:641
  • 发布时间:2020-08-22
  • 实例类别:一般编程问题
  • 发 布 人:robot666
  • 文件格式:.rar
  • 所需积分:2
 

实例介绍

【实例简介】
VS2010,整合官网上面zxing的C++版本和OpenCV,可直接使用OpenCV得Mat进行二维码识别,若遇到显示中文乱码,可尝试将字符编码方式在UTF-8和gb2312之间切换。
【实例截图】
【核心代码】
zxing(c)
└── zxing
├── thirdparty
│   ├── lib
│   │   ├── zxinglib.lib
│   │   └── zxinglib_.lib
│   └── zxing
│   ├── bigint
│   │   ├── BigIntegerAlgorithms.cc
│   │   ├── BigIntegerAlgorithms.hh
│   │   ├── BigInteger.cc
│   │   ├── BigInteger.hh
│   │   ├── BigIntegerLibrary.hh
│   │   ├── BigIntegerUtils.cc
│   │   ├── BigIntegerUtils.hh
│   │   ├── BigUnsigned.cc
│   │   ├── BigUnsigned.hh
│   │   ├── BigUnsignedInABase.cc
│   │   ├── BigUnsignedInABase.hh
│   │   ├── ChangeLog
│   │   ├── Makefile
│   │   ├── NumberlikeArray.hh
│   │   └── README
│   ├── win32
│   │   └── zxing
│   │   ├── iconv.h
│   │   ├── stdint.h
│   │   └── win_iconv.c
│   └── zxing
│   ├── aztec
│   │   ├── AztecDetectorResult.cpp
│   │   ├── AztecDetectorResult.h
│   │   ├── AztecReader.cpp
│   │   ├── AztecReader.h
│   │   ├── decoder
│   │   │   ├── Decoder.cpp
│   │   │   └── Decoder.h
│   │   └── detector
│   │   ├── Detector.cpp
│   │   └── Detector.h
│   ├── BarcodeFormat.cpp
│   ├── BarcodeFormat.h
│   ├── Binarizer.cpp
│   ├── Binarizer.h
│   ├── BinaryBitmap.cpp
│   ├── BinaryBitmap.h
│   ├── ChecksumException.cpp
│   ├── ChecksumException.h
│   ├── common
│   │   ├── Array.h
│   │   ├── BitArray.cpp
│   │   ├── BitArray.h
│   │   ├── BitArrayIO.cpp
│   │   ├── BitMatrix.cpp
│   │   ├── BitMatrix.h
│   │   ├── BitSource.cpp
│   │   ├── BitSource.h
│   │   ├── CharacterSetECI.cpp
│   │   ├── CharacterSetECI.h
│   │   ├── Counted.h
│   │   ├── DecoderResult.cpp
│   │   ├── DecoderResult.h
│   │   ├── detector
│   │   │   ├── JavaMath.h
│   │   │   ├── MathUtils.h
│   │   │   ├── MonochromeRectangleDetector.cpp
│   │   │   ├── MonochromeRectangleDetector.h
│   │   │   ├── WhiteRectangleDetector.cpp
│   │   │   └── WhiteRectangleDetector.h
│   │   ├── DetectorResult.cpp
│   │   ├── DetectorResult.h
│   │   ├── GlobalHistogramBinarizer.cpp
│   │   ├── GlobalHistogramBinarizer.h
│   │   ├── GreyscaleLuminanceSource.cpp
│   │   ├── GreyscaleLuminanceSource.h
│   │   ├── GreyscaleRotatedLuminanceSource.cpp
│   │   ├── GreyscaleRotatedLuminanceSource.h
│   │   ├── GridSampler.cpp
│   │   ├── GridSampler.h
│   │   ├── HybridBinarizer.cpp
│   │   ├── HybridBinarizer.h
│   │   ├── IllegalArgumentException.cpp
│   │   ├── IllegalArgumentException.h
│   │   ├── PerspectiveTransform.cpp
│   │   ├── PerspectiveTransform.h
│   │   ├── Point.h
│   │   ├── reedsolomon
│   │   │   ├── GenericGF.cpp
│   │   │   ├── GenericGF.h
│   │   │   ├── GenericGFPoly.cpp
│   │   │   ├── GenericGFPoly.h
│   │   │   ├── ReedSolomonDecoder.cpp
│   │   │   ├── ReedSolomonDecoder.h
│   │   │   ├── ReedSolomonException.cpp
│   │   │   └── ReedSolomonException.h
│   │   ├── Str.cpp
│   │   ├── Str.h
│   │   ├── StringUtils.cpp
│   │   └── StringUtils.h
│   ├── datamatrix
│   │   ├── DataMatrixReader.cpp
│   │   ├── DataMatrixReader.h
│   │   ├── decoder
│   │   │   ├── BitMatrixParser.cpp
│   │   │   ├── BitMatrixParser.h
│   │   │   ├── DataBlock.cpp
│   │   │   ├── DataBlock.h
│   │   │   ├── DecodedBitStreamParser.cpp
│   │   │   ├── DecodedBitStreamParser.h
│   │   │   ├── Decoder.cpp
│   │   │   └── Decoder.h
│   │   ├── detector
│   │   │   ├── CornerPoint.cpp
│   │   │   ├── CornerPoint.h
│   │   │   ├── Detector.cpp
│   │   │   ├── DetectorException.cpp
│   │   │   ├── DetectorException.h
│   │   │   └── Detector.h
│   │   ├── Version.cpp
│   │   └── Version.h
│   ├── DecodeHints.cpp
│   ├── DecodeHints.h
│   ├── Exception.cpp
│   ├── Exception.h
│   ├── FormatException.cpp
│   ├── FormatException.h
│   ├── IllegalStateException.h
│   ├── InvertedLuminanceSource.cpp
│   ├── InvertedLuminanceSource.h
│   ├── LuminanceSource.cpp
│   ├── LuminanceSource.h
│   ├── multi
│   │   ├── ByQuadrantReader.cpp
│   │   ├── ByQuadrantReader.h
│   │   ├── GenericMultipleBarcodeReader.cpp
│   │   ├── GenericMultipleBarcodeReader.h
│   │   ├── MultipleBarcodeReader.cpp
│   │   ├── MultipleBarcodeReader.h
│   │   └── qrcode
│   │   ├── detector
│   │   │   ├── MultiDetector.cpp
│   │   │   ├── MultiDetector.h
│   │   │   ├── MultiFinderPatternFinder.cpp
│   │   │   └── MultiFinderPatternFinder.h
│   │   ├── QRCodeMultiReader.cpp
│   │   └── QRCodeMultiReader.h
│   ├── MultiFormatReader.cpp
│   ├── MultiFormatReader.h
│   ├── NotFoundException.h
│   ├── oned
│   │   ├── CodaBarReader.cpp
│   │   ├── CodaBarReader.h
│   │   ├── Code128Reader.cpp
│   │   ├── Code128Reader.h
│   │   ├── Code39Reader.cpp
│   │   ├── Code39Reader.h
│   │   ├── Code93Reader.cpp
│   │   ├── Code93Reader.h
│   │   ├── EAN13Reader.cpp
│   │   ├── EAN13Reader.h
│   │   ├── EAN8Reader.cpp
│   │   ├── EAN8Reader.h
│   │   ├── ITFReader.cpp
│   │   ├── ITFReader.h
│   │   ├── MultiFormatOneDReader.cpp
│   │   ├── MultiFormatOneDReader.h
│   │   ├── MultiFormatUPCEANReader.cpp
│   │   ├── MultiFormatUPCEANReader.h
│   │   ├── OneDReader.cpp
│   │   ├── OneDReader.h
│   │   ├── OneDResultPoint.cpp
│   │   ├── OneDResultPoint.h
│   │   ├── UPCAReader.cpp
│   │   ├── UPCAReader.h
│   │   ├── UPCEANReader.cpp
│   │   ├── UPCEANReader.h
│   │   ├── UPCEReader.cpp
│   │   └── UPCEReader.h
│   ├── pdf417
│   │   ├── decoder
│   │   │   ├── BitMatrixParser.cpp
│   │   │   ├── BitMatrixParser.h
│   │   │   ├── DecodedBitStreamParser.cpp
│   │   │   ├── DecodedBitStreamParser.h
│   │   │   ├── Decoder.cpp
│   │   │   ├── Decoder.h
│   │   │   └── ec
│   │   │   ├── ErrorCorrection.cpp
│   │   │   ├── ErrorCorrection.h
│   │   │   ├── ModulusGF.cpp
│   │   │   ├── ModulusGF.h
│   │   │   ├── ModulusPoly.cpp
│   │   │   └── ModulusPoly.h
│   │   ├── detector
│   │   │   ├── Detector.cpp
│   │   │   ├── Detector.h
│   │   │   ├── LinesSampler.cpp
│   │   │   └── LinesSampler.h
│   │   ├── PDF417Reader.cpp
│   │   └── PDF417Reader.h
│   ├── qrcode
│   │   ├── decoder
│   │   │   ├── BitMatrixParser.cpp
│   │   │   ├── BitMatrixParser.h
│   │   │   ├── DataBlock.cpp
│   │   │   ├── DataBlock.h
│   │   │   ├── DataMask.cpp
│   │   │   ├── DataMask.h
│   │   │   ├── DecodedBitStreamParser.cpp
│   │   │   ├── DecodedBitStreamParser.h
│   │   │   ├── Decoder.cpp
│   │   │   ├── Decoder.h
│   │   │   ├── Mode.cpp
│   │   │   └── Mode.h
│   │   ├── detector
│   │   │   ├── AlignmentPattern.cpp
│   │   │   ├── AlignmentPatternFinder.cpp
│   │   │   ├── AlignmentPatternFinder.h
│   │   │   ├── AlignmentPattern.h
│   │   │   ├── Detector.cpp
│   │   │   ├── Detector.h
│   │   │   ├── FinderPattern.cpp
│   │   │   ├── FinderPatternFinder.cpp
│   │   │   ├── FinderPatternFinder.h
│   │   │   ├── FinderPattern.h
│   │   │   ├── FinderPatternInfo.cpp
│   │   │   └── FinderPatternInfo.h
│   │   ├── ErrorCorrectionLevel.cpp
│   │   ├── ErrorCorrectionLevel.h
│   │   ├── FormatInformation.cpp
│   │   ├── FormatInformation.h
│   │   ├── QRCodeReader.cpp
│   │   ├── QRCodeReader.h
│   │   ├── Version.cpp
│   │   └── Version.h
│   ├── Reader.cpp
│   ├── ReaderException.h
│   ├── Reader.h
│   ├── Result.cpp
│   ├── Result.h
│   ├── ResultIO.cpp
│   ├── ResultPointCallback.cpp
│   ├── ResultPointCallback.h
│   ├── ResultPoint.cpp
│   ├── ResultPoint.h
│   └── ZXing.h
├── zxing
│   ├── BufferBitmapSource.cpp
│   ├── BufferBitmapSource.h
│   ├── codeformatconvert.cpp
│   ├── codeformatconvert.h
│   ├── Debug
│   │   ├── cl.command.1.tlog
│   │   ├── CL.read.1.tlog
│   │   ├── CL.write.1.tlog
│   │   ├── codeformatconvert.obj
│   │   ├── ImageReaderSource.obj
│   │   ├── jpgd.obj
│   │   ├── link.9308-cvtres.read.1.tlog
│   │   ├── link.9308-cvtres.write.1.tlog
│   │   ├── link.9308.read.1.tlog
│   │   ├── link.9308.write.1.tlog
│   │   ├── link.command.1.tlog
│   │   ├── link-cvtres.read.1.tlog
│   │   ├── link-cvtres.write.1.tlog
│   │   ├── link.read.1.tlog
│   │   ├── link.write.1.tlog
│   │   ├── lodepng.obj
│   │   ├── mt.command.1.tlog
│   │   ├── mt.read.1.tlog
│   │   ├── mt.write.1.tlog
│   │   ├── opencvbitmapsource.obj
│   │   ├── rc.command.1.tlog
│   │   ├── rc.read.1.tlog
│   │   ├── rc.write.1.tlog
│   │   ├── stdafx.obj
│   │   ├── vc100.idb
│   │   ├── vc100.pdb
│   │   ├── zxing.Build.CppClean.log
│   │   ├── zxingdecoder.obj
│   │   ├── zxing.exe.embed.manifest
│   │   ├── zxing.exe.embed.manifest.res
│   │   ├── zxing.exe.intermediate.manifest
│   │   ├── zxing.lastbuildstate
│   │   ├── zxing.log
│   │   ├── zxing_manifest.rc
│   │   ├── zxing.obj
│   │   ├── zxing.pch
│   │   └── zxing.write.1.tlog
│   ├── ImageReaderSource.cpp
│   ├── ImageReaderSource.h
│   ├── jpgd.cpp
│   ├── jpgd.h
│   ├── lodepng.cpp
│   ├── lodepng.h
│   ├── opencvbitmapsource.cpp
│   ├── opencvbitmapsource.h
│   ├── ReadMe.txt
│   ├── stdafx.cpp
│   ├── stdafx.h
│   ├── targetver.h
│   ├── zxing.cpp
│   ├── zxingdecoder.cpp
│   ├── zxingdecoder.h
│   ├── zxing.vcxproj
│   ├── zxing.vcxproj.filters
│   └── zxing.vcxproj.user
├── zxing.sdf
└── zxing.sln

30 directories, 278 files

标签:

实例下载地址

zxing识别二维码的C++版本,提供OpenCV接口

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警