Contents

boundingCircle(for:)

Calculates a bounding circle for the specified contour object.

Declaration

class func boundingCircle(for contour: VNContour) throws -> VNCircle

Parameters

  • contour:

    A contour around which to calculate the bounding circle.

Return Value

The bounding VNCircle object.

See Also

Calculating Bounding Circles