Contour (Outline) Simplification – Image Contours (Outlines) for Unity in Pure C# by Zhixiang

Version 1.3.0 of Image Contours (Outlines) for Unity in Pure C#  added a new feature of contour simplification. This feature reduces the number of points (pixels or vertices) in a contour while preserving its overall essential shape.

You can specify the Simplify option of contour detection settings so that the contour detection method returns simplified contours as results.


              
var contours = ContourDetector.FindContoursByAlpha(         texture, 128, new ContourDetectionSettings { Simplify = true });

You can also call contour.Simplify() to simplify a given contour.

Read more here: Source link