Skip to content

videoio_registry_hasBackend

videoiofunctionOpenCV 5.0.0
import { videoio_registry_hasBackend } from '@banou/opencv-wasm'

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

ARGUMENTSapi
FUNCTIONvideoio_registry_hasBackend
RETURN TYPEboolean
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Returns true if backend is available

videoio_registry_hasBackend(api: number): boolean;
api

api argument (number).

Returns

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