Skip to content

MediaFrame_Access

gapiclassOpenCV 5.0.0
import { MediaFrame_Access } from '@banou/opencv-wasm'

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

ARGUMENTSConstructor or factory
CLASSMediaFrame_Access
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods.

This enum defines different types of cv::MediaFrame provided access to the underlying data. Note that different flags can't be combined in this version.

Constructors and members

static R

Access data for reading

R: MediaFrame_AccessValue<0>,

static W

Access data for writing

W: MediaFrame_AccessValue<1>

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.