MCPcopy Create free account
hub / github.com/devilsen/CZXing / decode

Method decode

czxing/src/main/cpp/zxing/src/pdf417/PDFReader.cpp:308–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306}
307
308Result
309Reader::decode(const BinaryBitmap& image) const
310{
311 if (_hints.isPure()) {
312 auto res = DecodePure(image);
313 if (res.error() != Error::Checksum)
314 return res;
315 // This falls through and tries the non-pure code path if we have a checksum error. This approach is
316 // currently the best option to deal with 'aliased' input like e.g. 03-aliased.png
317 }
318
319 return FirstOrDefault(DoDecode(image, false, _hints.tryRotate(), _hints.returnErrors()));
320}
321
322Results Reader::decode(const BinaryBitmap& image, [[maybe_unused]] int maxSymbols) const
323{

Callers

nothing calls this directly

Calls 3

DecodePureFunction · 0.85
FirstOrDefaultFunction · 0.85
DoDecodeFunction · 0.70

Tested by

no test coverage detected