Skip to content

TermCriteria_Type

Core and matricesclassOpenCV 5.0.0
import { TermCriteria_Type } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSConstructor or factory
CLASSTermCriteria_Type
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods.

Criteria type, can be one of: COUNT, EPS or COUNT + EPS

Constructors and members

static COUNT

TermCriteria_Type.COUNT: ditto

COUNT: TermCriteria_TypeValue<1>,

static MAX_ITER

TermCriteria_Type.MAX_ITER: ditto

MAX_ITER: TermCriteria_TypeValue<1>,

static EPS

the desired accuracy or change in parameters at which the iterative algorithm stops

EPS: TermCriteria_TypeValue<2>

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.