Skip to content

TermCriteria

Core and matricestypeOpenCV 5.0.0
import type { TermCriteria } from '@banou/opencv-wasm'

Iteration termination settings: combine COUNT and EPS flags to stop at maxCount iterations or the requested epsilon accuracy.

export type TermCriteria = {
  type: number,
  maxCount: number,
  epsilon: number
};

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.