Skip to content

AlgorithmHint

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

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

ARGUMENTSConstructor or factory
CLASSAlgorithmHint
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.

Flags that allow to modify some functions' behavior. Used as set of flags.

Constructors and members

static ALGO_HINT_DEFAULT

Default algorithm behaviour defined during OpenCV build

ALGO_HINT_DEFAULT: AlgorithmHintValue<0>,

static ALGO_HINT_ACCURATE

Use generic portable implementation

ALGO_HINT_ACCURATE: AlgorithmHintValue<1>,

static ALGO_HINT_APPROX

Allow alternative approximations to get faster implementation. Behaviour and result depends on a platform

ALGO_HINT_APPROX: AlgorithmHintValue<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.