浏览代码

修复报告合成颗粒表bug

zty 2 年之前
父节点
当前提交
8bb5bfe6f9
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      OTSIncAReportApp/3-ServiceCenter/DataOperation/DataAccess/ParticleData.cs

+ 1 - 4
OTSIncAReportApp/3-ServiceCenter/DataOperation/DataAccess/ParticleData.cs

@@ -699,10 +699,7 @@ namespace OTSIncAReportApp.DataOperation.DataAccess
                 OpenCvSharp.Point[][] contours;
                 HierarchyIndex[] hierarchy;
                 Cv2.FindContours(result, out contours, out hierarchy, RetrievalModes.External, ContourApproximationModes.ApproxNone, null);
-                using (new Window("InputImage", WindowMode.Normal, result_bse))
-                {
-                    Cv2.WaitKey(0);
-                }
+
                 if (contours.Count() == 1)
                 {
                     Rect minRect = Cv2.BoundingRect(contours[0]);//外接矩形