admin
2023-03-07 8b06b1cbf112d55307ea8a6efe711db4e7506d89
ConsoleApplication/ImgUtil.cpp
@@ -613,7 +613,7 @@
         startIndex = i;
      }
      bool full = ImgDivider::isColFull(img, i, contentStartRow);
      bool full = ImgDivider::isColFull(img, i, contentStartRow, contentStartRow+50,2);
      if (full) {
         if (startf < 0)
         {
@@ -670,7 +670,7 @@
      //总共的数据数量
      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) {
               //内容坐标