Skip to content

gapi_wip_draw_renderNV12

gapifunctionOpenCV 5.0.0
import { gapi_wip_draw_renderNV12 } from '@banou/opencv-wasm'

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

ARGUMENTSy, uv, prims
FUNCTIONgapi_wip_draw_renderNV12
RETURN TYPEtuple_GMat_and_GMat
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Renders on two planes

Output y image must be 8-bit unsigned planar 1-channel image CV_8UC1 uv image must be 8-bit unsigned planar 2-channel image CV_8UC2

gapi_wip_draw_renderNV12(y: GMat, uv: GMat, prims: GArray_Prim): tuple_GMat_and_GMat;
y

input image: 8-bit unsigned 1-channel image CV_8UC1

uv

input image: 8-bit unsigned 2-channel image CV_8UC2

prims

draw primitives

Returns

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