Skip to content

utils_generateVectorOfRect

Core and matricesfunctionOpenCV 5.0.0
import { utils_generateVectorOfRect } from '@banou/opencv-wasm'

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

ARGUMENTSlen, vec
FUNCTIONutils_generateVectorOfRect
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Generate a vector of sample values for OpenCV binding diagnostics; dispose the returned native vector.

utils_generateVectorOfRect(len: number, vec: RectVector): void;
len

len argument (number).

vec

Output destination, filled by the native operation. vec argument (RectVector).

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.