Skip to content

videoio_registry_getCameraBackends

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

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

ARGUMENTSSee signature below
FUNCTIONvideoio_registry_getCameraBackends
RETURN TYPEVideoCaptureAPIsVector
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Returns list of available backends which works via cv::VideoCapture(int index)

videoio_registry_getCameraBackends(): VideoCaptureAPIsVector;
Returns

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