pub fn approximate_polygon(
contour: &Contour,
epsilon: f64,
) -> VisionResult<Contour>Expand description
Simplifies a closed contour with Ramer–Douglas–Peucker approximation.
pub fn approximate_polygon(
contour: &Contour,
epsilon: f64,
) -> VisionResult<Contour>Simplifies a closed contour with Ramer–Douglas–Peucker approximation.