OpenCV 多边形绘制与填充一、知识点 1、void polylines(InputOutputArray img, InputArrayOfArrays pts, bool isClosed, const Scalar & color, int thickness = 1, int lineType = LINE_8, int shift = 0 ); (1)、在图像上绘制多边形曲线。 (2)、参数说明: img: 输入、输出参数,要绘制多边形曲线的图像。 pts: 多边形曲线的顶点数组。 isClosed: 标志多边形曲线是否闭