zxing-cpp 3.1.0__tar.gz → 3.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/PKG-INFO +1 -1
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/CMakeLists.txt +1 -1
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/BarcodeFormat.h +2 -2
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ConcentricFinder.cpp +92 -50
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ConcentricFinder.h +21 -15
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/MultiFormatWriter.cpp +2 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/Pattern.h +1 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ReedSolomon.h +1 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/TextDecoder.cpp +5 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/TextEncoder.cpp +4 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/aztec/AZDetector.cpp +1 -1
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODTelepenReader.cpp +2 -2
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/MicroPDFReader.cpp +5 -2
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFCodewordDecoder.cpp +55 -41
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRDetector.cpp +26 -20
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRReader.cpp +0 -4
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/pyproject.toml +1 -1
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zxing.cpp +5 -5
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/.gitignore +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/CMakeLists.txt +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/LICENSE +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/README.md +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/Version.h.in +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/ZXingConfig.cmake.in +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/Barcode.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/Barcode.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/BarcodeData.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/BarcodeFormat.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/BinaryBitmap.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/BinaryBitmap.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/BitArray.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/BitArray.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/BitMatrix.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/BitMatrix.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/BitMatrixCursor.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/BitMatrixIO.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/BitMatrixIO.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/BitSource.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/BitSource.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ByteArray.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/CharacterSet.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/CharacterSet.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/Content.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/Content.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ContentType.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/CreateBarcode.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/CreateBarcode.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/DecoderResult.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/DetectorResult.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ECI.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ECI.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/Error.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/Error.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/Flags.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/GTIN.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/GTIN.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/GlobalHistogramBinarizer.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/GlobalHistogramBinarizer.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/GridSampler.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/GridSampler.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/HRI.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/HRI.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/HybridBinarizer.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/HybridBinarizer.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ImageView.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/JSON.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/JSON.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/LocalGrid.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/LocalGrid.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/LogMatrix.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/Matrix.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/MultiFormatReader.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/MultiFormatReader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/MultiFormatWriter.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/PerspectiveTransform.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/PerspectiveTransform.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/Point.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/Quadrilateral.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/Range.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ReadBarcode.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ReadBarcode.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/Reader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ReaderOptions.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ReedSolomon.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/RegressionLine.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ResultPoint.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ResultPoint.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/StdGenerator.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/StdPrint.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/StdScope.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/StructuredAppend.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/SymbologyIdentifier.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/TextDecoder.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/TextEncoder.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ThresholdBinarizer.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/TritMatrix.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/Utf.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/Utf.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/WhiteRectDetector.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/WhiteRectDetector.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/WriteBarcode.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/WriteBarcode.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ZXAlgorithms.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ZXConfig.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ZXTestSupport.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ZXVersion.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ZXingC.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ZXingC.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ZXingCpp.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ZXingCpp.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/ZXingQt.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/aztec/AZDecoder.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/aztec/AZDecoder.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/aztec/AZDetector.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/aztec/AZDetectorResult.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/aztec/AZEncoder.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/aztec/AZEncoder.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/aztec/AZEncodingState.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/aztec/AZHighLevelEncoder.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/aztec/AZHighLevelEncoder.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/aztec/AZReader.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/aztec/AZReader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/aztec/AZToken.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/aztec/AZToken.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/aztec/AZWriter.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/aztec/AZWriter.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMBitLayout.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMBitLayout.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMDataBlock.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMDataBlock.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMDecoder.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMDecoder.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMDetector.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMDetector.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMECEncoder.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMECEncoder.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMEncoderContext.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMHighLevelEncoder.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMHighLevelEncoder.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMReader.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMReader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMSymbolInfo.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMSymbolInfo.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMSymbolShape.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMVersion.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMVersion.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMWriter.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/datamatrix/DMWriter.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/librscpp/README.md +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/librscpp/decode.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/librscpp/encode.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/librscpp/field.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/librscpp/poly.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/2of5inter.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/2of5inter_based.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/aztec.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/aztec.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/big5.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/codabar.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/code.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/code128.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/code128.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/common.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/common.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/dmatrix.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/dmatrix.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/dxfilmedge.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/eci.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/eci.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/eci_sb.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/filemem.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/filemem.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/fonts/normal_woff2.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/fonts/upcean_woff2.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/gb18030.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/gb2312.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/gbk.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/general_field.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/general_field.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/gs1.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/gs1.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/gs1_lint.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/iso3166.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/iso4217.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/ksx1001.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/large.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/large.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/library.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/maxicode.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/maxicode.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/medical.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/output.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/output.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/pdf417.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/pdf417.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/pdf417_tabs.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/qr.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/qr.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/raster.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/raster_font.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/reedsol.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/reedsol.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/reedsol_logs.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/rss.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/rss.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/sjis.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/stubs.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/svg.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/telepen.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/upcean.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/vector.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/zfiletypes.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/zint.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzint/zintconfig.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzueci/README.md +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzueci/zueci.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzueci/zueci.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzueci/zueci_big5.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzueci/zueci_common.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzueci/zueci_gb18030.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzueci/zueci_gb2312.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzueci/zueci_gbk.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzueci/zueci_ksx1001.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzueci/zueci_sb.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/libzueci/zueci_sjis.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/maxicode/MCBitMatrixParser.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/maxicode/MCBitMatrixParser.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/maxicode/MCDecoder.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/maxicode/MCDecoder.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/maxicode/MCReader.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/maxicode/MCReader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODCodabarReader.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODCodabarReader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODCodabarWriter.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODCodabarWriter.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODCode128Patterns.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODCode128Reader.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODCode128Reader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODCode128Writer.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODCode128Writer.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODCode39Reader.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODCode39Reader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODCode39Writer.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODCode39Writer.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODCode93Patterns.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODCode93Reader.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODCode93Reader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODCode93Writer.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODCode93Writer.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODDXFilmEdgeReader.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODDXFilmEdgeReader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODDataBarCommon.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODDataBarCommon.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODDataBarExpandedBitDecoder.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODDataBarExpandedBitDecoder.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODDataBarExpandedReader.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODDataBarExpandedReader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODDataBarLimitedReader.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODDataBarLimitedReader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODDataBarReader.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODDataBarReader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODEAN13Writer.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODEAN13Writer.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODEAN8Writer.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODEAN8Writer.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODITFReader.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODITFReader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODITFWriter.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODITFWriter.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODMultiUPCEANReader.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODMultiUPCEANReader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODReader.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODReader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODRowReader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODTelepenReader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODUPCAWriter.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODUPCAWriter.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODUPCEANCommon.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODUPCEANCommon.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODUPCEWriter.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODUPCEWriter.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODWriterHelper.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/oned/ODWriterHelper.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/MicroPDFReader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDF417.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDF417.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFBarcodeMetadata.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFBarcodeValue.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFBarcodeValue.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFBoundingBox.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFBoundingBox.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFCodeword.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFCodewordDecoder.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFCompaction.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFCustomData.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFDecoder.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFDecoder.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFDetectionResult.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFDetectionResult.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFDetectionResultColumn.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFDetectionResultColumn.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFDetector.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFDetector.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFEncoder.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFEncoder.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFHighLevelEncoder.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFHighLevelEncoder.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFReader.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFReader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFScanningDecoder.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFScanningDecoder.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFWriter.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/PDFWriter.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/ZXBigInteger.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/ZXBigInteger.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/pdf417/ZXNullable.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRBitMatrixParser.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRBitMatrixParser.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRCodecMode.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRCodecMode.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRDataBlock.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRDataBlock.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRDataMask.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRDecoder.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRDecoder.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRDetector.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRECB.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QREncodeResult.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QREncoder.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QREncoder.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRErrorCorrectionLevel.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRErrorCorrectionLevel.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRFormatInformation.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRFormatInformation.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRMaskUtil.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRMaskUtil.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRMatrixUtil.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRMatrixUtil.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRReader.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRVersion.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRVersion.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRWriter.cpp +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/src/qrcode/QRWriter.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/version.rc.in +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/core/zxing.pc.in +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/demo_reader.py +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/demo_writer.py +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/init.py +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/test.py +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/2of5.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/2of5inter.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/2of5inter_based.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/CMakeLists.txt +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/DEVELOPER +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/Makefile.mingw +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/auspost.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/aztec.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/aztec.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/bc412.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/big5.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/bmp.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/bmp.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/channel.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/channel_precalcs.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/codabar.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/codablock.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/code.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/code1.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/code1.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/code11.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/code128.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/code128.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/code128_based.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/code16k.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/code49.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/code49.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/common.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/common.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/composite.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/composite.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/dllversion.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/dmatrix.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/dmatrix.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/dmatrix_trace.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/dotcode.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/dxfilmedge.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/eci.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/eci.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/eci_sb.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/emf.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/emf.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/filemem.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/filemem.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/fonts/OCRB-16.bdf +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/fonts/OCRB-18.bdf +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/fonts/normal_ttf.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/fonts/normal_woff2.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/fonts/upcean_ttf.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/fonts/upcean_woff2.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/gb18030.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/gb2312.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/gbk.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/general_field.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/general_field.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/gif.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/gridmtx.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/gridmtx.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/gs1.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/gs1.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/gs1_lint.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/hanxin.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/hanxin.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/imail.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/iso3166.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/iso4217.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/ksx1001.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/large.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/large.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/library.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/libzint.rc +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/mailmark.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/maxicode.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/maxicode.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/medical.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/output.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/output.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/pcx.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/pcx.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/pdf417.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/pdf417.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/pdf417_tabs.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/pdf417_trace.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/plessey.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/png.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/postal.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/ps.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/qr.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/qr.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/raster.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/raster_font.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/reedsol.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/reedsol.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/reedsol_logs.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/rss.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/rss.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/sjis.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/svg.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/telepen.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/tif.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/tif.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/tif_lzw.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/ultra.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/upcean.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/vector.c +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/zfiletypes.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/zint.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zint/backend/zintconfig.h +0 -0
- {zxing_cpp-3.1.0 → zxing_cpp-3.1.1}/zxing.cmake +0 -0
|
@@ -60,12 +60,12 @@
|
|
|
60
60
|
X(PDF417, 'L', ' ', "mrw ", 55, ZXING_ENABLE_PDF417, "PDF417") \
|
|
61
61
|
X(CompactPDF417, 'L', 'c', "mr ", 56, ZXING_ENABLE_PDF417, "Compact PDF417") \
|
|
62
62
|
X(MicroPDF417, 'L', 'm', "mr ", 84, ZXING_ENABLE_PDF417, "MicroPDF417") \
|
|
63
|
-
X(Aztec, 'z', ' ', "
|
|
63
|
+
X(Aztec, 'z', ' ', "mrwG ", 92, ZXING_ENABLE_AZTEC, "Aztec") \
|
|
64
64
|
X(AztecCode, 'z', 'c', "mrwG ", 92, ZXING_ENABLE_AZTEC, "Aztec Code") \
|
|
65
65
|
X(AztecRune, 'z', 'r', "mr ", 128, ZXING_ENABLE_AZTEC, "Aztec Rune") \
|
|
66
66
|
X(QRCode, 'Q', ' ', "mrwG ", 58, ZXING_ENABLE_QRCODE, "QR Code") \
|
|
67
67
|
X(QRCodeModel1, 'Q', '1', "mr ", 0, ZXING_ENABLE_QRCODE, "QR Code Model 1") \
|
|
68
|
-
X(QRCodeModel2, 'Q', '2', "
|
|
68
|
+
X(QRCodeModel2, 'Q', '2', "mrw ", 58, ZXING_ENABLE_QRCODE, "QR Code Model 2") \
|
|
69
69
|
X(MicroQRCode, 'Q', 'm', "mr ", 97, ZXING_ENABLE_QRCODE, "Micro QR Code") \
|
|
70
70
|
X(RMQRCode, 'Q', 'r', "mr G ", 145, ZXING_ENABLE_QRCODE, "rMQR Code") \
|
|
71
71
|
X(DataMatrix, 'd', ' ', "mrwG ", 71, ZXING_ENABLE_DATAMATRIX, "Data Matrix") \
|
|
@@ -11,72 +11,89 @@
|
|
|
11
11
|
|
|
12
12
|
namespace ZXing {
|
|
13
13
|
|
|
14
|
-
std::optional<
|
|
14
|
+
static std::optional<ConcentricPattern> AverageEdgePixels(BitMatrixCursorI cur, int range, int numOfEdges)
|
|
15
15
|
{
|
|
16
16
|
PointF sum = {};
|
|
17
|
+
PointF::value_t totalSteps = 0;
|
|
17
18
|
for (int i = 0; i < numOfEdges; ++i) {
|
|
18
|
-
|
|
19
|
+
int steps = cur.stepToEdge(1, range - totalSteps);
|
|
20
|
+
if (!steps)
|
|
19
21
|
return {};
|
|
20
|
-
|
|
22
|
+
totalSteps += steps;
|
|
21
23
|
sum += centered(cur.p) + centered(cur.p + cur.back());
|
|
22
24
|
log(cur.p + cur.back(), 2);
|
|
23
25
|
}
|
|
24
|
-
return sum / (2 * numOfEdges);
|
|
26
|
+
return ConcentricPattern{sum / (2 * numOfEdges), totalSteps};
|
|
25
27
|
}
|
|
26
28
|
|
|
27
|
-
std::optional<
|
|
29
|
+
static std::optional<ConcentricPattern> CenterOfDoubleCross(const BitMatrix& image, PointI center, int width, int numOfEdges)
|
|
28
30
|
{
|
|
29
|
-
PointF
|
|
31
|
+
PointF sumP = {};
|
|
32
|
+
PointF::value_t sumS = 0;
|
|
30
33
|
for (auto d : {PointI{0, 1}, {1, 0}, {1, 1}, {1, -1}}) {
|
|
31
|
-
auto avr1 = AverageEdgePixels({image, center, d},
|
|
32
|
-
auto avr2 = AverageEdgePixels({image, center, -d},
|
|
34
|
+
auto avr1 = AverageEdgePixels({image, center, d}, width * 3 / 5, numOfEdges);
|
|
35
|
+
auto avr2 = AverageEdgePixels({image, center, -d}, width * 3 / 5, numOfEdges);
|
|
33
36
|
if (!avr1 || !avr2)
|
|
34
37
|
return {};
|
|
35
|
-
|
|
38
|
+
auto [m, M] = std::minmax(avr1->size, avr2->size);
|
|
39
|
+
if (M > 1.2 * m + 1) // only accept if the two legs are very similar in size
|
|
40
|
+
return {};
|
|
41
|
+
sumP += *avr1 + *avr2;
|
|
42
|
+
sumS += avr1->size + avr2->size;
|
|
36
43
|
}
|
|
37
|
-
return
|
|
44
|
+
return ConcentricPattern{sumP / 8, 2 * sumS / 8};
|
|
38
45
|
}
|
|
39
46
|
|
|
40
|
-
std::
|
|
47
|
+
static std::vector<PointF> CollectRingPoints(const BitMatrix& image, PointF center, int width, int edgeIndex, bool backup);
|
|
48
|
+
|
|
49
|
+
std::optional<ConcentricPattern> CenterOfRing(const BitMatrix& image, PointI center, int width, int nth, bool requireCircle)
|
|
41
50
|
{
|
|
51
|
+
auto meanRToSquareWidth = [](double r) { return 1.74 * r; }; // a square with mean radius r has a width of approx. 1.74*r
|
|
52
|
+
|
|
42
53
|
#if 0
|
|
43
54
|
if (requireCircle) {
|
|
44
55
|
// alternative implementation with the aim of discarding closed loops that are not all circle like (M > 5*m)
|
|
45
|
-
auto points = CollectRingPoints(image, center,
|
|
56
|
+
auto points = CollectRingPoints(image, PointF(center), width, std::abs(nth), nth < 0);
|
|
46
57
|
if (points.empty())
|
|
47
58
|
return {};
|
|
48
59
|
auto res = Reduce(points, PointF{}, std::plus{}) / Size(points);
|
|
49
60
|
|
|
50
|
-
double m =
|
|
51
|
-
for (auto p : points)
|
|
52
|
-
|
|
61
|
+
double m = width, M = 0, sumR = 0;
|
|
62
|
+
for (auto p : points) {
|
|
63
|
+
auto r = distance(p, res);
|
|
64
|
+
UpdateMinMax(m, M, r);
|
|
65
|
+
sumR += r;
|
|
66
|
+
}
|
|
53
67
|
|
|
54
68
|
if (M > 5 * m)
|
|
55
69
|
return {};
|
|
56
70
|
|
|
57
|
-
return res;
|
|
71
|
+
return ConcentricPattern{res, meanRToSquareWidth(sumR / Size(points))};
|
|
58
72
|
}
|
|
59
73
|
#endif
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
int radius = range;
|
|
74
|
+
const int maxN = 4 * (width + 1) * 3 / 2; // upper limit for circumference of the ring
|
|
75
|
+
const int maxR = requireCircle ? width + 1 : 2 * width;
|
|
63
76
|
bool inner = nth < 0;
|
|
64
77
|
nth = std::abs(nth);
|
|
65
78
|
log(center, 3);
|
|
66
79
|
BitMatrixCursorI cur(image, center, {1, 0});
|
|
67
|
-
if (!cur.stepToEdge(nth,
|
|
80
|
+
if (!cur.stepToEdge(nth, maxR, inner))
|
|
68
81
|
return {};
|
|
69
82
|
cur.turnRight(); // move clock wise and keep edge on the right/left depending on backup
|
|
70
83
|
const auto edgeDir = inner ? Direction::LEFT : Direction::RIGHT;
|
|
71
84
|
|
|
72
85
|
uint32_t neighbourMask = 0;
|
|
73
86
|
auto start = cur.p;
|
|
74
|
-
PointF
|
|
75
|
-
|
|
87
|
+
PointF sumP = {};
|
|
88
|
+
double sumR = 0;
|
|
89
|
+
int nP = 0;
|
|
90
|
+
#ifdef PRINT_DEBUG
|
|
91
|
+
double sumR2 = 0, mR = maxR, MR = 0;
|
|
92
|
+
#endif
|
|
76
93
|
do {
|
|
77
94
|
log(cur.p, 4);
|
|
78
|
-
|
|
79
|
-
++
|
|
95
|
+
sumP += centered(cur.p);
|
|
96
|
+
++nP;
|
|
80
97
|
|
|
81
98
|
// find out if we come full circle around the center. 8 bits have to be set in the end.
|
|
82
99
|
neighbourMask |= (1 << (4 + dot(bresenhamDirection(cur.p - center), PointI(1, 3))));
|
|
@@ -84,20 +101,40 @@ std::optional<PointF> CenterOfRing(const BitMatrix& image, PointI center, int ra
|
|
|
84
101
|
if (!cur.stepAlongEdge(edgeDir))
|
|
85
102
|
return {};
|
|
86
103
|
|
|
87
|
-
|
|
88
|
-
|
|
104
|
+
double r = distance(cur.p, center) + (inner ? 0.5 : -0.5); // add/subtract 0.5 to go from pixel center to pixel edge
|
|
105
|
+
sumR += r;
|
|
106
|
+
#ifdef PRINT_DEBUG
|
|
107
|
+
sumR2 += r * r;
|
|
108
|
+
UpdateMinMax(mR, MR, r);
|
|
109
|
+
#endif
|
|
110
|
+
if (r > maxR || center == cur.p || nP > maxN)
|
|
89
111
|
return {};
|
|
90
112
|
} while (cur.p != start);
|
|
91
113
|
|
|
92
114
|
if (requireCircle && neighbourMask != 0b111101111)
|
|
93
115
|
return {};
|
|
94
116
|
|
|
95
|
-
|
|
117
|
+
auto meanP = sumP / nP;
|
|
118
|
+
auto meanR = sumR / nP;
|
|
119
|
+
double C = nP / meanR; // C is the number of edge pixels per unit length, for a perfect circle C = 2*pi ~ 6.28, for a square C = 8
|
|
120
|
+
double centerMove = distance(meanP, PointF(center)) / width; // normalized distance between estimated and calculated center
|
|
121
|
+
#ifdef PRINT_DEBUG
|
|
122
|
+
auto variation = std::sqrt(sumR2 / nP - meanR * meanR) / meanR;
|
|
123
|
+
printf("CenterOfRing: center=(%4d,%4d), width=%3d, nth=%d, reqCircle=%d, n=%3d, meanR=%5.2f, var=%5.2f, C=%5.2f, mR=%4.1f, MR=%4.1f, "
|
|
124
|
+
"neighbourMask=%x -> res=(%5.1f,%5.1f), delta=%3.1f\n",
|
|
125
|
+
center.x*5, center.y*5, width, nth, requireCircle, nP, meanR, variation, C, mR, MR, neighbourMask, meanP.x*5, meanP.y*5, centerMove);
|
|
126
|
+
#endif
|
|
127
|
+
// C > 12 means that the edge is very irregular, centerMove > 0.5 means the center moved more than half the estimated width of the ring
|
|
128
|
+
if (requireCircle && (C > 12 || centerMove > 0.5))
|
|
129
|
+
return {};
|
|
130
|
+
|
|
131
|
+
return ConcentricPattern{meanP, meanRToSquareWidth(meanR)};
|
|
96
132
|
}
|
|
97
133
|
|
|
98
|
-
std::optional<
|
|
134
|
+
std::optional<ConcentricPattern> CenterOfRings(const BitMatrix& image, PointF center, int range, int numOfRings)
|
|
99
135
|
{
|
|
100
136
|
int n = 1;
|
|
137
|
+
PointF::value_t size = 0;
|
|
101
138
|
PointF sum = center;
|
|
102
139
|
for (int i = 2; i < numOfRings + 1; ++i) {
|
|
103
140
|
auto c = CenterOfRing(image, PointI(center), range, i);
|
|
@@ -105,23 +142,25 @@ std::optional<PointF> CenterOfRings(const BitMatrix& image, PointF center, int r
|
|
|
105
142
|
if (n == 1)
|
|
106
143
|
return {};
|
|
107
144
|
else
|
|
108
|
-
|
|
145
|
+
break;
|
|
109
146
|
} else if (distance(*c, center) > range / numOfRings / 2) {
|
|
110
147
|
return {};
|
|
111
148
|
}
|
|
112
149
|
|
|
113
150
|
sum += *c;
|
|
151
|
+
size = c->size;
|
|
114
152
|
n++;
|
|
115
153
|
}
|
|
116
|
-
return sum / n;
|
|
154
|
+
return ConcentricPattern{sum / n, n == numOfRings ? size : 0};
|
|
117
155
|
}
|
|
118
156
|
|
|
119
|
-
static std::vector<PointF> CollectRingPoints(const BitMatrix& image, PointF center, int
|
|
157
|
+
static std::vector<PointF> CollectRingPoints(const BitMatrix& image, PointF center, int width, int edgeIndex, bool backup)
|
|
120
158
|
{
|
|
121
159
|
PointI centerI(center);
|
|
122
|
-
int
|
|
160
|
+
const int maxN = 4 * (width + 1) * 3 / 2; // upper limit for circumference of the ring
|
|
161
|
+
const int maxR = width * 2; // TODO fix discrepancy between this and FindRind()
|
|
123
162
|
BitMatrixCursorI cur(image, centerI, {1, 0});
|
|
124
|
-
if (!cur.stepToEdge(edgeIndex,
|
|
163
|
+
if (!cur.stepToEdge(edgeIndex, maxR, backup))
|
|
125
164
|
return {};
|
|
126
165
|
cur.turnRight(); // move clock wise and keep edge on the right/left depending on backup
|
|
127
166
|
const auto edgeDir = backup ? Direction::LEFT : Direction::RIGHT;
|
|
@@ -129,7 +168,7 @@ static std::vector<PointF> CollectRingPoints(const BitMatrix& image, PointF cent
|
|
|
129
168
|
uint32_t neighbourMask = 0;
|
|
130
169
|
auto start = cur.p;
|
|
131
170
|
std::vector<PointF> points;
|
|
132
|
-
points.reserve(
|
|
171
|
+
points.reserve(maxN / 2);
|
|
133
172
|
|
|
134
173
|
do {
|
|
135
174
|
log(cur.p, 4);
|
|
@@ -141,8 +180,7 @@ static std::vector<PointF> CollectRingPoints(const BitMatrix& image, PointF cent
|
|
|
141
180
|
if (!cur.stepAlongEdge(edgeDir))
|
|
142
181
|
return {};
|
|
143
182
|
|
|
144
|
-
|
|
145
|
-
if (maxAbsComponent(cur.p - centerI) > radius || centerI == cur.p || Size(points) > 4 * 2 * range)
|
|
183
|
+
if (distance(cur.p, centerI) > maxR || centerI == cur.p || Size(points) > maxN)
|
|
146
184
|
return {};
|
|
147
185
|
|
|
148
186
|
} while (cur.p != start);
|
|
@@ -153,7 +191,7 @@ static std::vector<PointF> CollectRingPoints(const BitMatrix& image, PointF cent
|
|
|
153
191
|
return points;
|
|
154
192
|
}
|
|
155
193
|
|
|
156
|
-
static std::optional<QuadrilateralF>
|
|
194
|
+
static std::optional<QuadrilateralF> FitQuadrilateralToPoints(PointF center, std::vector<PointF>& points)
|
|
157
195
|
{
|
|
158
196
|
auto dist2Center = [c = center](auto a, auto b) { return distance(a, c) < distance(b, c); };
|
|
159
197
|
auto [minDistElem, maxDistElem] = std::minmax_element(points.begin(), points.end(), dist2Center);
|
|
@@ -190,7 +228,8 @@ static std::optional<QuadrilateralF> FitQadrilateralToPoints(PointF center, std:
|
|
|
190
228
|
auto len = std::distance(beg[i], end[i]);
|
|
191
229
|
if (len > 3 && lines[i].distance(*p) > std::max(1., std::min(8., len / 8.))) {
|
|
192
230
|
#ifdef PRINT_DEBUG
|
|
193
|
-
printf("%d
|
|
231
|
+
printf("FitQuadrilateral failed: center=(%3.f,%3.f), i=%d, dist=%.2f > %.2f @ (%3.f,%3.f)\n", center.x, center.y, i,
|
|
232
|
+
lines[i].distance(*p), std::distance(beg[i], end[i]) / 8., p->x, p->y);
|
|
194
233
|
#endif
|
|
195
234
|
return {};
|
|
196
235
|
}
|
|
@@ -213,26 +252,26 @@ static bool QuadrilateralIsPlausibleSquare(const QuadrilateralF q, int lineIndex
|
|
|
213
252
|
return m >= lineIndex * 2 && m > M / 3;
|
|
214
253
|
}
|
|
215
254
|
|
|
216
|
-
std::optional<QuadrilateralF> FitSquareToPoints(const BitMatrix& image, PointF center, int
|
|
255
|
+
std::optional<QuadrilateralF> FitSquareToPoints(const BitMatrix& image, PointF center, int width, int lineIndex, bool backup)
|
|
217
256
|
{
|
|
218
|
-
auto points = CollectRingPoints(image, center,
|
|
257
|
+
auto points = CollectRingPoints(image, center, width, lineIndex, backup);
|
|
219
258
|
if (points.empty())
|
|
220
259
|
return {};
|
|
221
260
|
|
|
222
|
-
auto res =
|
|
261
|
+
auto res = FitQuadrilateralToPoints(center, points);
|
|
223
262
|
if (!res || !QuadrilateralIsPlausibleSquare(*res, lineIndex - backup))
|
|
224
263
|
return {};
|
|
225
264
|
|
|
226
265
|
return res;
|
|
227
266
|
}
|
|
228
267
|
|
|
229
|
-
std::optional<QuadrilateralF> FindConcentricPatternCorners(const BitMatrix& image, PointF center, int
|
|
268
|
+
std::optional<QuadrilateralF> FindConcentricPatternCorners(const BitMatrix& image, PointF center, int width, int ringIndex)
|
|
230
269
|
{
|
|
231
|
-
auto innerCorners = FitSquareToPoints(image, center,
|
|
270
|
+
auto innerCorners = FitSquareToPoints(image, center, width, ringIndex, false);
|
|
232
271
|
if (!innerCorners)
|
|
233
272
|
return {};
|
|
234
273
|
|
|
235
|
-
auto outerCorners = FitSquareToPoints(image, center,
|
|
274
|
+
auto outerCorners = FitSquareToPoints(image, center, width, ringIndex + 1, true);
|
|
236
275
|
if (!outerCorners)
|
|
237
276
|
return {};
|
|
238
277
|
|
|
@@ -250,18 +289,21 @@ std::optional<QuadrilateralF> FindConcentricPatternCorners(const BitMatrix& imag
|
|
|
250
289
|
return res;
|
|
251
290
|
}
|
|
252
291
|
|
|
253
|
-
std::optional<
|
|
292
|
+
std::optional<ConcentricPattern> FinetuneConcentricPatternCenter(const BitMatrix& image, PointF center, int width, int finderPatternSize)
|
|
254
293
|
{
|
|
255
294
|
// make sure we have at least one path of white around the center
|
|
256
|
-
if (auto res1 = CenterOfRing(image, PointI(center),
|
|
295
|
+
if (auto res1 = CenterOfRing(image, PointI(center), width * 2 / 3, 1); res1 && image.get(*res1)) {
|
|
257
296
|
// and then either at least one more ring around that
|
|
258
|
-
if (auto res2 = CenterOfRings(image, *res1,
|
|
297
|
+
if (auto res2 = CenterOfRings(image, *res1, width, finderPatternSize / 2); res2 && image.get(*res2)) {
|
|
298
|
+
res2->size = res2->size * 7 / 5; // CenterOfRings only estimates the radius of the white ring
|
|
259
299
|
return res2;
|
|
300
|
+
}
|
|
260
301
|
// or the center can be approximated by a square
|
|
261
|
-
|
|
262
|
-
|
|
302
|
+
// TODO: With the following CenterOfDoubleCross() check, this currently saves no additional test cases
|
|
303
|
+
// if (FitSquareToPoints(image, *res1, width, 1, false))
|
|
304
|
+
// return res1;
|
|
263
305
|
// TODO: this is currently only keeping #258 alive, evaluate if still worth it
|
|
264
|
-
if (auto res2 = CenterOfDoubleCross(image, PointI(*res1),
|
|
306
|
+
if (auto res2 = CenterOfDoubleCross(image, PointI(*res1), width, finderPatternSize / 2 + 1); res2 && image.get(*res2))
|
|
265
307
|
return res2;
|
|
266
308
|
}
|
|
267
309
|
return {};
|
|
@@ -97,26 +97,27 @@ int CheckSymmetricPattern(BitMatrixCursorI& cur, PATTERN pattern, int range, boo
|
|
|
97
97
|
return Reduce(res);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
struct ConcentricPattern : public PointF
|
|
101
|
+
{
|
|
102
|
+
PointF::value_t size = 0;
|
|
103
|
+
};
|
|
101
104
|
|
|
102
|
-
std::optional<
|
|
105
|
+
std::optional<ConcentricPattern> CenterOfRing(const BitMatrix& image, PointI center, int range, int nth, bool requireCircle = true);
|
|
106
|
+
|
|
107
|
+
std::optional<ConcentricPattern> FinetuneConcentricPatternCenter(const BitMatrix& image, PointF center, int range, int finderPatternSize);
|
|
103
108
|
|
|
104
109
|
std::optional<QuadrilateralF> FitSquareToPoints(const BitMatrix& image, PointF center, int range, int lineIndex, bool backup);
|
|
105
110
|
|
|
106
111
|
std::optional<QuadrilateralF> FindConcentricPatternCorners(const BitMatrix& image, PointF center, int range, int ringIndex);
|
|
107
112
|
|
|
108
|
-
struct ConcentricPattern : public PointF
|
|
109
|
-
{
|
|
110
|
-
int size = 0;
|
|
111
|
-
};
|
|
112
|
-
|
|
113
113
|
template <bool E2E = false, typename PATTERN>
|
|
114
|
-
std::optional<ConcentricPattern> LocateConcentricPattern(const BitMatrix& image, PATTERN pattern, PointF center, int
|
|
114
|
+
std::optional<ConcentricPattern> LocateConcentricPattern(const BitMatrix& image, PATTERN pattern, PointF center, int width)
|
|
115
115
|
{
|
|
116
116
|
auto cur = BitMatrixCursor(image, PointI(center), {});
|
|
117
|
+
int range = width * 2;
|
|
117
118
|
int minSpread = image.width(), maxSpread = 0;
|
|
118
|
-
// TODO: setting maxError to 1 can
|
|
119
|
-
// finder patterns, but it
|
|
119
|
+
// TODO: setting maxError to 1 can substantially help with detecting symbols with low print quality resulting in damaged
|
|
120
|
+
// finder patterns, but it substantially increases the runtime (approx. 20% slower for the falsepositive images).
|
|
120
121
|
int maxError = 0;
|
|
121
122
|
for (auto d : {PointI{0, 1}, {1, 0}}) {
|
|
122
123
|
int spread = CheckSymmetricPattern<E2E>(cur.setDirection(d), pattern, range, true);
|
|
@@ -128,7 +129,7 @@ std::optional<ConcentricPattern> LocateConcentricPattern(const BitMatrix& image,
|
|
|
128
129
|
|
|
129
130
|
#if 1
|
|
130
131
|
for (auto d : {PointI{1, 1}, {1, -1}}) {
|
|
131
|
-
int spread = CheckSymmetricPattern<true>(cur.setDirection(d), pattern, range
|
|
132
|
+
int spread = CheckSymmetricPattern<true>(cur.setDirection(d), pattern, range, false);
|
|
132
133
|
if (spread)
|
|
133
134
|
UpdateMinMax(minSpread, maxSpread, spread);
|
|
134
135
|
else if (--maxError < 0)
|
|
@@ -139,11 +140,16 @@ std::optional<ConcentricPattern> LocateConcentricPattern(const BitMatrix& image,
|
|
|
139
140
|
if (maxSpread > 5 * minSpread)
|
|
140
141
|
return {};
|
|
141
142
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
static_assert(pattern.sum() == 7, "see FinetuneConcentricPatternCenter()");
|
|
144
|
+
auto newCenter = FinetuneConcentricPatternCenter(image, PointF(cur.p), width, pattern.size());
|
|
145
|
+
if (newCenter) {
|
|
146
|
+
// printf("LocateConcentricPattern: center=(%5.2f,%5.2f), width=%3d, spread=%d, size=%d, newCenter=(%5.2f,%5.2f)\n",
|
|
147
|
+
// center.x*5, center.y*5, width, (maxSpread + minSpread) / 2, newCenter->size, newCenter->x*5, newCenter->y*5);
|
|
148
|
+
if (!newCenter->size)
|
|
149
|
+
newCenter->size = (maxSpread + minSpread) / 2;
|
|
150
|
+
}
|
|
145
151
|
|
|
146
|
-
return
|
|
152
|
+
return newCenter;
|
|
147
153
|
}
|
|
148
154
|
|
|
149
155
|
} // ZXing
|
|
@@ -75,6 +75,7 @@ MultiFormatWriter::encode(const std::wstring& contents, int width, int height) c
|
|
|
75
75
|
|
|
76
76
|
switch (_format) {
|
|
77
77
|
#if ZXING_ENABLE_AZTEC
|
|
78
|
+
case BarcodeFormat::Aztec:
|
|
78
79
|
case BarcodeFormat::AztecCode: return exec1(Aztec::Writer(), AztecEccLevel);
|
|
79
80
|
#endif
|
|
80
81
|
#if ZXING_ENABLE_DATAMATRIX
|
|
@@ -84,6 +85,7 @@ MultiFormatWriter::encode(const std::wstring& contents, int width, int height) c
|
|
|
84
85
|
case BarcodeFormat::PDF417: return exec1(Pdf417::Writer(), Pdf417EccLevel);
|
|
85
86
|
#endif
|
|
86
87
|
#if ZXING_ENABLE_QRCODE
|
|
88
|
+
case BarcodeFormat::QRCodeModel2:
|
|
87
89
|
case BarcodeFormat::QRCode: return exec1(QRCode::Writer(), QRCodeEccLevel);
|
|
88
90
|
#endif
|
|
89
91
|
#if ZXING_ENABLE_1D
|
|
@@ -170,6 +170,7 @@ struct FixedPattern : public Pattern<N>
|
|
|
170
170
|
using Pattern<N>::data;
|
|
171
171
|
|
|
172
172
|
constexpr int size() const noexcept { return N; }
|
|
173
|
+
constexpr int sum() const noexcept { return SUM; }
|
|
173
174
|
constexpr BarAndSpace<value_type> sums() const noexcept { return BarAndSpaceSum<N, value_type>(data()); }
|
|
174
175
|
};
|
|
175
176
|
|
|
@@ -18,6 +18,10 @@ namespace ZXing {
|
|
|
18
18
|
|
|
19
19
|
std::string BytesToUtf8(ByteView bytes, ECI eci)
|
|
20
20
|
{
|
|
21
|
+
#if 0
|
|
22
|
+
(void)eci;
|
|
23
|
+
return std::string(bytes.begin(), bytes.end());
|
|
24
|
+
#else
|
|
21
25
|
constexpr unsigned int replacement = 0xFFFD;
|
|
22
26
|
constexpr unsigned int flags = ZUECI_FLAG_SB_STRAIGHT_THRU | ZUECI_FLAG_SJIS_STRAIGHT_THRU;
|
|
23
27
|
int utf8_len;
|
|
@@ -49,6 +53,7 @@ std::string BytesToUtf8(ByteView bytes, ECI eci)
|
|
|
49
53
|
assert(Size(utf8) == utf8_len);
|
|
50
54
|
|
|
51
55
|
return utf8;
|
|
56
|
+
#endif
|
|
52
57
|
}
|
|
53
58
|
|
|
54
59
|
} // ZXing
|
|
@@ -23,6 +23,9 @@ namespace ZXing {
|
|
|
23
23
|
|
|
24
24
|
void TextEncoder::GetBytes(const std::string& str, CharacterSet charset, std::string& bytes)
|
|
25
25
|
{
|
|
26
|
+
#if 0
|
|
27
|
+
bytes = str;
|
|
28
|
+
#else
|
|
26
29
|
int eci = ToInt(ToECI(charset));
|
|
27
30
|
const int str_len = narrow_cast<int>(str.length());
|
|
28
31
|
int eci_len;
|
|
@@ -61,6 +64,7 @@ void TextEncoder::GetBytes(const std::string& str, CharacterSet charset, std::st
|
|
|
61
64
|
#endif // ZXING_USE_ZINT
|
|
62
65
|
|
|
63
66
|
bytes.resize(eci_len); // Actual length
|
|
67
|
+
#endif
|
|
64
68
|
}
|
|
65
69
|
|
|
66
70
|
void TextEncoder::GetBytes(const std::wstring& str, CharacterSet charset, std::string& bytes)
|
|
@@ -109,7 +109,7 @@ static std::optional<ConcentricPattern> LocateAztecCenter(const BitMatrix& image
|
|
|
109
109
|
UpdateMinMax(minSpread, maxSpread, spread);
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
return ConcentricPattern{centered(cur.p), (maxSpread + minSpread) / 2};
|
|
112
|
+
return ConcentricPattern{centered(cur.p), (maxSpread + minSpread) / 2.0};
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
static std::vector<ConcentricPattern> FindPureFinderPattern(const BitMatrix& image)
|
|
@@ -137,8 +137,8 @@ BarcodeData TelepenReader::decodePattern(int rowNumber, PatternView& next, std::
|
|
|
137
137
|
raw.back(), next.pixelsInFront());
|
|
138
138
|
|
|
139
139
|
for (int i = 0; i < 2; ++i)
|
|
140
|
-
threshold[i] = wNum[i] && nNum[i] ? (wSum[i] / wNum[i] + nSum[i] / nNum[i]) / 2
|
|
141
|
-
: nNum[i] ? 2 * nSum[i] / nNum[i]
|
|
140
|
+
threshold[i] = wNum[i] && nNum[i] ? ((wSum[i] + wNum[i] / 2) / wNum[i] + (nSum[i] + nNum[i] / 2) / nNum[i]) / 2
|
|
141
|
+
: nNum[i] ? (2 * nSum[i] + nNum[i] / 2) / nNum[i]
|
|
142
142
|
: threshold[i];
|
|
143
143
|
}
|
|
144
144
|
|
|
@@ -471,6 +471,7 @@ struct SymbolInfo
|
|
|
471
471
|
int lastRow() const { return startRow + nRows - 1; }
|
|
472
472
|
int width() const { return 21 + nCols * 17 + (nCols > 2) * 10; }
|
|
473
473
|
int height() const { return nRows * 2; }
|
|
474
|
+
bool isValid() const { return nCols > 0 && nRows > 0; }
|
|
474
475
|
};
|
|
475
476
|
|
|
476
477
|
static constexpr std::array<SymbolInfo, 35> SYMBOLS = {{
|
|
@@ -707,6 +708,8 @@ static BarcodeData ScanCandidate(const BitMatrix& image, const Cluster& lraps)
|
|
|
707
708
|
#endif
|
|
708
709
|
|
|
709
710
|
auto si = DetermineSymbolInfo(cwMat, rotFamHist);
|
|
711
|
+
if (!si.isValid())
|
|
712
|
+
return {};
|
|
710
713
|
|
|
711
714
|
std::vector<int> codewords(si.nCWs() + 1);
|
|
712
715
|
// MicroPDF417 does not encode the number of codewords in the symbol but the DecodeCodewords() function expects the first element
|
|
@@ -733,8 +736,8 @@ static BarcodeData ScanCandidate(const BitMatrix& image, const Cluster& lraps)
|
|
|
733
736
|
|
|
734
737
|
// Extrapolate the symbol corners from a perspective transform created from detected codeword positions near the corners of the symbol.
|
|
735
738
|
auto closestCorner = [&](PointI corner, PointI dir) -> PointI {
|
|
736
|
-
for (int x = 0; x <= si.
|
|
737
|
-
for (int y = 0; y < si.
|
|
739
|
+
for (int x = 0; x <= si.nCols / 2; ++x)
|
|
740
|
+
for (int y = 0; y < si.nRows / 2; ++y) {
|
|
738
741
|
auto offset = PointI{x, y} * dir;
|
|
739
742
|
if (cwMat(corner + offset).count > 1)
|
|
740
743
|
return offset;
|
|
@@ -11,8 +11,10 @@
|
|
|
11
11
|
|
|
12
12
|
#include <algorithm>
|
|
13
13
|
#include <array>
|
|
14
|
+
#include <cassert>
|
|
14
15
|
#include <cstdint>
|
|
15
16
|
#include <limits>
|
|
17
|
+
#include <memory>
|
|
16
18
|
|
|
17
19
|
namespace ZXing {
|
|
18
20
|
namespace Pdf417 {
|
|
@@ -454,52 +456,64 @@ static constexpr int getSymbol(int idx)
|
|
|
454
456
|
return SYMBOL_TABLE[idx] | 0x10000;
|
|
455
457
|
}
|
|
456
458
|
|
|
457
|
-
|
|
459
|
+
// The bar widths (in modules, 1..6) of every symbol, plus the sum of their squares (37..67, so
|
|
460
|
+
// int8_t is enough). 24kB of int8_t instead of 87kB of float keeps the table in L1 during the scan.
|
|
461
|
+
struct BarSizeTable
|
|
458
462
|
{
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
#else // put 87kB in .rodata shared by all processes and calculate during compilation
|
|
463
|
-
static constexpr const auto ratioTable = []() constexpr {
|
|
464
|
-
auto table = std::array<std::array<float, CodewordDecoder::BARS_IN_MODULE>, SYMBOL_COUNT>();
|
|
465
|
-
#endif
|
|
466
|
-
for (int i = 0; i < SYMBOL_COUNT; i++) {
|
|
467
|
-
int currentSymbol = getSymbol(i);
|
|
468
|
-
int currentBit = currentSymbol & 0x1;
|
|
469
|
-
for (int j = 0; j < CodewordDecoder::BARS_IN_MODULE; j++) {
|
|
470
|
-
int8_t size = 0;
|
|
471
|
-
while ((currentSymbol & 0x1) == currentBit) {
|
|
472
|
-
size += 1;
|
|
473
|
-
currentSymbol >>= 1;
|
|
474
|
-
}
|
|
475
|
-
currentBit = currentSymbol & 0x1;
|
|
476
|
-
table[i][CodewordDecoder::BARS_IN_MODULE - j - 1] = size / 17.f; // MODULES_IN_CODEWORD
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
return table;
|
|
480
|
-
}();
|
|
463
|
+
std::array<std::array<int8_t, CodewordDecoder::BARS_IN_MODULE>, SYMBOL_COUNT> sizes;
|
|
464
|
+
std::array<int8_t, SYMBOL_COUNT> sumOfSquares;
|
|
465
|
+
};
|
|
481
466
|
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
467
|
+
static constexpr BarSizeTable MakeBarSizeTable()
|
|
468
|
+
{
|
|
469
|
+
BarSizeTable table = {};
|
|
470
|
+
for (int i = 0; i < SYMBOL_COUNT; i++) {
|
|
471
|
+
int currentSymbol = getSymbol(i);
|
|
472
|
+
int currentBit = currentSymbol & 0x1;
|
|
473
|
+
for (int j = 0; j < CodewordDecoder::BARS_IN_MODULE; j++) {
|
|
474
|
+
int8_t size = 0;
|
|
475
|
+
while ((currentSymbol & 0x1) == currentBit) {
|
|
476
|
+
size += 1;
|
|
477
|
+
currentSymbol >>= 1;
|
|
478
|
+
}
|
|
479
|
+
currentBit = currentSymbol & 0x1;
|
|
480
|
+
table.sizes[i][CodewordDecoder::BARS_IN_MODULE - j - 1] = size;
|
|
481
|
+
table.sumOfSquares[i] += size * size;
|
|
487
482
|
}
|
|
488
483
|
}
|
|
489
|
-
|
|
484
|
+
return table;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
static int GetClosestDecodedValue(const ModuleBitCountType& moduleBitCount)
|
|
488
|
+
{
|
|
489
|
+
#if 1 // put 24kB in .rodata shared by all processes and calculate during compilation
|
|
490
|
+
static constexpr auto barSizes = MakeBarSizeTable();
|
|
491
|
+
const BarSizeTable& table = barSizes;
|
|
492
|
+
#else // put 24kB on the heap and calculate per process on first use -> 2% smaller binary
|
|
493
|
+
static const auto barSizes = std::make_unique<const BarSizeTable>(MakeBarSizeTable());
|
|
494
|
+
const BarSizeTable& table = *barSizes;
|
|
495
|
+
#endif
|
|
496
|
+
|
|
497
|
+
// Find the symbol whose bar width ratios are closest to the measured ones, i.e.
|
|
498
|
+
// argmin_j sum_k (barSize[j][k] / 17 - moduleBitCount[k] / sum)^2
|
|
499
|
+
// Scaling that by the positive constant (17 * sum)^2 and dropping the sum_k moduleBitCount[k]^2
|
|
500
|
+
// term (which is the same for every symbol) leaves an equivalent all-integer expression
|
|
501
|
+
// argmin_j (sum * sumOfSquares[j] - 34 * dot(barSize[j], moduleBitCount))
|
|
502
|
+
// that picks the exact same symbol without any division or rounding.
|
|
503
|
+
int sum = Reduce(moduleBitCount);
|
|
504
|
+
assert(sum >= CodewordDecoder::BARS_IN_MODULE); // every bar/space is at least one pixel wide
|
|
505
|
+
|
|
506
|
+
// |score| <= sum * 67 + 34 * 6 * sum == 271 * sum and sum is at most a codeword's width, so
|
|
507
|
+
// even at the 65535 image width limit this stays 2 orders of magnitude inside int
|
|
508
|
+
int bestScore = std::numeric_limits<int>::max();
|
|
490
509
|
int bestMatch = -1;
|
|
491
|
-
for (int j = 0; j <
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
break;
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
if (error < bestMatchError) {
|
|
502
|
-
bestMatchError = error;
|
|
510
|
+
for (int j = 0; j < SYMBOL_COUNT; j++) {
|
|
511
|
+
int dot = 0;
|
|
512
|
+
for (int k = 0; k < CodewordDecoder::BARS_IN_MODULE; k++)
|
|
513
|
+
dot += table.sizes[j][k] * moduleBitCount[k];
|
|
514
|
+
int score = sum * table.sumOfSquares[j] - 34 * dot; // 34 == 2 * MODULES_IN_CODEWORD
|
|
515
|
+
if (score < bestScore) {
|
|
516
|
+
bestScore = score;
|
|
503
517
|
bestMatch = getSymbol(j);
|
|
504
518
|
}
|
|
505
519
|
}
|