flann_IndexParams
import { flann_IndexParams } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods.
Named configuration values used when constructing a FLANN nearest-neighbor index.
Constructors and members
static new
Create an owned flann_IndexParams object. Release native handles with using or delete().
new(): flann_IndexParams;The flann_IndexParams result.
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this result.
setInt
Store a named int configuration value for this FLANN index.
setInt(key: EmbindString, value: number): void;keykey argument (EmbindString).
valuevalue argument (number).
setFloat
Store a named float configuration value for this FLANN index.
setFloat(key: EmbindString, value: number): void;keykey argument (EmbindString).
valuevalue argument (number).
setDouble
Store a named double configuration value for this FLANN index.
setDouble(key: EmbindString, value: number): void;keykey argument (EmbindString).
valuevalue argument (number).
setString
Store a named string configuration value for this FLANN index.
setString(key: EmbindString, value: EmbindString): void;keykey argument (EmbindString).
valuevalue argument (EmbindString).
setBool
Store a named bool configuration value for this FLANN index.
setBool(key: EmbindString, value: boolean): void;keykey argument (EmbindString).
valuevalue argument (boolean).
setAlgorithm
Select the native FLANN index algorithm.
setAlgorithm(value: number): void;valuevalue argument (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.