Skip to content

gapi_ov_params

gapifunctionOpenCV 5.0.0
import { gapi_ov_params } from '@banou/opencv-wasm'

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

ARGUMENTStag, model_path, weights, device
FUNCTIONgapi_ov_params
RETURN TYPEgapi_ov_PyParams
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Create network parameter configuration. These parameter objects describe an optional OpenVINO or ONNX Runtime backend, which is not linked in this WASM build. Use gapi.dnn.Params for executable CPU inference.

gapi_ov_params(tag: EmbindString, model_path: EmbindString, weights: EmbindString, device: EmbindString): gapi_ov_PyParams;
tag

tag argument (EmbindString).

model_path

model path argument (EmbindString).

weights

weights argument (EmbindString).

device

device argument (EmbindString).

Returns

The gapi_ov_PyParams result.

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.