Skip to content

map_string_and_vector_float

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

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

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

An owned native map with typed keys and values. Use get, set, keys and size to access its entries, and delete to release it.

Constructors and members

static new

An owned native map with typed keys and values. Use get, set, keys and size to access its entries, and delete to release it.

new(): map_string_and_vector_float;
Returns

The map_string_and_vector_float 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;
Returns

The this result.

size

Return the number of entries in this native map.

size(): number;
Returns

The number result.

get

Look up a native value by key; an absent entry returns undefined. Dispose returned native object handles separately.

get(_0: EmbindString): FloatVector | undefined;
_0

0 argument (EmbindString).

Returns

The FloatVector | undefined result. Release returned native handles with using or delete(), including handles nested in results.

set

Insert or replace a native value by key.

set(_0: EmbindString, _1: FloatVector): void;
_0

0 argument (EmbindString).

_1

1 argument (FloatVector).

keys

Return an owned native vector containing the map keys.

keys(): StringVector;
Returns

The StringVector result. Release returned native handles with using or delete(), including handles nested in results.

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.