Update samples

This commit is contained in:
Suleyman TURKMEN
2020-07-22 07:29:56 +03:00
parent 5444a6b11c
commit 88dbee3589
3 changed files with 6 additions and 24 deletions

View File

@@ -50,9 +50,7 @@ static float drawIntersection(Mat &image, vector<Point> polygon1, vector<Point>
{
fillColor = Scalar(0, 0, 255);
}
vector<vector<Point> > pp;
pp.push_back(intersectionPolygon);
fillPoly(image, pp, fillColor);
fillPoly(image, intersectionPolygon, fillColor);
}
polylines(image, polygons, true, Scalar(0, 0, 0));