Commit 9c337487 LN

1

1 个父辈 afe4a2a0
......@@ -45,6 +45,7 @@ namespace AOI
{
if (path != null)
{
GC.Collect();
var bounds = path.GetBounds();
if (bounds.Width > 0 && bounds.Height > 0)
{
......@@ -55,6 +56,7 @@ namespace AOI
{
var br = new TextureBrush(img);
g.FillPath(br, path);
g.Dispose();
}
return mask;
}
......
......@@ -64,6 +64,7 @@ namespace AOI
result = true;
}
}
// Console.WriteLine(MethodName + "共获取到【" + blobList.Count + "】条CvBlob");
resultBean.checkData =(object) blobList;
resultBean.result = result;
return resultBean;
......
......@@ -525,6 +525,7 @@ namespace AccAOI
string text = " " + AOIResourceCulture.GetValue("编号").PadLeft(5, ' ') + AOIResourceCulture.GetValue("面积↓").PadLeft(8, ' ') + AOIResourceCulture.GetValue("X坐标").PadLeft(10, ' ') +
AOIResourceCulture.GetValue("Y坐标").PadLeft(10, ' ');
int index = 1;
// Console.WriteLine(bean.MethodName + "共有【" + list.Count + "】条CvBlob");
foreach (CvBlob cv in list)
{
text += "\r\n" + " " + index.ToString().PadLeft(5, ' ') + cv.Area.ToString().PadLeft(12, ' ') + Math.Round(cv.Centroid.X, 2).ToString().PadLeft(12, ' ') +
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!