|
|
@@ -694,9 +694,8 @@ namespace o0.Project
|
|
|
}
|
|
|
ScreenLocateTexture = LocateTexTemp[0];
|
|
|
|
|
|
- var avgPoint = ScreenLocateMatList.Count > 1 ? GetAvgPoint(ScreenLocateMatList[1]) : GetAvgPoint(ScreenLocateMatList[0]);
|
|
|
// 过滤得到四边形的四条边
|
|
|
- var quadLines = FilterLines(ScreenLocateMatList, allLines, avgPoint,
|
|
|
+ var quadLines = FilterLines(ScreenLocateMatList, allLines, GetAvgPoint(ScreenLocateMatList[0]),
|
|
|
out Line[] oldLines, out List<Line> possibleLines,
|
|
|
Screen, conSize, conSize, minLength);
|
|
|
|