Here are the examples of the csharp api class ZXing.PDF417.Internal.DetectionResult.adjustRowNumbersByRow() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
0
1. Example
View licenseprivate int adjustRowNumbers() { // TODO ensure that no detected codewords with unknown row number are left // we should be able to estimate the row height and use it as a hint for the row number // we should also fill the rows top to bottom and bottom to top int unadjustedCount = adjustRowNumbersByRow(); if (unadjustedCount == 0) { return 0; } for (int barcodeColumn = 1; barcodeColumn < ColumnCount + 1; barcodeColumn++) { Codeword[] codewords = DetectionResultColumns[barcodeColumn].Codewords; for (int codewordsRow = 0; codewordsRow < codewords.Length; codewordsRow++) { if (codewords[codewordsRow] == null) { continue; } if (!codewords[codewordsRow].HasValidRowNumber) { adjustRowNumbers(barcodeColumn, codewordsRow, codewords); } } } return unadjustedCount; }
0
2. Example
View licenseprivate int adjustRowNumbers() { // TODO ensure that no detected codewords with unknown row number are left // we should be able to estimate the row height and use it as a hint for the row number // we should also fill the rows top to bottom and bottom to top int unadjustedCount = adjustRowNumbersByRow(); if (unadjustedCount == 0) { return 0; } for (int barcodeColumn = 1; barcodeColumn < ColumnCount + 1; barcodeColumn++) { Codeword[] codewords = DetectionResultColumns[barcodeColumn].Codewords; for (int codewordsRow = 0; codewordsRow < codewords.Length; codewordsRow++) { if (codewords[codewordsRow] == null) { continue; } if (!codewords[codewordsRow].HasValidRowNumber) { adjustRowNumbers(barcodeColumn, codewordsRow, codewords); } } } return unadjustedCount; }