Here are the examples of the csharp api class ZXing.PDF417.PDF417Reader.extractPureBits(BitMatrix) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
View licensepublic Result decode(BinaryBitmap image, IDictionary<DecodeHintType, object> hints) { DecoderResult decoderResult; ResultPoint[] points; if (hints != null && hints.ContainsKey(DecodeHintType.PURE_BARCODE)) { BitMatrix bits = extractPureBits(image.BlackMatrix); if (bits == null) return null; decoderResult = decoder.decode(bits); points = NO_POINTS; } else { DetectorResult detectorResult = new Detector(image).detect(hints); if (detectorResult == null || detectorResult.Bits == null) return null; decoderResult = decoder.decode(detectorResult.Bits); points = detectorResult.Points; } if (decoderResult == null) return null; return new Result(decoderResult.Text, decoderResult.RawBytes, points, BarcodeFormat.PDF_417); }