| | |
| | | startIndex = i; |
| | | } |
| | | |
| | | bool full = ImgDivider::isColFull(img, i, contentStartRow); |
| | | bool full = ImgDivider::isColFull(img, i, contentStartRow, contentStartRow+50,2); |
| | | if (full) { |
| | | if (startf < 0) |
| | | { |
| | |
| | | //总共的数据数量 |
| | | int dataCount = 0; |
| | | for (int i = contentStartRow;i < rows;i++) { |
| | | bool empty = ImgDivider::isRowEmpty(img, i, startCol, endCol, 3, 64) && ImgDivider::isRowEmpty(img, i, endCol - 20, endCol, 1, 64); |
| | | bool empty = ImgDivider::isRowEmpty(img, i, startCol, endCol, 3, _IMG_BINARY_THRESHOLD) && ImgDivider::isRowEmpty(img, i, endCol - 20, endCol, 1, _IMG_BINARY_THRESHOLD); |
| | | if (empty) { |
| | | if (startf > -1 && endf > -1) { |
| | | //内容坐标 |