Quellcode durchsuchen

修复报告合成颗粒表bug

zty vor 2 Jahren
Ursprung
Commit
8bb5bfe6f9

+ 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]);//外接矩形