| 160 | } |
| 161 | |
| 162 | int EstimateLineCount(const Pair& first, const Pair& last) |
| 163 | { |
| 164 | // see incrementLineCount() in ODReader.cpp for the -1 here |
| 165 | return std::min(first.count, last.count) - 1 + IsStacked(first, last); |
| 166 | } |
| 167 | |
| 168 | } // namespace ZXing::OneD::DataBar |
no test coverage detected