Skip to content

dnn_setInferenceEngineBackendType

Deep neural networksfunctionOpenCV 5.0.0
import { dnn_setInferenceEngineBackendType } from '@banou/opencv-wasm'

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

ARGUMENTSnewBackendType
FUNCTIONdnn_setInferenceEngineBackendType
RETURN TYPEstring
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Specify Inference Engine internal backend API.

See values of CV_DNN_BACKEND_INFERENCE_ENGINE_* macros.

deprecated:

dnn_setInferenceEngineBackendType(newBackendType: EmbindString): string;
newBackendType

new backend type argument (EmbindString).

Returns

previous value of internal backend API

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.