OpenCvSharp.Blob.CvBlobLib.WriteContourPolygonCsv C# (CSharp) Method

WriteContourPolygonCsv() public static method

Write a contour to a CSV (Comma-separated values) file.
public static WriteContourPolygonCsv ( CvContourPolygon polygon, string filename ) : void
polygon CvContourPolygon Polygon contour.
filename string File name.
return void
        public static void WriteContourPolygonCsv(CvContourPolygon polygon, string filename)
        {
            if (polygon == null)
                throw new ArgumentNullException(nameof(polygon));
            polygon.WriteAsCsv(filename);
        }