Skip to content

gapi_matDesc

Core and matricesfunctionOpenCV 5.0.0
import { gapi_matDesc } from '@banou/opencv-wasm'

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

ARGUMENTSimage
FUNCTIONgapi_matDesc
RETURN TYPEGraphMatDescriptor
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Describe matrix depth, channels, size, planar layout and tensor dimensions for custom graph metadata callbacks.

gapi_matDesc(image: Mat): GraphMatDescriptor;
image

image argument (Mat).

Returns

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