minEnclosingCircle
import { minEnclosingCircle } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSpoints
FUNCTIONminEnclosingCircle
RETURN TYPECircle
Finds a circle of the minimum area enclosing a 2D point set.
The function finds the minimal enclosing circle of a 2D point set using an iterative algorithm.
minEnclosingCircle(points: Mat): Circle;pointsInput vector of 2D points, stored in std::vector<> or Mat
Returns
The Circle result.
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.