fillPoly

Description

Fills the area bounded by one or more polygons.

Signature

cv2.fillPoly(img, pts, color[, lineType[, shift[, offset]]]) → dst

Parameters

Explanation

The function fillPoly fills an area bounded by several polygonal contours. The function can fill complex areas, for example, areas with holes, contours with self-intersections (some of their parts), and so forth.


References

Created with OpenCV 4.4.0