Skip to content

gapi_infer2

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

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

ARGUMENTS_0, _1, _2
FUNCTIONgapi_infer2
RETURN TYPEGInferListOutputs
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Construct inference over equally sized named lists of rectangles and/or prepared tensors. Rectangles are cropped from the shared image; tensor lists bypass preprocessing. Empty inputs produce empty lists.

gapi_infer2(_0: EmbindString, _1: GMat, _2: GInferListInputs): GInferListOutputs;
_0

0 argument (EmbindString).

_1

1 argument (GMat).

_2

2 argument (GInferListInputs).

Returns

The GInferListOutputs 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.